I built an add-on using Darknet/YOLO and an nVidia graphics card, that processes the ZM images and updates the Frames table to indicate which images contain interesting things like people & cars.
I'd like to add a couple of checkboxes to the events page that says something like Show People/Show Cars, which would filter the frames down to those that contain people and cars.
The catch is that I'm having a little trouble figuring out how the Events page is actually built and where it's query is.
I'm looking for this: https://zm.example.com/zm/index.php?vie ... ]=DateTime . . .
If anybody could toss me a clue where I could add a couple of checkboxes and a new SQL query, I'd appreciate it.
Once I get the switches moderately integrated I'd be happy to put it up for download.
Thanks!
Terry
Built face/vehicle add-on, but need a little help integrating it
Re: Built face/vehicle add-on, but need a little help integrating it
start looking (on my Ubuntu based system) in
and:
sounds like a great plugin!
Code: Select all
/usr/share/zoneminder/www/skins/classic/views/events.php
Code: Select all
/usr/share/zoneminder/www/skins/classic/views/eventdetail.php
Re: Built face/vehicle add-on, but need a little help integrating it
Thanks!
It's pretty amazing. I can't actually take credit for the detection part, but built a ZM database interface for it.
It's a C app that runs independently of ZM, eats the Event and Frame records, processes the images and tags the frames as appropriate.
I'll see if I can work on it over the weekend.
Terry
It's pretty amazing. I can't actually take credit for the detection part, but built a ZM database interface for it.
It's a C app that runs independently of ZM, eats the Event and Frame records, processes the images and tags the frames as appropriate.
I'll see if I can work on it over the weekend.
Terry
Re: Built face/vehicle add-on, but need a little help integrating it
Hey Terry, are you the guy on reddit talking about the same thing? In any event, I'm happy to try to hand hold/whatever assist you..
You can find me on IRC, or just converse over email/whatever.
You can find me on IRC, or just converse over email/whatever.
Re: Built face/vehicle add-on, but need a little help integrating it
I found the idea interesting so have also begun to experiment with Darknet/YOLO OpenCv integration with zoneminder. So far I am crunching the jpg images but also working on analyzing real-time streams. Question is how and where to best integrate. Event index page as mentioned sounds logical.