SightLine Applications Command, Control, and Script API  v3.3
List of all members
SLAClassifierParameters_t Struct Reference

Description

Turn on/off the classifier.

typedef struct {
u8 cameraIndex;
u8 trackFlags;
u8 detectionFlags;
u8 maxClassPerFrame;
u64 slaFilters;
u64 customFilters;

Used to control under what circumstances the classifier runs.

NOTE: 3000 and 4000 Only

Message ID 0xA9

Byte Offset Name Description
4cameraIndexCamera Index.
5trackFlags

Tracking flags - Enables the classifier for object tracks based on the bits set.
This is valid in the following tracking modes: Drone, Vehicle, Person, Stationary, and No Registration. Results can be read using SLATrackingPositionsExtended_t.
NOTE: If drone detection is enabled with classification through the SLASetDetectionParameters_t message that takes precendence over settings here.

BitsDescription
0..3Classification Mode
  • 0 = Disable classifier for all tracks
  • 1 = Run Classifier on Primary Track Only
  • 2 = Run Classifier on All User Tracks
  • 3 = Run Classifier on All Tracks - this includes ones started from Vehicle or Drone detection
4..7*Reserved*

6detectionFlags

Detection flags - Enables the classifier for detection modes Radiometric, Anomaly, Blob, Maritime, Gas.
Results can be read using SLATrackingPositionsExtended_t.

BitsDescription
0..3Classification Mode
  • 0 = Disable classifier for all tracks
  • 1 = Run Classifier on all detections.
  • 2 = Run Classifier on Selectable detections only. These are generally the 10 best detections, larger in size, and persisting longer.
4..7*Reserved*

7maxClassPerFrameMaximum number of objects to classify per frame when detection classification mode is not disabled. Valid range is 1-10. Deafult is 1.
8-15slaFiltersSightLine Classification Filters - Allows the classifier to filter out detections based on user preference.
Setting the bit: The value of the label corresponds to the bit you need to set to filter out that label. You can find the full list of labels here.
For example - to filter out background/other, you would set bit 0 (the least significant bit).
Default: 0 - No Filtering.
NOTE: There are 100 options but only the first 64 are supported here.
16-23customFiltersCustom Classification Filters - Allows the classifier to filter out detections based on user preference.
Setting the bit: The custom filters in the list of labels are referred to as "User Types" and are values 100-199. You can find the full list of labels here.
(The value of the label - 100) corresponds to the bit you need to set to filter out that label. For example - to filter out the first user types label, you would set bit 0 (the least significant bit) because 100 - 100 = 0.
Default: 0 - No Filtering.
NOTE: There are 100 options but only the first 64 are supported here.