For Japanese documents, we recommend Azure Computer Vision for more accurate results.
Prerequisites
Access to Limina’s DEID container
See Grabbing the Image for more info on this.Integrating Azure OCR with Limina
Create Azure OCR Service
Setup one of the following Azure OCR service to use with Limina DEID Container:
Please check out our Guide for OCR Modes Available with Limina DEID Container to see the different modes of OCR supported by Limina DEID Container.Azure Document Intelligence Service
- Navigate to the Azure Portal.
- Create a new Azure Document Intelligence service by following the link: Create Document Intelligence
- Note down your Document Intelligence service endpoint and the key.
- Navigate to the Azure Portal.
- Create a new Azure Computer Vision service by following the link: Create Computer Vision
- Note down your service endpoint and the key.
Start the container with Azure OCR service
Open a terminal and run the following command to start the container:The above command starts the container with Document Intelligence, for Computer Vision, please replace the above Document Intelligence environment variables with these.
Docker Run Command
Azure Computer Vision Environment Variables
(Alternative): Configure Docker Compose File to manipulate the containers including On-Premise Azure OCR container
Please see Limina deid-examples repository - OCR Examples for more efficient container handling. Sample docker compose files are available including these topics.
- Option 1 - DEID Container with cloud Azure Computer Vision Service
- Option 2 - DEID Container with cloud Azure Document Intelligence Service
- Option 3 - DEID Container with On-Premise Azure Computer Vision Service