Text Pattern Scanner quick start for Linux Data Capture Modules
Use this quick start to integrate text-pattern extraction from scratch.
Set up your project from scratch
Choose your language and run the setup commands.
- Python x86_64
- Python ARM64
- Java (x86_64/ARM64)
- Node.js (x86_64/ARM64)
- C (x86_64/ARM64)
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
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_aarch64.whl
mkdir data-capture-quickstart-java
cd data-capture-quickstart-java
gradle init --type java-application
Then add the Scanbot SDK JAR dependency in build.gradle, as shown in the Java quick start.
mkdir data-capture-quickstart-node
cd data-capture-quickstart-node
npm init -y
export SCANBOT_SDK_VERSION=<SCANBOT_SDK_VERSION>
npm install https://github.com/doo/scanbot-sdk-example-linux/releases/download/standalone-sdk%2Fv${SCANBOT_SDK_VERSION}/nodejs-scanbotsdk-${SCANBOT_SDK_VERSION}.tgz
sudo apt update
sudo apt install -y cmake build-essential wget
mkdir data-capture-quickstart-c
cd data-capture-quickstart-c
Then use the CMake setup from the C quick start and replace main.c with the scanner snippet below.
Run your scanner app
- Python x86_64
- Python ARM64
- Java (x86_64/ARM64)
- Node.js (x86_64/ARM64)
- C (x86_64/ARM64)
python main.py /path/to/image.jpg
python main.py /path/to/image.jpg
./gradlew run --args='/path/to/image.jpg'
npx ts-node main.ts /path/to/image.jpg
mkdir -p build && cd build
cmake -DSCANBOT_SDK_VERSION=<SCANBOT_SDK_VERSION> ..
make -j
./data-capture-quickstart /path/to/image.jpg
The Text Pattern Scanner quick start shows how to extract pattern-based text data from images.
Run the Text Pattern Scanner
- Python
- Java
- NodeJS
- C
loading...
loading...
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
