Interface: ObjectDetectionOptions<L>
Defined in: types/objectDetection.ts:44
Options for configuring object detection inference.
Type Parameters
L
L extends LabelEnum
The label enum type for filtering classes of interest.
Properties
classesOfInterest?
optionalclassesOfInterest: keyofL[]
Defined in: types/objectDetection.ts:48
Optional array of class labels to filter detections. Only detections matching these classes will be returned.
detectionThreshold?
optionaldetectionThreshold:number
Defined in: types/objectDetection.ts:45
Minimum confidence score for detections (0-1). Defaults to model-specific value.
inputSize?
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.
iouThreshold?
optionaliouThreshold:number
Defined in: types/objectDetection.ts:46
IoU threshold for non-maximum suppression (0-1). Defaults to model-specific value.