PANAdmin Scope

Notes:
  • Ensure you have installed the required package to use this SDK method.

  • Catalyst does not store any of the files you upload in its systems. The documents you upload are used for one-time processing only. They are not used for ML model training purposes either. Catalyst components are fully compliant with all applicable data protection and privacy laws.

  • Document Processing is only relevant to Indian users and is only available in the IN DC. This feature will not be available to users accessing from the EU, AU, US, JP, SA or CA data centers. Users outside of India from the other DCs can access the general OCR component to read and process textual content.

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. 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.

Allowed file formats: .webp, .jpeg, .png

File size limit: 15 MB

The zia reference used in the code snippets below is the component instance created to perform these operations. The promise returned here is resolved to a JSON object.

copy
const fs = require('fs');
const result = await zia.extractOpticalCharacters(fs.createReadStream('/Users/amelia-421/Desktop/pan.webp'), {modelType: 'PAN'}); // Pass the input file with the model type
console.log(result);

Example of Expected Response

A sample response that you will receive is shown below. 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.

copy
{
  "date_of_birth": "03/04/1982",
  "last_name": "Dheeran",
  "pan": "ANRPM2537J",
  "first_name": "Saeyon"
}

Last Updated 2026-07-02 14:51:41 +0530 IST