Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for Android

ScTrackedObject.h File Reference

Go to the source code of this file.

Typedefs

typedef struct ScOpaqueTrackedObject ScTrackedObject
 

Enumerations

enum  ScTrackedObjectType { SC_TRACKED_OBJECT_TYPE_BARCODE = 0x01 }
 

Functions

ScTrackedObjectType sc_tracked_object_get_type (const ScTrackedObject *object)
 
uint32_t sc_tracked_object_get_id (const ScTrackedObject *object)
 
ScQuadrilateral sc_tracked_object_get_location (const ScTrackedObject *object)
 

Detailed Description

API for tracking objects across frames.

Enumeration Type Documentation

Type of the tracked object.

Enumerator
SC_TRACKED_OBJECT_TYPE_BARCODE 

The tracked object is a barcode (may or may not be recognized). In case of a unrecognized barcode, no data or symbology is associated with the object, only the location is known.

Function Documentation

ScTrackedObjectType sc_tracked_object_get_type ( const ScTrackedObject *  object)

Get type of the tracked object.

Parameters
objectObject for which to retrieve the type. Must not be null.
Returns
The type of the object.
Since
5.8.0
uint32_t sc_tracked_object_get_id ( const ScTrackedObject *  object)

Retrieve unique id for the tracked object.

The id is unique for each type of object, e.g. for barcodes. The same id may be reused once the object is lost for another object.

Parameters
objectThe object for which to retrieve the id. Must not be null.
Returns
The unique id.
Since
5.8.0
Examples:
CommandLineMatrixScanCameraSample.c.
ScQuadrilateral sc_tracked_object_get_location ( const ScTrackedObject *  object)

Get the location quadrilateral of the tracked object.

Parameters
objectThe tracked object. Must not be null.
Returns
the quadrilateral of the object location.
Since
5.8.0