Go to documentation repository
...
You can use events of software modules in Axxon PSIM scripts to launch the procedures when a corresponding event occurs (see Guide for creating scripts (programming)).
Event format:
| Code Block |
|---|
CAM|"_id_"|"_command_"|"_parameters_" |
...
Event | Description | Software module used |
|---|---|---|
| NEW_OBJECT | Appearance of a new track (object) | Neurotracker |
| OBJECT_LOST | Disappearance of a track (object) | Neurotracker |
| CURRENT_OBJECTS | Event for the GET_STATUS command | Neurotracker |
List of event parameters:
Parameters | Parameters description |
|---|---|
cam<> | id of the software module that generates an event |
| fraction<> | Millisecond timestamp of event |
| new_id<> | id of a new track (object) |
| detector_id<> | id of the detection tool |
| owner<> | Server name |
| date<> | Date of event |
| label<> | id of object class |
| guid_pk<> | id of event (randomly generated for each event) |
| core_global<> | When an event is generated, all CORE objects in the distributed system are notified |
| time<> | Time of event |
| lost_id<> | id of a disappeared track (object) |
| y1.0<>... | 1—upper left corner of the track frame (object), 0—sequence number of a track (object) in the event, <>—y coordinate |
| y2.0<>... | 2—lower right corner of the track frame (object), 0—sequence number of a track (object) in the event, <>—y coordinate |
| x1.0<>... | 1—upper left corner of the track frame (object), 0—sequence number of a track (object) in the event, <>—x coordinate |
| x2.0<>... | 2—lower right corner of the track frame (object), 0—sequence number of a track (object) in the event, <>—x coordinate |
| id.0<>... | 0—sequence number of a track (object) in the event, <>—object id |
| id.count<> | Current number of tracks (objects) |
| mdparam0<> | Parameters of the track border, where 0—sequence number of a track, <>—track coordinates, display angle and track id. For example, for mdparam0<35-44-16-35-360-6>, 35-44-16-35—track coordinates, 360—display angle, 6—track id |
| show<> | Drawing a border on live video: 0—do not draw, 1—draw |
| color0<> | Border color, where 0—sequence number of a track, <>—border color, vmda_color—parameter that specifies border color of the VMDA detection. If you don't specify the parameter, border color is red by default |
| lifetime<> | Border lifetime in milliseconds |
| type<> | Type of detection source: 0—VMDA, 10—Detector Pack |
| parent_id<> | Id of parent detection tool: for the VMDA detection, this is the id of the tracker or Neurotracker. For the Pose detection tool, this is the id of the basic person tracker |
| type_rect<> | Type of track border |
persistent_exist<> | Presence of tracks that must be saved to the archive in the MD_INFO command. 0—no tracks to save to the archive |
persistent0<> | Track that must be saved to the archive, where 0—sequence number of a track, <>—track id |
| iit_object_id0<> | Track id, where 0—sequence number of a parameter, <>—track id |
| tss<> | Current time from which the lifetime<> of a border is calculated, for example, tss<30-06-2023 12:02:40.000> |
...