1 Star 0 Fork 49

搬砖现场 / feature_se

forked from 10km / feature_se 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
feature_compare_cas.h 644 Bytes
一键复制 编辑 原始数据 按行查看 历史
10km 提交于 2018-04-18 17:52 . 导入代码
/*
* feature_compare_cas.h
*
* Created on: 2016年7月12日
* Author: guyadong
*/
#ifndef FEATURE_SE_FEATURE_COMPARE_CAS_H_
#define FEATURE_SE_FEATURE_COMPARE_CAS_H_
#if __linux
#include "FiStdDefEx.h"
#elif _WIN32
#include <windows.h>
#endif
#include "THFeature_i.h"
#include "codemgr.h"
namespace gdface{
namespace feature{
/* CASSDK特征码比对 */
inline float compare(const face_code &f1,const face_code&f2){
// 本函数被调用前必须确保已经执行 EF_Init()
return EF_Compare((BYTE*)f1.element,(BYTE*)f2.element);
}
} /* namespace feature*/
} /* namespace gdface*/
#endif /* FEATURE_SE_FEATURE_COMPARE_CAS_H_ */
C++
1
https://gitee.com/zhaowx_admin/feature_se.git
git@gitee.com:zhaowx_admin/feature_se.git
zhaowx_admin
feature_se
feature_se
master

搜索帮助