Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Common Process InputsBrightnessCircle Detection1D/2D Code ReaderColor DetectionColor ThresholdContrastMulti CropCropDetection Count ZonesFace DetectionFace RecognitionFeature MatchingFire & Smoke DetectionFlipGeneral Object DetectionImage ClassificationImage SimilarityKey Points DetectionNumber Plate ReaderObject DetectionOCRPose EstimationResizeRotateSaturationInstance SegmentationWatershed SegmentPolygon DetectionWhite Balance

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesProcess

1D/2D Code Reader

Slot Usage: 2

Overview

1D/2D Code Reader detects and decodes barcodes and matrix codes from an input image frame.

Use this node when you need to extract machine-readable identifiers such as product codes, tracking IDs, or URLs from camera frames and image streams.

You can control which code families are scanned by using the Code Filter input. This helps improve performance and reduce false detections in scenes with mixed patterns.

Input

Input Image

image required

The image frame to analyze. This is a reference input field, so it should point to an image output from an upstream node.

Code Filter

array required

List of code types to detect.

Default value:

  • QR

Supported 1D Linear Codes

TypeExample
Code 39 (CODE_39)Code 39
Code 93 (CODE_93)Code 93
Code 128 (CODE_128)Code 128
Codabar (CODABAR)Codabar
Interleaved 2 of 5 (INTER_2OF5)Interleaved 2 of 5
UPC-A (UPC_A)UPC-A
UPC-E (UPC_E)UPC-E
EAN-8 (EAN_8)EAN-8
EAN-13 (EAN_13)EAN-13
GS1 DataBar (DATABAR)GS1 DataBar
GS1 DataBar Expanded (DATABAR_EXP)GS1 DataBar Expanded

Supported 2D Matrix Codes

TypeExample
QR Code (QR)QR Code
Data Matrix (DATAMATRIX)Data Matrix
Aztec (AZTEC)Aztec
PDF417 (PDF417)PDF417
MaxiCode (MAXICODE)MaxiCode

Overlay Results

boolean required

Whether to draw detection overlays on the output frame.

Default value:

  • true

Overlay Type

boolean

Shown only when Overlay Results is enabled.

When enabled, the overlay includes each detected code type label (for example QR, CODE_128).

Default value:

  • true

Overlay Text

boolean

Shown only when Overlay Results is enabled.

When enabled, the overlay includes decoded text values for each detection.

Default value:

  • true

Output

Overlay Image

image

Output frame from the node. If overlays are enabled, this frame includes drawn detection results.

Detected Count

integer

Number of detected codes in the current frame.

Detected Codes

array

Array of decoded result objects. Each object contains:

  • points array: Polygon points of the detected code in image coordinates. Each point is [x, y].
  • label string: Decoded text value.
  • codeType string: Detected code family (for example QR, EAN_13, PDF417).

Notes

  • If Code Filter contains unsupported values only, initialization fails because no valid code types can be configured.
  • For best accuracy, provide clear frames with enough contrast and keep code regions large enough in the image.
  • If no code is detected, Detected Count is 0 and Detected Codes is an empty array.

Circle Detection

Previous Page

Color Detection

Next Page

On this page

OverviewInputInput ImageCode FilterSupported 1D Linear CodesSupported 2D Matrix CodesOverlay ResultsOverlay TypeOverlay TextOutputOverlay ImageDetected CountDetected CodesNotes