Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问这段代码的作用 #2

Closed
yangwang opened this issue Mar 30, 2019 · 0 comments
Closed

请问这段代码的作用 #2

yangwang opened this issue Mar 30, 2019 · 0 comments

Comments

@yangwang
Copy link

Face-Detection/main.m

Lines 199 to 217 in 3583477

%清除所有变量
clear all
%-----300弱分类器组成一个强分类器
NNN=300; %唯一一个强分类器中弱分类器个数
load FinishWeak OptWeak WaekWeight JudgOut
load 1stOneWeakClass num num1
StrongClass(1).weak=OptWeak(1:NNN);
StrongClass(1).weakweight=WaekWeight(1:NNN);
StrongClass(1).num=1:NNN;
%计算强分类器的各类性能参数过程
StrongClass(i).pass=0.5*sum(StrongClass(i).weakweight);
%StrongWeakJudg 强分类器样本判断输出函数
[CurDivPRMin,CurDivFPRMax]=StrongWeakJudg(StrongClass(i),JudgOut,num,num1);
StrongClass(i).PR=CurDivPRMin;
StrongClass(i).FPR=CurDivFPRMax;
%-----级联分类器 检测过程
clc,clear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant