ailia_tracker  1.1.0.0
Classes | Public Member Functions | Static Public Attributes | List of all members
ailiaTracker.AiliaTracker Class Reference

Classes

class  AILIATrackerObject
 
class  AILIATrackerSettings
 

Public Member Functions

static int ailiaTrackerCreate (ref IntPtr net, int algorithm, [In, Out] AILIATrackerSettings settings, int version, int flags)
 Creates a AILIATracker instance. More...
 
static int ailiaTrackerAddTarget (IntPtr net, [In, Out] AiliaDetector.AILIADetectorObject detector_object, int version)
 Set tracking target. More...
 
static int ailiaTrackerCompute (IntPtr net)
 Perform tracking. More...
 
static int ailiaTrackerGetObjectCount (IntPtr tracker, ref uint obj_count)
 Gets the number of detection results. More...
 
static int ailiaTrackerGetObject (IntPtr tracker, [In, Out] AILIATrackerObject obj, uint index, uint version)
 Gets the detection results. More...
 
static int ailiaTrackerDestroy (IntPtr net)
 It destroys the AILIATracker instance. More...
 
static IntPtr ailiaTrackerGetErrorDetail (IntPtr net)
 Returns the details of errors. More...
 

Static Public Attributes

const String LIBRARY_NAME = "ailia_tracker"
 
const int AILIA_TRACKER_ALGORITHM_BYTE_TRACK = (0)
 
const int AILIA_TRACKER_OBJECT_VERSION = (1)
 
const int AILIA_TRACKER_SETTINGS_VERSION = (1)
 
const int AILIA_TRACKER_FLAG_NONE = (0)
 
const int AILIA_TRACKER_FLAG_ALLOW_WIDE_ASPECT_RATIO = (1)
 

Member Function Documentation

◆ ailiaTrackerAddTarget()

static int ailiaTracker.AiliaTracker.ailiaTrackerAddTarget ( IntPtr  net,
[In, Out] AiliaDetector.AILIADetectorObject  detector_object,
int  version 
)

Set tracking target.

Parameters
trackerAn AILIATracker instance pointer
detector_objectA pointer to the tracking target
versionAILIA_DETECTOR_OBJECT_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaTrackerCompute()

static int ailiaTracker.AiliaTracker.ailiaTrackerCompute ( IntPtr  net)

Perform tracking.

Parameters
trackerAn AILIATracker instance pointer
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Get the recognition result with ailiaTrackerGetObject API.

◆ ailiaTrackerCreate()

static int ailiaTracker.AiliaTracker.ailiaTrackerCreate ( ref IntPtr  net,
int  algorithm,
[In, Out] AILIATrackerSettings  settings,
int  version,
int  flags 
)

Creates a AILIATracker instance.

Parameters
trackerA pointer to the AILIATracker instance pointer
algorithmAILIA_TRACKER_ALGORITHM_*
settingsAILIATrackerSettings
versionAILIA_TRACKER_SETTINGS_VERSION
flagsLogical OR of AILIA_TRACKER_FLAG_*
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Creates a AILIATracker instance.

◆ ailiaTrackerDestroy()

static int ailiaTracker.AiliaTracker.ailiaTrackerDestroy ( IntPtr  net)

It destroys the AILIATracker instance.

Parameters
trackerAn AILIATracker instance pointer
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

◆ ailiaTrackerGetErrorDetail()

static IntPtr ailiaTracker.AiliaTracker.ailiaTrackerGetErrorDetail ( IntPtr  net)

Returns the details of errors.

Parameters
trackerThe AILIATracker instance pointer
Returns
Error details

The return value does not have to be released. The string is valid until the next ailiaTracker API function is called.

◆ ailiaTrackerGetObject()

static int ailiaTracker.AiliaTracker.ailiaTrackerGetObject ( IntPtr  tracker,
[In, Out] AILIATrackerObject  obj,
uint  index,
uint  version 
)

Gets the detection results.

Parameters
trackerA AILIATracker instance pointer
objObject information
indexObject index
versionAILIA_TRACKER_OBJECT_VERSION
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

If ailiaTrackerCompute() is not run at all, the function returns AILIA_STATUS_INVALID_STATE . The detection results are sorted in the order of estimated probability.

◆ ailiaTrackerGetObjectCount()

static int ailiaTracker.AiliaTracker.ailiaTrackerGetObjectCount ( IntPtr  tracker,
ref uint  obj_count 
)

Gets the number of detection results.

Parameters
trackerAn AILIATracker instance pointer
obj_countThe number of objects
Returns
If this function is successful, it returns AILIA_STATUS_SUCCESS , or an error code otherwise.

Member Data Documentation

◆ AILIA_TRACKER_ALGORITHM_BYTE_TRACK

const int ailiaTracker.AiliaTracker.AILIA_TRACKER_ALGORITHM_BYTE_TRACK = (0)
static

◆ AILIA_TRACKER_FLAG_ALLOW_WIDE_ASPECT_RATIO

const int ailiaTracker.AiliaTracker.AILIA_TRACKER_FLAG_ALLOW_WIDE_ASPECT_RATIO = (1)
static

◆ AILIA_TRACKER_FLAG_NONE

const int ailiaTracker.AiliaTracker.AILIA_TRACKER_FLAG_NONE = (0)
static

◆ AILIA_TRACKER_OBJECT_VERSION

const int ailiaTracker.AiliaTracker.AILIA_TRACKER_OBJECT_VERSION = (1)
static

◆ AILIA_TRACKER_SETTINGS_VERSION

const int ailiaTracker.AiliaTracker.AILIA_TRACKER_SETTINGS_VERSION = (1)
static

◆ LIBRARY_NAME

const String ailiaTracker.AiliaTracker.LIBRARY_NAME = "ailia_tracker"
static

The documentation for this class was generated from the following file: