Identity Scanner
Identity Scanner is a Zia AI-driven component that enables you to perform secure identity checks on individuals and documents by scanning and processing various ID proofs or official documents. It is a comprehensive suite that incorporates multiple functionalities divided into two major categories- E-KYC and Document Processing.
PAN
The PAN model is a part of the Document Processing feature that enables you to process Indian PAN cards as identity proof documents. This enables you to extract fields of data from a PAN card using an advanced OCR technology, and return the parameters recognized from the PAN card in the response.
You must provide the path to the image file of the front side of the PAN card to the open() method, as shown in the code below. This method opens the file and returns the file object as a response.
The zia reference used below is already defined in the component instance page.
Allowed file formats: .jpg, .jpeg, .png
File size limit: 15 MB
You must specify the model type as PAN using modelType. The PAN model can only process text in English by default. No other languages are supported.
The response will contain the parameters extracted from the PAN card such as their first name, last name, date of birth, and their PAN card number assigned to the respective keys.
copyimg = open('sample.jpg', 'rb') result = zia.extract_optical_characters(img, {'modelType': 'PAN'})
The response is shown below :
copy{ date_of_birth: "03/04/1982", last_name: "VASUDEV MAHTO", pan: "ANRPM2537J", first_name: "PRAMOD KUMAR MAHTO" }
Last Updated 2024-01-04 12:37:42 +0530 +0530
Yes
No
Send your feedback to us