Search found 10 matches

by Helipil0t
Mon Nov 28, 2022 4:14 pm
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

Re: zmeventnotification stopped working

Update: I commented out the if statement in the following: # now filter out with configured yolo confidence, so we can see rejections in log for i in indices: # if not self.is_get_unconnected_api_list: # i = i[0] box = boxes[i] x = box[0] y = box[1] w = box[2] h = box[3] And everything seems to be w...
by Helipil0t
Mon Nov 28, 2022 3:46 pm
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

Re: zmeventnotification stopped working

So I thought this code was fixed a while ago with the following: def get_output_layers(self): layer_names = self.net.getLayerNames() if self.is_get_unconnected_api_list: output_layers = [ layer_names[i - 1] for i in self.net.getUnconnectedOutLayers() ] else: output_layers = [ layer_names[i[0] - 1] f...
by Helipil0t
Mon Nov 28, 2022 6:54 am
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

Re: zmeventnotification stopped working

Ok so I think there's issues with yolo.py: 11/28/22 01:35:44 zmesdetect_m3[1310] DBG2 detect_sequence.py:714 [Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/pyzm/ml/detect_sequence.py", line 710, in detect_stream _b,_l,_c,_m = m.detect(image=frame) File &q...
by Helipil0t
Sun Nov 27, 2022 6:57 pm
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

Re: zmeventnotification stopped working

K so that sorts out the crashes. Still can't get zmeventnotification working properly. No idea what's going on with it. The debug doesn't share too many clues.
by Helipil0t
Sun Nov 27, 2022 2:59 pm
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

Re: zmeventnotification stopped working

Quick update.. The crash I believe is as a result of running out of ram. dmesg shows: Out of memory: Killed process 7665 (zmc) total-vm:8454820kB, anon-rss:488988kB, file-rss:132124kB, shmem-rss:488056kB, UID:33 pgtables:5412kB oom_score_adj:0 I'll up my memory a bit. Should I set "Maximum Imag...
by Helipil0t
Sun Nov 27, 2022 2:44 pm
Forum: ZoneMinder 1.36.x
Topic: zmeventnotification stopped working
Replies: 16
Views: 4391

zmeventnotification stopped working

I'm not sure what's going on here but seemingly overnight my zoneminder setup no longer detects object / faces. What's more, every once in a while the server will crash and all streams will drop. zmc process is killed and drop off the GPU. I'm running 1.36.32. I tried installing the latest version o...
by Helipil0t
Tue May 19, 2020 4:09 am
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification Errors
Replies: 2
Views: 3426

Re: zmeventnotification Errors

OK So I"m getting there. I tried again using the Stable branch and everything seems to be running fine. I tried without hooks and am able to get notifications. With Hooks I'm still having issues. Not sure why but I setup a test zone to analyze traffic. Event Notifications don't get sent. Here a...
by Helipil0t
Mon May 18, 2020 9:54 pm
Forum: ZoneMinder 1.34.x
Topic: zmeventnotification Errors
Replies: 2
Views: 3426

zmeventnotification Errors

So I'm fairly certain I have zmeventnotification (Master Branch) installed properly and all of it's dependencies with GPU acceleration (OpenCV / YOLOV3 etc...) I can't seem to get it working. I have it running and keep getting an error: "EOFError: Ran out of input" I also get the following...
by Helipil0t
Wed May 13, 2020 5:49 pm
Forum: ZoneMinder 1.34.x
Topic: 1.34.3 zmc broken with nvidia cuda
Replies: 17
Views: 19641

Re: 1.34.3 zmc broken with nvidia cuda

Just a follow up to my problem. I wanted to make sure ffmpeg was working properly so I tried the following: ffmpeg -hwaccel cuda -i input -f null - And it runs but with erros: nvidia-smi shows ffmpeg using about 81 MB of video ram. It decodes but then shows something along the lines of "error l...
by Helipil0t
Tue May 12, 2020 5:31 pm
Forum: ZoneMinder 1.34.x
Topic: 1.34.3 zmc broken with nvidia cuda
Replies: 17
Views: 19641

Re: 1.34.3 zmc broken with nvidia cuda

So I've successfully re-compiled ffmpeg with cuda support on Ubuntu 20.04 and am still getting errors in my logs. Using "watch nvidia-smi" I'm able to see zmc process come on and off. Meanwhile my logs are spitting out all kinds of errors. Ubuntu Focal 20.04 ZoneMinder Version: 1.34.12 Nvi...