MRZ Scanner quick start for Windows Data Capture Modules
Use this quick start to integrate MRZ scanning from scratch.
Set up your project from scratch
Choose your language and architecture, then run the setup commands. Replace <SCANBOT_SDK_VERSION> with the version you want to install.
- Python x64
- Python x86
- C x64
- C x86
python -m venv .env
.\.env\Scripts\Activate.ps1
pip install --upgrade pip setuptools wheel
$env:SCANBOT_SDK_VERSION="<SCANBOT_SDK_VERSION>"
pip install "https://github.com/doo/scanbot-sdk-example-linux/releases/download/standalone-sdk%2Fv$env:SCANBOT_SDK_VERSION/scanbotsdk-$env:SCANBOT_SDK_VERSION-py3-none-win_amd64.whl"
python -m venv .env
.\.env\Scripts\Activate.ps1
pip install --upgrade pip setuptools wheel
$env:SCANBOT_SDK_VERSION="<SCANBOT_SDK_VERSION>"
pip install "https://github.com/doo/scanbot-sdk-example-linux/releases/download/standalone-sdk%2Fv$env:SCANBOT_SDK_VERSION/scanbotsdk-$env:SCANBOT_SDK_VERSION-py3-none-win32.whl"
mkdir data-capture-quickstart-c
cd data-capture-quickstart-c
Use the CMake setup from the C quick start with SCANBOTSDK_ARCHITECTURE=x64, then replace main.c with the scanner snippet below.
mkdir data-capture-quickstart-c
cd data-capture-quickstart-c
Use the CMake setup from the C quick start with SCANBOTSDK_ARCHITECTURE=x86, then replace main.c with the scanner snippet below.
Run your scanner app
- Python x64
- Python x86
- C x64
- C x86
python main.py C:\path\to\image.jpg
python main.py C:\path\to\image.jpg
mkdir build
cd build
cmake -A x64 -DSCANBOT_SDK_VERSION=<SCANBOT_SDK_VERSION> -DSCANBOTSDK_ARCHITECTURE=x64 ..
cmake --build . --config Release
.\Release\data-capture-quickstart.exe C:\path\to\image.jpg
mkdir build
cd build
cmake -A Win32 -DSCANBOT_SDK_VERSION=<SCANBOT_SDK_VERSION> -DSCANBOTSDK_ARCHITECTURE=x86 ..
cmake --build . --config Release
.\Release\data-capture-quickstart.exe C:\path\to\image.jpg
The MRZ Scanner quick start shows how to scan machine-readable zones from image input.
Run the MRZ Scanner
- Python
- C
loading...
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.
Scanbot SDK is part of the Apryse SDK product family
A mobile scan is just the start. With Apryse SDKs, you can expand mobile workflows into full cross‑platform document processing. Whether you need to edit PDFs, add secure digital signatures, or use a fast, customizable document viewer and editor, Apryse gives you the tools to build powerful features quickly.
Learn more
