diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index 4ec822fe9..a9e4cbfa0 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -251,6 +251,7 @@ class ObjectDetectionResult(TypedDict): className: str history: ObjectDetectionHistory id: str + moving: bool name: str resources: VideoResource score: float @@ -520,10 +521,8 @@ class ObjectDetectionTypes(TypedDict): class ObjectsDetected(TypedDict): detectionId: str detections: list[ObjectDetectionResult] - eventId: Any inputDimensions: tuple[float, float] resources: VideoResource - running: bool timestamp: float pass diff --git a/sdk/types/src/types.input.ts b/sdk/types/src/types.input.ts index 1d878348d..8ae3016fd 100644 --- a/sdk/types/src/types.input.ts +++ b/sdk/types/src/types.input.ts @@ -1255,23 +1255,14 @@ export interface ObjectDetectionResult extends BoundingBoxResult { name?: string; score: number; resources?: VideoResource; + moving?: boolean; } export interface ObjectsDetected { - /** - * Object detection session state. Will be true if processing video, until - * the video ends or is timed out. - */ - running?: boolean; detections?: ObjectDetectionResult[]; /** * The id for the detection session. */ detectionId?: string; - /** - * The id for this specific event/frame within a detection video session. - * Will be undefined for single image detections. - */ - eventId?: any; inputDimensions?: [number, number], timestamp: number; resources?: VideoResource;