createObjectDetector
createObjectDetector(
config?,opts?):Promise<ObjectDetector>
Defined in: packages/runntime/src/zoo/tasks/cv/objectDetection.ts:59
Loads the checkpoint, warms the GPU path once, and returns the runner.
Needs a device with shader-f16.
Parameters
Section titled “Parameters”config?
Section titled “config?”ObjectDetectorModel = {}
LoadOptions = {}
Returns
Section titled “Returns”Promise<ObjectDetector>