ZoneMinder / zoneminder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
5.15k stars 1.23k forks source link

Areas incorrect (alarm pixels outside area) #4151

Open BlueMax opened 1 month ago

BlueMax commented 1 month ago

Describe Your Environment zoneminder/jammy,now 1.37.63~20240924172342-jammy amd64 ppa.launchpadcontent.net/iconnor/zoneminder-master/ubuntu/ jammy main Firefox 130.0.1 720p h264 passthrough rtsp 20fps (5fps analysis, greyscale)

Describe the bug Analysis frames show alarm blobs outside any area. Looks like there's some shifting/offset.

ZM-area-bug01 ZM-area-bug02

BlueMax commented 1 month ago

The 'inactive' zone disconnects the red area/polygons and the points will be reconnected directly. Its not the 'inactive' zone (i've deleted it and created two active zones instead, same result). Its something about the shape of the polygon itself.

This is a camera day/night switch (all pixel alarm).

ZM-area-bug03 ZM-area-bug04 Edit: The right mask is slightly modified (1 point deleted). I posted it in case you want to reproduce it. It still has the same bug.