diff --git a/plugins/objectdetector/src/main.ts b/plugins/objectdetector/src/main.ts index 0a1bc8b26..0a01f7c71 100644 --- a/plugins/objectdetector/src/main.ts +++ b/plugins/objectdetector/src/main.ts @@ -7,7 +7,7 @@ import { AutoenableMixinProvider } from "../../../common/src/autoenable-mixin-pr import { SettingsMixinDeviceBase } from "../../../common/src/settings-mixin"; import { FFmpegVideoFrameGenerator } from './ffmpeg-videoframes'; import { getMaxConcurrentObjectDetectionSessions } from './performance-profile'; -import { insidePolygon, polygonOverlap } from './polygon'; +import { insidePolygon, normalizeBox, polygonOverlap } from './polygon'; import { serverSupportsMixinEventMasking } from './server-version'; import { SMART_MOTIONSENSOR_PREFIX, SmartMotionSensor, createObjectDetectorStorageSetting } from './smart-motionsensor'; import { getAllDevices, safeParseJson } from './util'; @@ -461,18 +461,6 @@ class ObjectDetectionMixin extends SettingsMixinDeviceBase