Go to documentation repository
The CAM_IP_DETECTOR object corresponds to the Embedded detectordetection system object.
The CAM_IP_DETECTOR object sends events given in the table. Procedure is started when the corresponding event appears.
Format of event procedure for the Embedded detector object:
Code Block |
---|
OnEvent("CAM_IP_DETECTOR","_id_","_event_") |
Description of events of the CAM_IP_DETECTOR object.
occurs.
Events
Description
Events | Events description |
Comment | ||
DETECTED | Event | The event |
occurs when metadata is received from |
embedded |
detection tools.For example, this event |
occurs when receiving the data on body temperature |
from a thermal camera, |
and so on. The event also occurs if the data from detection tools is transferred using Onvif. The param0<> |
parameter has a string value |
containing the event parameters. The transferred parameters depend on the embedded detection tool. If you use Onvif, you can configure the contents of the parameter on the Event settings tab of the ONVIF-Server object (see Filtering the events of the ONVIF server) |
Examples of events from embedded detection tools:
Code Block | ||
---|---|---|
|
...
| |
// Event from a thermal camera
|
...
Event : CAM_IP_DETECTOR|1|DETECTED|slave_id<QA-T51>, |
...
fraction<16>,owner<QA-T51>,module<video.run>,date<23-04-20>, |
...
guid_pk<{1345DC60-3485-EA11-8A95-B06EBF8119EF}>,core_global<1>,time<10:31:06>, |
...
param0<TargetList:name=TargetList;type=6;TemperatureValue0:37.4;json0:{ "BeginTime" : "20200423T073058.000000", "EndTime" : "20200423T073100.000000", "EventClass" : "FaceEvent", "Hypotheses" : [ { "Age" : 0, "BestTime" : "20200423T073059.000000", "Gender" : "unknown", "Rectangle" : [ 0.6380, 0.550, 0.0680, 0.1560 ], "TemperatureValue" : 37.40 } ], "Id" : 1 } ;> |
Code Block | ||
---|---|---|
| ||
// Event from VMDA detection
Event:CAM_IP_DETECTOR|1|DETECTED|param0<Comment:ver_type<0>,objtype<SLAVE>,int_obj_id<1>,module<video.run>,
core_global<1>,_TRANSPORT_ID<>,time<12:22:30>,objaction<PING>,onvif_event<>,
date<30-03-21>,slave_id<DESKTOP-JHRURJJ>,
objid<DESKTOP-JHRURJJ>;>,int_obj_id<1>,core_global<1>,
guid_pk<{9A989C70-3991-EB11-BDFF-00155DF96D00}>,slave_id<DESKTOP-339SH3U>,time<12:22:30>,_timestamp<7520749>,
fraction<465>,date<30-03-21>,owner<DESKTOP-339SH3U>,module<video.run> |