Tracked Object

Defined in library scandit_datacapture_barcode_batch

TrackedObject
class TrackedObject

Added in version 7.3.0

A barcode or a cluster tracked over the course of multiple frames.

location
Quadrilateral get location

Added in version 7.3.0

The location of the code. The coordinates are in image-space, meaning that the coordinates correspond to actual pixels in the image. For display, the coordinates need first to be converted into screen-space using the data capture view.

The meaning of the values of Quadrilateral.topLeft is such that the top left point corresponds to the top left corner of the barcode, independent of how the code is oriented in the image. Same for the other corners.

identifier
int get identifier

Added in version 7.3.0

The unique identifier for the tracked object. The identifier is unique for each object. The same identifier may be reused once the object is lost for another object.

data
String? get data

Added in version 7.3.0

The data associated with this object.