Skip to main content

MRZ Scanner quick start for Linux Data Capture Modules

Use this quick start to integrate MRZ scanning from scratch.

Set up your project from scratch​

Choose your language and run the setup commands.

sudo apt update
sudo apt install -y python3-venv python3-opencv
python3 -m venv .env --system-site-packages
source .env/bin/activate
pip install --upgrade pip setuptools wheel
export SCANBOT_SDK_VERSION=<SCANBOT_SDK_VERSION>
pip install https://github.com/doo/scanbot-sdk-example-linux/releases/download/standalone-sdk%2Fv${SCANBOT_SDK_VERSION}/scanbotsdk-${SCANBOT_SDK_VERSION}-py3-none-linux_x86_64.whl

Run your scanner app​

python main.py /path/to/image.jpg

The MRZ Scanner quick start shows how to scan machine-readable zones from image input.

Run the MRZ Scanner​

MRZ scanner from ImageRef
loading...

Get in touch​

If you need further information or are interested in licensing the Scanbot SDK, please get in touch with our solution experts.