#pragma once #include #include #include #include #include /* Author: Pierfrancesco Soffritti https://github.com/PierfrancescoSoffritti */ using namespace cv; using namespace std; namespace computervision { class FaceDetector { public: /** * @brief Constructor for the class FaceDetector, loads training data from a file * */ FaceDetector(void); /** * @brief Detects faces on an image and blocks them with a black rectangle * * @param input Input image * @param output Output image */ void removeFaces(Mat input, Mat output); }; }