# Barcode Detection

Barcode detection finds and reads barcodes.

Configuration Parameter | Description
--- | ---
BarcodeTypes | A comma-separated list of the types of barcodes that might appear in the ingested media.
ImageBinarizeMethod | (Deprecated) The method to use to binarize color images and video frames.
Input | The image track to process.
MaxInputQueueLength | Can be used to place a limit on latency.
Orientation | The orientation of barcodes in the ingested media.
Region | A region of the frame to restrict processing to.
RegionUnit | The units that the Region parameter uses to specify the size and position of a region.
RestrictToInputRegion | Specifies whether to analyze a region of the input image or video frame that is specified in the input record, instead of the entire image.
SampleInterval | The interval at which frames are selected to be analyzed.
SegmentDuration | The maximum duration of a record in the `SegmentedResult` or `SegmentedResultWithSource` track. (Available only when processing video).
Type | The analysis engine to use. Set this parameter to `Barcode`.

## Output Tracks

Output track | Type | Description | Output1This column indicates whether the information contained in the track is included by default in the output created by an output task (when you don't set the Input parameter for the output task).
--- | --- | --- | ---
`Data` | BarcodeResult | Contains one record, describing the analysis results, per detected barcode, per video frame. | No
`DataWithSource` | BarcodeResultAndImage | The same as the `Data` track, but each record also includes the source frame. | No
`Result` | BarcodeResult | Contains one record, describing the analysis results, for each detected barcode. When the same barcode appears in many consecutive frames, Media Server produces a single result. | Yes
`ResultWithSource` | BarcodeResultAndImage | The same as the `Result` track, but each record also includes the best source frame. | No
`SegmentedResult` | BarcodeResult | (Available only when processing video). Contains one or more records, describing the analysis results, for each detected barcode. The maximum duration of records in this track is limited by the parameter SegmentDuration, so multiple records are created with the same ID when a barcode remains in the scene for longer than this duration. | Yes
`SegmentedResultWithSource` | BarcodeResultAndImage | (Available only when processing video). The same as the `SegmentedResult` track, but each record also includes the best source frame. | No
`Start` | BarcodeResult | The same as the `Data` track, except it contains only the first record of each event. | No
`End` | BarcodeResult | The same as the `Data` track, except it contains only the last record of each event. | No

BarcodeResult

Field name | Type | Description
--- | --- | ---
id | UUIDData | A universally unique identifier to identify the barcode (there is one UUID per barcode; records with the same UUID represent the same barcode in different frames)
text | TextData | The information encoded by the barcode
barcodeType | String | The type of the detected barcode.
region | RectangleData | The location of the barcode in the frame

BarcodeResultAndImage

The same as `BarcodeResult` records, with the following additional fields.

Field name | Type | Description
--- | --- | ---
image | ImageData | The source frame

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm