Defines the type of analytics that the encoder will use and the configuration for each video input that will use these analytics.
Note that only AnalyticsTypeSafeZone2D is supported for now.
Available in version 7.3.0 of Decoder SDK. Requires a server version greater than 7.0
#include <AnalyticsInfo.h>
Public Member Functions | |
| DB_EDGEVIS_SDK std::wstring | GetAnalyticsType () const |
| Gets the analytics type. | |
| DB_EDGEVIS_SDK bool | SetAnalyticsType (const std::wstring &type) |
| Sets the analytics type that the encoder will use. | |
| DB_EDGEVIS_SDK std::vector< AnalyticsConfig > | GetConfig () const |
| Get the vector of AnalyticsConfig defined for this encoder. | |
| DB_EDGEVIS_SDK bool | SetConfig (std::vector< AnalyticsConfig > config) |
| Set the detection regions defined for this input. | |
| DB_EDGEVIS_SDK std::wstring EdgeVisDecoderSDK::AnalyticsInfo::GetAnalyticsType | ( | ) | const |
Gets the analytics type.
| DB_EDGEVIS_SDK bool EdgeVisDecoderSDK::AnalyticsInfo::SetAnalyticsType | ( | const std::wstring & | type | ) |
Sets the analytics type that the encoder will use.
| type | The type of analytics that the encoder will use. Only AnalyticsTypeSafeZone2D and AnalyticsTypeSafeZoneAI are supported at present. |
| DB_EDGEVIS_SDK std::vector< AnalyticsConfig > EdgeVisDecoderSDK::AnalyticsInfo::GetConfig | ( | ) | const |
Get the vector of AnalyticsConfig defined for this encoder.
| DB_EDGEVIS_SDK bool EdgeVisDecoderSDK::AnalyticsInfo::SetConfig | ( | std::vector< AnalyticsConfig > | config | ) |
Set the detection regions defined for this input.
| regions | A vector containing the detection regions and their config for this encoder. |