Search found 1139 matches

by asker
Wed Jan 22, 2020 1:09 am
Forum: ZoneMinder 1.34.x
Topic: pyzm: a python wrapper (leverages 1.34 features)
Replies: 2
Views: 228

Re: pyzm: a python wrapper (leverages 1.34 features)

Absolutely no plans to retire. These are wrappers so they will wrap around core ZM functionality (triggers is core). A good example of who may use this is Home Assistant. After 1.33 change login their plugin broke and we started receiving help requests on this issue.
by asker
Tue Jan 21, 2020 2:24 am
Forum: User Contributions
Topic: Instant notification on alarm + machine learning object detection
Replies: 24
Views: 11477

Re: Instant notification on alarm + machine learning object detection

Yes there is interest. (Edited on Jan 22 to simplify) The ZM Event Server currently polls SHM to retrieve state. I had wanted to write an extension to zm_monitor to do what you did but never got around to doing it (plus C++ is not a language I am very comfortable with). Give you are a seasoned C/C++...
by asker
Tue Jan 21, 2020 2:16 am
Forum: ZoneMinder 1.34.x
Topic: problem after upgrade accessing cgi-bin URL
Replies: 11
Views: 204

Re: API problem after upgrade

Works for me.
by asker
Mon Jan 20, 2020 12:04 pm
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object/Face detection issues when using mlapi

I’m on the road but:

https://github.com/pliablepixels/zmeven ... igw.py#L24

Change
def set_classes(classes):

To

def set_classes(self,classes):

And make sure you reinstall the file (via pip or just copy over)
by asker
Mon Jan 20, 2020 11:15 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object/Face detection issues when using mlapi

Traceback (most recent call last): File "/var/lib/zmeventnotification/bin/zm_detect.py", line 327, in <module> m.set_classes(data['names']) No bbox etc. When run without mlapi it detects birds and benches in my garden and writes images. I emailed you the full log (tee foreground with mlapi). Mvh. T...
by asker
Mon Jan 20, 2020 9:00 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object/Face detection issues when using mlapi

Can you post debug logs from zm_detect.py when you use mlapi with processes=1? I'm not sure why its not writing bbox images, if write_debug_images and write_image_to_zm are yes.
by asker
Mon Jan 20, 2020 6:46 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object/Face detection issues when using mlapi

So... a) It looks like forked processes cannot access the GPU if the parent allocated resources for it. Spawned processes can (https://github.com/davisking/dlib/issues/617) which is why processes=1 works. I'll need to look into this more when I get back from my travels and am able to test with my GP...
by asker
Mon Jan 20, 2020 5:46 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object detection working, kind of

Please update to mlapi 1.0.1 and see if the issue persists.
by asker
Mon Jan 20, 2020 3:24 am
Forum: Mobile Apps
Topic: No notifications, websocket disconnects
Replies: 3
Views: 66

Re: No notifications, websocket disconnects

Your logs show that you have hooks enabled and the return code was 1 (resCode) that means object detection failed. Given your notify on fail is none, it did not send out notifications.
by asker
Sun Jan 19, 2020 6:14 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object detection working, kind of

Actually, it looks like the issue many be of concurrent requests. Can you confirm if this problem only happens if there are multiple requests being processed at the same time?
by asker
Sat Jan 18, 2020 5:22 am
Forum: ZoneMinder 1.34.x
Topic: pyzm: a python wrapper (leverages 1.34 features)
Replies: 2
Views: 228

pyzm: a python wrapper (leverages 1.34 features)

Hi folks, The mainline ZM API docs have been updated to point to pyzm , a python module that provides access to: ZM 1.34's new token system ZM's shared memory (for real time monitor state access) ZM's logging function ZM's APIs The Event Server The goal is to do what ZM's perl modules do for Python ...
by asker
Sat Jan 18, 2020 5:11 am
Forum: Mobile Apps
Topic: Object/Face detection issues when using mlapi
Replies: 12
Views: 250

Re: Object detection working, kind of

Okay, so it looks like in your situation, with mlapi: a) You have object detection - which worked, returned person b) You also have face detection - no faces were detected - that is where mlapi broke I'll take a look. Would you mind creating a GH issue at https://github.com/pliablepixels/mlapi? I am...
by asker
Fri Jan 17, 2020 4:08 pm
Forum: Mobile Apps
Topic: Object detection working, kind of
Replies: 6
Views: 437

Re: Object detection working, kind of

You also need to pass the event path if you want to test the event path functionality. Or just run it as a daemon and when an event is detected it will work.
by asker
Fri Jan 17, 2020 2:28 pm
Forum: Mobile Apps
Topic: Object detection working, kind of
Replies: 6
Views: 437

Re: Object detection working, kind of

What is the exact command line instruction you are using?
by asker
Wed Jan 15, 2020 10:59 am
Forum: Mobile Apps
Topic: Need help with SSL and Zmninja
Replies: 5
Views: 271

Re: Need help with SSL and Zmninja

This link may be useful https://letsencrypt.org/docs/allow-port-80/

You have other mechanisms (DNS-01 is one) if you don’t want to expose 80.