Page 2 of 2

Re: zm_detect.py error when testing zm_event_start.sh

Posted: Sat Mar 21, 2020 12:04 am
by Bluemax
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).

Re: zm_detect.py error when testing zm_event_start.sh

Posted: Tue Mar 24, 2020 1:35 pm
by JonMoore
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

Re: zm_detect.py error when testing zm_event_start.sh

Posted: Tue Mar 24, 2020 3:25 pm
by asker
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)