/************************************************************************* * * DeepCam CONFIDENTIAL * FILE: CenterFaceMnn.h * * [2019] - [2020] DeepCam, LLC and DeepCam NOTICE: * All information contained herein is, and remains the property of DeepCam LLC. * The intellectual and technical concepts contained herein are proprietary to DeepCam * and may be covered by U.S. and Foreign Patents,patents in process, and are protected by * trade secret or copyright law. * Dissemination of this information or reproduction of this material * is strictly forbidden unless prior written permission is obtained * DeepCam, LLC. * * * Written: DongPo Wang * Date: 11/24/2020 * Mail: dongpo.wang@deepcam.com */ #ifndef _DEEPCAM_FACE_API_H #define _DEEPCAM_FACE_API_H #include "DeepCamFaceApiStd.h" #ifdef __cplusplus extern "C" { #endif DEEPCAM_API_EXPORT int DeepCamFaceDetect(IN const cv::Mat& frame, OUT std::vector& faceList); DEEPCAM_API_EXPORT int DeepCamGetFaceFeature(IN const cv::Mat& frame, IN const float* landmarks, OUT float* feature); DEEPCAM_API_EXPORT int DeepCamFaceFeatureCompare(IN const float* feature1, IN const float* feature2, OUT float & fSimilarity); DEEPCAM_API_EXPORT int DeepCamFaceLivenessRgb(IN const cv::Mat& frame, IN const float* landmarks, OUT float& livenessScore); DEEPCAM_API_EXPORT int DeepCamFaceLivenesIr(IN const cv::Mat& frame, IN float face_x1, IN float face_y1, IN float face_x2, IN float face_y2, IN const float* landmarks, OUT float& livenessScore); DEEPCAM_API_EXPORT int DeepCamGetFaceQuality(IN const cv::Mat& frame, IN float face_x1, IN float face_y1, IN float face_x2, IN float face_y2, OUT float& score); DEEPCAM_API_EXPORT int DeepCamGetFaceLandmarks68(IN const cv::Mat& frame, IN float face_x1, IN float face_y1, IN float face_x2, IN float face_y2, OUT float* landmark68); #ifdef __cplusplus } //end extern "C" #endif #endif//_DEEPCAM_FACE_API_H