CN104143090B - A kind of automobile door opening method based on recognition of face - Google Patents
A kind of automobile door opening method based on recognition of face Download PDFInfo
- Publication number
- CN104143090B CN104143090B CN201410370100.3A CN201410370100A CN104143090B CN 104143090 B CN104143090 B CN 104143090B CN 201410370100 A CN201410370100 A CN 201410370100A CN 104143090 B CN104143090 B CN 104143090B
- Authority
- CN
- China
- Prior art keywords
- mrow
- msubsup
- sparse
- face
- class
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000012545 processing Methods 0.000 claims abstract description 6
- SAZUGELZHZOXHB-UHFFFAOYSA-N acecarbromal Chemical compound CCC(Br)(CC)C(=O)NC(=O)NC(C)=O SAZUGELZHZOXHB-UHFFFAOYSA-N 0.000 claims abstract description 4
- 238000012360 testing method Methods 0.000 claims description 18
- 239000013598 vector Substances 0.000 claims description 15
- 238000012549 training Methods 0.000 claims description 5
- 230000001174 ascending effect Effects 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000012417 linear regression Methods 0.000 description 5
- 206010019233 Headaches Diseases 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 231100000869 headache Toxicity 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Landscapes
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
本发明涉及汽车领域,尤其涉及一种基于人脸识别的汽车开门方法。本发明提供一种基于人脸识别的汽车开门方法,包括以下步骤:1、使用手机摄像头采集含有人脸的图像或视频流,然后把人脸信息传递给人脸处理和识别器,人脸处理和识别器对人脸进行预处理;2、使用稀疏的特征球心分类器对人脸进行分类;3、根据分类结果对人脸图像进行匹配和识别。本发明的有益效果是使用了稀疏的特征球心分类器对人脸信息进行判别认证,车主只需要把脸靠近手机摄像头并且通过认证就可以实现汽车开门,而其他的人不能开门汽车。
The invention relates to the field of automobiles, in particular to a method for opening doors of automobiles based on face recognition. The present invention provides a method for opening the door of a car based on face recognition, comprising the following steps: 1. Using a mobile phone camera to collect images or video streams containing faces, and then passing the face information to a face processing and recognizer, the face processing 2. Use the sparse feature spherical center classifier to classify the face; 3. Match and recognize the face image according to the classification result. The beneficial effect of the present invention is that a sparse feature center classifier is used to discriminate and authenticate face information, and the car owner only needs to put his face close to the mobile phone camera and pass the authentication to open the door of the car, while other people cannot open the door of the car.
Description
技术领域technical field
本发明涉及汽车领域,尤其涉及一种基于人脸识别的汽车开门方法。The invention relates to the field of automobiles, in particular to a method for opening doors of automobiles based on face recognition.
背景技术Background technique
汽车开门系统是目前车载系统当中的一个子系统,其主要作用是用于防盗及方便车主。The car door opening system is a subsystem in the current vehicle system, and its main function is to prevent theft and facilitate the owner.
目前主要的汽车开门方式主要有两种:一种是汽车钥匙,另一种是智能钥匙。此两种开门方式,常会因为忘带钥匙,或者丢了钥匙而让驾驶员非常头痛。At present, there are two main ways to open the door of a car: one is a car key, and the other is a smart key. These two ways of opening the door often cause the driver a headache because of forgetting to bring the key or losing the key.
分类器在车载系统模式识别系统中占有很重要的位置。最近邻分类器(NN)和最近中心分类器(NM)是比较著名的两个分类器。作为最近邻分类器的扩展,最近特征面分类器(NFP)被提出。因为属于一个特定的目标类的样品可以被这个类的线性子空间表示,基于上面的思想,线性回归分类器(LRC)被提出。线性回归分类器可以看作是最近中心分类器的延伸。当线性回归分类器被提出后,一些改进方法被提出,包括基于kernel-LRC,LDA-LRC,PCA-LRC等等。The classifier occupies a very important position in the pattern recognition system of the vehicle system. Nearest Neighbor Classifier (NN) and Nearest Center Classifier (NM) are two well-known classifiers. As an extension of the nearest neighbor classifier, the nearest feature plane classifier (NFP) is proposed. Because samples belonging to a specific target class can be represented by the linear subspace of this class, based on the above idea, Linear Regression Classifier (LRC) is proposed. A linear regression classifier can be seen as an extension of the nearest center classifier. When the linear regression classifier was proposed, some improved methods were proposed, including based on kernel-LRC, LDA-LRC, PCA-LRC and so on.
不同于线性回归分类器,基于稀疏表示的分类器(SRC)采用了所有类的模型对测试样本进行分类。在SRC分类器提出后,一些其他的改进方法被提出,如两阶段测试样品稀疏表示(TPTSSR),基于协作表示的分类器(CRC),正规化鲁棒编码分类器(RRC)和放松协作表示分类器(RCR)。Unlike linear regression classifiers, sparse representation-based classifiers (SRC) use models of all classes to classify test samples. After the SRC classifier was proposed, some other improved methods were proposed, such as Two-Stage Test Sample Sparse Representation (TPTSSR), Collaborative Representation Based Classifier (CRC), Regularized Robust Coding Classifier (RRC) and Relaxed Collaborative Representation Classifier (RCR).
事实上,线性回归分类器可以被视为在类空间上的L2系数表示。系数表示分类器是通过对所有类的模型进行解L1-norm最小化问题,然后根据测试样本和每个类子空间的预测向量之间的距离来对测试样本进行分类。但是测试样本和预测向量之间的距离可能不是一个很好的衡量的方法。所以基于系数表示分类器和最近特征面分类器,我们提出稀疏的特征球心分类器(SFSC)分类器。In fact, a linear regression classifier can be viewed as an L2 coefficient representation on the class space. The coefficient indicates that the classifier solves the L1-norm minimization problem for the model of all classes, and then classifies the test samples according to the distance between the test samples and the prediction vectors of each class subspace. But the distance between the test sample and the predicted vector may not be a good measure. So based on the coefficient representation classifier and the nearest eigensurface classifier, we propose the Sparse Feature Spherical Center Classifier (SFSC) classifier.
发明内容Contents of the invention
针对现有技术中存在的缺陷或不足,本发明所要解决的技术问题是:提供一种基于人脸识别的汽车开门方法,这个方法可以在不带钥匙的情况(或者其他的认证物品)实现汽车的开门,使驾驶员彻底摆脱要随身带很多物品的烦恼,也改善最近特征线的扩展不精确和计算复杂度问题。Aiming at the defects or deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a method for opening the door of a car based on face recognition, which can realize the car door unlocking without a key (or other authentication items). The opening of the door makes the driver completely free from the trouble of carrying a lot of items, and also improves the problem of inaccurate expansion of the nearest characteristic line and computational complexity.
本发明采取的技术方案为提供一种基于人脸识别的汽车开门方法,包括以下步骤The technical solution adopted by the present invention is to provide a method for opening the door of a car based on face recognition, comprising the following steps
步骤1:使用手机摄像头采集含有人脸的图像或视频流,然后把人脸信息传递给人脸处理和识别器,人脸处理和识别器对人脸进行预处理;Step 1: Use the mobile phone camera to collect images or video streams containing faces, and then pass the face information to the face processing and recognition device, which preprocesses the faces;
步骤2:使用稀疏的特征球心分类器对人脸进行分类;Step 2: Classify faces using a sparse feature sphere center classifier;
步骤21;假设每个类至少有三个样本,提出一个新的距离度量,叫特征球心度量,特征球心度量是指测试样本和特征球心之间的欧几里得距离,它可以被计算为Step 21: Assuming that each class has at least three samples, a new distance measure is proposed, called the feature center measure, the feature center measure refers to the test sample and the feature center The Euclidean distance between , which can be calculated as
式中是四面体的内切球的球心,特征球心可以被计算为In the formula is a tetrahedron The center of the inscribed ball of , the characteristic center can be calculated as
式中和分别指三角形和的面积;In the formula with Respectively refer to the triangle with area;
步骤22:计算每个类的系数权值,系数表示分类器构造所有类的模型X为堆积所有类的q-维向量,它可以表示为Step 22: Calculate the coefficient weight of each class. The coefficient indicates that the classifier constructs a model of all classes. X is a q-dimensional vector that accumulates all classes, which can be expressed as
然后我们把所有类的模型X进行标准化,从而产生一个单位向量;假设测试向量是x,我们可以解决L1-norm最小化问题为:Then we normalize the model X of all classes to generate a unit vector; assuming the test vector is x, we can solve the L1-norm minimization problem as:
g=argming||g||1 subject to Xg=x (4)g=argmin g ||g|| 1 subject to Xg=x (4)
当我们使用公式(3)和(4)把稀疏的系数向量获得后,我们将计算每个类的稀疏系数和Sc为After we obtain the sparse coefficient vector using formulas ( 3 ) and (4), we will calculate the sparse coefficient sum Sc for each class as
因为Sc是小于1的,并且它可能会是负数,所以我们把Sc换为正数,从而作为第c类的稀疏权值,它可以被计算为Because S c is less than 1, and it may be negative, we change S c to a positive number, so that as the sparse weight of the c-th class, it can be calculated as
wc=1-sc (6)w c =1-s c (6)
使用每个类的稀疏权值,稀疏特征球心分类器将计算测试样本x到三个训练样本和的稀疏加权的特征球心度量,它可以被计算为Using the sparse weights for each class, the sparse feature sphere classifier will compute the test sample x to three training samples with The sparsely weighted feature centroid metric of , which can be computed as
当我们获得所有的稀疏加权的特征球心度量后,我们把这些距离进行升序进行排序,并且每个距离对应有一个类别标签,最后稀疏特征球心分类器将把测试样本分到拥有最小距离的类中,它可以被表示为When we get all the sparse weighted feature centroid measures, we sort these distances in ascending order, and each distance corresponds to a class label, and finally the sparse feature centroid classifier will classify the test samples into the one with the smallest distance class, it can be expressed as
步骤3:根据分类结果对人脸图像进行匹配和识别。Step 3: Match and recognize face images according to classification results.
本发明的有益效果是:使用车主随身携带的手机,就能够开门,使驾驶员彻底摆脱要随身带很多物品的烦恼节,因为每个人的人脸信息是不一样的,所以车主只需要把脸靠近手机摄像头并且通过认证就可以实现汽车开门,而其他的人不能开门汽车,增加了汽车的安全性。The beneficial effect of the present invention is that the door can be opened by using the mobile phone carried by the car owner, so that the driver can completely get rid of the annoyance of carrying many items with him, because the face information of each person is different, so the car owner only needs to put the face Close to the mobile phone camera and pass the authentication to open the door of the car, while other people cannot open the door of the car, which increases the safety of the car.
附图说明Description of drawings
图1是本发明基于人脸识别的汽车开门方法特征球心度量示意图。Fig. 1 is a schematic diagram of the characteristic sphere center measurement of the method of opening the car door based on face recognition in the present invention.
具体实施方式Detailed ways
下面结合附图说明及具体实施方式对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
本发明基于人脸识别的汽车开门系统是通过车主的手机摄像头,对人脸图像或视频进行采集。当采集完人脸图像或视频信息后,这个新的汽车开门系统会使用提出的稀疏的特征球心分类器进行对人脸信息认证,以判断是否是车主在开门汽车。The face recognition-based car door opening system of the present invention collects face images or videos through the camera of the mobile phone of the car owner. After the face image or video information is collected, the new car door opening system will use the proposed sparse feature center classifier to authenticate the face information to determine whether the owner is opening the door.
驾驶员使用一个手机摄像头对人脸图像或视频进行采集,然后把采集好的人脸图像或视频传递给人脸处理与识别器。当人脸处理与识别器收到采集器片传来的人脸图像或视频后,它会对人脸图像或视频信号进行一些预处理,然后是用我们提出的稀疏的特征球心分类器对其进行分类认证,当车内的系统通过认证后,就会打开车门。The driver uses a mobile phone camera to collect face images or videos, and then transmits the collected face images or videos to the face processing and recognition device. When the face processing and recognition device receives the face image or video from the collector chip, it will perform some preprocessing on the face image or video signal, and then use the sparse feature center classifier we proposed to classify the face image or video signal. It performs classification certification, and when the system in the car is certified, the door will be opened.
如图1所示,本发明提出一种基于人脸识别的汽车开门方法,包含两个步骤:在第一步,稀疏的特征球心分类器假设每个类至少有3个样本,这个跟最近特征面类似。稀疏的特征球心分类器代替使用特征面度量,提出一个新的距离度量,叫特征球心度量。特征球心度量是指测试样本和特征球心之间的欧几里得距离,它可以被计算为As shown in Figure 1, the present invention proposes a face recognition-based car door opening method, which includes two steps: in the first step, the sparse feature center classifier assumes that each class has at least 3 samples, which is the closest The eigenfaces are similar. Sparse feature centroid classifier Instead of using feature face metric, a new distance metric is proposed, called feature centroid metric. The characteristic centroid measure refers to the test sample and the characteristic centroid The Euclidean distance between , which can be calculated as
其中是四面体的内切球的球心.特征球心可以被计算为in is a tetrahedron The center of the inscribed ball. The center of the characteristic ball can be calculated as
其中和分别指三角形和的面积;in with Respectively refer to the triangle with area;
在第一步结束后,我们开始第二步来计算每个类的系数权值。系数表示分类器构造所有类的模型X为堆积所有类的q-维向量,它可以表示为After the first step, we start the second step to calculate the coefficient weights of each class. The coefficient indicates that the classifier constructs a model X of all classes as a q-dimensional vector that accumulates all classes, which can be expressed as
然后我们把所有类的模型X进行标准化,从而产生一个单位向量。假设测试向量是x,我们可以解决L1-norm最小化问题为:We then normalize the model X across all classes, resulting in a unit vector. Assuming the test vector is x, we can solve the L1-norm minimization problem as:
g=argming||g||1 subject to Xg=x (4)g=argmin g ||g|| 1 subject to Xg=x (4)
为公式(4),我们知道稀疏表示分类器的目的是产生一个理想的参数向量所以拥有最大系数和的类代表了最相似的类。基于以上的情况,我们将使用稀疏系数来给特征球心度量进行加权值。当我们使用公式(3)和(4)把稀疏的系数向量获得后,我们将计算每个类的稀疏系数和sc为For Equation (4), we know that the purpose of a sparse representation classifier is to produce an ideal parameter vector So the class with the largest coefficient sum represents the most similar class. Based on the above situation, we will use the sparse coefficient to weight the feature centroid measure. After we obtain the sparse coefficient vectors using formulas ( 3 ) and (4), we will calculate the sparse coefficients and sc for each class as
因为Sc是小于1的,并且它可能会是负数,所以我们把Sc换为正数,从而作为第c类的稀疏权值,它可以被计算为Because S c is less than 1, and it may be negative, we change S c to a positive number, so that as the sparse weight of the c-th class, it can be calculated as
wc=1-sc (6)w c =1-s c (6)
使用每个类的稀疏权值,稀疏特征球心分类器将计算测试样本x到三个训练样本和的稀疏加权的特征球心度量,它可以被计算为Using the sparse weights for each class, the sparse feature sphere classifier will compute the test sample x to three training samples with The sparsely weighted feature centroid metric of , which can be computed as
当我们获得所有的稀疏加权的特征球心度量后,我们把这些距离进行升序进行排序,并且每个距离对应有一个类别标签,最后稀疏特征球心分类器将把测试样本分到拥有最小距离的类中,它可以被表示为When we get all the sparse weighted feature centroid measures, we sort these distances in ascending order, and each distance corresponds to a class label, and finally the sparse feature centroid classifier will classify the test samples into the one with the smallest distance class, it can be expressed as
第三步,根据分类结果对人脸图像进行匹配和识别。The third step is to match and recognize the face images according to the classification results.
以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410370100.3A CN104143090B (en) | 2014-07-30 | 2014-07-30 | A kind of automobile door opening method based on recognition of face |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410370100.3A CN104143090B (en) | 2014-07-30 | 2014-07-30 | A kind of automobile door opening method based on recognition of face |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104143090A CN104143090A (en) | 2014-11-12 |
CN104143090B true CN104143090B (en) | 2018-02-02 |
Family
ID=51852260
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410370100.3A Active CN104143090B (en) | 2014-07-30 | 2014-07-30 | A kind of automobile door opening method based on recognition of face |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104143090B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10915769B2 (en) | 2018-06-04 | 2021-02-09 | Shanghai Sensetime Intelligent Technology Co., Ltd | Driving management methods and systems, vehicle-mounted intelligent systems, electronic devices, and medium |
CN108819900A (en) * | 2018-06-04 | 2018-11-16 | 上海商汤智能科技有限公司 | Control method for vehicle and system, vehicle intelligent system, electronic equipment, medium |
US10970571B2 (en) | 2018-06-04 | 2021-04-06 | Shanghai Sensetime Intelligent Technology Co., Ltd. | Vehicle control method and system, vehicle-mounted intelligent system, electronic device, and medium |
CN115273837B (en) * | 2022-03-25 | 2024-11-22 | 长城汽车股份有限公司 | Vehicle human-computer interaction method, device, electronic equipment and vehicle |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7426292B2 (en) * | 2003-08-07 | 2008-09-16 | Mitsubishi Electric Research Laboratories, Inc. | Method for determining optimal viewpoints for 3D face modeling and face recognition |
CN101564328A (en) * | 2009-05-07 | 2009-10-28 | 杭州电子科技大学 | Laptop artificial limb multi-movement-mode identifying method based on support vector data description |
CN101833654A (en) * | 2010-04-02 | 2010-09-15 | 清华大学 | Sparse Representation Face Recognition Method Based on Constrained Sampling |
-
2014
- 2014-07-30 CN CN201410370100.3A patent/CN104143090B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7426292B2 (en) * | 2003-08-07 | 2008-09-16 | Mitsubishi Electric Research Laboratories, Inc. | Method for determining optimal viewpoints for 3D face modeling and face recognition |
CN101564328A (en) * | 2009-05-07 | 2009-10-28 | 杭州电子科技大学 | Laptop artificial limb multi-movement-mode identifying method based on support vector data description |
CN101833654A (en) * | 2010-04-02 | 2010-09-15 | 清华大学 | Sparse Representation Face Recognition Method Based on Constrained Sampling |
Non-Patent Citations (5)
Title |
---|
基于人脸识别的门禁系统设计;高双喜等;《河北省科学院学报》;20120331;第29卷(第1期);第28-30页 * |
基于稀疏表达的人脸识别算法研究;王静;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120715(第07期);I138-2431 * |
基于超球球心间距多类支持向量机的滚动轴承故障分类;康守强等;《中国电机工程学报》;20140515;第34卷(第14期);第2319-2325页 * |
复杂目标稳定稀疏表达在人脸识别中的应用;赵程程;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140715(第07期);第1.3-1.5节,第4.2.5-4.5节 * |
最近特征分类器的研究与改进;冯庆祥;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140415(第04期);第3.8节,第4.1-4.3节 * |
Also Published As
Publication number | Publication date |
---|---|
CN104143090A (en) | 2014-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111783576B (en) | Pedestrian re-identification method based on improved YOLOv3 network and feature fusion | |
CN107886064B (en) | A method for scene adaptation of face recognition based on convolutional neural network | |
CN103336945B (en) | Merge the finger vein identification method of local feature and global characteristics | |
CN103279768B (en) | A kind of video face identification method based on incremental learning face piecemeal visual characteristic | |
CN105354988B (en) | A kind of driver tired driving detecting system and detection method based on machine vision | |
CN105488456B (en) | Face Detection Method Based on Adaptive Threshold Adjustment Rejection Subspace Learning | |
CN104143090B (en) | A kind of automobile door opening method based on recognition of face | |
CN109635643B (en) | A fast face recognition method based on deep learning | |
CN106778796A (en) | Human motion recognition method and system based on hybrid cooperative model training | |
CN103871077B (en) | A kind of extraction method of key frame in road vehicles monitoring video | |
CN108664931A (en) | A kind of multistage video actions detection method | |
CN109376608A (en) | A face detection method | |
CN109190475B (en) | Face recognition network and pedestrian re-recognition network collaborative training method | |
CN106355138A (en) | Face recognition method based on deep learning and key features extraction | |
CN109800643A (en) | A kind of personal identification method of living body faces multi-angle | |
Xie et al. | Driver fatigue detection based on head gesture and PERCLOS | |
CN104036284A (en) | Adaboost algorithm based multi-scale pedestrian detection method | |
CN101470897A (en) | Sensitive film detection method based on audio/video amalgamation policy | |
Yeung et al. | Improved performance of face recognition using CNN with constrained triplet loss layer | |
CN105334504A (en) | Radar target identification method based on large-boundary nonlinear discrimination projection model | |
CN102163281A (en) | Real-time human body detection method based on AdaBoost frame and colour of head | |
CN103500345A (en) | Method for learning person re-identification based on distance measure | |
CN110796109A (en) | Driver distraction behavior identification method based on model fusion | |
WO2015165227A1 (en) | Human face recognition method | |
CN105809713A (en) | Object tracing method based on online Fisher discrimination mechanism to enhance characteristic selection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |