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