Interface: ObjectDetectionProps<C>
Defined in: types/objectDetection.ts:72
Props for the useObjectDetection hook.
Type Parameters
C
C extends ObjectDetectionModelSources
A ObjectDetectionModelSources config specifying which built-in model to load.
Properties
model
model:
C
Defined in: types/objectDetection.ts:73
The model config containing modelName and modelSource.
preventLoad?
optionalpreventLoad:boolean
Defined in: types/objectDetection.ts:74
Boolean that can prevent automatic model loading (and downloading the data if you load it for the first time) after running the hook.