Research and Implementation of Android Face Detection System

Author
GuoChangYu
Advisor
LiGaoPeng
School
Harbin Institute of Technology
Major
Electronics and Communication Engineering
Classification
TP391.41 Image recognition device
Degree
Master's thesis
Year
2013
Downloads
7
Citations
0

Request the full text

Abstract

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.

Table of contents

Summary 3-4 Abstract 4-8 Chapter 1 Introduction 8-14 1.1 Background and Significance Overview 8 1.2 people present situation of the development of face detection technology 8-11 1.2.1 face Verification and skin color region segmentation 9-10 1.2.2 based heuristic model approach 10 1.2.3 statistical model-based approach 10-11 1.3 the main contents of this article 11-14 1.3. 1 This paper studies the content difficulty 11-12 1.3.2 of this study 12 1.3.3 structure papers 12-14 Chapter 2 Android system and the JNI interface 14-25 2.1 Android system architecture 14-16 2.1.1 application Layer 14 2.1.2 application procedural framework layer 14-15 2.1.3 system libraries and Android Runtime 15-16 2.1.4 Linux kernel 16 2.2 Android application programming 16-22 2.2.1 Activity 16-19 2.2.2 Service 19-20 2.2.3 BroadcastRecevier 20-21 2.2.4 ContentProvider 21 2.2.5 Intent 21-22 2.2.6 AndroidManifest.xml 22 <br / > 2.3 Android NDK 22-23 2.4 Android JNI 23-24 2.5 Summary 24-25 Chapter 3 Adaboost face detection algorithm 25-36 3.1 feature template 25-28 3.1.1 rectangle feature template 25-26 3.1.2 rectangle feature nbsp 26 3.1.3 rectangle feature quantity ; 26-28 3.2 eigenvalues ??calculated 28-31 3.2.1 integral Figure 28-29 3.2.2 Figure calculated using integral rectangular eigenvalues ?? 29-31 3.3 Adaboost algorithm 31-35 3.3.1 weak classifiers 31-32 3.3.2 adjust the weights 32 3.3.3 strong classifier 32-33 3.3.4 cascade classifier 33-35 3.4 Summary 35-36 Chapter 4 system implementation 36-48 4.1 experimental environment 36-38 4.1.1 experimental platform 36 4.1.2 OpenCv library 36-38 4.2 system Architecture 38 4.3 system implementation 38-42 4.3.1 sample create 39-40 4.3.2 sample training 40 4.3.3 face Detection 40-42 4.4 results 42-47 4.5 Summary 47-48 conclusion 48-49 References 49-53 studying for a degree dissertation published during 53-55 Thanks 55

Related dissertations

  1. A Warning System Based on Fatigue Detection and Moving Object Recognition
    WenZuoWei ·South China University of Technology ·2013 ·Master's thesis
  2. Research and Application of OpenCV in Face Access System
    GongYanYu ·Hebei University of Technology ·2012 ·Master's thesis
  3. The Research and Implementation of Face Detection Based on AdaBoost Algorithm
    LiFang ·Wuhan University of Technology ·2012 ·Master's thesis
  4. Parallel Face Detection CUDA Accelerating
  5. Face Detection Using Asymmetric Boosting with Gabor Feature
    LvPengWei ·Central South University ·2013 ·Master's thesis
  6. Research on face detection algorithm based on color constancy and color information
    SunHui ·Jiangxi University of Technology ·2013 ·Master's thesis
  7. Application of Human Face Recognition Research
    ZengZuo ·South China University of Technology ·2013 ·Master's thesis
  8. Research of Video Face Detection Based on DIM3517
  9. Research on ZYNQ implementation of real time face detection technology based on
  10. Research on Algorithms and Hardware Implementation of Intelligent Video Surveillance
    WanMinYong ·Zhejiang University ·2012 ·Doctoral dissertation
  11. Design and Implementation of an Embedded System of Human Face Recognition
  12. Research of Multi-view Face Detection
    DaiRui ·Anhui University ·2012 ·Master's thesis
  13. Computer Vision Research on Fatigue Driving
    HuangGeFeng ·Anhui University ·2012 ·Master's thesis
  14. A Research of Human Face Detection Based on AGPSO-AdaBoost Algorithm
    WangZuFeng ·Central China Normal University ·2012 ·Master's thesis
  15. Research and Implementation of Human Face Detection and Tracking System on Android Platform
    WangHongBin ·Taiyuan University of Technology ·2012 ·Master's thesis
  16. Research and Implementation of Face Recognition System Based on Linear Discriminant Analysis
    ZhangKaiGe ·Guangdong University of Technology ·2012 ·Master's thesis
  17. Face Detection Based on AdaBoost
  18. Research and Development of Human Facedetection Based on Embedded System
  19. Research and implementation of augmented reality system tracking face location
    ZhouNuanYun ·Fudan University ·2011 ·Master's thesis
  20. Based on OpenCV Face Recognition System Research and Implementation
    ZuoNanZuo ·Wuhan Textile University ·2012 ·Master's thesis