Abstract
In recent years, with the development of mobile communications, especially those based on the rapid development of the Android platform for mobile terminals, high-speed wireless Internet access to Internet has become a reality, mobile users can enjoy easy and convenient service provided by the Internet, but the Internet has also become a mobile terminal The terminal, which also makes applications based on Android platform for mobile terminals more widely, more and more convenient.
As smart phones continue to improve the performance of mobile phone storage capacity, computational speed and camera resolution and other hardware level of upgrading, the rapid popularity of smart phones, all aspects of life there is very close contact with them, so the smart phone platform The face recognition technology helps solve the problem of mobile phone security, provide a safe, convenient user experience. Subject of this paper is based on the Android programming platform, based on JAVA programming displayed on the phone who read from a folder face bitmap, programming PCA face detection algorithm, implemented on a face image with the algorithm automatically draw the block marked face region; a picture can be set up to detect the number of people face.
Keywords: Smartphone; Android; face recognition; JAVA programming; PCA algorithm
目 录
第一章 绪论 1
1.1 课题背景 1
1.2 面部识别的发展状况 1
1.3 本课题研究意义 2
1.4 本文的主要内容及结构 3
第二章 研究方案及技术路线 4
2.1 研究内容 4
2.1.1 研究对象 4
2.1.2 制约识别率的关键问题 4
2.2 研究方案 4
2.2.1 相关面部识别算法对比 4
2.2.2 运用程序功能分析 5
2.2.3 研究方案的确定 6
2.3 技术路线 7
第三章 图像预处理 8
3.1 彩图灰度化 8
3.2 直方图均衡化 9
3.3 图像平滑滤波 10
3.4 边缘识别 10
3.5 人脸部位提取 11
第四章 基于Android的面部识别技术原理 13
4.1 Android编程平台 13
4.1.1 Android 开发平台搭建 13
4.1.2 Android开发简介 13
4.2 人脸图像获取 14
4.2.1 Android 应用程序组件(Activity简介) 14
4.2.2 Bitmap和Drawable和Canvas 17
4.3 PCA算法原理分析 18
4.3.1 训练阶段 18
4.3.2 识别阶段 19
4.3.3 PCA算法实现流程 19
第五章 面部识别android系统实现 21
5.1 新建工程 21
5.2 重要程序段及设置 23
5.2.1 应用界面设计程序 23
5.2.2 界面启动程序 24
5.2.3 创建包 24
5.2.4 创建图片 25
5.2.5 获取人脸图片 25
5.2.6 人脸的眼部定位 25
5.2.7 定义图片大小 27
5.2.8 创建位图及画板 27
5.3 按钮的设置 30
第六章 研究结果及分析 32
第七章 总结 34
7.1 全文总结 34
7.2 前景展望 34
参考文献 36
致 谢 37
附 录 38