Font Size: a A A

Research And Implementation Of Android Face Detection System

Posted on:2014-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:C Y GuoFull Text:PDF
GTID:2268330422451749Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
As the mobile Internet comes, Android system develops faster. and faster Currently,Android is already the world’s most popular mobile platforms. Mobile photography isour most popular demand, we hope to shine out of photos better, digital cameras canachieve automatic face focus, thereby improving the photographic effect. Generalnon-intelligent platform can not be achieved or improved face detection rate. But on theAndroid platform face detection rate can be changed through transplanting ClassLibrary. Currently, the face detection of the system is based on detection of human eyes,so the detection rate is not high. Therefore, this paper studies how to improve the humanface detection rate on the Android platform, This technology can be widely used toenhance the photographic effect.This paper introduces the research status of face detection, then select adaboostface algorithms based on statistical features.Main idea of adaboost face detectionalgorithm is for the rich facial expression samples, training weak classifiers, and thenforming strong classifier by weak classifiers, strong classifier is the best weakclassifiers through layers of screening. The best week classifiers that have lower erroroccupy larger proportion,while these that have higher error occupy smallerproportion.But only the strong classifier is not enough, we need make strong classifierform a cascade classifier. This detection rate is very high, because a picture which goesthrough the final adoption of the multi-layer authentication can only say that it is peopleface sample.Part job of the system is to implement strong classifier on the PC, another part isto achieve face detection on the phone. The first important thing is to choose a good partof the positive samples and negative samples for the training, positive and negativesamples should contains a variety of facial expressions and complex situations. Throughtraining, we can get cascade classifier XML file, then realize Adaboost algorithm. Thesecond part is that the Java code transfer pictures and trained cascade classifier XMLfile to a local method through JNI layer. Native method return face position by thepicture and cascade classifier XML file, which is partly realized in OpenCv inside.when the results are returned, Java layer code draw face window by calling the SDK.Android platform is Linux-embedded operating system, turn up package Lib library,application-layer framework, the application layer. Android developers can not directlyuse the C++language, while local codes and OpenCv code are all written by C++language, so cross-compiling NDK is used. NDK is a cross-compiler, we use the NDKto compile native code and form a dynamic link library, you can use it in the embeddeddevice such as phone.Face detection algorithm of Android system is based on thegeometric characteristics of the detection methods, it mainly detects eyes, if eyes are ata shelter, detection effect is decreased significantly. Detection rate of this system can reach90%, Face detection rates have made great progress compared with Androidsystem.
Keywords/Search Tags:Android Platform, Face Detection, Adaboost, OpenCv
PDF Full Text Request
Related items