Defined in: types/objectDetection.ts:44
Options for configuring object detection inference.
L extends LabelEnum
The label enum type for filtering classes of interest.
optionalclassesOfInterest: keyofL[]
Defined in: types/objectDetection.ts:48
Optional array of class labels to filter detections. Only detections matching these classes will be returned.
optionaldetectionThreshold:number
Defined in: types/objectDetection.ts:45
Minimum confidence score for detections (0-1). Defaults to model-specific value.
optionalinputSize:number
Defined in: types/objectDetection.ts:47
Input size for multi-method models (e.g., 384, 512, 640 for YOLO). Required for YOLO models if not using default.
optionaliouThreshold:number
Defined in: types/objectDetection.ts:46
IoU threshold for non-maximum suppression (0-1). Defaults to model-specific value.