Skip to content

ffiirree/PaddleOCR-ONNX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaddleOCR-ONNX

Natural Language / Latex OCR models trained with PaddleOCR / PyTorch and deployed with ONNX Runtime Interface C++.

OCR

  • Natural Language
  • LaTex Mathematical Formula

Install

Anaconda

Download from Anaconda Distribution and install.

PyTorch Environment

conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
conda install -c conda-forge onnx
pip install onnxruntime     # cpu
pip install onnxruntime-gpu # gpu

PaddleOCR Environment

C++ ONNX Environment

ONNX

Download and decompress ONNX, rename the folder to 'onnxruntime' and move it to the project's root directory.

OpenCV

Ubuntn

sudo apt install libopencv-dev

Windows

Download opencv and put its path to the Environment Path.

Compilation

mkdir build && cd build
cmake ..
make -j10

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published