This is a simple ocr-engine created using application of Open Source Computer Vision Library and Google's TesseractAPI.
- OpenCV-4.5.0
- Tesseract-4.1.1
- Leptonica-1.80.0
- Operating System: Linux based OS.
- Open terminal
$ git clone https://www.github.com/devpro13/OCR-ENGINE-LITE.git && cd OCR-ENGINE-LITE
- To remove storage.xml data either run
$ rm storage.xml
command or run$ echo "">storage.xml
. - If you already have above requirement in your system then, run
$ g++ -o launcher main.cpp
and$ ./launcher
to lunch application.
- If you have python version of OpenCV installed in your system then run
$ pacman -Syu opencv
for arch-based linux distribution and$ apt-get update opencv
for debain-based linux distribution. - Now copy files of
$ ls /usr/include/opencv4
(if you found opencv folder in this directory) directory to$ ls /usr/include/c++/10.2.0
directory. Note10.2.0
is g++ compiler version and it might will change.