Skip to main content
Version: 0.10.0

Type Alias: ObjectDetectorModel<F, L>

ObjectDetectorModel<F, L> = object

Defined in: extensions/cv/tasks/objectDetection.ts:45

Model configuration required to instantiate an object detector task runner.

Type Parameters

F

F extends BoxFormat

L

L

Properties

modelOpts

readonly modelOpts: ObjectDetectorOptions<F, L>

Defined in: extensions/cv/tasks/objectDetection.ts:53

Image preprocessing, label vocabulary, and default NMS/confidence thresholds. Used as fallbacks when per-call overrides are omitted. See ObjectDetectorOptions.


modelPath

readonly modelPath: string

Defined in: extensions/cv/tasks/objectDetection.ts:47

Local path or remote URL of the .pte model file.