基于K近邻的人脸识别研究毕业论文

 2021-04-10 11:04

摘 要

人脸识别是模式识别研究领域的热点问题之一,它是根据生物体(一般特指人)本身的生物特征来区分生物体个体。人脸识别技术是基于人的面部特征,对已有的人脸图像进行技术上的操作,利用计算机图像处理等技术手段来提取人脸特征。利用已建成的人脸库和要被测者的人的图像进行比较分析,根据分析的结果算一个相似值。通过这个值即可确定是否为同一人。当然,其中也存在一定错误率。

人脸识别算法有很多种:基于人脸特征点的识别算法、基于整幅人脸图像的识别算法、基于模板的识别算法、利用神经网络进行识别的算法、基于光照估计模型理论、优化的形变统计校正理论、强化迭代理论和独创的实时特征识别理论等。已有研究结果表明,K近邻分类器具有分类性能稳定,识别精度较高等特点,K近邻分类器是一个理论上比较成熟的方法是一种最简单的分类器,样本间的相似性采用距离来度量(本文采用欧氏距离,Euclidian Distance)。作为一种非参数的分类算法,K-近邻(K-Nearest-Neighbor)算法是非常有效和容易实现的。KNN算法中,所选择的对比样本都是已经正确分类的对象。该方法在依据最邻近的一个或者几个样本的类别来决定待分类样本所属的类别。它已经广泛应用于分类、回归和模式识别等。因而本文采用k近邻分类器尝试人脸识别问题。

本文利用KNN分类器来进行人脸识别研究,在国际标准人脸数据库ORL上展开研究。具体做法是:1)先将每个人的人脸图像划分为不交的两个子集:训练集和测试集;2)选择测试集中的一幅人脸图像,计算它与所有训练样本的欧氏距离;3)对距离进行排序,实现样本归类,并记录识别结果。实验结果再次验证了KNN的分类能力。

关键字: k近邻;分类器;人脸识别

Abstract

Face recognition is one of the hot topics in the research fields of pattern recognition,which distinguishes the organism according to the features of itself (usually especially refers to human). Face recognition technique is the technical operation on the exiting face image based on human’s facial features and uses techniques such as computer image processing, pattern recognition technologies and so on to extract facial features. The image of testdataset is compared with those in the benchmark face database, and according to the result of analysis, it comes to a similar value which can identify whether it is the identical person. Of course, there exist some error rates.

Face recognition algorithms cover different ways such as recognition algorithms based on facial feature points, global fields of facial image, template match, on artificial neural networks, illumination estimation model theories, optimized deformation statistical correction theory, strengthened iteration theory, original real-time feature recognition theory, etc. Among those algorithms or their comparisons, the present research results report that the K-Nearest-Neighbor (KNN) classifier is a more stable classify function and has higher precision recognition in the most classfication tasks. Furthermore, KNN is a simplest classifier based on solid theoretical foundation, andthesimilarity of sample pairs is measured by distance (in this paper we adopts Euclidian distance metric). As a non-parametric supervised learning algorithm, KNN is an effective and easy-realized classifier. To KNN, which classify the undetermined samples to the class that its one or more nearest neighbours belongs to . Nowadays, KNN has been widely used in classification, regression and pattern recognition problems and so on. Therefore, in this paper, we adopts KNN to validate its performance on the given facial recognition task.

This paper researchs facial recognition problem with KNN based on international benchmark ORL face database. The detail procedures are list as follows: 1) separate the face images of each person into two disjointed subsets termed as training set and test set; 2) take each test face image from test set and calculate their Euclidean distances between the training samples; 3) classify the test image to the corresponding class according to those sorted distances and then record recognition results. The experiments on ORL dataset validates the effectiveness of KNN.
Keywords: k-nearest-neighbor, classification, face recognition

目 录

第一章 绪 论 1

1.1研究背景 1

1.2研究的目的及意义 1

1.3论文的组织形式 2

第二章 人脸识别 4

2.1人脸识别介绍 4

2.1.1人脸识别定义 4

2.1.2人脸识别发展历史 4

2.2常用的方法 5

2.3部分常用数据库介绍 6

第三章 Matlab功能简介 9

3.1Matlab的特点及运行环境 9

3.2常用函数介绍 10

3.3矩阵运算知识介绍 11

第四章 k近邻分类器 13

4.1分类器的概念 13

4.2k近邻思想 13

4.3k近邻分类器 14

第五章 本文方法 15

5.1算法思想的建立 15

5.2实现中遇到的困难 16

5.3实现过程 17

第六章 实验结果及分析 19

6.1实验结果截图及分析 19

6.1.1人数确定,k不定情况 19

6.1.2 k确定,人数不定情况 20

6.2不足和改进 21

致 谢 22

参考文献 23

第一章 绪 论

1.1研究背景

社会在发展,时代在进步,全球已经逐步实现信息化,各种用品也正在实现或逐步实现自动化化、智能化。在中国目前的智能化设备已经越来越普遍,智能家电等也慢慢走进千家万户。人脸识别其实是人工智能化研究的一个分支,也是目前是炙手可热的一个话题。因为人脸识别在目前社会上有很多的应用,而且人脸识别系统等也正在日趋成熟,也在往商品化发展。

对于人类本身来说,靠人工的方式来识别人脸是一件比较简单的事情,因为我们具有自我分析能力。但是对于机器来说,这是很有难度的的。因为机器是死的,是依靠人预先设置的程序来进行识别的,首先机器要对人脸进行采集(通过摄像头等图像采集设备),接着还具有判断图像中是否存在人脸等问题(属人脸检测范畴),同时对图像还要进行一系列处理(数据预处理),使之变换为标准人脸图像,最后再进行人脸识别。由此看出人脸识别系统其实是很大的一个课题,覆盖范围很广,其中的难点也很多,其研究涉及到多方面的知识和技术。该学科是一个交叉学科,研究内容涉及计算机视觉,图像处理、模式识别、心理学、表情学等相关领域,目前还在不断发展的阶段。

您需要先支付 80元 才能查看全部内容!立即支付

课题毕业论文、开题报告、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找,优先添加企业微信。