Vehicle verification method and device

Through video recognition technology, convolutional neural networks and finite state machines are used to automatically verify the consistency of vehicle actions and instructions, which solves the problem of low accuracy and efficiency caused by manual vehicle information verification in the existing technology, and achieves high efficiency and accuracy. Vehicle information verification.

CN113075212BActive Publication Date: 2024-09-20BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 22 Cites 0 Cited by

Patent Information

Application Number
CN202110358068.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-24
Publication Date
2024-09-20
Estimated Expiration
2039-12-24

AI Technical Summary

Technical Problem

In the existing technology, vehicle information verification relies on manual labor, resulting in low accuracy and low efficiency of verification results, and there is a lack of automated verification methods.

Method used

By obtaining the video of the vehicle to be verified, the convolutional neural network model and the finite state machine are used to identify the vehicle status and action, compare the consistency of the vehicle action in the video with the command action, and automatically determine the authenticity of the vehicle.

Benefits of technology

It realizes the automation of vehicle verification, improves verification efficiency and accuracy, and reduces dependence on business personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113075212B
    Figure CN113075212B
Patent Text Reader

Abstract

The present application provides a vehicle verification method and device, firstly obtaining a verification video of a vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction; secondly, determining the status information of the vehicle to be verified in each frame of the verification video; then, based on the status information, determining the verification action of the vehicle to be verified in the verification video; finally, determining the verification result of the vehicle to be verified based on the verification action and the verification action instruction. Compared with the prior art, the present application determines the verification result of the vehicle by judging whether the verification action of the vehicle in the verification video is consistent with the verification action instruction, thereby realizing the automation of vehicle verification, significantly improving the verification efficiency, and making the verification result more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a vehicle verification method and device. Background Art

[0002] With the rapid development of the Internet, the services that the Internet can provide are becoming more and more diverse. In some scenarios, such as registration and application submission, it is necessary to verify some information of users through the Internet, such as identity information verification, asset information verification, etc., including the vehicle information submitted by the user. The server needs to verify whether the vehicle in the vehicle information is a real vehicle based on the vehicle information submitted by the user.

[0003] At present, manual verification is usually used to verify the authenticity of the vehicle. However, this method is extremely dependent on the business capabilities of business personnel, the accuracy of the verification results is low, and the verification efficiency is low. Therefore, it is an urgent problem to realize an automated method that does not rely on business personnel and can effectively verify whether the vehicle in the vehicle information is a real vehicle. Summary of the invention

[0004] In view of this, the purpose of the present application is to provide a vehicle verification method and device, which can realize the automation of vehicle verification, significantly improve the verification efficiency, and make the verification result more accurate.

[0005] According to one aspect of the present application, an electronic device is provided, which may include one or more storage media, one or more processors communicating with the storage media, and a bus. The one or more storage media store machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform one or more of the following operations:

[0006] Acquire a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction;

[0007] Determining the status information of the vehicle to be verified in each frame of the verification video;

[0008] Determining, according to the state information, a verification action of the vehicle to be verified in the verification video;

[0009] Based on the verification action and the verification action instruction, a verification result of the vehicle to be verified is determined.

[0010] In some embodiments of the present application, the verification action instruction includes at least one door control instruction.

[0011] In some embodiments of the present application, when the processor executes the machine-readable instruction, one or more of the following operations may be performed:

[0012] Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified;

[0013] Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video;

[0014] According to the positions of the preset key points, the state of each door of the vehicle to be verified in each frame image of the target verification video is determined to obtain the state information of the vehicle to be verified.

[0015] In some embodiments of the present application, when the processor executes the machine-readable instructions, one or more of the following operations may be performed:

[0016] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0017] In some embodiments of the present application, when the processor executes the machine-readable instruction, one or more of the following operations may be performed:

[0018] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0019] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0020] In some embodiments of the present application, when the processor executes the machine-readable instruction, one or more of the following operations may be performed:

[0021] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0022] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0023] In some embodiments of the present application, when the processor executes the machine-readable instruction, one or more of the following operations may be performed:

[0024] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0025] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0026] According to one aspect of the present application, a vehicle verification method is provided, comprising:

[0027] Acquire a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction;

[0028] Determining the status information of the vehicle to be verified in each frame of the verification video;

[0029] Determining, according to the state information, a verification action of the vehicle to be verified in the verification video;

[0030] Based on the verification action and the verification action instruction, a verification result of the vehicle to be verified is determined.

[0031] In some embodiments of the present application, the verification action instruction includes at least one door control instruction.

[0032] In some embodiments of the present application, the determining of the status information of the vehicle to be verified in each frame of the verification video includes:

[0033] Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified;

[0034] Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video;

[0035] According to the positions of the preset key points, the state of each door of the vehicle to be verified in each frame image of the target verification video is determined to obtain the state information of the vehicle to be verified.

[0036] In some embodiments of the present application, determining the verification action of the vehicle to be verified in the verification video according to the state information includes:

[0037] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0038] In some embodiments of the present application, determining the verification result of the vehicle to be verified based on the verification action and the verification action instruction includes:

[0039] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0040] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0041] In some embodiments of the present application, the method of using a trained position detection model to determine the position of a preset key point corresponding to each door in each frame of the target verification video includes:

[0042] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0043] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0044] In some embodiments of the present application, determining the state of each door of the vehicle to be verified in each frame of the target verification video according to the position of the preset key point to obtain the state information of the vehicle to be verified includes:

[0045] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0046] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0047] According to one aspect of the present application, a vehicle verification device is provided, comprising:

[0048] An acquisition module, used to acquire a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction;

[0049] A first determination module, used to determine the status information of the vehicle to be verified in each frame of the verification video;

[0050] A second determination module is used to determine the verification action of the vehicle to be verified in the verification video according to the state information;

[0051] The verification module is used to determine the verification result of the vehicle to be verified based on the verification action and the verification action instruction.

[0052] In some embodiments of the present application, the verification action instruction includes at least one door control instruction.

[0053] In some embodiments of the present application, the first determining module includes:

[0054] A first determination unit is used to extract an image corresponding to the area where the to-be-verified vehicle is located from each frame of the verification video using a trained target extraction model, so as to obtain a target verification video of the to-be-verified vehicle;

[0055] A second determination unit is used to determine the position of a preset key point corresponding to each door in each frame image of the target verification video by using a trained position detection model;

[0056] The third determination unit is used to determine the state of each door of the vehicle to be verified in each frame image of the target verification video according to the position of the preset key point, so as to obtain the state information of the vehicle to be verified.

[0057] In some embodiments of the present application, the second determining module is specifically configured to:

[0058] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0059] In some embodiments of the present application, the verification module is specifically used to:

[0060] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0061] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0062] In some embodiments of the present application, the second determining unit is specifically configured to:

[0063] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0064] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0065] In some embodiments of the present application, the third determining unit is specifically configured to:

[0066] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0067] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0068] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned vehicle verification method are executed.

[0069] The vehicle verification method and device provided in the embodiments of the present application first obtain a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction; secondly, the status information of the vehicle to be verified in each frame image of the verification video is determined; then, based on the status information, the verification action of the vehicle to be verified in the verification video is determined; finally, based on the verification action and the verification action instruction, the verification result of the vehicle to be verified is determined.

[0070] Compared with the prior art, the present application determines the vehicle verification result by judging whether the vehicle's verification action in the verification video is consistent with the verification action instruction, thereby realizing the automation of vehicle verification, significantly improving verification efficiency, and making verification results more accurate.

[0071] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0073] Figure 1 A flow chart of a vehicle verification method provided by an embodiment of the present application is shown;

[0074] Figure 2 A schematic diagram showing a frame of image in a verification video in a vehicle verification method provided in an embodiment of the present application is shown;

[0075] Figure 3 A schematic diagram of a frame of an image in a target verification video in a vehicle verification method provided in an embodiment of the present application is shown;

[0076] Figure 4 A schematic diagram showing a preset key point and an image area of ​​a preset size where the preset key point is located in a vehicle verification method provided in an embodiment of the present application;

[0077] Figure 5 A flow chart showing another vehicle verification method provided by an embodiment of the present application is shown;

[0078] Figure 6 A schematic diagram of the structure of a vehicle verification device provided in an embodiment of the present application is shown;

[0079] Figure 7 A schematic diagram showing the structure of another vehicle verification device provided in an embodiment of the present application is shown;

[0080] Figure 8 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0081] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.

[0082] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0083] With the rapid development of the Internet, the services that the Internet can provide are becoming more and more diverse. In some scenarios, such as registration and application submission, it is necessary to verify some information of users through the Internet, such as identity information verification, asset information verification, etc., including the vehicle information submitted by the user. The server needs to verify whether the vehicle in the vehicle information is a real vehicle based on the vehicle information submitted by the user.

[0084] At present, manual verification is usually used to verify the authenticity of the vehicle. However, this method is extremely dependent on the business capabilities of business personnel, the accuracy of the verification results is low, and the verification efficiency is low. Therefore, it is an urgent problem to realize an automated method that does not rely on business personnel and can effectively verify whether the vehicle in the vehicle information is a real vehicle.

[0085] Based on this, an embodiment of the present application provides a vehicle verification method to realize the automation of vehicle verification, significantly improve the verification efficiency, and make the verification result more accurate.

[0086] See also Figure 1 , Figure 1 This is a flow chart of a vehicle verification method provided by an embodiment of the present application. Figure 1 As shown in , the vehicle verification method provided in the embodiment of the present application can be executed by a server, including:

[0087] S101. Acquire a verification video of a vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction.

[0088] In this step, the user can upload the verification video to the server through a mobile terminal, tablet computer, computer or other smart terminal. The verification video is a video clip about the vehicle held by the user. The server can verify whether the vehicle in the verification video is a real vehicle based on the verification video, rather than a video of other vehicles pre-recorded before collecting the verification video, or a verification video simply spliced ​​together from photos.

[0089] Specifically, when collecting the verification video, the server can send a verification action instruction to the client held by the user. After receiving the verification action instruction, the user can use the vehicle to be verified to perform the verification action indicated by the verification action instruction, and record the process through a recording device as a verification video and upload it to the server.

[0090] Among them, the verification action instruction may include one verification action, or a combination of multiple verification actions. The verification action may be opening or closing the door at a specific position, controlling the vehicle to be verified to move forward, backward, turn, turn on the signal light, and other verification actions.

[0091] S102: Determine the status information of the vehicle to be verified in each frame of the verification video.

[0092] In this step, the server can identify the state of the vehicle to be verified in each frame of the verification video. Specifically, the recognition can be performed using a convolutional neural network model or other methods.

[0093] The status information of the vehicle to be verified may include the direction of the vehicle to be verified, the door opening status, the wheel rotation direction, the signal light opening status, etc.

[0094] S103: Determine, according to the state information, a verification action of the vehicle to be verified in the verification video.

[0095] In this step, after determining the status information of the vehicle to be verified, the server can determine the verification action of the vehicle to be verified in the verification video according to the status of the vehicle to be verified in each frame of the verification video.

[0096] The verification action may be one verification action or a combination of multiple verification actions.

[0097] For example, if in the verification video, the status information of the vehicle to be verified in three consecutive frames of images is respectively the left front door closed state, the left front door open state, and the left front door open state, then it can be determined that in the above three frames of images, the verification action of the vehicle to be verified is "open the left front door."

[0098] S104: Determine a verification result of the vehicle to be verified based on the verification action and the verification action instruction.

[0099] In this step, after determining the verification action of the vehicle to be verified in the verification video, the determined verification action can be compared with the verification action indicated by the verification action instruction. If the similarity between the two is higher than a preset threshold, or the two are completely consistent, it can be determined that the verification result of the vehicle to be verified is a successful verification, otherwise it can be determined that the verification failed.

[0100] Specifically, if the verification action instruction is "control the vehicle to be verified to open the left front door, close the left front door, and turn on the left turn indicator", and the verification action of the vehicle to be verified is "open the left front door, open the right front door, close the left front door, and close the right front door", it can be determined that the verification result of the vehicle to be verified is verification failure.

[0101] In this way, by determining the verification result of the vehicle to be verified through the verification action and the verification action instruction, it is possible to effectively prevent users from uploading verification videos of unreal vehicles, and business personnel are not required to perform manual verification, thereby improving the accuracy and efficiency of verification.

[0102] In a possible implementation manner, the verification action instruction includes at least one door control instruction.

[0103] Specifically, under normal circumstances, a vehicle usually has four doors, namely the left front door, right front door, left rear door and right rear door. Each door can be assigned a unique number, such as a combination of letters, numbers, special symbols or multiple characters, and the verification actions corresponding to the doors can be assigned numbers. For example, A, B, C, and D can be used to represent the left front door, right front door, left rear door and right rear door respectively. The number 0 is used to represent opening and then closing the door, and the number 1 is used to represent opening the door. The verification action instruction can be "A1B0D0C1", and its corresponding verification action is "open the left front door, open and then close the right front door, open and then close the right rear door, and open the left rear door".

[0104] Before sending the verification action instruction to the client of the user, one verification action instruction may be extracted from possible multiple verification action instructions as the verification action instruction sent to the user.

[0105] In a possible implementation manner, determining the status information of the vehicle to be verified in each frame of the verification video includes:

[0106] Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified;

[0107] Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video;

[0108] According to the positions of the preset key points, the state of each door of the vehicle to be verified in each frame image of the target verification video is determined to obtain the state information of the vehicle to be verified.

[0109] Please also see Figure 2 and Figure 3 , Figure 2 A schematic diagram of verifying a frame of an image in a video in a vehicle verification method provided in an embodiment of the present application; Figure 3 A schematic diagram of a frame of an image in a target verification video in a vehicle verification method provided in an embodiment of the present application. Figure 2 and Figure 3 As shown, in this step, in order to remove irrelevant factors as much as possible, a target extraction model that can identify the vehicle to be verified in the image can be used to remove the images in the verification video except the area where the vehicle to be verified is located, extract the image of the area where the verification vehicle is located, and then reconstruct a new verification video, that is, the target verification video.

[0110] After obtaining the target verification video, the position detection model can be used to identify the preset key points on each door. The preset key points can be located at one place on the door. The position of the preset key points is obviously different when the door is in different states. After identifying the position of the preset key points, the state of the corresponding door can be determined according to the position of the preset key points. After obtaining the state of each door in each frame of the image, the overall state information of the vehicle to be verified can be determined.

[0111] In a possible implementation manner, determining, according to the state information, a verification action of the vehicle to be verified in the verification video includes:

[0112] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0113] Specifically, the state of each door in each frame of the target verification video may include an open state and a closed state. In this step, a finite state machine can be used to determine the verification action corresponding to the door in several frames according to the state of the door in each frame, and then determine the verification action performed in the verification video according to the time sequence of the vehicle to be verified.

[0114] In a possible implementation manner, determining the verification result of the vehicle to be verified based on the verification action and the verification action instruction includes:

[0115] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0116] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0117] In a possible implementation, the using of the trained position detection model to determine the position of the preset key point corresponding to each door in each frame of the target verification video includes:

[0118] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0119] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0120] See also Figure 4 , Figure 4 A schematic diagram of a preset key point and an image area of ​​a preset size where the preset key point is located in a vehicle verification method provided in an embodiment of the present application. Figure 4 As shown, the preset key point 41 in the figure may be a corner of a car door, and the square area near it is an image area 42 of a preset size where the preset key point is located.

[0121] In this step, the position detection model can be a two-stage cascade convolutional neural network model, wherein the first-stage convolutional neural network model can identify the rough position of the preset key points corresponding to each door in each frame of the target verification video, and determine that the door belongs to the position of the vehicle to be verified. Since the position of the preset key points obtained by the first-stage convolutional neural network model is not accurate, it is necessary to cut out an image area of ​​a preset size around the preset key points, narrow the recognition range of the second-stage convolutional neural network, and use the position of the door in the vehicle to be verified as a label for the cut-out image area. Finally, the label and the second-stage convolutional neural network model are used to identify the precise position coordinates of the preset key points in the preset coordinate system.

[0122] Among them, the preset coordinate system can be the image coordinate system corresponding to the frame image in the target verification video.

[0123] In a possible implementation, determining the state of each door of the vehicle to be verified in each frame of the target verification video according to the position of the preset key point to obtain the state information of the vehicle to be verified includes:

[0124] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0125] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0126] In this step, a preset reference point can be selected according to the position of the preset key point on the vehicle to be verified. Specifically, the preset reference point can be set to the position of the preset reference point when the door is closed. When the door is closed, the preset reference point coincides with the preset key point.

[0127] See also Figure 5 , Figure 5 This is a flow chart of a vehicle verification method provided by another embodiment of the present application. Figure 5 As shown in , the vehicle verification method provided by the embodiment of the present application includes:

[0128] 1) Generate a set of door instructions, that is, generate possible verification action instructions.

[0129] 2) Generate a door action instruction, that is, extract at least one verification action instruction from the door action instruction set.

[0130] 3) Send the door action command to the vehicle verification personnel, who will operate the door according to the command and shoot the video and upload it to the server.

[0131] 4) Use the CNN object detection model to identify the area where the vehicle is located in the video and generate an object verification video.

[0132] 5) The key point detection model (i.e., the position detection model mentioned above) is used to determine the position of the preset key points on each door of the vehicle to be detected in each frame image, and the state of the corresponding door is determined according to the position of the preset key points.

[0133] 6) Identify the door action (i.e. the above-mentioned verification action) through the finite state machine.

[0134] 7) Verify whether the door action is consistent with the action indicated in the door command. If they are consistent, the verification is passed and the vehicle to be detected is determined to be a real vehicle. If they are inconsistent, the verification fails and the vehicle to be detected is determined to be a non-real vehicle.

[0135] The vehicle verification method provided in the embodiment of the present application first obtains a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction; secondly, the status information of the vehicle to be verified in each frame image of the verification video is determined; then, based on the status information, the verification action of the vehicle to be verified in the verification video is determined; finally, based on the verification action and the verification action instruction, the verification result of the vehicle to be verified is determined.

[0136] Compared with the prior art, the present application determines the vehicle verification result by judging whether the vehicle's verification action in the verification video is consistent with the verification action instruction, thereby realizing the automation of vehicle verification, significantly improving verification efficiency, and making verification results more accurate.

[0137] See also Figure 6 , Figure 7 , Figure 6 A schematic diagram of the structure of a vehicle verification device provided in an embodiment of the present application is shown in FIG. Figure 7 This is a schematic diagram of the structure of another vehicle verification device provided in an embodiment of the present application. Figure 6 As shown in , the vehicle verification device 600 includes:

[0138] The acquisition module 610 is used to acquire a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing the verification action instruction;

[0139] A first determination module 620 is used to determine the state information of the vehicle to be verified in each frame of the verification video;

[0140] A second determination module 630 is used to determine the verification action of the vehicle to be verified in the verification video according to the state information;

[0141] The verification module 640 is used to determine the verification result of the vehicle to be verified based on the verification action and the verification action instruction.

[0142] In some embodiments of the present application, the verification action instruction includes at least one door control instruction.

[0143] like Figure 7 As shown, in some embodiments of the present application, the vehicle verification device 700 includes: an acquisition module 710, a first determination module 720, a second determination module 730, and a verification module 740, wherein the first determination module 720 includes:

[0144] The first determination unit 721 is used to extract the image corresponding to the area where the to-be-verified vehicle is located from each frame of the verification video using the trained target extraction model, so as to obtain a target verification video of the to-be-verified vehicle;

[0145] A second determination unit 722 is used to determine the position of a preset key point corresponding to each door in each frame image of the target verification video by using a trained position detection model;

[0146] The third determining unit 723 is used to determine the state of each door of the to-be-verified vehicle in each frame image of the target verification video according to the position of the preset key point, and obtain the state information of the to-be-verified vehicle.

[0147] In some embodiments of the present application, the second determining module 730 is specifically configured to:

[0148] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0149] In some embodiments of the present application, the verification module 740 is specifically used to:

[0150] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0151] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0152] In some embodiments of the present application, the second determining unit 722 is specifically configured to:

[0153] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0154] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0155] In some embodiments of the present application, the third determining unit 723 is specifically configured to:

[0156] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0157] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0158] The vehicle verification device provided in the embodiment of the present application first obtains a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction; secondly, determines the status information of the vehicle to be verified in each frame image of the verification video; then, based on the status information, determines the verification action of the vehicle to be verified in the verification video; finally, based on the verification action and the verification action instruction, determines the verification result of the vehicle to be verified.

[0159] Compared with the prior art, the present application determines the vehicle verification result by judging whether the vehicle's verification action in the verification video is consistent with the verification action instruction, thereby realizing the automation of vehicle verification, significantly improving verification efficiency, and making verification results more accurate.

[0160] See also Figure 8 , Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown in , the electronic device 800 includes a processor 810 , a memory 820 and a bus 830 .

[0161] The memory 820 stores machine-readable instructions executable by the processor 810. When the electronic device 800 is running, the processor 810 communicates with the memory 820 via the bus 830. When the machine-readable instructions are executed by the processor 810, one or more of the following operations may be performed:

[0162] Acquire a verification video of the vehicle to be verified; wherein the verification video includes a video clip of the vehicle to be verified when executing a verification action instruction;

[0163] Determining the status information of the vehicle to be verified in each frame of the verification video;

[0164] Determining, according to the state information, a verification action of the vehicle to be verified in the verification video;

[0165] Based on the verification action and the verification action instruction, a verification result of the vehicle to be verified is determined.

[0166] In some embodiments of the present application, the verification action instruction includes at least one door control instruction.

[0167] In some embodiments of the present application, when the processor 810 executes the machine-readable instruction, one or more of the following operations may be performed:

[0168] Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified;

[0169] Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video;

[0170] According to the positions of the preset key points, the state of each door of the vehicle to be verified in each frame image of the target verification video is determined to obtain the state information of the vehicle to be verified.

[0171] In some embodiments of the present application, when the processor 810 executes the machine-readable instruction, one or more of the following operations may be performed:

[0172] The verification action of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

[0173] In some embodiments of the present application, when the processor 810 executes the machine-readable instruction, one or more of the following operations may be performed:

[0174] Determining whether the verification action is consistent with the target verification action indicated in the verification action instruction;

[0175] If the verification action is consistent with the target verification action, it is determined that the vehicle to be verified has passed the verification.

[0176] In some embodiments of the present application, when the processor 810 executes the machine-readable instruction, one or more of the following operations may be performed:

[0177] Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video;

[0178] The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

[0179] In some embodiments of the present application, when the processor 810 executes the machine-readable instruction, one or more of the following operations may be performed:

[0180] For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door;

[0181] The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

[0182] Correspondingly, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor, the steps of the above-mentioned vehicle verification method are executed.

[0183] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned vehicle verification method can be executed, thereby realizing the automation of vehicle verification and improving verification efficiency and verification accuracy.

[0184] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0185] The modules described as separate components may or may not be physically separated, and the components shown as modules 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.

[0186] In addition, each functional unit in each embodiment of the present application 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.

[0187] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0188] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle verification method, It is characterized in that The method comprises: Sending at least one door action instruction to a client held by a user, which is used to instruct the user to use the vehicle to be verified to perform a verification action; Acquire a verification video of the vehicle to be verified uploaded by the user through the client, wherein the verification video includes a video clip of the user operating the door according to the door action instruction; Determining the door action of the vehicle to be verified in the verification video; Determining a verification result of the vehicle to be verified based on the door action instruction and the door action; Wherein, the door action instruction includes a combination of one or more verification actions; The determining the door action of the vehicle to be verified in the verification video includes: Determining the state information of each door of the vehicle to be verified in each frame of the verification video; Determining, according to the state information, a door action of the vehicle to be verified in the verification video; Wherein, the determining of the state information of each door of the vehicle to be verified in each frame image of the verification video includes: Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified; Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video; According to the positions of the preset key points, determining the state of each door of the to-be-verified vehicle in each frame of the target verification video, and obtaining the state information of each door of the to-be-verified vehicle; The state information is determined according to the distance between the preset key point and a preset reference point, and the preset reference point is the position of the preset key point when the door is closed.

2. The method according to claim 1, It is characterized in that Determining the door action of the vehicle to be verified in the verification video according to the state information includes: The door movement of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

3. The method according to claim 1, It is characterized in that The determining the verification result of the vehicle to be verified based on the door action instruction and the door action includes: determining whether the door action is consistent with the door verification action indicated in the door action instruction; If the door action is consistent with the door verification action, it is determined that the vehicle to be verified has passed the verification.

4. The method according to claim 1, It is characterized in that The method of using the trained position detection model to determine the position of the preset key point corresponding to each door in each frame of the target verification video includes: Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video; The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

5. The method according to claim 4, It is characterized in that The step of determining the state of each door of the vehicle to be verified in each frame of the target verification video according to the position of the preset key point to obtain the state information of the vehicle to be verified includes: For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door; The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

6. A vehicle verification device, It is characterized in that The device comprises: A sending unit, used for sending at least one door action instruction for instructing the user to use the vehicle to be verified to perform a verification action to a client held by the user; an acquisition unit, configured to acquire a verification video of the vehicle to be verified uploaded by the user through the client, wherein the verification video includes a video clip of the user operating the door according to the door action instruction; A determination unit, used to determine the door action of the vehicle to be verified in the verification video; A verification unit, configured to determine a verification result of the vehicle to be verified based on the door action instruction and the door action; Wherein, the door action instruction includes a combination of one or more verification actions; The determining unit is used to determine the door action of the vehicle to be verified in the verification video, including: Determining the state information of each door of the vehicle to be verified in each frame of the verification video; Determining, according to the state information, a door action of the vehicle to be verified in the verification video; Wherein, the determining unit is used to determine the state information of each door of the vehicle to be verified in each frame image of the verification video, including: Using the trained target extraction model, an image corresponding to the area where the vehicle to be verified is located is extracted from each frame of the verification video to obtain a target verification video of the vehicle to be verified; Using the trained position detection model, determine the position of the preset key point corresponding to each door in each frame image of the target verification video; According to the positions of the preset key points, determining the state of each door of the to-be-verified vehicle in each frame of the target verification video, and obtaining the state information of each door of the to-be-verified vehicle; The state information is determined according to the distance between the preset key point and a preset reference point, and the preset reference point is the position of the preset key point when the door is closed.

7. The device according to claim 6, It is characterized in that The determining unit is used to determine the door action of the vehicle to be verified in the verification video according to the state information, including: The door movement of the vehicle to be verified in the verification video is determined by using a finite state machine and the state of each door of the vehicle to be verified in each frame of the target verification video.

8. The device according to claim 6, It is characterized in that The verification unit is used to determine the verification result of the vehicle to be verified based on the door action instruction and the door action, including: determining whether the door action is consistent with the door verification action indicated in the door action instruction; If the door action is consistent with the door verification action, it is determined that the vehicle to be verified has passed the verification.

9. The device according to claim 6, It is characterized in that The determining unit is used to determine the position of the preset key point corresponding to each door in each frame image of the target verification video by using the trained position detection model, including: Input each frame of the target verification video into the first-level convolutional neural network model of the position detection model, and determine an image area of ​​a preset size where a preset key point corresponding to each door of the vehicle to be verified is located in each frame of the target verification video; The image area of ​​a preset size where the preset key points corresponding to each door of the vehicle to be verified are located is input into the second-level convolutional neural network model of the position detection model to determine the position coordinates of the preset key points corresponding to each door of the vehicle to be verified in the preset coordinate system.

10. The device according to claim 9, It is characterized in that The determining unit is used to determine the state of each door of the to-be-verified vehicle in each frame image of the target verification video according to the position of the preset key point, and obtain the state information of the to-be-verified vehicle, including: For each door in each frame of the target verification video, determine the distance between the preset key point corresponding to the door and the preset reference point corresponding to the door according to the position coordinates of the preset key point corresponding to the door in the preset coordinate system and the coordinates of the preset reference point corresponding to the door; The state of the vehicle door in the frame image is determined according to the distance between the preset key point corresponding to the vehicle door and the preset reference point corresponding to the vehicle door.

11. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle verification method as described in any one of claims 1 to 5.

12. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle verification method according to any one of claims 1 to 5 are executed.

Citation Information

Patent Citations

  • Remote monitoring method for checkout

    CN104539891A

  • Remote conformity inspection mark issuing method

    CN104573693A

  • Vehicle remote control method, device and system and vehicle remote controller

    CN105827614A

  • Identity verification method and identity verification device

    CN107066983A

  • Self-service vehicle returning method in vehicle sharing process based on video and vehicle sharing method based on self-service vehicle returning

    CN107784739A