资源简介
中科院山世光老师开源的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个文件信息
相关资源
- 一个人脸识别程序源码
- LDA 人脸识别
- halcon简单实现人脸识别.hdev
- 人脸识别开源SDK源码
- 百度人脸识别Demo
- delphi百度人脸识别离线SDK demo
- 讯飞人脸识别eclipse版
- Delphi7调用虹软人脸识别的测试
- [b115]FPGA上运行人脸识别源代码.zip
- shape_predictor_68_face_landmarks.dat.bz2 68个标
- labview人脸识别283682
- 一种基于LBP和CNN的人脸识别算法
- 基于CAFFE的人脸识别系统
- LabVIEW的人脸识别代码
- 基于深度学习实现人脸识别包含模型
- 人脸识别必备的FERET人脸数据库
- 经典的人脸识别论文,包含中、英文
- H5人脸识别+活体检测眨眼摇头
- 人脸识别图像预处理技术
- iOS平台下人脸识别系统实现研究
- 人脸识别数据集说明及其
- 卷积神经网络的人脸识别样本采集+
- STM32人脸识别代码
- 科大讯飞 语音听写 人脸识别 sdk
- 基于PCA的人脸识别技术的研究
- 基于LBP算法的人脸识别研究
- 人脸识别SDK免费,可商用,有演示、
- 人脸识别三套源码含小程序源码亲测
- 基于神经网络的人脸识别(附代码)
- 基于多任务卷积网络(MTCNN)和Cente
评论
共有 条评论