ID Scan & OCR (Multi Language Support)
OCR (Optical Character Recognition) solution extracts the user fields from the image provided and Authenticates the user.
Steps to Install and Run the OCR Docker
Pull AccuraOcr Docker image using the command docker pull accurascan/ocr:<latest tag>
Visit https://hub.docker.com/r/accurascan/ocr to check the latest version available
Run the docker by using the command: sudo docker run -dp port-you-want-accuraocr-to-run-on:443 -- restart=always accurascan/ocr:<latest tag>
Upload both Ocr and Mrz license accessing "https://<yourdomain:port>" using a browser, Example is shown in the image below.
Use https://your-domain-or-ip.com:port/ocr.php (POST request) to access the API, an example post request as shown below.
POST https://yourdomain:port/ocr.php
Request Body
You can either pass image file or an image base64.
200: OK An example response is shown in the image below
Last updated