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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 651dd4254c2bcfefe0eee82e6e387eb39919e2ec4c48537b2abb984d24568990 |
|
MD5 | ea87d00ac540744a0dd2b369d0eabf0a |
|
BLAKE2b-256 | 92112fb2fe1ea47bd1741e181ab0f491165dd50c0e2a996a69ed4d11393da308 |
Hashes for rapidocr_openvinogpu-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe4037901f236d1e751ea0a6195fddd298b2fc6728b11e50475633e1d35c0ebb |
|
MD5 | 879915292ade11557ec03df4347d7a3f |
|
BLAKE2b-256 | 28b98faee1c0a8e1c837ece4a21b8ce41c137cc1b58adf589bbac4d26057d549 |