You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EasyPR/include/easypr/preprocess/deface.h

30 lines
537 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 人脸马赛克
//
// Created by zhou shiwei on 15/1/20.
// Copyright (c) 2015年 zhou shiwei. All rights reserved.
// 反人脸识别文件
// 在发布数据到general_test数据集里请先用这里的方法对图像进行处理
// EasyPR开源项目非常注重保护图片中驾驶人的隐私
#ifndef EASYPR_DEFACE_H
#define EASYPR_DEFACE_H
#include <opencv2/opencv.hpp>
namespace easypr {
namespace preprocess {
int deface();
cv::Mat detectAndMaskFace(cv::Mat& img, cv::CascadeClassifier& cascade,
double scale);
}
}
#endif //EASYPR_DEFACE_H