Page 1 of 1

simple Python3 script realtime object detection

Posted: Sat Nov 25, 2023 1:33 pm
by LBDG
Hello

I know there are plenty of object detection script out there but I thought I would share this because it is simple to setup and requires no zoneminder changes. It is one python file which can be run with normal permission from the home folder on the zoneminder machine. Most detection scripts I found were either too complicated to setup or had too many options so decided to make my own.

Basically it scans zoneminder monitors of choice every seconds and upon object detection emails and/or stores (to a folder of choice) the detected frame/frames images.

Uses opencv (YOLOv4)

For more details:
https://github.com/lbdc/zm-alarm

*** NOTE: I am not a programmer so code may not meet any standards.

Re: simple Python3 script realtime object detection

Posted: Sat Nov 25, 2023 6:15 pm
by burger
added to https://wiki.zoneminder.com/ZMES I thought the zm-movie script you previously made was well made, so I'm sure this is good as well. One of the weaknesses of ZMES is that it could become abandonware if no one manages it, so it's good to have other options. Thanks.