ObjectDetectionOperator.ObjectDetectionOperator Class Reference

Object Detection operator properties for Script Engine . Read the documentation for more info.

Properties

string ModelSize [get]
 Model Size in MB.
 
int TotalClasses [get]
 Total classes loaded model was trained to detect.
 
ExecutionProvider ExecutionProvider [get, set]
 Set Execution Provider, CUDA (default) or TensorRT.
 
TensorRtPrecisionMode PrecisionMode [get, set]
 Tensor Precision Mode. FP32 (default) or FP16.
 
string EngineCacheDir [get, set]
 Folder path where to store the generated TensorRT engine cache with read & write permission.
 
ModelResizeMode ModelResizeMode [get, set]
 Model input resize mode. See documentation for more info
 
bool DisplayScanArea [get, set]
 Show Detection Area.
 
int CropAreaLeft [get, set]
 Set left cropping area position.
 
int CropAreaRight [get, set]
 Set right cropping area position.
 
int CropAreaTop [get, set]
 Set top cropping area position.
 
int CropAreaBottom [get, set]
 Set bottom cropping area position.
 
Command ResetCropAreaCommand [get]
 Reset cropping area.
 
DetectionState DetectionState [get]
 Operator detection state.
 
Command StartCommand [get]
 Start object detection.
 
Command StopCommand [get]
 Stop object detection.
 
string? FilteredClassesById [get, set]
 A comma separated string with class-id's. See documentation for more info
 
string FilteredClassesByName [get, set]
 A comma separated string with class-names. See documentation for more info
 
Command ResetClassFilterCommand [get]
 Reset filters.
 
int Confidence [get, set]
 Set confidence threshold in %. [min=10, max=100, default=25]. See documentation for more info
 
int NonMaximumSupression [get, set]
 Set NMS threshold in %. [min=0, max=100, default=70]. See documentation for more info
 
int DetectionIntervalFrames [get, set]
 Set detection interval. [min=0, max=100, default=0]. See documentation for more info
 
int MaxDetectionAgeFrames [get, set]
 Set detection age (frames). [min=0, max=60, default=3]. See documentation for more info
 
Command ResetThresholdCommand [get]
 Reset threshold values.
 
bool DisplayLabels [get, set]
 Display detection results.
 
bool DisplayConfidence [get, set]
 Display confidence value above each detected object.
 
bool DisplayBoundingBox [get, set]
 Display a bounding box around detected object.
 
int BorderThickness [get, set]
 Set borther thickness on the bounding box(es)
 
int FontSize [get, set]
 Set label font size.
 
int MaxConfidenceDecimals [get, set]
 Set number of Confidence decimals to be shown.
 
Command ResetVisualizationCommand [get]
 Restore all visualization settings to their default values.
 
int TotalDetections [get]
 Total detections in the current frame.
 
string HighestConfidence [get]
 Object with the hightest confidence.
 
string DetectedClasses [get]
 Comma-separated string with detected id's in current frame.
 
string DetectedClassesJson [get]
 JSON-string with all detected objects and their id's, labels, confidence, x and y coordinates and timestamp.
 
int ProcessedFramesCounter [get]
 Number of frames currently processed.
 
string BackgroundComputeTime [get]
 Detection time (ms)
 
string ResultPaintTime [get]
 Result paint time (ms)