佳木斯大学学报(自然科学版)
佳木斯大學學報(自然科學版)
가목사대학학보(자연과학판)
JOURNAL OF JIAMUSI UNIVERSITY (NATURAL SCIENCE EDITION)
2013年
6期
895-898
,共4页
AdaBoost%人脸检测%OpenCV%MFC
AdaBoost%人臉檢測%OpenCV%MFC
AdaBoost%인검검측%OpenCV%MFC
AdaBoost%face detection%OpenCV%MFC
为了实现对人脸检测的目的,本文采用基于MFC框架下使用OpenCV视觉库的方法.文章重点分析了一种人脸检测中使用的特征分类算法:Adaboost 算法.文中阐述了该算法的原理,图文并茂地展示了如何在实际中利用人脸库结合Adaboost算法来训练分类器,并生成XML文件.在VC6.0下,搭建了人脸检测的界面,利用OpenCV的函数调用训练所生成的XML文件,实现了在本地选择图片并对其进行人脸检测的功能.此外,系统还支持读取本地AVI格式视频和从摄像头捕捉到的视频,可手动截取一帧图片进行人脸检测.实验结果表明该设计方案具有较高的准确性和稳定性,基本达到预期的效果.
為瞭實現對人臉檢測的目的,本文採用基于MFC框架下使用OpenCV視覺庫的方法.文章重點分析瞭一種人臉檢測中使用的特徵分類算法:Adaboost 算法.文中闡述瞭該算法的原理,圖文併茂地展示瞭如何在實際中利用人臉庫結閤Adaboost算法來訓練分類器,併生成XML文件.在VC6.0下,搭建瞭人臉檢測的界麵,利用OpenCV的函數調用訓練所生成的XML文件,實現瞭在本地選擇圖片併對其進行人臉檢測的功能.此外,繫統還支持讀取本地AVI格式視頻和從攝像頭捕捉到的視頻,可手動截取一幀圖片進行人臉檢測.實驗結果錶明該設計方案具有較高的準確性和穩定性,基本達到預期的效果.
위료실현대인검검측적목적,본문채용기우MFC광가하사용OpenCV시각고적방법.문장중점분석료일충인검검측중사용적특정분류산법:Adaboost 산법.문중천술료해산법적원리,도문병무지전시료여하재실제중이용인검고결합Adaboost산법래훈련분류기,병생성XML문건.재VC6.0하,탑건료인검검측적계면,이용OpenCV적함수조용훈련소생성적XML문건,실현료재본지선택도편병대기진행인검검측적공능.차외,계통환지지독취본지AVI격식시빈화종섭상두포착도적시빈,가수동절취일정도편진행인검검측.실험결과표명해설계방안구유교고적준학성화은정성,기본체도예기적효과.
In order to detect human faces , the method of OpenCV vision library based on the MFC frame-work was used .It was focused on analyzing a kind of feature classification algorithm which is used in face detec-tion , named Adaboost algorithm .The principle of the algorithm was described and how to use face database com-bined with Adaboost algorithm to train the classifier in practice was discussed .And then, during the training, some XML documents were generated .Under the environment of Visual c ++6.0 , a face detection interface was built and the functions of OpenCV were used to call the XML documents .Then users can choose local ima-ges for face detection .In addition , the system also supports to read the AVI format video captured from the cam-era.And users can manually capture a picture for face detection .The results show that the design has a high ac-curacy and stability , essential to achieve the desired effect .