Advanced Data Access

Advanced Data Access is a collection of capabilities that makes it possible to access Lumeo Dashboard data using SQL.

Background

Lumeo can publish video analytics data to a variety of sources, one of which is the Lumeo Dashboards. Advanced Data Access is an add-on feature that enables you to query this data using SQL.

Connection

To enable Advanced Data Access on your workspace, contact support. Once enabled, you will be provided with credentials and connection information for the SQL interface.

Schema

ADA exposes video analytics data through 3 tables, the schema and details for each are provided below.

DP_event_metadata

This table contains information for each Event generated using Trigger an Event or Publish to Lumeo Dashboard node.

Column nameData TypeRequiredDescriptionExample
timestampTIMESTAMPYesUTC Time when this event was generated.2024-08-28T18:30:20.231Z
application_idSTRINGYesLumeo Workspace / Application ID6e043c79-dde0-47c7-a145-14847db15963
source_idSTRINGNoVideo Source IDb69f37dc-d2d4-4452-a17d-cfa1d58f3e7f
source_typeSTRINGNoVideo Source Typelive, file
source_nameSTRINGNoVideo Source NameStadium Club PTZ LPR
deployment_idSTRINGNoDeployment IDaf8abcc0-0f77-4ba3-8b38-8f6bd8a7b525
deployment_nameSTRINGNoDeployment NameISCWest-2023- right-Pipeline p4rq0z – Loitering Detection
gateway_idSTRINGNoGateway ID49a13e9c-02f9-41e7-852a-26b16d9484d4
gateway_nameSTRINGNoGateway NameJetson AGX - Stadium
pipeline_idSTRINGNoPipeline IDd73e9fd1-631d-40b7-8954-1ef7936c6063
pipeline_nameSTRINGNoPipeline NameLoitering Detection
node_idSTRINGNoNode ID that generated the eventpublish_metrics1
node_typeSTRINGNoNode type that generated the eventpublish_metrics
event_typeSTRINGNoEvent Type as specified in the Node propertiesloitering
metrics_tagSTRINGNoMetrics tag if specified in Publish to Lumeo Dashboard node

DP_node_metadata

This table contains node metadata from various nodes such as Line Crossing Counter, Occupancy Monitor, Presence Monitor, etc. published using the Publish to Lumeo Dashboard node.

Column nameData TypeRequiredDescriptionExample
timestampTIMESTAMPYesUTC Time when this record was generated.2024-08-28T18:30:20.231Z
application_idSTRINGYesLumeo Workspace / Application ID6e043c79-dde0-47c7-a145-14847db15963
source_idSTRINGYesVideo Source IDb69f37dc-d2d4-4452-a17d-cfa1d58f3e7f
source_typeSTRINGYesVideo Source Typelive, file
source_nameSTRINGYesVideo Source NameStadium Club PTZ LPR
deployment_idSTRINGYesDeployment IDaf8abcc0-0f77-4ba3-8b38-8f6bd8a7b525
deployment_nameSTRINGYesDeployment NameISCWest-2023- right-Pipeline p4rq0z – Loitering Detection
gateway_idSTRINGYesGateway ID49a13e9c-02f9-41e7-852a-26b16d9484d4
gateway_nameSTRINGYesGateway NameJetson AGX - Stadium
pipeline_idSTRINGYesPipeline IDd73e9fd1-631d-40b7-8954-1ef7936c6063
pipeline_nameSTRINGYesPipeline NamePeople Counting Line
node_idSTRINGNoNode ID that generated the eventannotate_line_counter1
node_typeSTRINGNoNode type that generated the eventannotate_line_counter
node_metaJSONNoNode metadata, specific to the publishing node.{ "dir1_label":"dir1", "dir1_objects_crossed_delta":1, "dir2_label":"dir2", "dir2_objects_crossed_delta":0, "line_label":"bridge", "total_objects_crossed_delta":1 }
line_labelSTRINGNoFor any node that has metadata associated with a line, this contains the corresponding line labelbridge
roi_labelSTRINGNoFor any node that has metadata associated with a ROI, this contains the corresponding ROI label
metrics_tagSTRINGNoMetrics tag if specified in Publish to Lumeo Dashboard node

DP_object_metadata

This table contains metadata from any Objects that were published using Publish to Lumeo Dashboard node.

Column nameData TypeRequiredDescriptionExample
timestampTIMESTAMPYesUTC Time when this record was generated.2024-08-28T18:30:20.231Z
application_idSTRINGYesLumeo Workspace / Application ID6e043c79-dde0-47c7-a145-14847db15963
source_idSTRINGYesVideo Source IDb69f37dc-d2d4-4452-a17d-cfa1d58f3e7f
source_typeSTRINGYesVideo Source Typelive, file
source_nameSTRINGYesVideo Source NameStadium Club PTZ LPR
deployment_idSTRINGYesDeployment IDaf8abcc0-0f77-4ba3-8b38-8f6bd8a7b525
deployment_nameSTRINGYesDeployment NameISCWest-2023- right-Pipeline p4rq0z – Loitering Detection
gateway_idSTRINGYesGateway ID49a13e9c-02f9-41e7-852a-26b16d9484d4
gateway_nameSTRINGYesGateway NameJetson AGX - Stadium
pipeline_idSTRINGYesPipeline IDd73e9fd1-631d-40b7-8954-1ef7936c6063
pipeline_nameSTRINGYesPipeline NamePeople Counting Line
node_idSTRINGNoNode ID that generated the object metadataannotate_line_counter1
node_typeSTRINGNoNode type that generated the object metadataannotate_line_counter
object_idSTRINGNoA unique identifier assigned to an object (unique in the context of the deployment)542269355178609087
object_labelSTRINGNoObject labelface
object_classINT32NoNumerical class assigned to this object label0
object_attributesSTRINGNoComma separated list of object attributes, if anymale,18-20
metrics_tagSTRINGNoMetrics tag if specified in Publish to Lumeo Dashboard node