CN118155264A - Vehicle inspection method, device, terminal and storage medium - Google Patents
Vehicle inspection method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN118155264A CN118155264A CN202410356671.5A CN202410356671A CN118155264A CN 118155264 A CN118155264 A CN 118155264A CN 202410356671 A CN202410356671 A CN 202410356671A CN 118155264 A CN118155264 A CN 118155264A
- Authority
- CN
- China
- Prior art keywords
- face
- segmentation
- confidence
- face segmentation
- captured
- 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
- 238000007689 inspection Methods 0.000 title claims abstract description 58
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000001514 detection method Methods 0.000 claims abstract description 36
- 230000008569 process Effects 0.000 claims abstract description 17
- 230000011218 segmentation Effects 0.000 claims description 248
- 238000004590 computer program Methods 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 19
- 230000001815 facial effect Effects 0.000 claims description 14
- 238000012549 training Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及智能安检技术领域,尤其涉及一种车辆检查方法、装置、终端及存储介质。The present invention relates to the field of intelligent security inspection technology, and in particular to a vehicle inspection method, device, terminal and storage medium.
背景技术Background technique
进行车辆检查对维持地区稳定和社会安全具有重大意义,随着智能化设备的发展,目前通常通过多种车辆检查设备进行车辆检查。Vehicle inspection is of great significance to maintaining regional stability and social security. With the development of intelligent equipment, vehicle inspection is currently usually carried out through a variety of vehicle inspection equipment.
一般情况下,涉及车辆检查的设备包括车辆识别设备、人脸识别设备、证件识别设备等。虽然多种车辆检查设备的利用提高了车辆检查的自动化程度,但在某些场景下,某一检查设备的错判或误判,可能在一定程度上影响检查效率。例如在利用人脸识别设备对车内成员进行统计时,可能出现多记或漏记,导致车辆无法顺利通行。Generally speaking, the equipment involved in vehicle inspection includes vehicle identification equipment, face recognition equipment, document recognition equipment, etc. Although the use of multiple vehicle inspection equipment has improved the degree of automation of vehicle inspection, in some scenarios, the misjudgment or misjudgment of a certain inspection equipment may affect the inspection efficiency to a certain extent. For example, when using face recognition equipment to count the occupants in the car, there may be over-recording or omission, resulting in the vehicle being unable to pass smoothly.
发明内容Summary of the invention
本发明实施例提供了一种车辆检查方法、装置、终端及存储介质,以解决目前车辆检查过程中人脸识别设备的错判或误判可能影响检查效率的问题。Embodiments of the present invention provide a vehicle inspection method, device, terminal and storage medium to solve the problem that the wrong judgment or misjudgment of face recognition equipment during the current vehicle inspection process may affect the inspection efficiency.
第一方面,本发明实施例提供了一种车辆检查方法,包括:In a first aspect, an embodiment of the present invention provides a vehicle inspection method, comprising:
在车辆即将驶入检查区域时,获取人脸抓拍图像;When the vehicle is about to enter the inspection area, a facial capture image is obtained;
根据预设场景检测网络对所述人脸抓拍图像进行场景检测,确定所述人脸抓拍图像对应的抓拍场景;Performing scene detection on the captured face image according to a preset scene detection network to determine the captured scene corresponding to the captured face image;
根据预设人脸识别网络对所述人脸抓拍图像进行人脸识别,获得所述人脸抓拍图像对应的初始人脸识别结果;Performing face recognition on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image;
根据所述抓拍场景对所述初始人脸识别结果进行修正,获得所述人脸抓拍图像对应的目标人脸识别结果。The initial face recognition result is corrected according to the captured scene to obtain a target face recognition result corresponding to the captured face image.
在一种可能的实现方式中,所述初始人脸识别结果包括人脸分割结果和人脸分割置信度;In a possible implementation, the initial face recognition result includes a face segmentation result and a face segmentation confidence;
根据所述抓拍场景对所述初始人脸识别结果进行修正,获得所述人脸抓拍图像对应的目标人脸识别结果,包括:The initial face recognition result is corrected according to the captured scene to obtain a target face recognition result corresponding to the captured face image, including:
根据所述抓拍场景对应的标准人脸分割结果,确定所述人脸分割结果中的可疑人脸分割结果和可信人脸分割结果;Determine a suspicious face segmentation result and a credible face segmentation result in the face segmentation result according to the standard face segmentation result corresponding to the captured scene;
根据所述标准人脸分割结果对所述可疑人脸分割结果进行修正,并根据所述标准人脸分割结果对应的标准分割置信度对所述可疑人脸分割结果对应的可疑人脸分割置信度进行修正,获得修正人脸识别结果;Correcting the suspicious face segmentation result according to the standard face segmentation result, and correcting the suspicious face segmentation confidence corresponding to the suspicious face segmentation result according to the standard segmentation confidence corresponding to the standard face segmentation result, to obtain a corrected face recognition result;
根据所述可信人脸分割结果和所述可信人脸分割结果对应的可信人脸分割置信度以及所述修正人脸识别结果获得所述人脸抓拍图像对应的目标人脸识别结果。A target face recognition result corresponding to the captured face image is obtained according to the credible face segmentation result, the credible face segmentation confidence corresponding to the credible face segmentation result, and the corrected face recognition result.
在一种可能的实现方式中,根据所述抓拍场景对应的标准人脸分割结果,确定所述人脸分割结果中的可疑人脸分割结果和可信人脸分割结果,包括:In a possible implementation, determining suspicious face segmentation results and credible face segmentation results in the face segmentation results according to the standard face segmentation results corresponding to the captured scene includes:
计算所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果的余弦相似度和欧式距离,并对所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果进行卷积提取,获得所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果的局部信息相似度;Calculating the cosine similarity and Euclidean distance between the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results, and performing convolution extraction on the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results to obtain the local information similarity between the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results;
对各个所述人脸分割结果对应的所述余弦相似度、所述欧式距离和所述局部信息相似度进行加权求和,获得各个所述人脸分割结果对应的相似度;Performing weighted summation on the cosine similarity, the Euclidean distance and the local information similarity corresponding to each of the face segmentation results to obtain the similarity corresponding to each of the face segmentation results;
根据各个所述人脸分割结果对应的相似度和预设相似度阈值,确定所述人脸分割结果中的可疑人脸分割结果和可信人脸分割结果。According to the similarities corresponding to the face segmentation results and a preset similarity threshold, suspicious face segmentation results and credible face segmentation results in the face segmentation results are determined.
在一种可能的实现方式中,根据所述标准人脸分割结果对应的标准分割置信度对所述可疑人脸分割结果对应的可疑人脸分割置信度进行修正,包括:In a possible implementation, the suspicious face segmentation confidence corresponding to the suspicious face segmentation result is corrected according to the standard segmentation confidence corresponding to the standard face segmentation result, including:
判断所述可疑人脸分割置信度是否大于置信度阈值;Determine whether the suspicious face segmentation confidence is greater than a confidence threshold;
若所述可疑人脸分割置信度大于所述置信度阈值,则根据所述可疑人脸分割置信度对应的目标调控系数对所述标准人脸分割结果对应的标准分割置信度进行调控,并将调控后的标准分割置信度作为所述可疑人脸分割结果对应的修正人脸分割置信度。If the suspicious face segmentation confidence is greater than the confidence threshold, the standard segmentation confidence corresponding to the standard face segmentation result is adjusted according to the target adjustment coefficient corresponding to the suspicious face segmentation confidence, and the adjusted standard segmentation confidence is used as the corrected face segmentation confidence corresponding to the suspicious face segmentation result.
在一种可能的实现方式中,在判断所述可疑人脸分割置信度是否大于置信度阈值之后,还包括:In a possible implementation, after determining whether the suspicious face segmentation confidence is greater than a confidence threshold, the method further includes:
若所述可疑人脸分割置信度小于或等于所述置信度阈值,则将所述标准人脸分割结果对应的标准分割置信度作为所述可疑人脸分割结果对应的修正人脸分割置信度。If the suspicious face segmentation confidence is less than or equal to the confidence threshold, the standard segmentation confidence corresponding to the standard face segmentation result is used as the revised face segmentation confidence corresponding to the suspicious face segmentation result.
在一种可能的实现方式中,所述目标调控系数通过在所述可疑人脸分割置信度和预设调控系数的对应关系表中查表确定。In a possible implementation, the target control coefficient is determined by looking up a table of correspondences between the suspicious face segmentation confidence and preset control coefficients.
在一种可能的实现方式中,所述预设场景检测网络的训练过程包括:In a possible implementation, the training process of the preset scene detection network includes:
获取在车辆为空载、轻载、满载、超载时对应的人脸抓拍图像构成训练集;Obtain the corresponding facial capture images when the vehicle is empty, lightly loaded, fully loaded, and overloaded to form a training set;
根据所述训练集对初始聚类网络进行训练,获得预设场景检测网络。The initial clustering network is trained according to the training set to obtain a preset scene detection network.
第二方面,本发明实施例提供了一种车辆检查装置,包括:In a second aspect, an embodiment of the present invention provides a vehicle inspection device, comprising:
获取模块,用于在车辆即将驶入检查区域时,获取人脸抓拍图像;An acquisition module is used to acquire a captured face image when a vehicle is about to enter an inspection area;
第一处理模块,用于根据预设场景检测网络对所述人脸抓拍图像进行场景检测,确定所述人脸抓拍图像对应的抓拍场景;A first processing module, configured to perform scene detection on the captured face image according to a preset scene detection network, and determine a capture scene corresponding to the captured face image;
第二处理模块,用于根据预设人脸识别网络对所述人脸抓拍图像进行人脸识别,获得所述人脸抓拍图像对应的初始人脸识别结果;A second processing module is used to perform face recognition on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image;
第三处理模块,用于根据所述抓拍场景对所述初始人脸识别结果进行修正,获得所述人脸抓拍图像对应的目标人脸识别结果。The third processing module is used to correct the initial face recognition result according to the captured scene to obtain a target face recognition result corresponding to the captured face image.
第三方面,本发明实施例提供了一种终端,包括存储器和处理器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如上第一方面或第一方面的任一种可能的实现方式所述方法的步骤。In a third aspect, an embodiment of the present invention provides a terminal, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to perform the steps of the method described in the first aspect or any possible implementation of the first aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如上第一方面或第一方面的任一种可能的实现方式所述方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation method of the first aspect are implemented.
本发明实施例提供一种车辆检查方法、装置、终端及存储介质,通过在车辆即将驶入检查区域时,获取人脸抓拍图像,然后根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景;并根据预设人脸识别网络对人脸抓拍图像进行人脸识别,获得人脸抓拍图像对应的初始人脸识别结果;进而根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的目标人脸识别结果。从而根据不同抓拍场景准确获得人脸抓拍图像对应的目标人脸识别结果,进而降低车辆检查过程中人脸识别设备的错判或误判影响检查效率的可能性。The embodiment of the present invention provides a vehicle inspection method, device, terminal and storage medium, which obtains a face capture image when the vehicle is about to enter the inspection area, and then performs scene detection on the face capture image according to a preset scene detection network to determine the capture scene corresponding to the face capture image; and performs face recognition on the face capture image according to a preset face recognition network to obtain an initial face recognition result corresponding to the face capture image; and then corrects the initial face recognition result according to the capture scene to obtain a target face recognition result corresponding to the face capture image. In this way, the target face recognition result corresponding to the face capture image is accurately obtained according to different capture scenes, thereby reducing the possibility that the face recognition device's misjudgment or misjudgment affects the inspection efficiency during the vehicle inspection process.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
图1是本发明实施例提供的车辆检查方法的实现流程图;FIG1 is a flow chart of a vehicle inspection method according to an embodiment of the present invention;
图2是本发明实施例提供的车辆检查装置的结构示意图;FIG2 is a schematic diagram of the structure of a vehicle inspection device provided by an embodiment of the present invention;
图3是本发明实施例提供的终端的示意图。FIG. 3 is a schematic diagram of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本发明实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本发明。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本发明的描述。In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图通过具体实施例来进行说明。In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
参见图1,其示出了本发明实施例提供的车辆检查方法的实现流程图,详述如下:Referring to FIG. 1 , a flow chart of the vehicle inspection method according to an embodiment of the present invention is shown, which is described in detail as follows:
在步骤101中,在车辆即将驶入检查区域时,获取人脸抓拍图像。In step 101, when a vehicle is about to enter an inspection area, a facial capture image is acquired.
其中,一般在车辆即将驶入检查区域进行检查时,可以结合车辆识别设备、人脸识别设备、证件识别设备等对车辆及车内成员进行检查。也可以直接利用人脸识别设备对车内成员进行检查,例如客车、校车、微型面包车、小型轿车等的超载检查、非法业主检查等。Among them, generally when a vehicle is about to enter the inspection area for inspection, the vehicle and the occupants can be inspected by combining vehicle identification equipment, face recognition equipment, document recognition equipment, etc. The face recognition equipment can also be used directly to inspect the occupants of the vehicle, such as overloading inspection of buses, school buses, mini vans, small cars, etc., illegal owner inspection, etc.
可选的,为了提高获取的人脸抓拍图像的适用性,在车辆即将驶入检查区域时,可以先通过车辆识别设备识别车辆类型,根据识别的车辆类型调整人脸识别设备的高度,进而基于调整高度后的人脸识别设备获取人脸抓拍图像。Optionally, in order to improve the applicability of the acquired facial capture image, when the vehicle is about to enter the inspection area, the vehicle type can be first identified by a vehicle identification device, and the height of the facial recognition device can be adjusted according to the identified vehicle type, and then the facial capture image can be acquired based on the facial recognition device with the adjusted height.
在步骤102中,根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景。In step 102, scene detection is performed on the captured face image according to a preset scene detection network to determine the captured scene corresponding to the captured face image.
本实施例中,考虑到人脸识别设备获取的人脸抓拍图像,可能存在重叠、遮挡等问题,进而导致人脸识别设备对车内成员进行统计时,可能出现多记或漏记,影响车辆检查效率。因此,事先获得预设场景检测网络,从而根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景,以便于根据人脸抓拍图像对应的抓拍场景更准确的对车内成员进行统计。In this embodiment, considering that the face capture images obtained by the face recognition device may have overlapping, occlusion and other problems, which may cause the face recognition device to record or omit the occupants in the vehicle when counting the occupants, affecting the efficiency of vehicle inspection. Therefore, a preset scene detection network is obtained in advance, and scene detection is performed on the face capture images according to the preset scene detection network to determine the capture scene corresponding to the face capture images, so as to more accurately count the occupants in the vehicle according to the capture scene corresponding to the face capture images.
可选的,预设场景检测网络的训练过程可以包括:Optionally, the training process of the preset scene detection network may include:
获取在车辆为空载、轻载、满载、超载时对应的人脸抓拍图像构成训练集,根据训练集对初始聚类网络进行训练,获得预设场景检测网络。The face capture images corresponding to when the vehicle is empty, lightly loaded, fully loaded, and overloaded are obtained to form a training set, and the initial clustering network is trained according to the training set to obtain a preset scene detection network.
本实施例中,在对人脸抓拍图像进行场景检测时,由于空载、轻载、满载、超载时对应的人脸抓拍图像具有较大区别,因此基于车辆为空载、轻载、满载、超载时对应的人脸抓拍图像训练得到预设场景检测网络,以便于根据预设场景检测网络确定当前得到的人脸抓拍图像对应的抓拍场景。In this embodiment, when performing scene detection on the facial capture image, since the facial capture images corresponding to when the vehicle is empty, lightly loaded, fully loaded, and overloaded are quite different, a preset scene detection network is trained based on the facial capture images corresponding to when the vehicle is empty, lightly loaded, fully loaded, and overloaded, so as to determine the capture scene corresponding to the currently obtained facial capture image according to the preset scene detection network.
在步骤103中,根据预设人脸识别网络对人脸抓拍图像进行人脸识别,获得人脸抓拍图像对应的初始人脸识别结果。In step 103, face recognition is performed on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image.
在步骤104中,根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的目标人脸识别结果。In step 104, the initial face recognition result is corrected according to the captured scene to obtain a target face recognition result corresponding to the captured face image.
本实施例中,除了根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景之外,还根据预设人脸识别网络对人脸抓拍图像进行人脸识别,获得人脸抓拍图像对应的初始人脸识别结果,进而可以根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的更准确的目标人脸识别结果。In this embodiment, in addition to performing scene detection on the captured face image according to the preset scene detection network to determine the capture scene corresponding to the captured face image, face recognition is also performed on the captured face image according to the preset face recognition network to obtain an initial face recognition result corresponding to the captured face image, and then the initial face recognition result can be corrected according to the capture scene to obtain a more accurate target face recognition result corresponding to the captured face image.
本发明实施例通过在车辆即将驶入检查区域时,获取人脸抓拍图像,然后根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景;并根据预设人脸识别网络对人脸抓拍图像进行人脸识别,获得人脸抓拍图像对应的初始人脸识别结果;进而根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的目标人脸识别结果。从而根据不同抓拍场景准确获得人脸抓拍图像对应的目标人脸识别结果,进而降低车辆检查过程中人脸识别设备的错判或误判影响检查效率的可能性。The embodiment of the present invention obtains a captured face image when the vehicle is about to enter the inspection area, then performs scene detection on the captured face image according to a preset scene detection network to determine the captured scene corresponding to the captured face image; performs face recognition on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image; and then corrects the initial face recognition result according to the captured scene to obtain a target face recognition result corresponding to the captured face image. In this way, the target face recognition result corresponding to the captured face image is accurately obtained according to different captured scenes, thereby reducing the possibility that the face recognition device's misjudgment or misjudgment affects the inspection efficiency during the vehicle inspection process.
可选的,初始人脸识别结果可以包括人脸分割结果和人脸分割置信度。Optionally, the initial face recognition result may include a face segmentation result and a face segmentation confidence.
根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的目标人脸识别结果,可以包括:Correcting the initial face recognition result according to the capture scene to obtain the target face recognition result corresponding to the face capture image may include:
根据抓拍场景对应的标准人脸分割结果,确定人脸分割结果中的可疑人脸分割结果和可信人脸分割结果。According to the standard face segmentation result corresponding to the captured scene, the suspicious face segmentation result and the credible face segmentation result in the face segmentation result are determined.
根据标准人脸分割结果对可疑人脸分割结果进行修正,并根据标准人脸分割结果对应的标准分割置信度对可疑人脸分割结果对应的可疑人脸分割置信度进行修正,获得修正人脸识别结果。The suspicious face segmentation result is corrected according to the standard face segmentation result, and the suspicious face segmentation confidence corresponding to the suspicious face segmentation result is corrected according to the standard segmentation confidence corresponding to the standard face segmentation result to obtain a corrected face recognition result.
根据可信人脸分割结果和可信人脸分割结果对应的可信人脸分割置信度以及修正人脸识别结果获得人脸抓拍图像对应的目标人脸识别结果。The target face recognition result corresponding to the face capture image is obtained according to the credible face segmentation result, the credible face segmentation confidence corresponding to the credible face segmentation result and the corrected face recognition result.
其中,根据预设人脸识别网络对人脸抓拍图像进行人脸识别的过程可以理解为对人脸抓拍图像进行人脸分割的过程,预设人脸识别网络对人脸抓拍图像进行人脸分割后,可以获得每个分割结果的置信度,也即人脸分割置信度。由于获取的人脸抓拍图像一般为车辆在空载、轻载、满载、超载等几种抓拍场景中的一种,因此,可以利用人脸抓拍图像对应的抓拍场景的标准人脸分割结果,识别可疑人脸分割结果和可信人脸分割结果,并利用标准人脸分割结果和标准分割置信度对可疑人脸分割结果及可疑人脸分割置信度进行修正,进而获得最终的可信度较高的目标人脸识别结果。Among them, the process of performing face recognition on the face capture image according to the preset face recognition network can be understood as the process of performing face segmentation on the face capture image. After the preset face recognition network performs face segmentation on the face capture image, the confidence of each segmentation result, that is, the face segmentation confidence, can be obtained. Since the acquired face capture image is generally one of several capture scenes of the vehicle such as no load, light load, full load, overload, etc., the standard face segmentation result of the capture scene corresponding to the face capture image can be used to identify the suspicious face segmentation result and the credible face segmentation result, and the standard face segmentation result and the standard segmentation confidence are used to correct the suspicious face segmentation result and the suspicious face segmentation confidence, so as to obtain the final target face recognition result with higher credibility.
可选的,根据抓拍场景对应的标准人脸分割结果,确定人脸分割结果中的可疑人脸分割结果和可信人脸分割结果,可以包括:Optionally, determining the suspicious face segmentation result and the credible face segmentation result in the face segmentation result according to the standard face segmentation result corresponding to the captured scene may include:
计算抓拍场景对应的标准人脸分割结果与各个人脸分割结果的余弦相似度和欧式距离,并对抓拍场景对应的标准人脸分割结果与各个人脸分割结果进行卷积提取,获得抓拍场景对应的标准人脸分割结果与各个人脸分割结果的局部信息相似度。The cosine similarity and Euclidean distance between the standard face segmentation result corresponding to the snapshot scene and each face segmentation result are calculated, and convolution extraction is performed on the standard face segmentation result corresponding to the snapshot scene and each face segmentation result to obtain the local information similarity between the standard face segmentation result corresponding to the snapshot scene and each face segmentation result.
对各个人脸分割结果对应的余弦相似度、欧式距离和局部信息相似度进行加权求和,获得各个人脸分割结果对应的相似度。The cosine similarity, Euclidean distance and local information similarity corresponding to each face segmentation result are weighted and summed to obtain the similarity corresponding to each face segmentation result.
根据各个人脸分割结果对应的相似度和预设相似度阈值,确定人脸分割结果中与标准人脸分割结果不匹配的可疑人脸分割结果和可信人脸分割结果。According to the similarities corresponding to the various face segmentation results and a preset similarity threshold, suspicious face segmentation results and credible face segmentation results that do not match the standard face segmentation results in the face segmentation results are determined.
本实施例中,为了准确的确定人脸分割结果中的可疑人脸分割结果和可信人脸分割结果,从抓拍场景对应的标准人脸分割结果与各个人脸分割结果的多个角度进行考虑,计算抓拍场景对应的标准人脸分割结果与各个人脸分割结果的余弦相似度和欧式距离,并对抓拍场景对应的标准人脸分割结果与各个人脸分割结果进行卷积提取,获得抓拍场景对应的标准人脸分割结果与各个人脸分割结果的局部信息相似度,从而根据各个人脸分割结果对应的余弦相似度、欧式距离和局部信息相似度,获得各个人脸分割结果对应的相似度,从而根据各个人脸分割结果对应的相似度和预设相似度阈值,确定人脸分割结果中的可疑人脸分割结果和可信人脸分割结果。In this embodiment, in order to accurately determine the suspicious face segmentation results and the credible face segmentation results in the face segmentation results, multiple angles of the standard face segmentation results corresponding to the snapshot scene and each face segmentation result are considered, the cosine similarity and Euclidean distance between the standard face segmentation results corresponding to the snapshot scene and each face segmentation result are calculated, and convolution extraction is performed on the standard face segmentation results corresponding to the snapshot scene and each face segmentation result to obtain the local information similarity between the standard face segmentation results corresponding to the snapshot scene and each face segmentation result, thereby obtaining the similarity corresponding to each face segmentation result based on the cosine similarity, Euclidean distance and local information similarity corresponding to each face segmentation result, thereby determining the suspicious face segmentation results and the credible face segmentation results in the face segmentation results based on the similarity corresponding to each face segmentation result and a preset similarity threshold.
示例性的,如果人脸分割结果对应的相似度大于预设相似度阈值,则可以确定人脸分割结果为可信人脸分割结果。如果人脸分割结果对应的相似度小于或等于预设相似度阈值,则可以确定人脸分割结果为可疑人脸分割结果。Exemplarily, if the similarity corresponding to the face segmentation result is greater than a preset similarity threshold, the face segmentation result can be determined to be a credible face segmentation result. If the similarity corresponding to the face segmentation result is less than or equal to the preset similarity threshold, the face segmentation result can be determined to be a suspicious face segmentation result.
可选的,根据标准人脸分割结果对应的标准分割置信度对可疑人脸分割结果对应的可疑人脸分割置信度进行修正,可以包括:Optionally, correcting the suspicious face segmentation confidence corresponding to the suspicious face segmentation result according to the standard segmentation confidence corresponding to the standard face segmentation result may include:
判断可疑人脸分割置信度是否大于置信度阈值。Determine whether the suspicious face segmentation confidence is greater than the confidence threshold.
若可疑人脸分割置信度大于置信度阈值,则根据可疑人脸分割置信度对应的目标调控系数对标准人脸分割结果对应的标准分割置信度进行调控,并将调控后的标准分割置信度作为可疑人脸分割结果对应的修正人脸分割置信度。If the suspicious face segmentation confidence is greater than the confidence threshold, the standard segmentation confidence corresponding to the standard face segmentation result is adjusted according to the target adjustment coefficient corresponding to the suspicious face segmentation confidence, and the adjusted standard segmentation confidence is used as the corrected face segmentation confidence corresponding to the suspicious face segmentation result.
本实施例中,在根据标准人脸分割结果对应的标准分割置信度对可疑人脸分割结果对应的可疑人脸分割置信度进行修正时,可以先判断可疑人脸分割置信度是否大于置信度阈值,如果可疑人脸分割置信度大于置信度阈值,则表示当前的人脸抓拍图像不是很乱,获得的人脸分割结果中的可疑人脸分割结果还具有一定可信度,因此,可以根据可疑人脸分割置信度对应的目标调控系数对标准人脸分割结果对应的标准分割置信度进行调控,并将调控后的标准分割置信度作为可疑人脸分割结果对应的修正人脸分割置信度。In this embodiment, when correcting the suspicious face segmentation confidence corresponding to the suspicious face segmentation result according to the standard segmentation confidence corresponding to the standard face segmentation result, it is possible to first determine whether the suspicious face segmentation confidence is greater than the confidence threshold. If the suspicious face segmentation confidence is greater than the confidence threshold, it means that the current face capture image is not very messy, and the suspicious face segmentation result in the obtained face segmentation result still has a certain degree of credibility. Therefore, the standard segmentation confidence corresponding to the standard face segmentation result can be adjusted according to the target control coefficient corresponding to the suspicious face segmentation confidence, and the adjusted standard segmentation confidence is used as the corrected face segmentation confidence corresponding to the suspicious face segmentation result.
可选的,目标调控系数可以通过在可疑人脸分割置信度和预设调控系数的对应关系表中查表确定。Optionally, the target control coefficient can be determined by looking up a table of correspondences between suspicious face segmentation confidence levels and preset control coefficients.
可选的,在判断可疑人脸分割置信度是否大于置信度阈值之后,还可以包括:若可疑人脸分割置信度小于或等于置信度阈值,则将标准人脸分割结果对应的标准分割置信度作为可疑人脸分割结果对应的修正人脸分割置信度。Optionally, after determining whether the suspicious face segmentation confidence is greater than the confidence threshold, it may also include: if the suspicious face segmentation confidence is less than or equal to the confidence threshold, then using the standard segmentation confidence corresponding to the standard face segmentation result as the revised face segmentation confidence corresponding to the suspicious face segmentation result.
本实施例中,在判断可疑人脸分割置信度是否大于置信度阈值后,如果可疑人脸分割置信度小于或等于置信度阈值,则表示当前的人脸抓拍图像混乱程度较大,获得的人脸分割结果中的可疑人脸分割结果的可信度较小,则可以直接将标准人脸分割结果对应的标准分割置信度作为可疑人脸分割结果对应的修正人脸分割置信度。In this embodiment, after determining whether the suspicious face segmentation confidence is greater than the confidence threshold, if the suspicious face segmentation confidence is less than or equal to the confidence threshold, it means that the current face capture image is highly chaotic, and the credibility of the suspicious face segmentation result in the obtained face segmentation result is relatively low. In this case, the standard segmentation confidence corresponding to the standard face segmentation result can be directly used as the corrected face segmentation confidence corresponding to the suspicious face segmentation result.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
以下为本发明的装置实施例,对于其中未详尽描述的细节,可以参考上述对应的方法实施例。The following is an embodiment of the device of the present invention. For details not described in detail, reference may be made to the corresponding method embodiment described above.
图2示出了本发明实施例提供的车辆检查装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分,详述如下:FIG2 shows a schematic diagram of the structure of a vehicle inspection device provided by an embodiment of the present invention. For ease of description, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:
如图2所示,车辆检查装置包括:获取模块21、第一处理模块22、第二处理模块23和第三处理模块24。As shown in FIG. 2 , the vehicle inspection device includes: an acquisition module 21 , a first processing module 22 , a second processing module 23 and a third processing module 24 .
获取模块21,用于在车辆即将驶入检查区域时,获取人脸抓拍图像;The acquisition module 21 is used to acquire a captured face image when the vehicle is about to enter the inspection area;
第一处理模块22,用于根据预设场景检测网络对所述人脸抓拍图像进行场景检测,确定所述人脸抓拍图像对应的抓拍场景;A first processing module 22, configured to perform scene detection on the captured face image according to a preset scene detection network, and determine a capture scene corresponding to the captured face image;
第二处理模块23,用于根据预设人脸识别网络对所述人脸抓拍图像进行人脸识别,获得所述人脸抓拍图像对应的初始人脸识别结果;The second processing module 23 is used to perform face recognition on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image;
第三处理模块24,用于根据所述抓拍场景对所述初始人脸识别结果进行修正,获得所述人脸抓拍图像对应的目标人脸识别结果。The third processing module 24 is used to correct the initial face recognition result according to the captured scene to obtain a target face recognition result corresponding to the captured face image.
本发明实施例通过在车辆即将驶入检查区域时,获取人脸抓拍图像,然后根据预设场景检测网络对人脸抓拍图像进行场景检测,确定人脸抓拍图像对应的抓拍场景;并根据预设人脸识别网络对人脸抓拍图像进行人脸识别,获得人脸抓拍图像对应的初始人脸识别结果;进而根据抓拍场景对初始人脸识别结果进行修正,获得人脸抓拍图像对应的目标人脸识别结果。从而根据不同抓拍场景准确获得人脸抓拍图像对应的目标人脸识别结果,进而降低车辆检查过程中人脸识别设备的错判或误判影响检查效率的可能性。The embodiment of the present invention obtains a captured face image when the vehicle is about to enter the inspection area, then performs scene detection on the captured face image according to a preset scene detection network to determine the captured scene corresponding to the captured face image; performs face recognition on the captured face image according to a preset face recognition network to obtain an initial face recognition result corresponding to the captured face image; and then corrects the initial face recognition result according to the captured scene to obtain a target face recognition result corresponding to the captured face image. In this way, the target face recognition result corresponding to the captured face image is accurately obtained according to different captured scenes, thereby reducing the possibility that the face recognition device's misjudgment or misjudgment affects the inspection efficiency during the vehicle inspection process.
在一种可能的实现方式中,所述初始人脸识别结果包括人脸分割结果和人脸分割置信度;In a possible implementation, the initial face recognition result includes a face segmentation result and a face segmentation confidence;
第三处理模块24,可以用于根据所述抓拍场景对应的标准人脸分割结果,确定所述人脸分割结果中的可疑人脸分割结果和可信人脸分割结果;The third processing module 24 may be used to determine a suspicious face segmentation result and a credible face segmentation result in the face segmentation result according to the standard face segmentation result corresponding to the captured scene;
根据所述标准人脸分割结果对所述可疑人脸分割结果进行修正,并根据所述标准人脸分割结果对应的标准分割置信度对所述可疑人脸分割结果对应的可疑人脸分割置信度进行修正,获得修正人脸识别结果;Correcting the suspicious face segmentation result according to the standard face segmentation result, and correcting the suspicious face segmentation confidence corresponding to the suspicious face segmentation result according to the standard segmentation confidence corresponding to the standard face segmentation result, to obtain a corrected face recognition result;
根据所述可信人脸分割结果和所述可信人脸分割结果对应的可信人脸分割置信度以及所述修正人脸识别结果获得所述人脸抓拍图像对应的目标人脸识别结果。A target face recognition result corresponding to the captured face image is obtained according to the credible face segmentation result, the credible face segmentation confidence corresponding to the credible face segmentation result, and the corrected face recognition result.
在一种可能的实现方式中,第三处理模块24,可以用于计算所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果的余弦相似度和欧式距离,并对所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果进行卷积提取,获得所述抓拍场景对应的标准人脸分割结果与各个所述人脸分割结果的局部信息相似度;In a possible implementation, the third processing module 24 may be used to calculate the cosine similarity and Euclidean distance between the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results, and perform convolution extraction on the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results to obtain the local information similarity between the standard face segmentation result corresponding to the snapshot scene and each of the face segmentation results;
对各个所述人脸分割结果对应的所述余弦相似度、所述欧式距离和所述局部信息相似度进行加权求和,获得各个所述人脸分割结果对应的相似度;Performing weighted summation on the cosine similarity, the Euclidean distance and the local information similarity corresponding to each of the face segmentation results to obtain the similarity corresponding to each of the face segmentation results;
根据各个所述人脸分割结果对应的相似度和预设相似度阈值,确定所述人脸分割结果中的可疑人脸分割结果和可信人脸分割结果。According to the similarities corresponding to the face segmentation results and a preset similarity threshold, suspicious face segmentation results and credible face segmentation results in the face segmentation results are determined.
在一种可能的实现方式中,第三处理模块24,可以用于判断所述可疑人脸分割置信度是否大于置信度阈值;In a possible implementation, the third processing module 24 may be used to determine whether the suspicious face segmentation confidence is greater than a confidence threshold;
若所述可疑人脸分割置信度大于所述置信度阈值,则根据所述可疑人脸分割置信度对应的目标调控系数对所述标准人脸分割结果对应的标准分割置信度进行调控,并将调控后的标准分割置信度作为所述可疑人脸分割结果对应的修正人脸分割置信度。If the suspicious face segmentation confidence is greater than the confidence threshold, the standard segmentation confidence corresponding to the standard face segmentation result is adjusted according to the target adjustment coefficient corresponding to the suspicious face segmentation confidence, and the adjusted standard segmentation confidence is used as the corrected face segmentation confidence corresponding to the suspicious face segmentation result.
在一种可能的实现方式中,第三处理模块24,还可以用于若所述可疑人脸分割置信度小于或等于所述置信度阈值,则将所述标准人脸分割结果对应的标准分割置信度作为所述可疑人脸分割结果对应的修正人脸分割置信度。In a possible implementation, the third processing module 24 may also be used to use the standard segmentation confidence corresponding to the standard face segmentation result as the revised face segmentation confidence corresponding to the suspicious face segmentation result if the suspicious face segmentation confidence is less than or equal to the confidence threshold.
在一种可能的实现方式中,所述目标调控系数通过在所述可疑人脸分割置信度和预设调控系数的对应关系表中查表确定。In a possible implementation, the target control coefficient is determined by looking up a table of correspondences between the suspicious face segmentation confidence and preset control coefficients.
在一种可能的实现方式中,所述预设场景检测网络的训练过程包括:In a possible implementation, the training process of the preset scene detection network includes:
获取在车辆为空载、轻载、满载、超载时对应的人脸抓拍图像构成训练集;Obtain the corresponding facial capture images when the vehicle is empty, lightly loaded, fully loaded, and overloaded to form a training set;
根据所述训练集对初始聚类网络进行训练,获得预设场景检测网络。The initial clustering network is trained according to the training set to obtain a preset scene detection network.
图3是本发明实施例提供的终端的示意图。如图3所示,该实施例的终端3包括:处理器30、存储器31以及存储在存储器31中并可在处理器30上运行的计算机程序32。处理器30执行计算机程序32时实现上述各个车辆检查方法实施例中的步骤,例如图1所示的步骤101至步骤104。或者,处理器30执行计算机程序32时实现上述各装置实施例中各模块/单元的功能,例如图2所示模块/单元21至24的功能。FIG3 is a schematic diagram of a terminal provided by an embodiment of the present invention. As shown in FIG3 , the terminal 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30. When the processor 30 executes the computer program 32, the steps in the above-mentioned vehicle inspection method embodiments are implemented, such as steps 101 to 104 shown in FIG1 . Alternatively, when the processor 30 executes the computer program 32, the functions of the modules/units in the above-mentioned device embodiments are implemented, such as the functions of the modules/units 21 to 24 shown in FIG2 .
示例性的,计算机程序32可以被分割成一个或多个模块/单元,一个或者多个模块/单元被存储在存储器31中,并由处理器30执行,以完成本发明。一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序32在终端3中的执行过程。例如,计算机程序32可以被分割成图2所示的模块/单元21至24。Exemplarily, the computer program 32 may be divided into one or more modules/units, one or more modules/units are stored in the memory 31, and are executed by the processor 30 to complete the present invention. One or more modules/units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program 32 in the terminal 3. For example, the computer program 32 may be divided into modules/units 21 to 24 shown in FIG. 2 .
终端3可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。终端3可包括,但不仅限于,处理器30、存储器31。本领域技术人员可以理解,图3仅仅是终端3的示例,并不构成对终端3的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如终端还可以包括输入输出设备、网络接入设备、总线等。The terminal 3 may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal 3 may include, but is not limited to, a processor 30 and a memory 31. Those skilled in the art may understand that FIG. 3 is only an example of the terminal 3 and does not constitute a limitation on the terminal 3. The terminal 3 may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
存储器31可以是终端3的内部存储单元,例如终端3的硬盘或内存。存储器31也可以是终端3的外部存储设备,例如终端3上配备的插接式硬盘,智能存储卡(Smart MediaCard,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器31还可以既包括终端3的内部存储单元也包括外部存储设备。存储器31用于存储计算机程序以及终端所需的其他程序和数据。存储器31还可以用于暂时地存储已经输出或者将要输出的数据。The memory 31 may be an internal storage unit of the terminal 3, such as a hard disk or memory of the terminal 3. The memory 31 may also be an external storage device of the terminal 3, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the terminal 3. Further, the memory 31 may also include both an internal storage unit of the terminal 3 and an external storage device. The memory 31 is used to store computer programs and other programs and data required by the terminal. The memory 31 may also be used to temporarily store data that has been output or is to be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的装置/终端和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided by the present invention, it should be understood that the disclosed devices/terminals and methods can be implemented in other ways. For example, the device/terminal embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个车辆检查方法实施例的步骤。其中,计算机程序包括计算机程序代码,计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, it can implement the steps of the above-mentioned vehicle inspection method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410356671.5A CN118155264B (en) | 2024-03-27 | 2024-03-27 | Vehicle inspection method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410356671.5A CN118155264B (en) | 2024-03-27 | 2024-03-27 | Vehicle inspection method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118155264A true CN118155264A (en) | 2024-06-07 |
CN118155264B CN118155264B (en) | 2024-11-15 |
Family
ID=91290494
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410356671.5A Active CN118155264B (en) | 2024-03-27 | 2024-03-27 | Vehicle inspection method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118155264B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020052436A1 (en) * | 2018-09-12 | 2020-03-19 | 杭州海康威视数字技术股份有限公司 | Vehicle overload alarming method and apparatus, electronic device, and storage medium |
CN111354121A (en) * | 2020-03-09 | 2020-06-30 | 中通服公众信息产业股份有限公司 | Man-car hybrid verification system and method for intelligent inspection station |
CN111950499A (en) * | 2020-08-21 | 2020-11-17 | 湖北民族大学 | A Method for Detecting Statistics Information of Vehicle Personnel |
CN112991576A (en) * | 2021-02-20 | 2021-06-18 | 安徽安凯汽车股份有限公司 | New forms of energy passenger train remote monitering system that overloads |
CN113920575A (en) * | 2021-12-15 | 2022-01-11 | 深圳佑驾创新科技有限公司 | Facial expression recognition method and device and storage medium |
CN113963407A (en) * | 2021-10-22 | 2022-01-21 | 中国银行股份有限公司 | Method and device for judging results of face recognition based on business scenarios |
CN114495209A (en) * | 2022-01-05 | 2022-05-13 | 东风柳州汽车有限公司 | Vehicle overload detection method, device, equipment and storage medium |
CN115424217A (en) * | 2022-08-31 | 2022-12-02 | 东方世纪科技股份有限公司 | AI vision-based intelligent vehicle identification method and device and electronic equipment |
CN116778418A (en) * | 2023-06-25 | 2023-09-19 | 南京师范大学 | An adaptive people counting method that takes into account surveillance observation scale and crowd density |
-
2024
- 2024-03-27 CN CN202410356671.5A patent/CN118155264B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020052436A1 (en) * | 2018-09-12 | 2020-03-19 | 杭州海康威视数字技术股份有限公司 | Vehicle overload alarming method and apparatus, electronic device, and storage medium |
CN111354121A (en) * | 2020-03-09 | 2020-06-30 | 中通服公众信息产业股份有限公司 | Man-car hybrid verification system and method for intelligent inspection station |
CN111950499A (en) * | 2020-08-21 | 2020-11-17 | 湖北民族大学 | A Method for Detecting Statistics Information of Vehicle Personnel |
CN112991576A (en) * | 2021-02-20 | 2021-06-18 | 安徽安凯汽车股份有限公司 | New forms of energy passenger train remote monitering system that overloads |
CN113963407A (en) * | 2021-10-22 | 2022-01-21 | 中国银行股份有限公司 | Method and device for judging results of face recognition based on business scenarios |
CN113920575A (en) * | 2021-12-15 | 2022-01-11 | 深圳佑驾创新科技有限公司 | Facial expression recognition method and device and storage medium |
CN114495209A (en) * | 2022-01-05 | 2022-05-13 | 东风柳州汽车有限公司 | Vehicle overload detection method, device, equipment and storage medium |
CN115424217A (en) * | 2022-08-31 | 2022-12-02 | 东方世纪科技股份有限公司 | AI vision-based intelligent vehicle identification method and device and electronic equipment |
CN116778418A (en) * | 2023-06-25 | 2023-09-19 | 南京师范大学 | An adaptive people counting method that takes into account surveillance observation scale and crowd density |
Also Published As
Publication number | Publication date |
---|---|
CN118155264B (en) | 2024-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109002820B (en) | License plate recognition method and device and related equipment | |
CN112348778B (en) | Object identification method, device, terminal equipment and storage medium | |
CN109166156B (en) | Camera calibration image generation method, mobile terminal and storage medium | |
CN111414949A (en) | Picture clustering method and device, electronic equipment and storage medium | |
US11709914B2 (en) | Face recognition method, terminal device using the same, and computer readable storage medium | |
WO2020143165A1 (en) | Reproduced image recognition method and system, and terminal device | |
CN113158773B (en) | Training method and training device for living body detection model | |
CN111753812A (en) | Text recognition method and device | |
CN114299030A (en) | Object detection model processing method, device, equipment and storage medium | |
CN112966687B (en) | Image segmentation model training method and device and communication equipment | |
WO2022199395A1 (en) | Facial liveness detection method, terminal device and computer-readable storage medium | |
CN111091126A (en) | Certificate image reflection detection method, device, equipment and storage medium | |
CN111275622B (en) | Image stitching method, device and terminal equipment | |
CN118823837B (en) | Fingerprint image matching and recognition method, device, electronic device and storage medium | |
CN113420801B (en) | A network model generation method, device, terminal and storage medium | |
CN111340722A (en) | Image processing method, processing device, terminal device and readable storage medium | |
CN112633281B (en) | Vehicle identity authentication method and system based on Hash algorithm | |
CN112214639B (en) | Video screening method, video screening device and terminal equipment | |
CN110969640A (en) | Video image segmentation method, terminal device and computer-readable storage medium | |
CN118155264A (en) | Vehicle inspection method, device, terminal and storage medium | |
CN111768345A (en) | Method, device and equipment for correcting back image of identity card and storage medium | |
CN108629219B (en) | A method and device for identifying one-dimensional codes | |
CN112950961B (en) | Traffic flow statistical method, device, equipment and storage medium | |
CN115984786A (en) | Vehicle damage detection method and device, terminal, storage medium | |
CN112465007B (en) | Training method of target recognition model, target recognition method and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |