Speed up MatrixScan AR integration with Agent Skills
Install the Scandit plugin and use the /matrixscan-ar-kmp skill so that your AI coding agent can integrate, debug, and customize MatrixScan AR on Kotlin Multiplatform following Scandit's recommended patterns. More info →
Run the following command in your project directory. It detects the supported coding agents you have installed and adds the Scandit plugin to each. Re-run it to update.
npx plugins add scandit/skillsPrefer to set it up yourself? Manual installation steps for each agent →
About MatrixScan AR
MatrixScan AR is Scandit's most advanced and flexible API for building custom augmented-reality workflows that scan and track multiple barcodes at once. It is a superset of MatrixScan Batch: it tracks the same set of barcodes across frames, but adds a prebuilt AR view with configurable highlights, tap-driven annotations, torch/zoom/camera-switch controls, and audio/haptic feedback.
MatrixScan AR is implemented through two elements, both in the com.kmp.datacapture.barcode.ar package of the barcode module:
BarcodeAr—the data capture mode driving scan-and-track recognition. Unlike most other modes,BarcodeAris not aDataCaptureMode: it attaches itself to aDataCaptureContextwhen constructed viaBarcodeAr.forContext(...), so you never calladdMode()/removeMode()for it.BarcodeArView—the prebuilt AR UI that renders highlights and annotations over tracked barcodes and hosts the camera preview.
Highlights
Used to enable the user to identify the scanned barcode. They are shown on top of the respective barcode and displayed as soon as the barcode is scanned.
Annotations
Displayed outside of the area of a barcode and attach to the scanned barcode. There are multiple types of annotations available:
Info Annotation
Comprised of any desired combination of text and/or icons. Info annotations are displayed on the screen and can be configured to appear on scan.
Status Icons
The collapsed icon is shown as soon as the barcode is scanned. It expands to display the icon and any desired text when the user taps on it, and collapses once tapped again.
Popovers
Comprised of any desired combination of text and icons. Popovers appear upon tapping the respective highlight and can be configured to appear on scan. They are removed on tapping the highlight or area inside the popover.
Next Steps
Use MatrixScan AR as the go-to API for new projects that need custom, advanced AR capabilities. If you only need lightweight multi-barcode tracking without an AR overlay, use MatrixScan Batch instead.
Continue to Get Started to add MatrixScan AR to your application.