The Barcode analysis task detects and reads barcodes.
This section describes the parameters that you can use to configure barcode detection.
Configuration Parameter | Description |
---|---|
BarcodeTypes | A comma-separated list of the types of barcodes that might appear in the ingested media. |
FrameRate | (Deprecated) The number of frames to analyze per second of video. |
ImageBinarizeMethod | The method to use to binarize color images and video frames. |
Input | The image track to process. |
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. |
SampleInterval | The interval at which frames are selected to be analyzed, in milliseconds. |
Type | The analysis engine to use. Set this parameter to Barcode . |
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 a record for every frame in which a barcode is detected (multiple records are created when the same barcode appears in consecutive frames). | No |
DataWithSource
|
BarcodeResultAndImage | Contains the same information as the Data track, but each record also includes the source frame. |
No |
Event
|
BarcodeEvent | Media Server creates a record in this track when a barcode appears or disappears. | Yes |
Result
|
BarcodeResult | Contains a single record for each detected barcode (the same barcode might appear in many consecutive frames). This track only contains the best result from processing a barcode. | Yes |
ResultWithSource
|
BarcodeResultAndImage | Contains the same information as the Result track, but each record also includes the best source frame. |
No |
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 |
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 |
image | ImageData | The source frame |
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) |
event | TrackingEventData | The type of event (begin/end), and the elapsed time since the barcode appeared. |
text | TextData | The information encoded by the barcode |
barcodeType | String | The type of the detected barcode. |
|