Skip to content

Scrypted Documentation / ObjectDetector

Interface: ObjectDetector ​

ObjectDetector is found on Cameras that have smart detection capabilities.

Methods ​

getDetectionInput() ​

getDetectionInput(detectionId, eventId?): Promise<MediaObject>

Get the media (image or video) that contains this detection.

Parameters ​

• detectionId: string

• eventId?: any

Returns ​

Promise<MediaObject>


getObjectTypes() ​

getObjectTypes(): Promise<ObjectDetectionTypes>

Returns ​

Promise<ObjectDetectionTypes>