Search found 26 matches

by JonMoore
Thu Jun 17, 2021 11:21 am
Forum: Mobile Apps and Event Server
Topic: ZMeventnotification - cannot convert float NaN to integer
Replies: 5
Views: 5602

Re: ZMeventnotification - cannot convert float NaN to integer

ah thanks for the help!

Tried setting the disable locks to no and it didn't make any difference.

Deleted the models folder and re-ran the install.sh to re-download them and everything just worked so must have been a corrupt model download.
Thanks so much
by JonMoore
Tue Jun 15, 2021 1:37 pm
Forum: Mobile Apps and Event Server
Topic: ZMeventnotification - cannot convert float NaN to integer
Replies: 5
Views: 5602

Re: ZMeventnotification - cannot convert float NaN to integer

I thought it might be something in the config so I've posted my objectconfig.ini below... although it feels like it might be something else to me. I've disabled resize to see if that helps but didn't make a difference. # Configuration file for object detection # NOTE: ALL parameters here can be over...
by JonMoore
Mon Jun 14, 2021 3:27 pm
Forum: Mobile Apps and Event Server
Topic: ZMeventnotification - cannot convert float NaN to integer
Replies: 5
Views: 5602

ZMeventnotification - cannot convert float NaN to integer

Hello! Anyone had any issues getting this error before. I've been doing some housekeeping and updating and have broken my notifications server, worked through a lot of it with the excellent docs (and my previous posts to remind me of changes I needed to make for running in a TrueNAS jail) Turning on...
by JonMoore
Fri Nov 06, 2020 10:10 am
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

Actually... there was one more thing I needed to do. This one took some tracking down as I didn't have to do it last time; in /tmp/ I had to change the ownership of the file "pyzm cpu # or gpu_lock.00.lock" it was owned by root:wheel and I found a permissions error buried deep in the locks...
by JonMoore
Thu Nov 05, 2020 6:55 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

Hello! Sorry this has taken so long... I didn't see the reply 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 th...
by JonMoore
Tue Mar 24, 2020 1:35 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

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 p...
by JonMoore
Fri Mar 20, 2020 9:26 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

Ah... I may be wrong, but based on the zmes documentation I think contrib is required. I'm making progress with the compile though... I've had to change a few things, switching malloc.h to stdlib.h, getting rid of a process to discover number of online processors and changing memalign. I'm up to abo...
by JonMoore
Fri Mar 20, 2020 2:28 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

hmm... if object detection relies on opencv-4.x I think I'm boned. Doesn't seem to be anything on google where someone has said they've got it working. I've got through a number of different make errors so far but am hitting a wall at some references to 'memalign' I'll keep trying but I think I migh...
by JonMoore
Fri Mar 20, 2020 10:50 am
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

I'm on an i3-6100, so far performance has been totally fine with zoneminder. I'm struggling to get opencv-4.x.x to build from source though so no idea what that'll be like for performance yet. I'll let you know when/if I make it. Also, I'd LOVE to hear about your install of opencv-4 if you can do it...
by JonMoore
Thu Mar 19, 2020 4:07 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

Actually, I'm not sure who maintains it... it's the default package in a freenas jail when running pkg install zoneminder. Although I'm starting to wish I'd built it from source now with the problems it's caused me. It seems like I might just have got all of my paths sorted now and it looks like tho...
by JonMoore
Thu Mar 19, 2020 11:18 am
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

Actually, I'm still getting

eid:919 hook start returned with text: json:[] exit:127

In the zoneminder logs... which looks like it's a problem
by JonMoore
Thu Mar 19, 2020 11:11 am
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

In ZMLogs.py I had to change; config_table = meta.tables['Config'] log_table = meta.tables['Logs'] To config_table = meta.tables['config'] log_table = meta.tables['logs'] no errors now and nothing returned in the console... which I guess is correct behaviour? No boxes around people in zmninja deskto...
by JonMoore
Thu Mar 19, 2020 10:54 am
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

thanks! I've got logpath overridden to /var/log/zm in the args and conf_path changed to /usr/local/etc already but it still seemed to be having an issue with ZM_PATH_LOGS as if it's not defined or something. Then I noticed the line for f in glob.glob(config['conf_path']+'/conf.d/*.conf'): realised i...
by JonMoore
Wed Mar 18, 2020 4:03 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

Re: zm_detect.py error when testing zm_event_start.sh

when the zm_event_start.sh is triggered by the event server this is what I'm getting in the logs.. 2020-03-18 15:58:50 zmeventnotification 77501 INF |----> FORK:Front Garden (1), eid:467 hook end returned with text: json:[] exit:127 zmeventnotification.pl 2020-03-18 15:58:49 zmeventnotification 7750...
by JonMoore
Wed Mar 18, 2020 12:31 pm
Forum: Mobile Apps and Event Server
Topic: zm_detect.py error when testing zm_event_start.sh
Replies: 19
Views: 13942

zm_detect.py error when testing zm_event_start.sh

Anyone seen an error like this one before and got around it? I'm working in a freenas jail with zoneminder 1.32.3 with apache. Had some trouble getting the API running but I've fixed that now error.jpg I did have to edit ZMLog.py to get this far as it was complaining that my zm.conf couldn't be foun...