Skip to main content

Passport Reader Interface

Project description

What is pr22

The Passport Reader is a travel document reader and analyzer system by ADAPTIVE RECOGNITION.

The main features of the PR system are:

  • Image scanning with different illuminations
  • Document, character and barcode recognition
  • Authentication of visual elements of documents
  • Reading and authenticating of electronic documents

This software component is the general python SDK for the Passport Reader system.

Installation and dependencies

The pr22 requires the Passport Reader software to be installed, and it works with special ID scanner hardware only. On Windows OS, the required bitness (32/64) of the Passport Reader software depends on the used python.exe and not on the operating system architecture.

The pr22 can cooperate with PyQt as it can pass and get images, but installation of PyQt is not mandatory.

Install with the following command

py -m pip install pr22

After that, the ready state of pr22 can be tested with

py -m pr22

The documentation of classes and functions is available through pydoc documentation starting as

py -m pydoc -b

and then selecting the pr22 package.

Usage

The source distribution of pr22 contains a tutorial folder with command line sample programs. With the help of these programs, you can go through the options of different topics. Also, there is a gui folder with more lifelike examples but these demonstrate fewer options of the API than command line samples.

Tutorial programs:

pr01_open

Shows the possibilities of opening a device.

The following tutorials show the easy way of opening in their open_dev() methods.

pr02_hwinfo

Shows how to get general information about the device capabilities.

pr03_scanning

Shows how to parametrize the image scanning process.

pr04_analyze

Shows the main capabilities of the image processing analyzer function.

pr05_doctype

Shows how to generate document type string. This example needs some additional source files from the pr22ext folder.

pr06_ecard

Shows how to read and process data from ECards (including RFID documents). After ECard selection, before starting reading ECard data, some authentication processes have to be called for accessing the data files. This program performs the steps of the reading process one by one.

GUI programs:

Currently, only the PyQt dependent version of these examples are available.

ScannerSample

At first, it captures images with selected illuminations, utilizing motion detection. Then, it analyzes image data. Finally, it shows the read data in different representation forms.

ReadCard

Reads ECard data after executing the related authentications. The files read can be saved by right-click on the filenames. The program performs the entire reading process in the background.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pr22-2.2.0.22.tar.gz (74.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pr22-2.2.0.22-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

Details for the file pr22-2.2.0.22.tar.gz.

File metadata

  • Download URL: pr22-2.2.0.22.tar.gz
  • Upload date:
  • Size: 74.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pr22-2.2.0.22.tar.gz
Algorithm Hash digest
SHA256 bbc671fa33200a6003d824fc2f9350ffff2b02b0b030e178c08e5d610e32a5a4
MD5 01391a73c92273939164c0aa02b787b6
BLAKE2b-256 b2fbe7eb5a401b466b77d252a32cde4e14a2eaf9d36288b12a0c7b95266a46a6

See more details on using hashes here.

File details

Details for the file pr22-2.2.0.22-py3-none-any.whl.

File metadata

  • Download URL: pr22-2.2.0.22-py3-none-any.whl
  • Upload date:
  • Size: 54.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pr22-2.2.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 fc2312ac4998329ce9285caf9545c0e289faf03f787c8920e5334187025a3d96
MD5 a848f6ad44b894682ecb1e103fcaa2ca
BLAKE2b-256 f1513ef4568803d1ce61b0ce07981f646f5c1652cb732748b5d55008988e0fff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page