RapidOCR OpenVINO GPU version (GPU version only)
Project description
Python RapidOCR OpenVINO with GPU (with GPU only)
This is a modified verison of RapidOCR (https://github.com/RapidAI/RapidOCR) to support OpenVINO GPU. Currently works only with for fixed size images (max len of 960) and also needs the image size to a multiple of 32.
Installation:
git clone https://github.com/jaggiK/rapidocr_openvinogpu.git
python3 setup.py install
cd rapidocr_openvinogpu
Inference:
Run inference for all the images in a given directory
python3 demo.py -d <absolute_path/to/directory>
Infering an image:
python3 demo.py -f <absolute_path/to/image.jpg>
To save inference results, use -v
flag:
python3 demo.py -d <absolute_path/to/directory> -v
# this saves the visualization in "./inference_results/" in the current folder
To save inference results in a desired folder, use -v
and -o
flag:
python3 demo.py -d <absolute_path/to/directory> -v -o <absolute_path/to/directory>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rapidocr-openvinogpu-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89bc33b89f13c87eb58ae1a5f3b16330518567e2c4c95d6658e10ebea01bde5f |
|
MD5 | 7687bb38e42965cc0a887d3051c6abed |
|
BLAKE2b-256 | b7310f3755ccba24ca55b1bef987364a23b301c2fb389924c9dd0a73a376c75e |
Hashes for rapidocr_openvinogpu-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e083c75e67fdab9d8f6644ad867e44074b5e5c0a6a24eeb4edd3bad799fe86e4 |
|
MD5 | bf27eea0ab663a152dd5fad369eb9af9 |
|
BLAKE2b-256 | 0cad826c877a6c78a4ff363f7f07123942cb3250d0536568e263098caa7ef08a |