NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvds_analytics_meta.h
Go to the documentation of this file.
1 
11 #ifndef _NVDS_ANALYTICS_META_H_
12 #define _NVDS_ANALYTICS_META_H_
13 
14 #include <gst/gst.h>
15 
16 #ifdef __cplusplus
17 extern "C"
18 {
19 #endif
20 
21 #define NVDS_USER_FRAME_META_NVDSANALYTICS (nvds_get_user_meta_type((gchar*)"NVIDIA.DSANALYTICSFRAME.USER_META"))
22 #define NVDS_USER_OBJ_META_NVDSANALYTICS (nvds_get_user_meta_type((gchar*)"NVIDIA.DSANALYTICSOBJ.USER_META"))
23 
26 typedef struct
27 {
28  std::vector <std::string> roiStatus;
29  std::vector <std::string> ocStatus;
30  std::vector <std::string> lcStatus;
31  std::string dirStatus;
32  guint unique_id;
34 
37 typedef struct
38 {
39  std::unordered_map<std::string, bool> ocStatus;
40  std::unordered_map<std::string, uint32_t> objInROIcnt;
41  std::unordered_map<std::string, uint64_t> objLCCurrCnt;
42  std::unordered_map<std::string, uint64_t> objLCCumCnt;
43  guint unique_id;
44 
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif
std::unordered_map< std::string, uint64_t > objLCCumCnt
std::vector< std::string > lcStatus
std::vector< std::string > roiStatus
std::vector< std::string > ocStatus
std::unordered_map< std::string, uint64_t > objLCCurrCnt
std::unordered_map< std::string, bool > ocStatus
std::unordered_map< std::string, uint32_t > objInROIcnt