|
Cpp-Processing
|
Applies blur to the given image based on the detection and processing config. More...
#include <CelanturSDKInterface.h>
Public Member Functions | |
| Anonymiser (std::filesystem::path license_path, celantur::PerTypeProcessingConfig config) | |
| Anonymiser (const Anonymiser &other) | |
| Anonymiser & | operator= (const Anonymiser &other) |
| Anonymiser (Anonymiser &&other) noexcept | |
| Anonymiser & | operator= (Anonymiser &&other) noexcept |
| ~Anonymiser ()=default | |
| void | anonymise (cv::Mat &mat, const celantur::CelanturDetection &det) |
| anonymise the image detection using default configuration provided in constructor More... | |
| void | anonymise (cv::Mat &mat, const std::vector< celantur::CelanturDetection > &dets) |
| Simple wrapper over single detection anonymiser to anonymise multiple image detections using default configuration provided in constructor. More... | |
| void | anonymise (cv::Mat &mat, const celantur::CelanturDetection &det, const celantur::PerTypeProcessingConfig &config) |
| anonymise the image detection using provided custom configuration More... | |
Applies blur to the given image based on the detection and processing config.
This class applies blur to the given image based on the detection and processing config. It is used internally by the Processor class if blurring is enabled, but it can also be used externally if needed (for example for custom post-processing or when used together with tracking)
| Anonymiser::Anonymiser | ( | std::filesystem::path | license_path, |
| celantur::PerTypeProcessingConfig | config | ||
| ) |
References CelanturSDK::License::_pimpl.
| Anonymiser::Anonymiser | ( | const Anonymiser & | other | ) |
|
noexcept |
|
default |
| void Anonymiser::anonymise | ( | cv::Mat & | mat, |
| const celantur::CelanturDetection & | det | ||
| ) |
anonymise the image detection using default configuration provided in constructor
| mat | Image to anonymise |
| det | Detection to anonymise |
| void Anonymiser::anonymise | ( | cv::Mat & | mat, |
| const celantur::CelanturDetection & | det, | ||
| const celantur::PerTypeProcessingConfig & | config | ||
| ) |
anonymise the image detection using provided custom configuration
| mat | Image to anonymise |
| det | Detection to anonymise |
| config | Custom anonymisation configuration |
| void Anonymiser::anonymise | ( | cv::Mat & | mat, |
| const std::vector< celantur::CelanturDetection > & | dets | ||
| ) |
Simple wrapper over single detection anonymiser to anonymise multiple image detections using default configuration provided in constructor.
| mat | Image to anonymise |
| dets | Vector of detections to anonymise |
References anonymise().
|
noexcept |
| Anonymiser & Anonymiser::operator= | ( | const Anonymiser & | other | ) |