4 Star 8 Fork 2

樊智慧/faceHttpd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
face_info.h 968 Bytes
一键复制 编辑 原始数据 按行查看 历史
樊智慧 提交于 2019-06-27 14:34 +08:00 . 人脸文件数据库实现
/*************************************************************************
> File Name: face_info.h
> Author: fanzhihui
> Mail: 953106194@qq.com
> Created Time: 2019年06月26日 星期三 16时04分00秒
************************************************************************/
#ifndef _FHTTPD_FACE_INFO_H_
#define _FHTTPD_FACE_INFO_H_
#include<iostream>
#include <string>
#include <vector>
using namespace std;
struct kown_face_info_
{
std::vector<float> features;
std::string face_key;
std::string face_id;
kown_face_info_()
{
}
kown_face_info_(const std::string& id, const std::string& key,const std::vector<float>& fs)
{
face_id = id;
face_key = key;
features = fs;
}
void dump()
{
std::cout << "face id: " << face_id << " face_key: "<< face_key << std::endl;
for( uint32_t i = 0; i < features.size(); i++) {
std::cout << features[i] << std::endl;
}
}
};
typedef struct kown_face_info_ kown_face_info_t;
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wisefan/faceHttpd.git
git@gitee.com:wisefan/faceHttpd.git
wisefan
faceHttpd
faceHttpd
20190718

搜索帮助