Giter VIP home page Giter VIP logo

rapidocr_openvinogpu's Introduction

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>

rapidocr_openvinogpu's People

Contributors

jaggik avatar

Watchers

 avatar

rapidocr_openvinogpu's Issues

hello

Hello, I am the developer of rapid_ocr.
Would you like to merge this project into the RapidOCR repository?
Your work just fills the gap of openvino's reasoning on GPU.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.