Press Release - PixLab Introduces Groundbreaking Document Scanning API for KYC and ID Verification

FOR IMMEDIATE RELEASE

PixLab Symisc

PixLab, a leading provider of advanced image and video analysis solutions, is thrilled to unveil its newly redesigned and highly innovative Machine Learning-based document scanner engine, developed in-house.

This groundbreaking technology is specifically designed for Know Your Customer (KYC) and ID verification tasks, offering customer onboarding solutions that go beyond standard KYC and Anti-Money Laundering (AML) checks. The PixLab DOCSCAN API Endpoint empowers organizations to boost conversions, reduce fraud, and maintain global compliance effortlessly.

The PixLab DOCSCAN API Endpoint revolutionizes the way government-issued documents, including Passports, Visas, U.S Driver License, and ID cards from various countries including but not limited to Malaysia, Singapore, India, and Emirates, are scanned and verified. With a single call, organizations can effortlessly scan and extract critical information from these documents. The API endpoint also features automatic face extraction, enhancing the accuracy and completeness of the scanning process.

Below, the DOCSCAN API endpoint output for a typical Input Passport Image:

Input Passport Specimen (JPEG/PNG/BMP Image or PDF Upload) Input Passport Specimen

And, the extracted Passport (MRZ) Fields Extract Output

One of the key highlights of the DOCSCAN API endpoint is its ability to transform binary data, such as Passport Machine Readable Zone (MRZ), into a stream of textual content in JSON format. This includes extracting crucial details such as the Full Name, Issuing Country, Document Number, Date of Birth & Expiry, etc.. This seamless integration of the extracted information into your application allows for streamlined and efficient processes, reducing manual effort and eliminating errors.

PixLab takes document scanning and verification to the next level by offering additional features that help identify possible fraudulent documents. The DOCSCAN API endpoint's automated face scanning capabilities, combined with its MRZ extraction functionality, enable developers to automate passport scanning while maintaining stringent security standards. This empowers organizations to protect against fraudulent activities and maintain the integrity of their processes.

Input ID Card Specimen from Malaysia (MyKAD) (JPEG/PNG/BMP Image or PDF Upload) MyKAD Specimen

And, the extracted MyKAD Fields including Face Extraction, Date Of Birth, Full Name, Address, Religion, and ID Number

Extracted MyKAD Fields

In today's increasingly digitized era, the need for automation and efficiency is paramount. Manual and repetitive administrative tasks can be time-consuming, error-prone, and costly. By leveraging the power of the PixLab DOCSCAN API endpoint, organizations can automate passport processing, resulting in substantial cost savings, accelerated customer on-boarding, and enhanced accuracy in administrative processes.

Finally, to learn more about PixLab's DOCSCAN API endpoint and its comprehensive features, please refer to the previous blog posts & code samples:

  1. Passports, Travel Documents & ID Cards Scan API Endpoint Available
  2. Full Scan Support for Malaysia and Singapore ID Cards
  3. Full Scan Support for United Arab Emirates (UAE) ID/Residence Cards
  4. PixLab’s Document Scanner now able to scan Driving License issued from any U.S. state
  5. Implement a Minimalistic KYC Form & Identify Verification Check
  6. Step-by-step guide to do e-KYC in your app
  7. Streamlining KYC with PixLab Document Scanner API

Code Samples

  1. Scan a government issued Passport document using the PixLab API. Extract the user's face and display all MRZ fields (PHP Code)
  2. Scan a government issued Passport document using the PixLab API. Extract the user's face and display all MRZ fields (Python Code)
  3. Scan Malaysia ID Card (MyKAD) (PHP Code)
  4. Scan government issued ID card from Malaysia (MyKAD, MyKID)., extract the user face and parse all fields (Python Code)

About PixLab

PixLab is a leading provider of advanced image and video analysis solutions, leveraging state-of-the-art technologies such as Machine Learning and Artificial Intelligence. With a commitment to innovation, PixLab empowers organizations across industries to automate and streamline their image and video processing workflows. The company's robust APIs and developer-friendly tools enable businesses to extract valuable insights, perform accurate face recognition, analyze emotions, detect objects, and much more.

Modern Passport Structure & Bulk Scan APIs

A Passport is a document that almost everyone has at some point in their lives. It is issued by the country’s government to its citizens and mainly being used for traveling purposes. It also serves as proof of nationality, name, and more importantly an Universally Unique ID for its owner.

Modern Passport Structure

Passport Specimen

Many services have been long-time accepting passports as identification documents from their customers to complete their KYC (Know Your Customer) form as required by the legislation in force. This is especially true and enforced for the Finance, HR or Travel sectors. In most cases, a human operator will verify the authenticity of the submitted document and grant validation or reject it.

Things can get really complicated if you have hundreds of KYC forms to checks, but also if your clients differ in nationality. Quickly, you will find yourself drowning in physical copies of passports in different languages that you can not even understand. Let alone the potential legal problems you can face with passport copies laying around the office. This is why, an automated & safe solution for Passports processing is required!

Modern Passport Structure

From the 1980s on wards, most countries started issuing passports containing an MRZ. MRZ stands for the Machine Readable Zone and is usually located at the bottom of the Passport as shown below:

Modern Passport Specimen

Passports MRZ Sample

Passports that contain an MRZ are referred to as MRPs, machine-readable passports (Almost all modern issued Passports have one). The structure of the MRZ is standardized by the ICAO Document 9303 and the International Electro-technical Commission as ISO/IEC 7501-1.

The MRZ is an area on the document that can easily be read by a machine using an OCR Reader Application or API. It’s not important for you to understand how it works, but if you look at it carefully, you will see that it contains most of the relevant information on the document, combined with additional characters and a checksum that can be extracted programmatically and automatically via API as we will see in the next section.

Once parsed, the following information are automatically extracted from the target MRZ and made immediately available to your app, thanks to the /docscan API endpoint:

  • issuingCountry: The issuing country or organization, encoded in three characters.
  • fullName: Passport holder full name. The name is entirely upper case.
  • documentNumber: This is the passport number, as assigned by the issuing country. Each country is free to assign numbers using any system it likes.
  • checkDigit: Check digits are calculated based on the previous field. Thus, the first check digit is based on the passport number, the next is based on the date of birth, the next on the expiration date, and the next on the personal number. The check digit is calculated using this algorithm.
  • nationality: The issuing country or organization, encoded in three characters.
  • dateOfBirth: The date of the passport holder's birth in YYMMDD form. Year is truncated to the least significant two digits. Single digit months or days are perpended with 0.
  • sex: Sex of the passport holder, M for males, F for females, and < for non-specified.
  • dateOfExpiry: The date the passport expires in YYMMDD form. Year is truncated to the least significant two digits. Single digit months or days are perpended with 0.
  • personalNumber: This field is optional and can be used for any purpose that the issuing country desires.
  • finalcheckDigit: This is a check digit for positions 1 to 10, 14 to 20, and 22 to 43 on the second line of the MRZ. Thus, the nationality and sex are not included in the check. The check digit is calculated using this algorithm.

Automatic Passport Processing

PixLab Logo

Fortunately for the developer wishing to automate Passports scanning, PixLab can automatically scan & extract passport MRZ but also help to detect possible fraudulent documents. This is made possible thanks to the /docscan API endpoint which let you in a single call scan government issued documents such as Passports, Visas or ID Cards from various countries.

Besides extracting MRZ, the /docscan API endpoint shall automatically crop any detected face and transform binary Machine Readable Zone into stream of text content (i.e. full name, issuing country, document number, date of expiry, etc.) ready to be consumed by your app in the JSON format.

Below, a typical output result of the /docscan endpoint for a passport input image:

Input Passport Specimen (JPEG/PNG/BMP Image)

Input Image URL

Extracted MRZ Fields

MRZ Fields

What follow is the gist used to achieve such result:

Other document scanning code samples are available to consult via the following Github links:

Face extraction is automatically performed using the /facedetect API endpoint. For a general purpose Optical Character Recognition engine, you should rely on the /OCR API endpoint instead. If you are dealing with PDF documents, you can convert them at first to raw images via the /pdftoimg endpoint.

Conclusion

The era we are in is more digitized than ever. Tasks that are repetitive are slowly being replaced by computers and robots. In many cases, they can perform these tasks faster, with a smaller amount of mistakes and in a more cost-effective manner. At PixLab we focus on building software to replace manual repetitive labor in administrative business processes. The processing and checking of passports can be very time-consuming. Using /docscan to automate your passport processing will enable you to save cost, on-board customers faster and reduce errors in administrative processes.