https://github.com/jaggiK/rapidocr_openvinogpu
Text detection using RapidOCR with OpenVINO GPU support
https://github.com/jaggiK/rapidocr_openvinogpu
Last synced: about 5 hours ago
JSON representation
Text detection using RapidOCR with OpenVINO GPU support
- Host: GitHub
- URL: https://github.com/jaggiK/rapidocr_openvinogpu
- Owner: jaggiK
- License: apache-2.0
- Created: 2023-05-05T14:41:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-10T00:56:30.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T22:46:19.761Z (27 days ago)
- Language: Python
- Size: 37.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-openvino - RapidOCR on OpenVINO GPU - A modified verison of RapidOCR to support OpenVINO GPU. (Table of content / AI Computer Vision)
README
# 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 `### Infering an image:
`python3 demo.py -f `### To save inference results, use `-v` flag:
`python3 demo.py -d -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 -v -o `