|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
22 #ifndef NVEVENTMSGCONV_H_
23 #define NVEVENTMSGCONV_H_
29 #include <unordered_map>
33 #define CONFIG_GROUP_SENSOR "sensor"
34 #define CONFIG_GROUP_PLACE "place"
35 #define CONFIG_GROUP_ANALYTICS "analytics"
37 #define CONFIG_KEY_COORDINATE "coordinate"
38 #define CONFIG_KEY_DESCRIPTION "description"
39 #define CONFIG_KEY_ENABLE "enable"
40 #define CONFIG_KEY_ID "id"
41 #define CONFIG_KEY_LANE "lane"
42 #define CONFIG_KEY_LEVEL "level"
43 #define CONFIG_KEY_LOCATION "location"
44 #define CONFIG_KEY_NAME "name"
45 #define CONFIG_KEY_SOURCE "source"
46 #define CONFIG_KEY_TYPE "type"
47 #define CONFIG_KEY_VERSION "version"
50 #define CONFIG_KEY_PLACE_SUB_FIELD1 "place-sub-field1"
51 #define CONFIG_KEY_PLACE_SUB_FIELD2 "place-sub-field2"
52 #define CONFIG_KEY_PLACE_SUB_FIELD3 "place-sub-field3"
54 #define DEFAULT_CSV_FIELDS 10
57 #define CHECK_ERROR(error) \
59 cout << "Error: " << error->message << endl; \
81 gdouble coordinate[3];
89 gdouble coordinate[3];
105 guint32 lidar_element_size = 4;
106 guint32 lidar_element_max_points = 10;
Store data parsed from the config file in these structures.
gchar * generate_event_message_minimal(void *privData, NvDsEvent *events, guint size)
gchar * generate_dsmeta_message_minimal(void *privData, void *frameMeta)
NvDsPlaceSubObject subObj
gchar * generate_event_message_protobuf(void *privData, NvDsEvent *events, guint size, size_t &message_len)
bool nvds_msg2p_parse_yaml(void *privData, const gchar *file)
gchar * generate_event_message(void *privData, NvDsEventMsgMeta *meta)
unordered_map< int, NvDsPlaceObject > placeObj
void destroy_deepstream_schema_ctx(void *privData)
void * create_deepstream_schema_ctx()
bool nvds_msg2p_parse_csv(void *privData, const gchar *file)
unordered_map< int, NvDsAnalyticsObject > analyticsObj
gchar * generate_dsmeta_message(void *privData, void *frameMeta, void *objMeta)
bool nvds_msg2p_parse_key_value(void *privData, const gchar *file)
gchar * generate_dsmeta_message_ds3d(void *privData, void *ptrDataMap, gboolean addLidarData, size_t &message_len)
gchar * generate_dsmeta_message_protobuf(void *privData, void *frameMeta, size_t &message_len)
unordered_map< int, NvDsSensorObject > sensorObj