91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.21MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-08-16
  • 語言: 其他
  • 標簽: 人臉識別??

資源簡介

中科院山世光老師開源的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?.
?*
?*?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\link.command.1.tlog

?????文件??????11308??2016-09-22?19:27??SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\link.read.1.tlog

?????文件???????2696??2016-09-22?19:27??SeetaFacesTest\SeetaFacesTest\Debug\SeetaFacesTest.tlog\link.write.1.tlog

?????文件????????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個文件信息

評論

共有 條評論