聊天工具仿真表情插件的设计与实现
原站著录信息
摘要
硕士学位论文 论文题目: 聊天工具仿真表情插件的设计与实现 The Design and Implementation of the Chat plug-in simulation 目 录 摘要 I ABSTRACT II 第1章 绪论 1 1.1 课题的研究背景 1 1.2 国内外研究现状 2 1.3 本文所作的主要工作 3 1.4 本文的创新点 4 第2章 表情识别的开发技术概述 5 2.1 引言 5 2.2 表情图像的预处理与特征区域分割依据 5 2.2.1彩色图像转化成灰度图像 5 2.2.2图像的旋转调整…
硕士学位论文
论文题目:
聊天工具仿真表情插件的设计与实现
The Design and Implementation of the Chat plug-in simulation
目 录
摘要 I
ABSTRACT II
第1章 绪论 1
1.1 课题的研究背景 1
1.2 国内外研究现状 2
1.3 本文所作的主要工作 3
1.4 本文的创新点 4
第2章 表情识别的开发技术概述 5
2.1 引言 5
2.2 表情图像的预处理与特征区域分割依据 5
2.2.1彩色图像转化成灰度图像 5
2.2.2图像的旋转调整和尺度归一化 6
2.2.3平均脸模板构造与匹配 6
2.2.4 表情图像的灰度均衡预处理 8
2.2.5特征区域分割的图像工程依据 9
2.3表情图像的特征提取 9
2.3.1 灰度共生矩阵概述 9
2.3.2灰度共生矩阵用于表情识别的可行性分析 10
2.3.3 灰度归一化 11
2.3.4灰度共生矩阵的特征提取 11
第3章 人脸表情识别系统的开发与设计 13
3.1 人脸表情识别的系统流程图 13
3.2 人脸表情识别实验系统框架和算法描述 14
3.3 表情融合识别流程 15
3.4 表情识别系统的核心代码 16
3.4.1 人脸定位核心代码(部分有代表性) 17
3.4.2 表情判断核心代码(部分有代表性) 19
第4章 表情识别系统的实现及测试 21
4.1表情识别系统的实现 21
4.1.1人脸矩形块抓取模块的实现 21
4.1.2 嘴部状态分析模块的实现 22
4.1.3 眼区状态分析模块的实现 23
4.1.4 算法修正 23
4.2 表情识别系统的测试及结果分析 24
第5章 测试过程 26
5.1 检验标准及测试目的 26
5.2 背景测试 26
5.3 位置测试 28
5.4 角度测试 29
5.5 面部影响测试 30
5.6 测试总结 32
5.7 应用效果 33
5.8 反馈评价 33
5.9 测试结果 33
第6章 结论 53
参考文献 54
致 谢 56
CONTENTS
Chinese abstract I
English abstract Ⅱ
Chapter1 introduction 1
1.1 Topic research background 1
1.2 Domestic and foreign research present situation 2
1.3 This article does prime task 3
1.4 This article innovation spot 4
Chapter2 Expression recognition development technology outline 5
2.1 Introduction 5
2.2 Expression image pretreatment and characteristic region splitting basis 5
2.2.1 The color image transforms the gradation image 5
2.2.2 Image revolving adjustment and criterion normalization 6
2.2.3 Average face template structure and match 6
2.2.4 Expression image gradation balanced pretreatment 8
2.2.5 Characteristic region splitting image project basis 9
2.3 Expression feature extraction 9
2.3.1 Gradation paragenesis matrix outline 9
2.3.2 The gradation paragenesis matrix uses in the expression recognition the feasibility analysis 10
2.3.3 Gradation normalization 11
2.3.4 Gradation paragenesis matrix feature extraction 11
chapter 3person face expression recognition system's development and design 13
3.1 Person face expression recognition system flow chart 13
3.2 Person face expression recognition experiment system frame andalgorithmdescription 14
3.3 Expression fusion recognition flow 15
3.4 Expression recognition system's core code 16
3.4.1 Person face localization core code 17
3.4.2 Expression judgment core code 19
Chapter4 Expression recognition system's realization and tests 21
4.1 Expression recognition system's realization 21
4.1.1 Person face rectangle block capture module realization 21
4.1.2 Mouth department state analysis module realization 22
4.1.3 Eye area state analysis module realization 23
4.1.4 Algorithm revision 23
4.2 Expression recognition system's test and result analysis 23
Chapter5 Test procedure 26
5.1 Inspection standards and Testing purposes 26
5.2 Background test 26
5.3 Position test 28
5.4 Angle test 29
5.5 Face influence test 30
5.6 Test summary 32
5.7 Application effect 33
5.8 Feedback appraisal 33
5.9 Test result 33
Chapter6 Conclusion 53
References 54
Thanks 56
摘 要
当前社会已经进入到信息化时代,随着技术进步和硬件设施的改善,传统的语言交流已经不能满足人们的需要,更多时候我们需要面对面的可视化的交流。但是一方面视频聊天提供的是真实图像,暴露了人们的隐私,使得视频聊天存在着巨大的安全隐患。另一方面,表情识别一直是人工智能和计算机视觉领域中的重要研究方向,通过表情识别技术,可以实现自然和谐的人机交互,使计算机能够有效地理解人的情感和意图。综上所述,表情识别是情感理解的基础,是计算机理解人们情感的前提和有效途径,也是人们进行人与人之间、人与计算机之间交流的必要辅助手段。
人脸视频图像编码是近年来图像编码领域里的一个研究热点问题,它在通信、互联网等方面有着广泛的应用前景。人脸图像编码的研究包含很多子问题,主要的三个方面为:精确的人脸目标定位算法,实时的人脸目标跟踪算法和高效的人脸图像编码方法。
本文实现了针对聊天工具进行表情仿真插件(即表情识别系统)开发的过程,通过对该系统的功能需求分析,确定了该系统应用范围和设计目的,重点阐述了它实现的原理和算法,并且根据算法给出了核心部分的代码。
本文的一个主要创新点在于:传统的基于肤色的脸部分割方法在很大程度上依赖统计得到的肤色分量的分布中心。我们提出一种改进算法.采用两次分割.利用第一次分割的结果.调整肤色分量的分布中心,使得分布中心能够更加接近当前图像的肤色颜色的真实情况。而且,为了加快计算速度,本文采用像素颜色特征向量和分布中心的欧氏距离来评价像素是否属于皮肤,避免了求相似度而进行的复杂运算。
本文实现了用动画形式实时展示聊天者的表情的功能,达到了良好的人机交互,保护了用户的隐私,并且因其只需传递特征数组,降低了网络流量,节省了网络资源,从创新性和实用性方面都有可取之处。
关键词:聊天工具;仿真;隐私;表情识别
ABSTRACT
We live in a information era. the traditional oral communication can’t satisfy us because the advance of the technology and the better hardware. We need communicate face to face. but there certainly are a lot of unsafe aspects during we talk to each other by this way. Still the facial expression recognition is always an important research field in computer vision and artificial intelligence for a long time. The computer can harmonious and naturally communicate with human that make the computer understanding human better. So the facial expression recognition is important way for human to understand each other and for human communicate with computer.
The compression and coding off acial image and video are one of the most important topics in the field of digital image processing techniques. It is widely used in digital communications and web services. The problem is subdivided into three parts: accurate face detection algorithm. real-time face tracking algorithm and eficient face coding algorithm.
The paper is mainly about the process of how to develop the chat plug-in facial simulation (facial expression recognition system). We assure the extent of the System application and the purpose of design by need analyzing. The paper makes emphasis on the theory and algorithm of how to realize the System. And it gives out the core code of the System
One of highlight innovation of the paper is: The traditional way of cut face by the skin color is depending on the center of statistics of skin color distribution. In this paper we give an innovation algorithm by cut twice. We adjust the center of skin color distribution so that can assure the center of distribution like current graphic’s reality skin color better. Also in this paper in order to accelerate the compute speed the pixel color character vector and the Euclid distance on distribute center is adopted so that the complex calculation about simulate is avoided.
The research has realized the functions of how to show the e
