FTP event format

By enabling the sending of events to a server and appropriately configuring the parameters (HERE the guide), you will have a structure like the one shown in the figure

ServerFtp

where:

  1. date: is the date on which the event was generated, in yyyy_mm_dd format
  2. event_type: the type of event generated by the plugin (HERE the list of event types), for example:

    • AI-People -> Counting
    • AI-Crowd -> Crowd
    • AI-Occupancy -> Occupancy

    and so on for each individual plugin

  3. device: is the name of the device that generated the event (configured by AI-Config)
  4. sensor: is the name of the sensor that generated the event (configured by AI-Config)
  5. a csv file (eg: nameprefix_timestamp.csv): a file is generated in the sensor folder for each detected event. The event information is contained in the file.

Informations in the generated csv file

Inside the csv file you will find the information of the event generated by the plugins.

These change according to the plugin that generates them, as shown in the following table:

Plugin

Event type

Fields

AI-People

Counting

timestamp; people_number; actual_count

Aggregate

timestamp; people_number; actual_count

AI-Crowd

Crowd

timestamp; people_number; period

AI-Overcrowd

Overcrowd

timestamp; people_number

AI-Occupancy

Occupancy

timestamp; occupancy; period

AI-Overoccupancy

Overoccupancy

timestamp; occupancy

AI-Facedetect

Doesn't support FTP

AI-IntrusionPRO

Sterile_Zone

timestamp; sterile_zone_type; top_left_x; top_left_y; width

Crossing_Line

timestamp; top_left_x; top_left_y; width; height

Intrusion_Pro

timestamp

AI-Loitering

Loitering

timestamp; top_left_x; top_left_y; width; height

AI-Lost

Lost

timestamp; top_left_x; top_left_y; width; height

AI-FireDeep

Fire

timestamp; top_left_x; top_left_y; width; height

AI-SmokeDeep

Smoke

timestamp; top_left_x; top_left_y; width; height

AI-Road3d

Doesn't support FTP

AI-Incident

Wrong_Way

timestamp; top_left_x; top_left_y; width; height

Pedestrian

timestamp; top_left_x; top_left_y; width; height

Stopped_Vehicle

timestamp; top_left_x; top_left_y; width; height

AI-ParkingDeep

Doesn't support FTP

AI-Spill

Spill

timestamp

AI-Panic

Panic

timestamp

AI-ATM

Loitering

timestamp; top_left_x; top_left_y; width; height

Overcrowd

timestamp; people_number