MaNRo

Members
  • Posts

    4
  • Joined

  • Last visited

MaNRo's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Sorry my friend, I forgot to comment on that, based on the comments of my zmeventnotification.ini, the way I understand it is that if you enable "hook_pass_image_path = yes" on the zmeventnotification.ini you will also need to enable "write_image_to_zm=yes" on the objectconfig.ini but those to parameters are only supported on ZM 1.33 and above: # if enabled, will pass the right folder for the hook script # to store the detected image, so it shows up in ZM console view too # Requires ZM >=1.33. Don't enable this if you are running an older version # Note: you also need to set write_image_to_zm=yes in objectconfig.ini # default: no # hook_pass_image_path = yes So far, without that feature I've been receiving push notifications from zmNinja on my Android phone with good enough captures attached to them. On the Event Lists those captures are not that good, meaning the main frame of the detection is not the captured frame of the listed events, I guess the "write_image_to_zm=yes" will take care of that, but we'll have to wait until ZM 1.33 is stable enough to @dlandon do his magic Cheers!
  2. @jas0r I can confirm that following the advice of @dlandon everything is working as expected, I didn't need to download the zmes_hook_helpers, actually I renamed the current hook directory to hook.back, remove my custom script from running with -e ADVANCED_SCRIPT=0 also made sure that -e INSTALL_HOOK=1 and -e INSTALL_YOLO=1 were added. Once the container was fully created I stopped it, copy the objectconfig.ini from my hook.back to the newly created hook directory and restarted the container. Here the results for a couple of events: root@nas# docker exec -ti zoneminder sudo -u www-data /usr/bin/detect_wrapper.sh 5111 2 [s] detected:person:90% root@nas# docker exec -ti zoneminder sudo -u www-data /usr/bin/detect_wrapper.sh 5118 3 [s] detected:car:76% @dlandon once again kudos for all your hard work, keep the outstanding job you're doing! Cheers!
  3. @jas0r I don't remember exactly which helpers did I modified last time, but yes, it worked... until a couple of days ago he he, I will do what @dlandon suggested and let you guys know if I managed to make it work again. Cheers,
  4. Hi guys, First let me thank dlandon for his great work, really appreciate your hard work, cheers sir! Now, running "sudo pip3 install -r /config/hook/requirements.txt" got me closer to a solution, but now, when testing the detect_wrapper with an event I'm getting this: Command: sudo -u www-data /usr/bin/detect_wrapper.sh 1446 5 (testing event 1446 on monitor 5) Result: Traceback (most recent call last): File "/usr/bin/detect.py", line 206, in <module> b, l, c = img.processFilters(b, l, c, match) AttributeError: module 'zmes_hook_helpers.image_manip' has no attribute 'processFilters' Has anyone see/deal with this before? Thanks in advance for all your help!