# 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.
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 | (Deprecated) The units that the Region parameter uses to specify the size and position of a region.
RestrictToInputRegion | (Deprecated) 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 | 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` | Contains one record, describing the analysis results, per detected barcode, per video frame. | No
`DataWithSource` | The same as the `Data` track, but each record also includes the source frame. | No
`Result` | 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` | The same as the `Result` track, but each record also includes the best source frame. | No
`SegmentedResult` | (Available only when processing video). The same as the `Result` track, except the duration of each record is limited by the parameter SegmentDuration. If a result exceeds the specified duration, Media Server begins a new record with the same ID. | Yes
`SegmentedResultWithSource` | (Available only when processing video). The same as the `ResultWithSource` track, except the duration of each record is limited by the parameter SegmentDuration. If a result exceeds the specified duration, Media Server begins a new record with the same ID. | No
`Start` | The same as the `Data` track, except it contains only the first record of each event. | No
`End` | The same as the `Data` track, except it contains only the last record of each event. | No

_FT_HTML5_bannerTitle.htm