Tracked Object

Defined under the namespace Scandit.Datacapture.Barcode.Batch

TrackedObject
class TrackedObject

Added in version 8.2.0

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

location
get location(): Quadrilateral

Added in version 8.2.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
get identifier(): number

Added in version 8.2.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
get data(): string | null

Added in version 8.2.0

The data associated with this object.