Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Event

Description

DO_REACT

Event triggers reaction of some object in the system. Description of action which is to be performed is forwarded in the action parameter of this event. Examples of values of action parameter:

SET_MARKRECT – sends when face recognizing on the video image;

DEL_MARKRECT – sends when face disappearing from the video image.

Can be other parameters of the event which can be monitored using the Debug window (see Programming Guide (JScript), section The Debug window). For example, if value of action parameter is SET_MARKRECT than number of camera on video image of which face is recognized is forwarding in the param5_val parameter. It shows name of parameter forwarded in the param5_name parameter.

 For For the DEL_MARKRECT value the camera number is forwarding in the param0_val parameter.

SLAVE_CHANGEDEvent is generated when Failover becomes active. It consists of the following parameters:

old_slave_id – ID of the Computer object where cameras are moved from.

new_slave_id – ID of the Computer object where cameras are moved to.

CAM<n1, n2, ... > – where n1, n2, etc. are IDs of cameras moved to another parent Computer object. For example, CAM<4,6,7> – move cameras with IDs 4, 6, 7.

Example.

When a face appears in the frame show the video from corresponding camera on the Monitor 2. When the face disappears – hide video from corresponding camera on the Monitor 2.

...