 
         
         
         
         
        
            已阅读5页,还剩68页未读,            继续免费阅读
        
        
                版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
            AdaBoost ItsApplications 主講人 虞台文 Outline OverviewTheAdaBoostAlgorithmHowandwhyAdaBoostworks AdaBoostforFaceDetection AdaBoost ItsApplications Overview Introduction AdaBoost Adaptive Alearningalgorithm Buildingastrongclassifieralotofweakerones Boosting AdaBoostConcept weakclassifiers slightlybetterthanrandom strongclassifier WeakerClassifiers weakclassifiers slightlybetterthanrandom strongclassifier EachweakclassifierlearnsbyconsideringonesimplefeatureTmostbeneficialfeaturesforclassificationshouldbeselectedHowtodefinefeatures selectbeneficialfeatures trainweakclassifiers manage weight trainingsamples associateweighttoeachweakclassifier TheStrongClassifiers weakclassifiers slightlybetterthanrandom strongclassifier Howgoodthestrongonewillbe AdaBoost ItsApplications TheAdaBoostAlgorithm TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution Outputfinalclassifier Boostingillustration WeakClassifier1 Boostingillustration WeightsIncreased Boostingillustration WeakClassifier2 Boostingillustration WeightsIncreased Boostingillustration WeakClassifier3 Boostingillustration Finalclassifierisacombinationofweakclassifiers AdaBoost ItsApplications HowandwhyAdaBoostworks TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution Outputfinalclassifier WhatgoaltheAdaBoostwantstoreach TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution Outputfinalclassifier WhatgoaltheAdaBoostwantstoreach Goal Minimizeexponentialloss Finalclassifier Goal Minimizeexponentialloss Finalclassifier MaximizethemarginyH x Goal Finalclassifier Minimize Define with Then Finalclassifier Minimize Define with Then Set 0 Finalclassifier Minimize Define with Then 0 with Finalclassifier Minimize Define Then 0 with Finalclassifier Minimize Define Then 0 with Finalclassifier Minimize Define Then with Finalclassifier Minimize Define Then with Finalclassifier Minimize Define Then maximizedwhen with Finalclassifier Minimize Define Then Attimet with Finalclassifier Minimize Define Then Attimet Attime1 Attimet 1 AdaBoost ItsApplications AdaBoostforFaceDetection TheTaskofFaceDetection ManyslidesadaptedfromP Viola BasicIdea Slideawindowacrossimageandevaluateafacemodelateverylocation Challenges Slideawindowacrossimageandevaluateafacemodelateverylocation Slidingwindowdetectormustevaluatetensofthousandsoflocation scalecombinations Facesarerare 0 10perimageForcomputationalefficiency weshouldtrytospendaslittletimeaspossibleonthenon facewindowsAmegapixelimagehas 106pixelsandacomparablenumberofcandidatefacelocationsToavoidhavingafalsepositiveineveryimageimage ourfalsepositiveratehastobelessthan10 6 TheViola JonesFaceDetector Aseminalapproachtoreal timeobjectdetectionTrainingisslow butdetectionisveryfastKeyideasIntegralimagesforfastfeatureevaluationBoostingforfeatureselectionAttentionalcascadeforfastrejectionofnon facewindows P ViolaandM Jones Rapidobjectdetectionusingaboostedcascadeofsimplefeatures CVPR2001 P ViolaandM Jones Robustreal timefacedetection IJCV57 2 2004 ImageFeatures Rectanglefilters ImageFeatures Rectanglefilters SizeofFeatureSpace Howmanynumberofpossiblerectanglefeaturesfora24x24detectionregion Rectanglefilters A B C D FeatureSelection Howmanynumberofpossiblerectanglefeaturesfora24x24detectionregion A B C D Whatfeaturesaregoodforfacedetection FeatureSelection Howmanynumberofpossiblerectanglefeaturesfora24x24detectionregion A B C D Canwecreateagoodclassifierusingjustasmallsubsetofallpossiblefeatures Howtoselectsuchasubset Integralimages Theintegralimagecomputesavalueateachpixel x y thatisthesumofthepixelvaluesaboveandtotheleftof x y inclusive x y ComputingtheIntegralImage Theintegralimagecomputesavalueateachpixel x y thatisthesumofthepixelvaluesaboveandtotheleftof x y inclusive Thiscanquicklybecomputedinonepassthroughtheimage x y ComputingSumwithinaRectangle D B C A Only3additionsarerequiredforanysizeofrectangle Scaling Integralimageenablesustoevaluateallrectanglesizesinconstanttime Therefore noimagescalingisnecessary Scaletherectangularfeaturesinstead 1 2 3 4 5 6 Boosting BoostingisaclassificationschemethatworksbycombiningweaklearnersintoamoreaccurateensembleclassifierAweaklearnerneedonlydobetterthanchanceTrainingconsistsofmultipleboostingroundsDuringeachboostinground weselectaweaklearnerthatdoeswellonexamplesthatwerehardforthepreviousweaklearners Hardness iscapturedbyweightsattachedtotrainingexamples Y FreundandR Schapire Ashortintroductiontoboosting JournalofJapaneseSocietyforArtificialIntelligence 14 5 771 780 September 1999 TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution TheAdaBoostAlgorithm Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution Outputfinalclassifier WeakLearnersforFaceDetection Given Initialization For FindclassifierwhichminimizeserrorwrtDt i e Weightclassifier Updatedistribution Outputfinalclassifier Whatbaselearnerisproperforfacedetection WeakLearnersforFaceDetection Boosting TrainingsetcontainsfaceandnonfaceexamplesInitially withequalweightForeachroundofboosting EvaluateeachrectanglefilteroneachexampleSelectbestthresholdforeachfilterSelectbestfilter thresholdcombinationReweightexamplesComputationalcomplexityoflearning O MNK Mrounds Nexamples Kfeatures FeaturesSelectedbyBoosting Firsttwofeaturesselectedbyboosting Thisfeaturecombinationcanyield100 detectionrateand50 falsepositiverate ROCCurvefor200 FeatureClassifier A200 featureclassifiercanyield95 detectionrateandafalsepositiverateof1in14084 Notgoodenough Tobepracticalforrealapplication thefalsepositiveratemustbecloserto1in1 000 000 AttentionalCascade Classifier3 Classifier2 Classifier1 IMAGESUB WINDOW T T Westartwithsimpleclassifierswhichrejectmanyofthenegativesub windowswhiledetectingalmostallpositivesub windowsPositiveresponsefromthefirstclassifiertriggerstheevaluationofasecond morecomplex classifier andsoonAnegativeoutcomeatanypointleadstotheimmediaterejectionofthesub window AttentionalCascade Classifier3 Classifier2 Classifier1 IMAGESUB WINDOW T T Chainclassifiersthatareprogressivelymorecomplexandhavelowerfalsepositiverates DetectionRateandFalsePositiveRateforChainedClassifiers Classifier3 Classifier2 Classifier1 IMAGESUB WINDOW T T ThedetectionrateandthefalsepositiverateofthecascadearefoundbymultiplyingtherespectiveratesoftheindividualstagesAdetectionrateof0 9andafalsepositiverateontheorderof10 6canbeachievedbya10 stagecascadeifeachstagehasadetectionrateof0 99 0 9910 0 9 andafalsepositiverateofabout0 30 0 310 6 10 6 TrainingtheCascade SettargetdetectionandfalsepositiveratesforeachstageKeepaddingfeaturestothecurrentstageuntilitstargetrateshavebeenmetNeedtolowerAdaBoostthresholdtomaximizedetection asopposedtominimizingtotalclassificationerror TestonavalidationsetIftheoverallfalsepositiverateisnotlowenough thenaddanotherstageUsefalsepositivesfromcurrentstageasthenegativetrainingexamplesforthenextstage TrainingtheCascade ROCCurvesCascadedClassifiertoMonlithicClassifier ROCCurvesCascadedClassifiertoMonlithicClassifier Thereislittledifferencebetweenthetwointermsofaccuracy Thereisabigdifferenceintermsofspeed Thecascadedclassifierisnearly10timesfastersinceitsfirststagethrowsoutmostnon facessothattheyareneverevaluatedbysubsequentstages TheImplementedSystem TrainingData5000facesAllfrontal rescaledto24x24pixels300millionnon faces9500non faceimagesFacesarenormalizedScale translationManyvariationsAcrossindividualsIlluminationPose StructureoftheDetectorCascade Combiningsuccessivelymorecomplexclassifiersincascade38stagesincludedatotalof6060features StructureoftheDetectorCascade RejectSub Window 1 2 3 4 5 6 7 8 38 Face F F F F F F F F F T T T T T T T T T AllSub Windows 2features reject50 non faces detect100 faces 10features reject80 non faces detect100 faces 25features 50features byalgorithm SpeedoftheFinalDetector Ona700MhzPentiumIIIprocessor thefacedetectorcanprocessa384 288pixelimageinabout 067seconds 15Hz15timesfasterthanpreviousdetectorofcomparableaccuracy Rowleyetal 1998 Averageof8fea        
    温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 策划营销方案动漫
- 建筑物古镇调色方案设计
- 文化咨询设计方案范文大全
- 咨询私家花园设计方案
- 公司主题策划活动策划方案
- 建筑商业片拍摄方案设计
- 餐饮服务员工培训与技能提升计划
- 关于离婚的心理咨询方案
- 售房的营销方案
- 2024年教师招聘考试备考指南
- 2025年公安基础知识题库及答案
- 南通市人民医院妇科超声监测排卵考核
- 2025江苏海氧深冷科技有限公司招聘工作人员9人考试模拟试题及答案解析
- 2025及未来5年中国柞蚕蚕丝被市场调查、数据监测研究报告
- 2025年国家电网电工类能力招聘考试笔试试题(含答案)
- 接近开关原理课件
- 人工智能+提升国防科技工业高质量发展分析报告
- 美甲美睫培训实习课件
- 安全监管图文口袋书(试行版)课件
- 舞蹈解剖学上肢骨课件
- 生物冶金绿色工艺-洞察及研究
 
            
评论
0/150
提交评论