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. |
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. |
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 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 |
Event
|
BarcodeEvent | Media Server creates a record in this track when a barcode appears or disappears. | Yes |
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 |
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. |
|