Page 1 of 1
ONVIF Events Other Than Plain Motion
Posted: Sat Feb 03, 2024 8:10 pm
by marklg
Can ONVIF events such as person or vehicle detection be used to trigger an alarm? Can Zoneminder distinguish between them? Anyone have examples?
Regards,
Mark
Re: ONVIF Events Other Than Plain Motion
Posted: Tue Feb 06, 2024 8:05 am
by IgorA100
I tried using ONVIF detection and it works.
Naturally, my camera does not differentiate between detecting a person or a car, it simply sends a signal that there was movement and starts recording for this event.
I can’t say yet how well it all works, everything is in the testing stage.
Does your camera send different events when it detects a person or vehicle?
Re: ONVIF Events Other Than Plain Motion
Posted: Thu Feb 08, 2024 12:56 am
by marklg
I have multiple cameras. Some will trigger ONVIF events correctly, but I do not know if they distinguish between different detections. They certainly do with the in camera web interface. I do not know how to get that information from the ONVIF interface. That is what I am asking here, if any one has been able to distinguish between different detections and how.
Regards,
Mark
Re: ONVIF Events Other Than Plain Motion
Posted: Thu Feb 08, 2024 8:29 am
by IgorA100
I haven't looked at ONVIF in depth.
You can try studying the document:
https://www.onvif.org/specs/core/ONVIF- ... cation.pdf
Maybe there are answers to questions there.
Re: ONVIF Events Other Than Plain Motion
Posted: Thu Feb 15, 2024 1:24 am
by ovargaspcr
ONVIF does provide a way to report different types of objects, according to
https://www.onvif.org/specs/srv/analyti ... e-Spec.pdf, in section
5 Scene Description, but most ONVIF implementations for cameras are either partial or old versions. It also says:
The scope of the Scene Description covers basic Scene Elements which can be displayed in a video overlay to the end-user as well as a framework for vendor-specific extensions..
A while ago it was added to zm an option for a specific type of implementation called
Netsurveillance Web that connects to the that particular type of cameras and read alarms outputs looking for "HumanDetect" and then it fires a Zoneminder event, so instead of firing on any motion event it only fires if the camera reports the detection of a human. But it only works for that implementation, you can take a lot at the code here:
https://github.com/ZoneMinder/zoneminde ... -server.py
I take it other vendors use the same approach.