docker -v
You should see the docker version if you have docker installed on your system.
You can install Docker from here
Inside config/config.json, make sure you have entered configuration properly. The dump for schema is located in the directory sql. Create a new schema OCR_DB in your database and run the queries in sql/OCR_DB.sql Make sure you are inside the directory where the Dockerfile is located. Run the following command:docker build -t tesseract .
To run identification job, enter the command:
docker run \
--mount type=bind,source=`directory_where_images_are_present`,target=/app/test_image \
--rm tesseract load /app/test_image
To run verification job, enter the command:
docker run tesseract verify
docker run tesseract --mount type=bind,src=`working directory`/logs,dst=/app/logs --rm tesseract verify