NVIDIA DeepStream SDK API Reference

9.0 Release
9.0/sources/includes/nvds_analytics_meta.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
27 #ifndef _NVDS_ANALYTICS_META_H_
28 #define _NVDS_ANALYTICS_META_H_
29 
30 #include <gst/gst.h>
31 #include <vector>
32 #include <unordered_map>
33 #include <string>
34 #include <cstdint>
35 #include "nvdsmeta.h"
36 
37 #define NVDS_USER_FRAME_META_NVDSANALYTICS NVDS_FRAME_META_NVDSANALYTICS
38 #define NVDS_USER_OBJ_META_NVDSANALYTICS NVDS_OBJ_META_NVDSANALYTICS
39 
40 #ifdef __cplusplus
41 extern "C"
42 {
43 #endif
44 
54 typedef struct
55 {
57  std::vector <std::string> roiStatus;
59  std::vector <std::string> ocStatus;
61  std::vector <std::string> lcStatus;
63  std::string dirStatus;
65  guint unique_id;
67  std::string objStatus;
69 
73 typedef struct
74 {
78  std::unordered_map<std::string, bool> ocStatus;
79 
83  std::unordered_map<std::string, uint32_t> objInROIcnt;
84 
88  std::unordered_map<std::string, uint64_t> objLCCurrCnt;
89 
93  std::unordered_map<std::string, uint64_t> objLCCumCnt;
94 
96  guint unique_id;
97 
101  std::unordered_map<int, uint32_t> objCnt;
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
108 #endif
109 
NvDsAnalyticsFrameMeta
Holds a set of nvdsanalytics framelevel metadata.
Definition: sources/includes/nvds_analytics_meta.h:73
nvdsmeta.h
NvDsAnalyticsObjInfo
Holds a set of nvdsanalytics object level metadata.
Definition: sources/includes/nvds_analytics_meta.h:54