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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb97a9e3ab6266474d02ef81ff258ffe56c5d99419e9c791ee7a2c3c26f9f64 |
|
MD5 | 587559ab9622cf82d2d62575a6c0d062 |
|
BLAKE2b-256 | 60abd04e2a4440f7147c32681f1d3561a10ebc5dc3e0173a13fe225e77abf8eb |
Hashes for rapidocr_openvinogpu-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951704350cadde17af4451d58af92fa696db7ddfe379293bfdc23948b2ee8edd |
|
MD5 | 9e9bba5e56237d9a616cb51d17cbb62a |
|
BLAKE2b-256 | 2b135a569aa9b0003f3a2a185cbd0db637fd6196fd23bdd9278be848bfbf2119 |