Natural Language
/ Latex
OCR models trained with PaddleOCR
/ PyTorch
and deployed with ONNX Runtime Interface C++.
- Natural Language
- LaTex Mathematical Formula
Download from Anaconda Distribution and install.
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
Download and decompress ONNX, rename the folder to 'onnxruntime' and move it to the project's root directory.
Ubuntn
sudo apt install libopencv-dev
Windows
Download opencv and put its path to the Environment Path
.
mkdir build && cd build
cmake ..
make -j10