zm_detect.py error when testing zm_event_start.sh

Discussion topics related to mobile applications for ZoneMinder
User avatar
Bluemax
Posts: 68
Joined: Wed Jun 12, 2019 5:15 pm

Re: zm_detect.py error when testing zm_event_start.sh

Post by Bluemax » Sat Mar 21, 2020 12:04 am

Are you sure it detected your bsd system properly and you have the proper environment? Opencv officially supports freebsd. It should compile out of the box (i guess).

JonMoore
Posts: 21
Joined: Wed May 26, 2010 5:55 pm

Re: zm_detect.py error when testing zm_event_start.sh

Post by JonMoore » Tue Mar 24, 2020 1:35 pm

I think that's what the problem was but I'm not sure, took a fair bit of fiddling with the make files to finally get it built.

But it is built! And object detection is working well now. I can't get the boarder boxes as I'm on zm 1.32 but I believe the package is going to 1.34 in the next quarterly package release so hopefully I'll get even more cool stuff going then.

Next I'm going to try and get home assistant listening to the MQTT stuff, although this again is new for me so is going to take a bit of work. :D

User avatar
asker
Posts: 1305
Joined: Sun Mar 01, 2015 12:12 pm

Re: zm_detect.py error when testing zm_event_start.sh

Post by asker » Tue Mar 24, 2020 3:25 pm

When you have time, please share any mods you had to make to either pyzm or detection to get it to work - I'll try and incorporate options so the code doesn't have to be touched (I hope you used the updated packages I posted in another thread that allows configuration based overrides in objectconfig.ini)
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest