CN114495204A - A dual-terminal passenger authentication method for autonomous vehicles - Google Patents
A dual-terminal passenger authentication method for autonomous vehicles Download PDFInfo
- Publication number
- CN114495204A CN114495204A CN202111650573.5A CN202111650573A CN114495204A CN 114495204 A CN114495204 A CN 114495204A CN 202111650573 A CN202111650573 A CN 202111650573A CN 114495204 A CN114495204 A CN 114495204A
- Authority
- CN
- China
- Prior art keywords
- passenger
- face
- identity verification
- server
- algorithm
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Library & Information Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Economics (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Databases & Information Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Collating Specific Patterns (AREA)
Abstract
本发明属于自动驾驶身份认证领域,具体公开了一种自动驾驶车辆双端乘客身份验证方法,包括步骤:对乘客人脸信息进行验证预处理,预处理过程包括人脸信息采集、探测与检验;将乘客人脸原图保存至服务器;人脸推理框架服务,将实时将新上传的乘客人脸照片,转换成人脸向量数据返回并保存至数据库;乘客下单成功后,服务端将订单和乘客的人脸向量数据推送到对应接单车辆的车机系统;乘客上车后对乘客进行身份识别验证。本发明通过人脸识别能准确识别乘客的真实身份,防止打车人和乘车人不一致,人脸识别速度快,提升了用户操作的便捷性、用户体验。
The invention belongs to the field of automatic driving identity authentication, and specifically discloses a double-end passenger identity verification method for an automatic driving vehicle, comprising the steps of: verifying and preprocessing passenger face information, and the preprocessing process includes face information collection, detection and inspection; Save the original image of the passenger's face to the server; the face inference framework service will convert the newly uploaded passenger's face photo into face vector data in real time and return it to the database; The face vector data is pushed to the in-vehicle system of the corresponding order-taking vehicle; the identity verification of the passenger is carried out after the passenger gets on the bus. The present invention can accurately identify the real identity of the passenger through face recognition, prevent the taxi from being inconsistent with the passenger, the face recognition speed is fast, and the convenience of user operation and user experience are improved.
Description
技术领域technical field
本发明涉及自动驾驶身份认证领域,具体为一种自动驾驶车辆双端乘客身份验证方法。The invention relates to the field of automatic driving identity authentication, in particular to a double-end passenger identity verification method for an automatic driving vehicle.
背景技术Background technique
身份认证技术近些年一直在不断发展,特别是基于人类固有的生物特征来验证用户身份的技术各个领域中得到了广泛的应用。安全员加自动驾驶车辆作为网约车的新型打车模式正在实验区开展路试。对于乘客的身份识别是对于车辆安全������������的存在。Identity authentication technology has been developing continuously in recent years, especially the technology of verifying user identity based on the inherent biological characteristics of human beings has been widely used in various fields. A new ride-hailing model with safety officers and self-driving vehicles as an online car-hailing model is undergoing road tests in the experimental area. The identification of passengers is critical to vehicle safety.
目前自动驾驶网约车还处于研发探索阶段,不能确保在情况复杂的公共交通道路上快速识别用户,即不能实现便捷、安全、高效的乘客身份验证处理,因此需要一种自动驾驶车辆双端乘客身份验证方法,能精确的完成身份验证识别处理,保证高效性的同时,也保证了识别的准确性。At present, the self-driving online car-hailing is still in the research and development stage, and it cannot ensure the rapid identification of users on complex public transportation roads, that is, it cannot realize convenient, safe and efficient passenger authentication processing. The identity verification method can accurately complete the identity verification and identification processing, which not only ensures the efficiency, but also ensures the accuracy of the identification.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于提供一种自动驾驶车辆双端乘客身份验证方法,以解决上述背景技术中提出的问题。The purpose of the present invention is to provide a dual-terminal passenger identity verification method for an automatic driving vehicle, so as to solve the problems raised in the above-mentioned background art.
为实现上述目的,本发明提供如下技术方案:一种自动驾驶车辆双端乘客身份验证方法,包括步骤:In order to achieve the above purpose, the present invention provides the following technical solutions: a double-end passenger identity verification method for an automatic driving vehicle, comprising the steps of:
S1:对乘客人脸信息进行验证预处理,预处理过程包括人脸信息采集、探测与检验;S1: Verification and preprocessing of passenger face information, the preprocessing process includes face information collection, detection and inspection;
S2:将乘客人脸原图保存至服务器;S2: Save the original image of the passenger's face to the server;
S3:人脸推理框架服务,将实时将新上传的乘客人脸照片,转换成人脸向量数据返回并保存至数据库;S3: Face inference framework service, which will convert the newly uploaded passenger face photos into face vector data in real time and save them to the database;
S4:乘客下单成功后,服务端将订单和乘客的人脸向量数据推送到对应接单车辆的车机系统;S4: After the passenger places an order successfully, the server pushes the order and the passenger's face vector data to the vehicle-machine system corresponding to the vehicle receiving the order;
S5:乘客上车后对乘客进行身份识别验证。S5: After the passenger gets on the bus, the identity verification of the passenger is performed.
优选的,S1中具体包括:Preferably, S1 specifically includes:
S101:调用手机摄像头进行拍照,获得乘客的多张人脸照片;S101: Call the mobile phone camera to take a picture, and obtain multiple face photos of the passenger;
S102:获取人脸照片并使用多任务级联卷积神经网络算法进行人脸探测;S102: Obtain a face photo and use a multi-task cascaded convolutional neural network algorithm for face detection;
S103:基于MINIFASNET活体静默算法对乘客进行活体检验,以确保真人操作。S103: Based on the MINIFASNET in vivo silence algorithm, perform in vivo inspection on passengers to ensure the operation of real people.
优选的,S2中发送至服务器时,在报文中增加一个签名串sign增加安全性,签名算法采用SHA256,通过将图片转成二级制字节流的方式传输到服务器端,并保存至数据库。Preferably, when S2 is sent to the server, a signature string sign is added to the message to increase security, and the signature algorithm adopts SHA256, which is transmitted to the server by converting the picture into a secondary byte stream, and saved to the database. .
优选的,S4中数据推送采用基于SHA256的签名算法。Preferably, the data push in S4 adopts a signature algorithm based on SHA256.
优选的,S5中具体包括:Preferably, S5 specifically includes:
S501:通过车机和/或外置安装的摄像头拍照采集,获得乘客上车的人脸照片;S501: Obtaining the face photos of passengers getting on the bus by taking pictures and collecting the camera and/or externally installed cameras;
S502:使用多任务级联卷积神经网络算法进行乘客上车的人脸探测;S502: Use the multi-task cascaded convolutional neural network algorithm to detect the face of passengers getting on the bus;
S503:进行活体检测以确保真人操作;S503: Perform liveness detection to ensure human operation;
S504:基于MobileFaceNets算法进行移动端人脸特征串提取;S504: Extract the mobile face feature string based on the MobileFaceNets algorithm;
S505:采集并提取乘客当前特征向量,与移动端侧采集人脸以及服务端计算后的特征向量进行比对核实,完成乘客身份的最终核对验证。S505: Collect and extract the current feature vector of the passenger, compare and verify with the face collected by the mobile terminal and the feature vector calculated by the server, and complete the final verification and verification of the passenger's identity.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:
本发明把人脸识别引入到了自动驾驶的身份识别领域,通过人脸识别能准确识别乘客的真实身份,防止打车人和乘车人不一致,人脸识别速度快,提升了用户操作的便捷性、用户体验;而且本发明的方法逻辑是乘车人的人脸原图通过向量传输,大大增强了安全性,不易泄露用户私人信息,乘车的人脸存储到了网约出租车平台,后续可以便于监管和实名乘车。The present invention introduces face recognition into the field of identity recognition of automatic driving, and can accurately identify the real identity of passengers through face recognition, preventing inconsistency between taxis and passengers, and the speed of face recognition is fast, which improves the convenience of user operation. user experience; and the method logic of the present invention is that the original face image of the passenger is transmitted through the vector, which greatly enhances the security, and is not easy to leak the user's private information. Supervision and real-name rides.
附图说明Description of drawings
图1为本发明方法的流程逻辑框图。FIG. 1 is a flow logic block diagram of the method of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
请参阅图1,本发明提供一种技术方案:一种自动驾驶车辆双端乘客身份验证方法,包括步骤:Referring to FIG. 1, the present invention provides a technical solution: a method for dual-terminal passenger identity verification of an autonomous vehicle, comprising the steps of:
S1:对乘客人脸信息进行验证预处理,预处理过程包括人脸信息采集、探测与检验;S1: Verification and preprocessing of passenger face information, the preprocessing process includes face information collection, detection and inspection;
S2:将乘客人脸原图保存至服务器;S2: Save the original image of the passenger's face to the server;
S3:人脸推理框架服务,将实时将新上传的乘客人脸照片,转换成人脸向量数据返回并保存至数据库;S3: Face inference framework service, which will convert the newly uploaded passenger face photos into face vector data in real time and save them to the database;
S4:乘客下单成功后,服务端将订单和乘客的人脸向量数据推送到对应接单车辆的车机系统;S4: After the passenger places an order successfully, the server pushes the order and the passenger's face vector data to the vehicle-machine system corresponding to the vehicle receiving the order;
S5:乘客上车后对乘客进行身份识别验证。S5: After the passenger gets on the bus, the identity verification of the passenger is performed.
在本实施例中,S1中具体包括:In this embodiment, S1 specifically includes:
S101:调用手机摄像头进行拍照,获得乘客的多张人脸照片;S101: Call the mobile phone camera to take a picture, and obtain multiple face photos of the passenger;
S102:获取人脸照片并使用多任务级联卷积神经网络算法进行人脸探测;S102: Obtain a face photo and use a multi-task cascaded convolutional neural network algorithm for face detection;
S103:基于MINIFASNET活体静默算法对乘客进行活体检验,以确保真人操作。S103: Based on the MINIFASNET in vivo silence algorithm, perform in vivo inspection on passengers to ensure the operation of real people.
在本实施例中,S2中发送至服务器时,在报文中增加一个签名串sign增加安全性,签名算法采用SHA256,通过将图片转成二级制字节流的方式传输到服务器端,并保存至数据库。In this embodiment, when S2 is sent to the server, a signature string sign is added to the message to increase security, the signature algorithm adopts SHA256, and the image is converted into a secondary byte stream and transmitted to the server, and Save to database.
在本实施例中,S4中数据推送采用基于SHA256的签名算法。In this embodiment, the data push in S4 adopts a signature algorithm based on SHA256.
在本实施例中,S5中具体包括:In this embodiment, S5 specifically includes:
S501:通过车机和/或外置安装的摄像头拍照采集,获得乘客上车的人脸照片;S501: Obtaining the face photos of passengers getting on the bus by taking pictures and collecting the camera and/or externally installed cameras;
S502:使用多任务级联卷积神经网络算法进行乘客上车的人脸探测;S502: Use the multi-task cascaded convolutional neural network algorithm to detect the face of passengers getting on the bus;
S503:进行活体检测以确保真人操作;S503: Perform liveness detection to ensure human operation;
S504:基于MobileFaceNets算法进行移动端人脸特征串提取;S504: Extract the mobile face feature string based on the MobileFaceNets algorithm;
S505:采集并提取乘客当前特征向量,与移动端侧采集人脸以及服务端计算后的特征向量进行比对核实,完成乘客身份的最终核对验证。S505: Collect and extract the current feature vector of the passenger, compare and verify with the face collected by the mobile terminal and the feature vector calculated by the server, and complete the final verification and verification of the passenger's identity.
在本实施例中,S504中采用的MobileFaceNets与其他几个效率较高的CNN架构如MobilenetV1,ShuffleNet,MobileNetV2比较后优势在于,在相同的环境下,提取效果比其他模型的提取速度快2倍多。在单个尺寸在5MB以下,在LFW和AgeDB 30上MobileFaceNets的分析准确性能做到95%以上,并且在手机端的计算时间可以到20毫秒左右,最后获得一个128项数值的人脸向量。In this embodiment, the MobileFaceNets used in S504 have the advantage of comparing with several other high-efficiency CNN architectures such as MobilenetV1, ShuffleNet, and MobileNetV2 that the extraction effect is more than 2 times faster than that of other models under the same environment. . When a single size is less than 5MB, the analysis accuracy of MobileFaceNets on LFW and AgeDB 30 is more than 95%, and the calculation time on the mobile phone can be about 20 milliseconds, and finally a face vector with 128 values is obtained.
在本实施例中,人脸特征向量相似度比对算法采用余弦相似度算法进行比对,获得对比后的得分,得分越高则表明相似度越高,可视为同一个人,并完成了身份的核实。In this embodiment, the face feature vector similarity comparison algorithm uses the cosine similarity algorithm to compare, and obtains a score after comparison. The higher the score, the higher the similarity, and it can be regarded as the same person, and the identity verification.
两个向量之间夹角β的余弦值可以表示为:The cosine of the angle β between two vectors can be expressed as:
Cosβ=a×b/|a|×|b|Cosβ=a×b/|a|×|b|
在本实施例中,假设两个向量a=[2,2,3]与b=[3,3,4],两个向量之间夹角β的余弦值相似度计算如下,将向量a、b代入公式:In this embodiment, assuming two vectors a=[2,2,3] and b=[3,3,4], the cosine similarity of the angle β between the two vectors is calculated as follows: Substitute b into the formula:
余弦相似度的数值范围也就是余弦值的范围,即[-1,1],这个值越高也就说明相似度越大。一般大于0.7即可认为是同一人。实际人脸比对的一个向量包含128项数据。The numerical range of cosine similarity is also the range of cosine values, namely [-1,1]. The higher the value, the greater the similarity. Generally greater than 0.7 can be considered to be the same person. A vector of actual face alignments contains 128 items of data.
本发明的实施例通过多任务级联卷积神经网络MTCN+活体检测MINIFASNET+特征串提取MobileFaceNets,最后使用余弦相似度算法比对,组成了本发明的人脸识别的架构体系。同时打通了从手机端采集人脸,下单,到无人车车机端识别乘客。The embodiment of the present invention extracts MobileFaceNets through multi-task cascaded convolutional neural network MTCN+living detection MINIFASNET+feature string, and finally uses cosine similarity algorithm for comparison, forming the architecture system of the present invention for face recognition. At the same time, it is possible to collect faces from the mobile phone, place orders, and identify passengers on the unmanned vehicle terminal.
尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, and substitutions can be made in these embodiments without departing from the principle and spirit of the invention and modifications, the scope of the present invention is defined by the appended claims and their equivalents.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111650573.5A CN114495204B (en) | 2021-12-30 | 2021-12-30 | A dual-end passenger identity authentication method for autonomous driving vehicles |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111650573.5A CN114495204B (en) | 2021-12-30 | 2021-12-30 | A dual-end passenger identity authentication method for autonomous driving vehicles |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114495204A true CN114495204A (en) | 2022-05-13 |
| CN114495204B CN114495204B (en) | 2025-01-24 |
Family
ID=81507881
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111650573.5A Active CN114495204B (en) | 2021-12-30 | 2021-12-30 | A dual-end passenger identity authentication method for autonomous driving vehicles |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114495204B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116343367A (en) * | 2022-12-01 | 2023-06-27 | 广州小马慧行科技有限公司 | Method and system for verifying the identity of a passenger of an autonomous vehicle |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107231346A (en) * | 2017-05-03 | 2017-10-03 | 北京海顿中科技术有限公司 | A kind of method of cloud platform identification |
| CN110390533A (en) * | 2019-06-04 | 2019-10-29 | 天津五八到家科技有限公司 | Net about vehicle driver identification identification method, device, equipment and storage medium |
| CN112101286A (en) * | 2020-09-25 | 2020-12-18 | 北京市商汤科技开发有限公司 | A method, apparatus, computer equipment and storage medium for a service request |
| CN112183449A (en) * | 2020-10-15 | 2021-01-05 | 上海汽车集团股份有限公司 | Driver identity verification method and device, electronic equipment and storage medium |
| CN113401076A (en) * | 2017-05-15 | 2021-09-17 | 成都中技智慧企业管理咨询有限公司 | System and method for testing manual driving permission of automatic driving automobile |
-
2021
- 2021-12-30 CN CN202111650573.5A patent/CN114495204B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107231346A (en) * | 2017-05-03 | 2017-10-03 | 北京海顿中科技术有限公司 | A kind of method of cloud platform identification |
| CN113401076A (en) * | 2017-05-15 | 2021-09-17 | 成都中技智慧企业管理咨询有限公司 | System and method for testing manual driving permission of automatic driving automobile |
| CN110390533A (en) * | 2019-06-04 | 2019-10-29 | 天津五八到家科技有限公司 | Net about vehicle driver identification identification method, device, equipment and storage medium |
| CN112101286A (en) * | 2020-09-25 | 2020-12-18 | 北京市商汤科技开发有限公司 | A method, apparatus, computer equipment and storage medium for a service request |
| CN112183449A (en) * | 2020-10-15 | 2021-01-05 | 上海汽车集团股份有限公司 | Driver identity verification method and device, electronic equipment and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116343367A (en) * | 2022-12-01 | 2023-06-27 | 广州小马慧行科技有限公司 | Method and system for verifying the identity of a passenger of an autonomous vehicle |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114495204B (en) | 2025-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109784186B (en) | A pedestrian re-identification method, device, electronic device, and computer-readable storage medium | |
| CN112613461B (en) | Intelligent gate communication and attendance checking method and system combining face recognition | |
| WO2020000906A1 (en) | Facial recognition identity verification method, apparatus, and electronic device | |
| WO2019200781A1 (en) | Receipt recognition method and device, and storage medium | |
| WO2020173117A1 (en) | Face recognition method, neural network training method, apparatus, and electronic device | |
| CN109145717A (en) | A kind of face identification method of on-line study | |
| CN116152870B (en) | Facial recognition methods, devices, electronic devices and computer-readable storage media | |
| WO2020258714A1 (en) | Rider re-identification method, apparatus and device | |
| CN107833328B (en) | Access control verification method and device based on face recognition and computing equipment | |
| CN112614102A (en) | Vehicle detection method, terminal and computer readable storage medium thereof | |
| CN113591603B (en) | Certificate verification method, device, electronic device and storage medium | |
| CN110291527B (en) | Information processing method, system, cloud processing device and computer program product | |
| CN113158852B (en) | Traffic gate monitoring system based on face and non-motor vehicle cooperative identification | |
| CN115205058B (en) | Vehicle accident loss evaluation method, device, computer equipment and storage medium | |
| CN116597482A (en) | Image clustering-based peer identification method, device, equipment and medium | |
| CN111310751A (en) | License plate recognition method and device, electronic equipment and storage medium | |
| CN116386099A (en) | Face multi-attribute recognition method and its model acquisition method and device | |
| CN115730097A (en) | Human face filing method, device, equipment and medium based on personnel re-identification | |
| CN115719530A (en) | Ticket checking method for gate and ticket checking gate | |
| CN103745223A (en) | Face detection method and apparatus | |
| CN115408710A (en) | Image desensitization method and related device | |
| CN206865650U (en) | A kind of electric automobile charging pile device with personnel's tracking function | |
| CN112633244A (en) | Social relationship identification method and device, electronic equipment and storage medium | |
| CN114495204A (en) | A dual-terminal passenger authentication method for autonomous vehicles | |
| CN110544333A (en) | An access control system and control method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |


