FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kCameraTracking_SetSearchThreshold ( kCameraTracking  extension,
k32u  threshold 
)

Sets the tracking search threshold.

The tracking algorithm will proceed from search mode to tracking mode when the number of detected spots is greater than or equal to the search threshold. The tracking algorithm will revert from tracking mode to search mode when the number of detected spots is less than the search threshold. There is no hysteresis threshold to debounce state changes.

The search threshold is specified in terms of the number of spots that are expected to be observed in the search state. The expected number of spots may differ between search and tracking states due to x-subsampling parameter changes between states. The tracking algorithm automatically adjusts the search threshold to compensate for these changes.

Parameters
extensionExtension object.
thresholdSearch threshold.
Returns
Operation status.