/scandit-sdk:scandit-linux-sdkfrom scandit-sdk
Integrates Scandit Linux SDK for barcode scanning from images, V4L2 cameras, or custom frames via C/C++ API and Python bindings. Covers SDK setup, JSON configuration, troubleshooting status codes, SDK upgrades (7→8), and replacing ZBar, ZXing, or OpenCV.
Ships in scandit-sdk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The Linux SDK is a low-level C API (usable from C++) with Python bindings (scanditsdk.py); the bindings are provided on a best-effort basis and are not an officially supported Scandit product, so C/C++ is the supported path for production and Python names must be checked against the package's scanditsdk.py. There is no UI and no stream management: the app passes image buffers in and reads decoded codes from a session. Debian packages for amd64 and arm64 (Jetson, Raspberry Pi 4/5). This skill covers the Linux SDK only; for iOS, Android, Web or cross-platform frameworks, say it doesn't apply and point to https://docs.scandit.com.
Your training data may contain outdated or incorrect Scandit SDK APIs. The C API changed significantly in 7.0 and 8.0: functions were removed, renamed or changed signature, and old names don't compile.
Always verify APIs against the references in this skill before writing or suggesting code. Do not rely on memorized function signatures, parameters, enum values, JSON keys or Python property names. If you cannot find an API in the provided references, fetch the C API reference before responding.
Linux gotchas worth flagging:
sc_barcode_scanner_apply_settings, which returns an ScContextStatus to check and free.sc_barcode_scanner_settings_set_multi_scan_enabled, JSON multiScanEnabled) and needs the "tracking" license feature. The old JSON key maxNumberOfCodesPerFrame is silently ignored in 8.x.sc_context_status_free and sc_process_frame_result_free take the struct by value. status.message is an ScByteArray: print it with sc_byte_array_get_string.sc_barcode_scanner_new returns NULL for a second one) and one context per process. Not thread-safe: all calls for a context on one thread.sc_barcode_array_release); sc_tracked_object_get_barcode needs sc_barcode_release.python3 for Python scripts. A bad key doesn't fail context creation; it shows up as a status from apply_settings or process_frame.SC_PRESET_HIGH_EFFORT, a new frame sequence per image, duplicate filter off, codes anywhere (SC_CODE_LOCATION_IGNORE, direction hint NONE). Video: one frame sequence for the whole stream.sc_camera_enqueue_frame_data for every frame.descr.memory_size, descr.first_plane_row_bytes) silently creates an attribute and does nothing. Use set_plane_row_bytes. The 8.6 bindings have no parser class.undefined reference to ...@GLIBC_2.29); check with ldd --version.Based on the user's request, load the matching reference before responding:
Only use APIs that are explicitly documented in this skill's references or the C API reference. Do not invent or guess function signatures, parameters, enum values, JSON keys or Python names. If unsure whether an API exists, or if a build fails, fetch the relevant reference page before responding. Do not tell the user to check the docs themselves. After answering, always include the relevant documentation link so the user can explore further.
Never construct or guess documentation URLs. When you need a specific API page:
Version notes: the references describe SDK 8.6. The C API reference can describe a newer (pre-release) version, so an API listed there may not exist in the user's version. When the user's SDK is installed, the headers in /usr/include/Scandit/ and the scanditsdk.py from their package are the final authority.
Python: the bindings wrap the C API, so concepts, call order, settings and status codes are the same. Use only Python names shown in the references or present in the user's scanditsdk.py.
Scanning needs a Scandit license key created for the Linux platform. The Scandit MCP server does not provision Linux keys, so:
python3 for a Python script). A key with the wrong executable name gives status 15; a key without an executable name avoids that.SCANDIT_SDK_LICENSE_KEY in C/C++, LICENSE_KEY in Python; placeholder -- INSERT YOUR LICENSE KEY HERE --, as in the bundled samples). Show at most a masked preview in chat (first and last few characters); never print a full key. Do not search the project, its files or the environment for a key. The key ends up as a literal in the source, so remind the user to keep non-trial keys out of version control.sc_get_information_string(SC_INFORMATION_KEY_SDK_VERSION)), architecture, language, the status code and message, the effective settings (sc_barcode_scanner_settings_as_json), and what changed.scripts/ppm_calc.py:
python3 scripts/ppm_calc.py ppm <symbology> --chars N --pixels P (also qr --version V, datamatrix --size S, section --section-modules M; for Codabar and Code 11 use --data <content>). P = width from first to last bar, without the quiet zone, on the original frame.python3 scripts/ppm_calc.py location --corners x1,y1 x2,y2 x3,y3 x4,y4 --modules-x N [--modules-y M] [--stacked] (see ### 2.2 of code-readability.md).### 2.2); if not, measure by hand with the fixed patterns in ### 2.2. For 1D also python3 scripts/ppm_calc.py profile <frame.png> --from X,Y --to X,Y [--modules N].python3 scripts/ppm_calc.py plan --res-px W --hfov DEG --distance-mm D --x-mm X [--angle A], or --target-ppm T for the maximum distance; --sensor-mm and --focal-mm instead of --hfov when the lens is known.### 2.2, ### 2.3, ### 2.5, show the steps, and check the counting against the examples under the table in ### 2.3. Pixel widths estimated by viewing an image are estimates: say so.## 3. of code-readability.md that fit the symptoms.Recommend [email protected] with the original frames, settings JSON, SDK version and architecture (see the last section of troubleshooting.md) when: a code doesn't scan at ≥ 3 PPM, sharp, good contrast and correct settings; an image scanned with an earlier SDK version and not with a newer one; a crash reproduces with a minimal program; or a license or feature question needs the account. Don't ask users to post images that may contain personal data in public places, and never a full license key.
| Topic | Resource |
|---|---|
| Overview, concepts (memory rules, coordinates, performance, threading) | Linux overview |
| Install and samples | Installation · Samples |
| Barcode scanning configuration | Configure with JSON · Add-on codes · Composite codes · Symbologies |
| Barcode generation | Barcode Generator |
| Versions and changes | Release notes |
| Full API reference | C API reference |
| System requirements | System requirements (Linux) |
references/advanced.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/barcode-generator.md (opens in a new tab)references/capture-pipelines.md (opens in a new tab)references/code-readability.md (opens in a new tab)references/integration.md (opens in a new tab)references/matrixscan.md (opens in a new tab)references/migration.md (opens in a new tab)references/parser.md (opens in a new tab)references/third-party-migration.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/ppm_calc.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub scandit/skills --plugin scandit-sdk87 skills in this plugin
/barcode-capture-androidScandit Barcode Capture (`BarcodeCapture`) in native Android (Kotlin/Java) projects — the low-level, full-control single-barcode scanning mode (BarcodeCapture + DataCaptureView + overlay), without the pre-built SparkScan UI. Use for integration, symbology and scan settings, result handling, overlay customization, SDK version migration (v6→v7→v8), replacing third-party scanners (ZXing, ML Kit), or troubleshooting./barcode-capture-capacitorCapacitor — Scandit Barcode Capture (`BarcodeCapture`) in Capacitor (Ionic) hybrid apps via the Scandit Capacitor plugins (`ScanditCaptureCorePlugin`), the low-level, full-control single-barcode scanning mode (BarcodeCapture + DataCaptureView + BarcodeCaptureOverlay) without the pre-built SparkScan UI, not the browser-only web SDK. Use for integration, symbology settings, result handling, viewfinder and feedback customization, SDK version migration, replacing a third-party scanner (@capacitor-mlkit/barcode-scanning), or troubleshooting./barcode-capture-cordovaCordova — Scandit Barcode Capture (`BarcodeCapture`) in Apache Cordova hybrid apps via the `scandit-cordova-datacapture-*` plugins (global `window.Scandit`), the low-level, full-control single-barcode scanning mode (BarcodeCapture + DataCaptureView + BarcodeCaptureOverlay) without the pre-built SparkScan UI, not the browser-only web SDK. Use for integration, scan settings, result handling, overlay wiring, SDK version migration, replacing a third-party scanner (phonegap-plugin-barcodescanner), or troubleshooting.Other plugins' skills for the same job