ZoneMinder / zmeventnotification

Machine Learning powered Secure Websocket & MQTT based ZoneMinder event notification server
412 stars 128 forks source link

FR: ZmNinja - Zmeventnotification selection #152

Closed cybertza closed 4 years ago

cybertza commented 5 years ago

Event Server version zmeventnotification[5224].INF [main:547] [You are running version: 4.1] Hooks version 4.1.4

The version of ZoneMinder you are using:

V1.33.12

Hi I managed to get it all working nicely. I was wondering if at its possible to have it integrated with the phone app where you select alarms to push, to be able to select zones on the camera as well?

E.G. I have a camera that shows over the driveway and the road, i don't mind recording movement in the road, but i really only want a push when its in the driveway. I have the understanding that you could possibly zone it out in the ini file, but i still like the detection of vehicles in the road, if that makes sense, i just don't want the push while it detects a vehicle in the road.

pliablepixels commented 5 years ago

Hi, I'm not sure I understand the use-case. If you have a camera that is pointing to your driveway and the road, why don't you specify a hook polygon (mask) that covers the area you want?

neillbell commented 5 years ago

I've had an issue like this also. I have a couple cases where I would like to monitor an entire area and record all detected motion. In a specific area I would like to receive notifications of motion, but always; not just when an object is detected.

I think it would be addressed by your enhancement issue #101. If we could specify which zones should and should not generate notifications, then I think that would cover this issue.

Does this make sense, or is what I'm looking for already possible?

pliablepixels commented 5 years ago

Yup I get your use case and that would be addressed by #101, when I get to that enhancement. I'm not fully sure I understood the use case of the OP.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

pliablepixels commented 4 years ago

re-looking at this open discussion. I might have missed some of the context.

As of today, you can specify a polygon zone inside objectconfig.ini on a per monitor basis. Lets assume monitor-1 have 5 ZM zones but you only have only polygon defined for monitor-1 in objectconfig.ini. This would mean the script would do object detection only for this polygon and return failure for other zones, which will in turn mean you won't get notifications.

Does this not satisfy the need?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ClabbeBula commented 4 years ago

Hi I have a question. Since im just started to use this. but I wonder can I set up difrent zones for 1 camera in objectconfig.ini. I would like to have yolo,alpr for one polygon, but for the rest of the screen I would like to only have yolo. In my camera lens, i have the driveway upperright, and if I see a car there I would like to do a alpr.. But then the cars park to the lower left with their side facing camera. So every time there is a movement, I send a picture to platereqonizer, of the side of cars… since eventserver finds cars in the picture. I saw that I can set e a zone in the objectconfig file, and that maybe should solve it. But, i still want to have yolo for the rest of the picture,

like: [monitor-1] param=XXX,XXX XXX,XXX XXX,XXX XXX,XXX (entire picture) detect_pattern=(person|car) models=yolo,face

param2= yyy.yyy yyy.yyy yyy.yyy yyy.yyy (just the driveway) detect_patten=(person|car) models=yolo,alpr

Hope you understand my question