|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
21 #ifndef NVEVENTMSGCONV_H_
22 #define NVEVENTMSGCONV_H_
28 #include <unordered_map>
32 #define CONFIG_GROUP_SENSOR "sensor"
33 #define CONFIG_GROUP_PLACE "place"
34 #define CONFIG_GROUP_ANALYTICS "analytics"
36 #define CONFIG_KEY_COORDINATE "coordinate"
37 #define CONFIG_KEY_DESCRIPTION "description"
38 #define CONFIG_KEY_ENABLE "enable"
39 #define CONFIG_KEY_ID "id"
40 #define CONFIG_KEY_LANE "lane"
41 #define CONFIG_KEY_LEVEL "level"
42 #define CONFIG_KEY_LOCATION "location"
43 #define CONFIG_KEY_NAME "name"
44 #define CONFIG_KEY_SOURCE "source"
45 #define CONFIG_KEY_TYPE "type"
46 #define CONFIG_KEY_VERSION "version"
49 #define CONFIG_KEY_PLACE_SUB_FIELD1 "place-sub-field1"
50 #define CONFIG_KEY_PLACE_SUB_FIELD2 "place-sub-field2"
51 #define CONFIG_KEY_PLACE_SUB_FIELD3 "place-sub-field3"
53 #define DEFAULT_CSV_FIELDS 10
56 #define CHECK_ERROR(error) \
58 cout << "Error: " << error->message << endl; \
80 gdouble coordinate[3];
88 gdouble coordinate[3];
104 guint32 lidar_element_size = 4;
105 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