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.

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

Cheque

The CHEQUE model is a part of the Document Processing feature that enables you to process Indian bank cheque leaves as identity proof documents. This enables you to extract fields of data from a cheque using an advanced OCR technology, and fetch the parameters recognized from the cheque through the response.

Note: 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 or US data centers. Users outside of India from the other DCs can access the general OCR component to read and process textual content.

You must provide the path to the image file of the front page of the chequebook, as shown in the code below. The CHEQUE model can only process text in English by default. No other languages are supported.

Allowed file formats:.jpg, .jpeg, .png
File size limit: 15 MB

You must specify the model type as CHEQUE using setModelType().

Note: Zia only processes cheques of the CTS-2010 format.

The response will contain the parameters extracted from the cheque, such as the amount, bank name, branch name, account number, IFSC code, assigned to the respective keys.

Ensure the following packages are imported:

Copiedimport java.util.Date;
import com.zc.component.ml.ZCChequeData;
import com.zc.component.ml.ZCContent;
import com.zc.component.ml.ZCML;
import com.zc.component.ml.ZCOCRModelType;
import com.zc.component.ml.ZCOCROptions;
CopiedFile file = new File("/Users/amelia-421/Desktop/cheque.jpg"); //Specify the file path
ZCOCROptions options = ZCOCROptions.getInstance().setModelType(ZCOCRModelType.CHEQUE); //Set the model type
ZCContent ocrContent = ZCML.getInstance().getContent(file, options); //Call getContent() with the file object to get the detected text in ZCContent object
ZCChequeData  chequeData = ocrContent.getChequeData(); //This method obtains the cheque data

//To fetch individual elements like the account number, IFSC code, bank name, branch, amount, and date of transaction from the processed image 
Long accountNumber = chequeData.getAccountNumber();
String  ifsc = chequeData.getIfsc();
String  bankName  = chequeData.getBankName();
String  branchName  = chequeData.getBranchName();
String amount = chequeData.getAmount();
Date date = chequeData.getDate();

API Documentation: OCR Cheque- API

Node.js SDK: OCR Cheque- Node.js SDK