资源简介
中科院山世光老师开源的Seetaface人脸识别引擎SeetaFacesTest.rar
代码片段和文件信息
/*
*
* This file is part of the open-source SeetaFace engine which includes three modules:
* SeetaFace Detection SeetaFace Alignment and SeetaFace Identification.
*
* This file is part of the SeetaFace Detection module containing codes implementing the
* face detection method described in the following paper:
*
*
* Funnel-structured cascade for multi-view face detection with alignment awareness
* Shuzhe Wu Meina Kan Zhenliang He Shiguang Shan Xilin Chen.
* In Neurocomputing (under review)
*
*
* Copyright (C) 2016 Visual Information Processing and Learning (VIPL) group
* Institute of Computing Technology Chinese Academy of Sciences Beijing China.
*
* The codes are mainly developed by Shuzhe Wu (a Ph.D supervised by Prof. Shiguang Shan)
*
* As an open-source face recognition engine: you can redistribute SeetaFace source codes
* and/or modify it under the terms of the BSD 2-Clause License.
*
* You should have received a copy of the BSD 2-Clause License along with the software.
* If not see < https://opensource.org/licenses/BSD-2-Clause>.
*
* Contact Info: you can send an email to SeetaFace@vipl.ict.ac.cn for any problems.
*
* Note: the above information must be kept whenever or wherever the codes are used.
*
*/
#include “stdafx.h“
#include “face_detection.h“
#include
#include
#include “detector.h“
#include “fust.h“
#include “image_pyramid.h“
namespace seeta {
class FaceDetection::Impl {
public:
Impl()
: detector_(new seeta::fd::FuStDetector())
slide_wnd_step_x_(4) slide_wnd_step_y_(4)
min_face_size_(20) max_face_size_(-1)
cls_thresh_(3.85f) {}
~Impl() {}
inline bool IsLegalImage(const seeta::ImageData & image) {
return (image.num_channels == 1 && image.width > 0 && image.height > 0 &&
image.data != nullptr);
}
public:
static const int32_t kWndSize = 40;
int32_t min_face_size_;
int32_t max_face_size_;
int32_t slide_wnd_step_x_;
int32_t slide_wnd_step_y_;
float cls_thresh_;
std::vector pos_wnds_;
std::unique_ptr detector_;
seeta::fd::ImagePyramid img_pyramid_;
};
FaceDetection::FaceDetection(const char* model_path)
: impl_(new seeta::FaceDetection::Impl()) {
impl_->detector_->LoadModel(model_path);
}
FaceDetection::~FaceDetection() {
if (impl_ != nullptr)
delete impl_;
}
std::vector FaceDetection::Detect(
const seeta::ImageData & img) {
if (!impl_->IsLegalImage(img))
return std::vector();
int32_t min_img_size = img.height <= img.width ? img.height : img.width;
min_img_size = (impl_->max_face_size_ > 0 ?
(min_img_size >= impl_->max_face_size_ ? impl_->max_face_size_ : min_img_size) :
min_img_size);
impl_->img_pyramid_.SetImage1x(img.data img.width img.height);
impl_->img_pyramid_.SetMinScale(static_cast(impl_->kWndSize) / min_img_size);
impl_->detector_->SetWindowSize(impl_->kWndS
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 478720 2016-09-22 19:27 SeetaFacesTest\Debug\SeetaFacesTest.exe
文件 2475 2016-09-22 19:27 SeetaFacesTest\Debug\SeetaFacesTest.exp
文件 1646816 2016-09-22 19:27 SeetaFacesTest\Debug\SeetaFacesTest.ilk
文件 4818 2016-09-22 19:27 SeetaFacesTest\Debug\SeetaFacesTest.lib
文件 3207168 2016-09-22 19:27 SeetaFacesTest\Debug\SeetaFacesTest.pdb
文件 21899 2016-08-09 19:21 SeetaFacesTest\SeetaFacesTest\02.jpg
文件 1880 2016-09-18 08:38 SeetaFacesTest\SeetaFacesTest\classifier.h
文件 2530 2016-09-18 08:38 SeetaFacesTest\SeetaFacesTest\common.h
文件 676247 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\face_detection.obj
文件 1544424 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\fust.obj
文件 125957 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\image_pyramid.obj
文件 403761 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\lab_boosted_classifier.obj
文件 193420 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\lab_boost_model_reader.obj
文件 159714 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\lab_feature_map.obj
文件 268895 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\mlp.obj
文件 227148 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\nms.obj
文件 2798 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.Build.CppClean.log
文件 9125 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.log
文件 218305 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.obj
文件 1638400 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.pch
文件 10968 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\cl.command.1.tlog
文件 144082 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\CL.read.1.tlog
文件 9100 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\CL.write.1.tlog
文件 5656 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\li
文件 11308 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\li
文件 2696 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\li
文件 191 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\SeetaFacesTest.lastbuildstate
文件 474 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\SeetaFacesTest.write.1u.tlog
文件 12069 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\stdafx.obj
文件 434711 2016-09-22 19:27 SeetaFacesTest\SeetaFacesTest\Debug\surf_feature_map.obj
............此处省略49个文件信息
相关资源
- 人脸识别离线SDK配合博客使用
- 树莓派人脸识别USB摄像头
- openCV图像检测资源包
- Opencv 下Cascade Classifier实现人脸识别的
- 基于人脸识别考勤系统的设计与实现
- 人脸识别系统程序
- 安卓原生FaceDetection人脸识别
- 基于深度学习的三维人脸识别
- 调用百度接口的人脸识别.net
- 百度接口实现人脸识别web
- 基于几何特征与深度数据的三维人脸
- 百张人脸识别测试头像
- 调试通过的KPCA核主成分分析人脸识别
- OpenCV人脸识别290071
- 用于人脸识别的AR人脸库
- Unity之离线人脸识别.rar
- 虹软Arcsoft_v2.0人脸识别Demo(Linux)
- 人脸识别最新论文
- 人脸识别以及考勤
- opencv3人脸识别正/负样本
- 基于深度学习和稀疏表达的人脸识别
- 人脸识别原理及算法动态人脸识别系
- 基于opencv的人脸识别
- 人脸识别.rar
- 刷脸背后 人脸检测 人脸识别 人脸检
- 毕设-人脸识别技术
-
Extend Yale B Databa
se 人脸识别 - 基于百度API的使用js实现的人脸识别
-
Extend Yale B databa
se - IMM人脸数据库
评论
共有 条评论