(input: ImageInput, options: ObjectDetectionOptions)
| 98 | } |
| 99 | |
| 100 | private preprocess(input: ImageInput, options: ObjectDetectionOptions) { |
| 101 | return cast(expandDims(imageToTensor(input)), 'float32'); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | export async function loadObjectDetection(modelUrl: string): |
no test coverage detected