Image to Text as a service written in C++ and Javascript (NodeJs Binding with NodeAddonApi) Running on top of Tesseract and OpenCV
- C and C++ compiler, gcc https://gcc.gnu.org/install/binaries.html or other compilers
- Nodejs https://nodejs.org/en/download/
- cmake https://cmake.org/download/
- cmake-js https://github.com/cmake-js/cmake-js
- OpenCV https://github.com/opencv/opencv
- OpenCV Contrib https://github.com/opencv/opencv_contrib
- ImageMagick https://github.com/ImageMagick/ImageMagick.git
- LibJpeg https://github.com/stohrendorf/libjpeg-cmake.git
- LibPng https://github.com/glennrp/libpng.git
- LibWebp https://github.com/webmproject/libwebp.git
- LibZ https://github.com/madler/zlib.git
Install cmake-js
$ npm install --location=global cmake-js
Install Nodejs dependencies
$ npm install
Build and Install Dependencies
$ make build-vendor
Build Project
$ make build
Running
$ npm start
Build docker image
$ docker build --rm -t itt:latest .
Run service
$ docker run --rm -it -p 9010:9010 itt:latest