Document Reader SDK installation for a hardware reader in Linux

To use the document reader device on Linux OS, we can suggest two options:

Working directly with libraries

For this purpose, it is essential to install two packages via this link: Linux - Desktop SDK:

  • regula-reader - libraries
  • regula-reader-dev - development set

An example of how to work directly with libraries can be found in our example RegulaDocumentReader, where you can see processing and getting results in XML format (the sample is in the attachments).

In the section documentreader.cpp, you can find an example of work with the optical part (PasspR and RFID).

Links for documentation:

Example:

long DocumentReader::ConnectPasspr() - PasspR connect

long DocumentReader::ConnectRFID - RFID connect

long DocumentReader::Process(intptr_t processingMode) - processing of the optical part and RFID

Working with Local Service SDK

All the necessary information on using the Local Service on Linux (Ubuntu, Debian, CentOS) can be found via this link: Linux - Desktop SDK (regulaforensics.com).

In order to use the service, you should install the following packages:

  • regula-reader
  • regula-reader-service

An sample of the interaction of the Local service with a device in JavaScript using the Socket.IO library can be found at:

/usr/share/regula/Examples/LocalServiceExample

You can also test the service by opening a demo page: http://localhost:3000/

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more