Vehicle passing method and device, computer equipment and storage medium

By pre-identifying and re-identifying vehicles in unattended parking lots, the authentication process is simplified, and the problem of long data processing links and complex logic is solved when the vehicle passes, the speed and fluency of the passage are improved, and the passage experience is improved. .

CN119152701APending Publication Date: 2024-12-17SHENZHEN JIESHUN SCI & TECH IND
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411199087.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In an unattended parking lot, complex traffic processing logic is required when vehicles pass through, resulting in long data processing links, complex logic, and long time, which affects the response gate opening speed and vehicle traffic flow, and affects the traffic experience.

Method used

Before the vehicle arrives at the gate, pre-identification and re-identification of vehicle information are performed by pre-identification and re-identification. If the pre-identification result is consistent with the re-identification result, it will be released directly through the pre-identification result. If it is inconsistent, it will be based on re-identification. The rights result is released, simplified the authentication process, and improved the speed and fluency of passage.

Benefits of technology

By pre-identifying and re-identifying vehicle information, the authentication process is simplified, the vehicle passage speed is improved, the vehicle traffic is avoided, and the traffic experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119152701A_ABST
    Figure CN119152701A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle passing method and device, computer equipment and a storage medium, and the method comprises the steps: carrying out the pre-recognition of the vehicle information of a target vehicle when the target vehicle is driven to a pre-recognition position, so as to obtain a vehicle pre-recognition result; performing pre-authentication based on the vehicle pre-identification result to obtain a first authentication result; when the target vehicle runs to the re-identification position, re-identifying the vehicle information of the target vehicle to obtain a vehicle re-identification result; and comparing the vehicle pre-identification result with the vehicle re-identification result, and when the results are consistent, performing passing processing on the target vehicle based on the first authentication result. Before the vehicle arrives at the gate, pre-identification and pre-authentication of the license plate are carried out, and if the vehicle identification result is consistent with the actual vehicle identification result, the vehicle can be released directly through the pre-authentication result, so that the vehicle passing speed is increased, vehicle congestion at the entrance and the exit is avoided, and the passing experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of parking lot management, and in particular to a vehicle passage method, device, computer equipment and storage medium. Background Art

[0002] With the development of economy, the number of vehicles has gradually increased, and the shortage of parking lots has led to a shortage of parking spaces, which indirectly leads to an increase in the cost of operating parking lots. Unattended parking lots can better solve this problem.

[0003] However, for unattended parking lots, when vehicles pass through the entrance and exit of the parking lot, complex traffic processing logic is often required. For example, at the entrance, it is necessary to determine whether it is a monthly card vehicle or a temporary vehicle, whether the vehicle has permission to enter, etc. At the exit, it is necessary to find the corresponding entry record, calculate the parking time and parking fee, etc. These operations often take a certain amount of time, and the longer the data processing link and the more complex the logic, the longer it takes. The time spent directly affects the response speed of the gate opening and the smoothness of vehicle traffic, affecting the traffic experience. Summary of the invention

[0004] Based on this, it is necessary to provide a vehicle passage method, device, computer equipment and storage medium to address the above technical issues, so as to solve at least one problem existing in the above-mentioned prior art.

[0005] In a first aspect, the embodiment of the present application is implemented as follows: a vehicle passage method is provided, comprising the following steps:

[0006] When the target vehicle travels to the pre-recognition position, pre-recognition is performed on the vehicle information of the target vehicle to obtain a vehicle pre-recognition result;

[0007] Based on the vehicle pre-identification result, pre-authentication is performed to obtain a first authentication result;

[0008] When the target vehicle travels to the re-identification position, re-identifying the vehicle information of the target vehicle to obtain a vehicle re-identification result;

[0009] The vehicle pre-identification result is compared with the vehicle re-identification result, and when the results are consistent, the target vehicle is processed for passage based on the first authentication result.

[0010] In an embodiment of the present application, after comparing the vehicle pre-recognition result with the vehicle re-recognition result, the method includes:

[0011] When the vehicle pre-identification result is inconsistent with the vehicle re-identification result, performing authentication based on the vehicle re-identification result to obtain a second authentication result;

[0012] Based on the second authentication result, the target vehicle is processed for passage.

[0013] In one embodiment of the present application, when the target vehicle travels to the pre-recognition position, before pre-recognition of the vehicle information of the target vehicle is performed, the process includes:

[0014] Acquire first running video data of the target vehicle, wherein the first running video data is provided with a first virtual pre-identification detection line or a first pre-identification area detection frame;

[0015] Detecting a target vehicle in the first running video data and generating a first vehicle detection frame;

[0016] When the target boundary line of the first vehicle detection frame coincides with the first virtual pre-recognition detection line, or when there is an overlapping area between the first vehicle detection frame and the first pre-recognition area detection frame, it is determined that the target vehicle has traveled to the pre-recognition position.

[0017] In an embodiment of the present application, the pre-identifying the vehicle information of the target vehicle to obtain a vehicle pre-identification result includes:

[0018] Identify the vehicle information of the target vehicle in the first running video data frame by frame to obtain multiple vehicle identification results;

[0019] When the number of the vehicle identification results is greater than or equal to a first preset threshold, a plurality of the vehicle identification results are voted to obtain the vehicle pre-identification result.

[0020] In an embodiment of the present application, after obtaining the vehicle pre-identification result, the method further includes:

[0021] Determining an authentication mode of the target vehicle, wherein the authentication mode includes at least one of local authentication and third-party authentication;

[0022] When authenticating the local end, performing pre-authentication based on the vehicle pre-identification result to obtain the first authentication result;

[0023] When authenticating for the third party, the vehicle pre-identification result is sent to the third party, the third party performs pre-authentication, and the first authentication result returned by the third party is received.

[0024] In one embodiment of the present application, when the target vehicle travels to the re-identification position, re-identifying the vehicle information of the target vehicle includes:

[0025] Acquire second operation video data of the target vehicle, wherein the second operation video data is provided with a second virtual recognition confirmation detection line or a second recognition confirmation area detection frame;

[0026] Detecting a target vehicle in the second running video data and generating a second vehicle detection frame;

[0027] When the target boundary line of the second vehicle detection frame coincides with the second virtual recognition confirmation detection line, or when there is an overlapping area between the second vehicle detection frame and the second recognition confirmation area detection frame, it is determined that the target vehicle has traveled to the re-recognition position.

[0028] In one embodiment of the present application, the process of performing passage processing on the target vehicle includes:

[0029] Determine the access authority corresponding to the target vehicle, wherein the access authority includes: direct access, paid access, denied access, and waiting access;

[0030] Determine whether to release the target vehicle according to the confirmation result of the access authority.

[0031] In a second aspect, a vehicle passage device is provided, comprising:

[0032] A vehicle pre-identification result acquisition unit, used to pre-identify the vehicle information of the target vehicle when the target vehicle travels to the pre-identification position to obtain a vehicle pre-identification result;

[0033] A first authentication result obtaining unit, configured to perform pre-authentication based on the vehicle pre-identification result to obtain a first authentication result;

[0034] A vehicle re-identification result acquisition unit, used to re-identify the vehicle information of the target vehicle when the target vehicle travels to the re-identification position to obtain a vehicle re-identification result;

[0035] The first pass processing unit is used to compare the vehicle pre-identification result with the vehicle re-identification result, and when the results are consistent, perform a pass processing on the target vehicle based on the first authentication result.

[0036] In a third aspect, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the vehicle passage method as described above when executing the computer-readable instructions.

[0037] In a fourth aspect, a readable storage medium is provided, wherein the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the vehicle passage method as described above are implemented.

[0038] The above-mentioned vehicle passage method, device, computer equipment and storage medium, the method of which is implemented, includes: when the target vehicle travels to the pre-identification position, the vehicle information of the target vehicle is pre-identified to obtain a vehicle pre-identification result; based on the vehicle pre-identification result, pre-authentication is performed to obtain a first authentication result; when the target vehicle travels to the re-identification position, the vehicle information of the target vehicle is re-identified to obtain a vehicle re-identification result; the vehicle pre-identification result is compared with the vehicle re-identification result, and when the results are consistent, the target vehicle is processed for passage based on the first authentication result. In the embodiment of the present application, by pre-identifying and pre-authenticating the license plate before the vehicle arrives at the gate, if the vehicle pre-identification result is consistent with the vehicle re-identification result, the vehicle can be released directly based on the pre-authentication result, and if they are inconsistent, the vehicle can be released based on the second authentication result, thereby improving the speed and smoothness of vehicle passage, avoiding vehicle congestion at the entrance and exit, and improving the passage experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0040] Figure 1 This is a schematic diagram of an application environment of a vehicle passage method in an embodiment of the present application;

[0041] Figure 2 This is a flow chart of a vehicle passage method in one embodiment of the present application. Figure 1 ;

[0042] Figure 3 This is a flow chart of a vehicle passage method in one embodiment of the present application. Figure 2 ;

[0043] Figure 4 This is a flow chart of a vehicle passage method in one embodiment of the present application. Figure 3 ;

[0044] Figure 5 This is a flow chart of a vehicle passage method in one embodiment of the present application. Figure 4 ;

[0045] Figure 6 is a structural schematic diagram of a vehicle passage device in one embodiment of the present application;

[0046] Figure 7It is a schematic diagram of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] The vehicle passing method provided in this embodiment can be applied in the following cases: Figure 1 In the application environment, the parking management system communicates with the gate machine, such as TCP / IP communication protocol, and the parking management system can also communicate with a third-party platform, such as TCP / IP communication protocol. A pre-recognition position and a re-recognition position are set on the channel in front of the gate machine, and an image acquisition device is set on the gate machine, which can collect the running video data of the vehicle at the pre-recognition position and the re-recognition position, so as to recognize the license plate of the vehicle based on the running video data.

[0049] The distance between the pre-identification position and the gate is greater than the distance between the re-identification position and the gate. For example, the pre-identification position may be 7 to 8 meters away from the gate, and the re-identification position may be 3 to 4 meters away from the gate.

[0050] Among them, the parking management system can be set up in the cloud or locally, and it can be implemented with an independent server or a server cluster composed of multiple servers.

[0051] It should be noted that the parking management system can communicate with a third-party platform. When authenticating a vehicle, for parking lots that require authorization from a third-party platform, an authentication request can be sent to the third-party platform, and the authentication result returned by the third-party platform can be received, and the authentication result can be sent to the gate to execute the vehicle release process.

[0052] In one embodiment, if Figure 2 As shown, a vehicle passage method is provided, which can be applied to Figure 1 The parking management system shown may specifically include the following steps:

[0053] In step S110, when the target vehicle travels to the pre-recognition position, the vehicle information of the target vehicle is pre-recognized to obtain a vehicle pre-recognition result;

[0054] In the embodiment of the present application, the pre-identification position may be located at a preset distance from the entrance gate or the exit gate, for example, 7 to 8 meters from the gate. When the vehicle reaches the pre-identification position, the pre-identification of the vehicle information of the vehicle may be triggered. It should be noted that the pre-identification position may be selected and adjusted according to the actual situation of each parking lot, and the present application does not limit this.

[0055] In an embodiment of the present application, an image acquisition device may be provided at the entrance gate or the exit gate to collect the vehicle's operating video data in real time. For example, a high-resolution camera may be used, which has a lens of appropriate focal length and can adjust the recognition distance to the range between the gate and the pre-recognition position, so as to collect the target vehicle's operating video data.

[0056] It should be noted that the target vehicle may include one or more target vehicles. When the target vehicle includes more than one target vehicle, the license plates of the multiple target vehicles may be identified simultaneously to obtain the vehicle pre-identification result of each target vehicle.

[0057] Optionally, the running video data of the target vehicle may be acquired, and the running video data may be detected frame by frame to obtain multiple vehicle pre-identification results. When the number of vehicle pre-identification results is greater than or equal to a preset threshold, for example, greater than or equal to 3, a vote may be performed to obtain a license plate voting result as a vehicle pre-identification result. The vehicle pre-identification result may include specific vehicle information, and the vehicle information may include but is not limited to information such as license plate number, vehicle model, vehicle color, and vehicle style. Taking the license plate number as an example, optionally, the area where the license plate is located in each frame of the video frame may be determined and framed to generate a license plate detection frame, and then the license plate detection frame may be segmented, the segmented characters may be extracted, and compared with a pre-constructed character data set to realize character recognition, and then sorted according to the character arrangement order in the vehicle detection frame to obtain the license plate number of the target vehicle.

[0058] In step S120, pre-authentication is performed based on the vehicle pre-identification result to obtain a first authentication result;

[0059] In the embodiment of the present application, a pre-identification position is set before the gate to realize the pre-identification of the vehicle number, and after obtaining the vehicle pre-identification result of the vehicle, the authentication process can be performed based on the vehicle pre-identification result. If the parking lot management system has the authentication authority, it can directly perform the authentication. If it does not have the authentication authority, it needs to send an authentication request to the third-party platform, and perform the authentication process through the third-party platform to obtain the first authentication result.

[0060] In the embodiment of the present application, the authentication may include entry authentication and exit authentication. For entry authentication, it may specifically include information such as whether the vehicle is a monthly card vehicle, whether it is a blacklisted vehicle, whether the parking lot allows outside vehicles, etc. For exit authentication, it may include information such as determining whether the vehicle has an entry record, parking fee calculation, and whether the parking fee has been paid.

[0061] In the embodiment of the present application, the first authentication result may specifically include direct authorization for passage, or a prompt for charging, or a refusal of passage, or a prompt to wait for manual confirmation and release, etc.

[0062] In step S130, when the target vehicle travels to the re-identification position, the vehicle information of the target vehicle is re-identified to obtain a vehicle re-identification result;

[0063] In the embodiment of the present application, the re-identification position may be located at a preset distance from the entrance gate or the exit gate, for example, 3 to 4 meters from the gate. When the vehicle reaches the re-identification position, the vehicle information of the vehicle may be re-triggered for identification. It should be noted that the re-identification position may be selected and adjusted according to the actual situation of each parking lot, and the present application does not limit this.

[0064] In an embodiment of the present application, an image acquisition device may be provided at the entrance gate or the exit gate to collect real-time video data of the vehicle's operation. For example, a high-resolution camera with a lens of appropriate focal length may be used to adjust the recognition distance to within the range between the gate and the re-recognition position so as to re-recognize the vehicle information of the target vehicle.

[0065] It should be noted that the target vehicle may include one or more target vehicles. When the target vehicle includes more than one target vehicle, the license plates of the multiple target vehicles may be identified simultaneously to obtain a vehicle re-identification result for each target vehicle.

[0066] Optionally, the running video data of the target vehicle may be acquired, and the running video data may be detected frame by frame to obtain multiple vehicle re-identification results. When the vehicle re-identification result is greater than or equal to a preset threshold, for example, greater than or equal to 3, a vote may be performed to obtain a license plate voting result as a vehicle re-identification result. The vehicle re-identification result may include specific vehicle information, such as license plate number, vehicle model, vehicle color, vehicle style, and other information. Taking the license plate number as an example, optionally, the area where the license plate is located in each frame of the video frame may be determined and framed to generate a license plate detection frame, and then the license plate detection frame may be segmented, the segmented characters may be extracted, and compared with a pre-constructed character data set to achieve character recognition, and then sorted according to the character arrangement order in the vehicle detection frame to obtain the license plate number of the target vehicle.

[0067] In step S140, the vehicle pre-identification result is compared with the vehicle re-identification result. When the results are consistent, the target vehicle is allowed to pass based on the first authentication result.

[0068] In the embodiment of the present application, if the vehicle pre-identification result is consistent with the vehicle re-identification result, the vehicle pre-identification result can be considered accurate. At this time, the pre-authentication result of the target vehicle can be called, and based on the pre-authentication result, the target vehicle is released without re-authentication. The authentication process can be carried out in advance to avoid authentication before the vehicle arrives at the gate, which can avoid the vehicle waiting in front of the gate for too long, and can improve the efficiency of vehicle passage and improve user experience.

[0069] In an embodiment of the present application, a vehicle passage method is provided, including: when a target vehicle travels to a pre-identification position, pre-identifying the vehicle information of the target vehicle to obtain a vehicle pre-identification result; based on the vehicle pre-identification result, pre-authenticating to obtain a first authentication result; when the target vehicle travels to a re-identification position, re-identifying the vehicle information of the target vehicle to obtain a vehicle re-identification result; comparing the vehicle pre-identification result with the vehicle re-identification result, and when the results are consistent, the target vehicle is processed for passage based on the first authentication result. In an embodiment of the present application, by pre-identifying and pre-authenticating the license plate before the vehicle arrives at the gate, if the vehicle pre-identification result is consistent with the vehicle re-identification result, the vehicle can be released directly based on the pre-authentication result, and if they are inconsistent, the vehicle can be released based on the second authentication result, thereby improving the speed and smoothness of vehicle passage, avoiding vehicle congestion at the entrance and exit, and improving the passage experience.

[0070] See also Figure 3 In one embodiment of the present application, after obtaining the vehicle re-identification result, the following steps are included:

[0071] In step S140, when the vehicle pre-identification result is inconsistent with the vehicle re-identification result, authentication is performed based on the vehicle re-identification result to obtain a second authentication result;

[0072] In step S150, based on the second authentication result, the target vehicle is allowed to pass.

[0073] Optionally, if the vehicle pre-identification result of the vehicle is inconsistent with the license plate re-identification, it means that the vehicle pre-identification result is incorrect, or the vehicle did not continue to drive to the re-identification position when passing the pre-identification position, or the vehicle only reversed, or passed by the pre-identification position, etc. Therefore, the vehicle can be authenticated based on the vehicle re-identification result to obtain a second authentication result, and the vehicle can be released based on the second authentication result.

[0074] It is understandable that the authentication may include entry authentication and exit authentication. For entry authentication, it may include information such as whether the vehicle is a monthly card vehicle, whether it is a blacklisted vehicle, whether the parking lot allows outside vehicles, etc. For exit authentication, it may determine whether the vehicle has an entry record, parking fee calculation, whether the parking fee has been paid, etc.

[0075] The second authentication result may specifically include direct authorization for passage, or a reminder for charging, or refusal of passage, or a reminder to wait for manual confirmation and release, etc.

[0076] See also Figure 4 In one embodiment of the present application, when the target vehicle travels to the pre-identification position, before pre-identifying the vehicle information of the target vehicle, the following steps are included:

[0077] In step S210, first running video data of the target vehicle is acquired, wherein a first virtual pre-identification detection line or a first pre-identification area detection frame is set in the first running video data;

[0078] In step S220, the target vehicle in the first running video data is detected, and a first vehicle detection frame is generated;

[0079] In step S230, when the target boundary line of the first vehicle detection frame coincides with the first virtual pre-recognition detection line, or there is an overlapping area between the first vehicle detection frame and the first pre-recognition area detection frame, it is determined that the target vehicle has traveled to the pre-recognition position.

[0080] Optionally, in order to facilitate the detection of whether the vehicle has traveled to the pre-recognition position, a first virtual pre-recognition detection line may be set in the video frame of the running video data. The vehicle is detected to generate a first vehicle detection frame in the video frame. It is detected whether the first vehicle detection frame hits the line, that is, whether it coincides with the first virtual pre-recognition detection line. If so, it can be determined that the target vehicle has traveled to the pre-recognition position.

[0081] It should be noted that the first vehicle detection frame includes a plurality of boundary lines, and the boundary line in the direction of the vehicle head can be used as the target boundary line, that is, to detect whether the target boundary line coincides with the first virtual pre-identification detection line.

[0082] Optionally, an image coordinate system may be constructed to determine the coordinate information of the virtual pre-identification detection line and the coordinate information of the boundary line of the first vehicle detection frame to determine whether the horizontal coordinates of the two are the same. If they are the same, the two may be considered to coincide.

[0083] The first operation video data may be operation video data of the target vehicle before the pre-recognition position and when the target vehicle reaches the pre-recognition position, as well as operation video data of the target vehicle passing the pre-recognition position.

[0084] Optionally, in order to facilitate the detection of whether the vehicle has traveled to the pre-recognition position, a pre-recognition area can also be set. For example, a virtual first pre-recognition area detection frame can be set in the video frame of the running video data, and the first vehicle detection frame can be generated by detecting the vehicle. Then determine whether the target boundary lines of the two coincide. For example, the boundary line of the first vehicle detection frame close to the vehicle side is used as the target boundary line, and the boundary line on the side where the front of the vehicle is located is used as the target boundary line to determine whether the two coincide. Optionally, an image coordinate system can be constructed to determine the coordinate information of the target boundary line of the first pre-recognition area detection frame and the coordinate information of the target boundary line of the first vehicle detection frame to determine whether the horizontal coordinates of the two are the same. If they are the same, it can be considered that the two coincide. Then it can be determined that the target vehicle travels to the pre-recognition position.

[0085] Alternatively, the intersection over union (IOU) between the first vehicle detection frame and the first pre-recognition area detection frame can be calculated, which can be specifically calculated by the following formula:

[0086]

[0087] For example, the coordinates of the upper left vertex of the vehicle detection frame are (x a1 ,y a1 ), the coordinates of the lower right vertex are (x a2 ,y a2 ) The coordinates of the upper left vertex of the first pre-identification area detection frame are (x b1 ,y b1 ), the coordinates of the lower right vertex are (x b2 ,y b2 ) Then, the set A of vehicle detection frames can be expressed as:

[0088] A={(x,y)▏x a1 ≤x≤x a2 ,y a1 ≤y≤y a2 , x, y∈R}

[0089] The set B of detection boxes of the pre-recognized area can be expressed as:

[0090] B={(x,y)▏x b1 ≤x≤x b2 ,y b1 ≤y≤y b2 , x, y∈R}

[0091] Then the intersection A∪B between the vehicle detection frame and the first pre-recognition area detection frame can be expressed as:

[0092] A∪B={(x,y)▏max{xa1 , x b1}≤x≤min{x a2 ,x b2},max{y a1 ,y b1}≤y≤min{y a2 ,y b2}}

[0093] S A∪B =(min{x a2 ,x b2}-max{x a1 ,x b1})ⅹ(min{y a2 ,y b2}-max{y a1 ,y b1}) The union A∩B between the vehicle detection frame and the first pre-recognition area detection frame can be expressed as:

[0094] A∩B=A+BA∪B

[0095] Then, S A∩B =(x a2 -x a1 )(y a2 -y a1 )+(x b2 -x b1 )(y b2 -y b1 )-(min{x a2 ,x b2}-max{xa1,xb1}ⅹmin{ya2,yb2}-max{ya1,yb1}

[0096]

[0097] Based on the calculated IOU, it can be determined whether there is an overlapping area between the vehicle detection frame and the first pre-recognition area detection frame, and the overlapping area can be partially overlapped or completely overlapped.

[0098] In one embodiment of the present application, the vehicle information of the target vehicle is pre-identified to obtain a vehicle pre-identification result, including:

[0099] Identify the vehicle information of the target vehicle in the first running video data frame by frame to obtain multiple vehicle identification results;

[0100] When the number of vehicle identification results is greater than or equal to a first preset threshold, a plurality of vehicle identification results are voted to obtain a vehicle pre-identification result.

[0101] Optionally, the first running video data can be split into continuous video frames, and target vehicle detection and license plate recognition can be performed on each video frame in sequence according to the order of shooting, so as to obtain multiple vehicle identification results. If the number of vehicle identification results is greater than or equal to a first preset threshold, for example, greater than or equal to 3, a vote can be performed to obtain the voting result as the vehicle pre-identification result.

[0102] In an embodiment of the present application, after obtaining the vehicle pre-identification result, the method further includes:

[0103] Determine an authentication mode of the target vehicle, where the authentication mode includes at least one of local authentication and third-party authentication;

[0104] When authenticating for the local end, pre-authentication is performed based on the vehicle pre-identification result to obtain a first authentication result;

[0105] When authenticating for a third party, the vehicle pre-identification result is sent to the third party, the third party performs pre-authentication, and receives the first authentication result returned by the third party.

[0106] Optionally, the vehicle authentication service may generally include local authentication and third-party authentication. Local authentication means that the target vehicle can be authenticated directly at the parking lot according to the parking lot's authentication regulations, such as exit authentication, entry authentication, etc. Third-party authentication means that some parking lots have specific authentication regulations for shopping malls, properties, and cloud hosting platforms. For example, there are different authentication requirements for vehicles of different personnel, such as VIP customers, internal employees, external visitors, owners, etc., all of which may have different authentication requirements. Therefore, when performing authentication services, the obtained vehicle pre-identification results can be sent to a third party, and authentication can be performed through the third party, and the first authentication result can be fed back.

[0107] See also Figure 5 In one embodiment of the present application, when the target vehicle travels to the re-identification position, before re-identifying the vehicle information of the target vehicle, the following steps are included:

[0108] In step S310, second operation video data of the target vehicle is acquired, wherein the second operation video data is provided with a second virtual recognition confirmation detection line or a second recognition confirmation area detection frame;

[0109] In step S320, the target vehicle in the second running video data is detected, and a second vehicle detection frame is generated;

[0110] In step S330, when the target boundary line of the second vehicle detection frame coincides with the second virtual recognition confirmation detection line, or there is an overlapping area between the second vehicle detection frame and the second recognition confirmation area detection frame, it is determined that the target vehicle has traveled to the re-recognition position.

[0111] Optionally, in order to facilitate the detection of whether the vehicle has traveled to the re-identification position, a second virtual re-identification detection line may be set in the video frame of the running video data, and the vehicle may be detected to generate a second vehicle detection frame in the video frame. By detecting whether the second vehicle detection frame hits the line, that is, whether it coincides with the second virtual re-identification detection line, if so, it can be determined that the target vehicle has traveled to the re-identification position.

[0112] It should be noted that the second vehicle detection frame includes multiple boundaries, and the boundary line in the direction of the vehicle head can be used as the target boundary line, that is, to detect whether the target boundary line coincides with the second virtual re-identification detection line.

[0113] Optionally, an image coordinate system may be constructed to determine the coordinate information of the second virtual re-identification detection line and the coordinate information of the boundary line of the second vehicle detection frame to determine whether the horizontal coordinates of the two are the same. If they are the same, the two may be considered to coincide.

[0114] The second operation video data may be the operation video data of the target vehicle between the pre-identification position and its arrival at the re-identification position, and the operation video data of the target vehicle between its passing through the re-identification position and its arrival at the gate.

[0115] Optionally, in order to facilitate the detection of whether the vehicle has traveled to the pre-recognition position, a re-recognition area can also be set. For example, a virtual second recognition confirmation area detection frame can be set in the video frame of the second running video data, and a second vehicle detection frame can be generated by detecting the vehicle. Then determine whether the target boundary lines of the two coincide. For example, the boundary line of the second vehicle detection frame close to the vehicle side is used as the target boundary line, and the boundary line on the side where the front of the vehicle is located is used as the target boundary line to determine whether the two coincide. Optionally, an image coordinate system can be constructed to determine the coordinate information of the target boundary line of the second recognition confirmation area detection frame and the coordinate information of the target boundary line of the second vehicle detection frame to determine whether the horizontal coordinates of the two are the same. If they are the same, it can be considered that the two coincide. Then it can be determined that the target vehicle has traveled to the re-recognition position.

[0116] Alternatively, by calculating the intersection over union (IOU) between the second vehicle detection frame and the second recognition confirmation area detection frame, it can be specifically calculated by the following formula:

[0117]

[0118] The specific method for calculating the IOU can refer to the above-mentioned method for calculating the vehicle detection frame and the second identification confirmation area detection frame. This application will not go into details here. Based on the calculated IOU, it can be determined whether there is an overlapping area between the second vehicle detection frame and the second identification confirmation area detection frame, and the overlapping area can be partially overlapping or completely overlapping.

[0119] In an embodiment of the present application, the vehicle information of the target vehicle is identified to obtain a vehicle re-identification result, including:

[0120] Identify the vehicle information of the target vehicle in the second running video data frame by frame to obtain multiple vehicle identification results;

[0121] When the number of vehicle identification results is greater than or equal to a second preset threshold, the vehicle identification results are voted on to obtain a vehicle re-identification result.

[0122] Optionally, the second running video data can be split into continuous video frames, and target vehicle detection and license plate recognition can be performed on each video frame in turn in the order of shooting to obtain multiple vehicle identification results. If the number of vehicle identification results is greater than or equal to a second preset threshold, for example, greater than or equal to 3, a vote can be performed to obtain the voting result as the vehicle re-identification result.

[0123] In one embodiment of the present application, the target vehicle is processed for passage, including:

[0124] Determine the access rights corresponding to the target vehicle, which include: direct access, paid access, denied access, and waiting access;

[0125] Determine whether to release the target vehicle based on the confirmation result of the access permission.

[0126] Optionally, the target vehicle's access authority can be determined based on the authentication result of the target vehicle. For example, if the authentication is successful, direct passage or paid passage can be allowed. If the authentication fails, passage can be denied or the vehicle can be allowed to wait, so as to determine whether to release the vehicle based on the access authority.

[0127] In an embodiment of the present application, by pre-identifying and pre-authenticating the license plate before the vehicle arrives at the gate, if the vehicle pre-identification result is consistent with the vehicle re-identification result, the vehicle can be released directly based on the pre-authentication result. If they are inconsistent, the vehicle can be released based on the second authentication result, thereby improving the vehicle's travel speed and smoothness, avoiding vehicle congestion at entrances and exits, and improving the travel experience.

[0128] It should be understood that the size of the serial numbers of the steps in the above embodiments does not 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 embodiments of the present application.

[0129] In one embodiment, a vehicle passing device is provided, which corresponds one-to-one to the vehicle passing method in the above embodiment. Figure 6 As shown, the vehicle passage device includes a vehicle pre-identification result acquisition unit 10, a first authentication result acquisition unit 20, a vehicle re-identification result acquisition unit 30 and a first passage processing unit 40. Each functional module is described in detail as follows:

[0130] The vehicle pre-identification result acquisition unit 10 is used to pre-identify the vehicle information of the target vehicle when the target vehicle travels to the pre-identification position to obtain the vehicle pre-identification result;

[0131] The vehicle pre-identification result acquisition unit 10 is used to pre-identify the vehicle information of the target vehicle when the target vehicle travels to the pre-identification position to obtain the vehicle pre-identification result;

[0132] A first authentication result acquisition unit 20, configured to perform pre-authentication based on the vehicle pre-identification result to obtain a first authentication result;

[0133] The vehicle re-identification result acquisition unit 30 is used to re-identify the vehicle information of the target vehicle when the target vehicle travels to the re-identification position to obtain the vehicle re-identification result;

[0134] The first pass processing unit 40 is used to compare the vehicle pre-identification result with the vehicle re-identification result, and when the results are consistent, perform a pass processing on the target vehicle based on the first authentication result.

[0135] In the embodiment of the present application, the device further includes a second traffic processing unit 40, which is used to:

[0136] When the vehicle pre-identification result is inconsistent with the vehicle re-identification result, authentication is performed based on the vehicle re-identification result to obtain a second authentication result;

[0137] Based on the second authentication result, the target vehicle is processed for passage.

[0138] In an embodiment of the present application, the device further includes a first determining unit, configured to:

[0139] Acquire first running video data of the target vehicle, wherein the first running video data is provided with a first virtual pre-identification detection line or a first pre-identification area detection frame;

[0140] Detecting a target vehicle in the first running video data and generating a first vehicle detection frame;

[0141] When the target boundary line of the first vehicle detection frame coincides with the first virtual pre-recognition detection line, or when there is an overlapping area between the first vehicle detection frame and the first pre-recognition area detection frame, it is determined that the target vehicle has traveled to the pre-recognition position.

[0142] In one embodiment of the present application, the vehicle pre-identification result 10 is also used for:

[0143] Identify the vehicle information of the target vehicle in the first running video data frame by frame to obtain multiple vehicle identification results;

[0144] When the number of the vehicle identification results is greater than or equal to a first preset threshold, a plurality of the vehicle identification results are voted to obtain the vehicle pre-identification result.

[0145] In one embodiment of the present application, the device further includes

[0146] Determining an authentication mode of the target vehicle, wherein the authentication mode includes at least one of local authentication and third-party authentication;

[0147] When authenticating the local end, performing pre-authentication based on the vehicle pre-identification result to obtain the first authentication result;

[0148] When authenticating for the third party, the vehicle pre-identification result is sent to the third party, the third party performs pre-authentication, and the first authentication result returned by the third party is received.

[0149] In an embodiment of the present application, the device further includes a second determining unit, configured to:

[0150] Acquire second operation video data of the target vehicle, wherein the second operation video data is provided with a second virtual recognition confirmation detection line or a second recognition confirmation area detection frame;

[0151] Detecting a target vehicle in the second running video data and generating a second vehicle detection frame;

[0152] When the target boundary line of the second vehicle detection frame coincides with the second virtual recognition confirmation detection line, or when there is an overlapping area between the second vehicle detection frame and the second recognition confirmation area detection frame, it is determined that the target vehicle has traveled to the re-recognition position.

[0153] In one embodiment of the present application, the vehicle re-identification result is used to:

[0154] Identify the vehicle information of the target vehicle in the second running video data frame by frame to obtain multiple vehicle identification results;

[0155] When the number of vehicle identification results is greater than or equal to a second preset threshold, the vehicle identification results are voted on to obtain a vehicle re-identification result.

[0156] In one embodiment of the present application, the first traffic processing unit 40 is further configured to:

[0157] Determine the access authority corresponding to the target vehicle, wherein the access authority includes: direct access, paid access, denied access, and waiting access;

[0158] Determine whether to release the target vehicle according to the confirmation result of the access authority.

[0159] In the embodiment of the present application, the license plate is pre-identified and pre-authenticated before the vehicle arrives at the gate. If the vehicle pre-identification result is consistent with the vehicle re-identification result, the pre-authentication result can be directly used.

[0160] If there is inconsistency, the vehicle can be released based on the second authentication result, thereby improving the speed and smoothness of vehicle passage, avoiding congestion at entrances and exits, and improving the passage experience.

[0161] For the specific definition of the vehicle passage device, please refer to the definition of the vehicle passage method above, which will not be repeated here. Each module in the above-mentioned vehicle passage device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0162] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer-readable instructions are executed by the processor, a vehicle passage method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0163] In an embodiment of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the vehicle passage method described above are implemented.

[0164] In an embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the steps of the vehicle passage method described above are implemented.

[0165] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0166] Those skilled in the art 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. In actual applications, the above-mentioned functions can be distributed and 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.

[0167] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These 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 application, and should all be included in the protection scope of the present application.

Claims

1. A vehicle passage method, characterized in that: The method comprises When the target vehicle travels to the pre-recognition position, pre-recognition is performed on the vehicle information of the target vehicle to obtain a vehicle pre-recognition result; Based on the vehicle pre-identification result, pre-authentication is performed to obtain a first authentication result; When the target vehicle travels to the re-identification position, re-identifying the vehicle information of the target vehicle to obtain a vehicle re-identification result; The vehicle pre-identification result is compared with the vehicle re-identification result, and when the results are consistent, the target vehicle is processed for passage based on the first authentication result.

2. The vehicle passing method according to claim 1, characterized in that: After comparing the vehicle pre-recognition result with the vehicle re-recognition result, the method further comprises: When the vehicle pre-identification result is inconsistent with the vehicle re-identification result, performing authentication based on the vehicle re-identification result to obtain a second authentication result; Based on the second authentication result, the target vehicle is processed for passage.

3. The vehicle passing method according to claim 1, characterized in that: When the target vehicle travels to the pre-identification position, before pre-identifying the vehicle information of the target vehicle, the method includes: Acquire first running video data of the target vehicle, wherein the first running video data is provided with a first virtual pre-identification detection line or a first pre-identification area detection frame; Detecting a target vehicle in the first running video data and generating a first vehicle detection frame; When the target boundary line of the first vehicle detection frame coincides with the first virtual pre-recognition detection line, or when there is an overlapping area between the first vehicle detection frame and the first pre-recognition area detection frame, it is determined that the target vehicle has traveled to the pre-recognition position.

4. The vehicle passing method according to claim 1, characterized in that: The pre-identifying the vehicle information of the target vehicle to obtain a vehicle pre-identification result includes: Identify the vehicle information of the target vehicle in the first running video data frame by frame to obtain multiple vehicle identification results; When the number of the vehicle identification results is greater than or equal to a first preset threshold, a plurality of the vehicle identification results are voted to obtain the vehicle pre-identification result.

5. The vehicle passing method according to claim 1, characterized in that: After obtaining the vehicle pre-recognition result, the method further includes: Determining an authentication mode of the target vehicle, wherein the authentication mode includes at least one of local authentication and third-party authentication; When authenticating the local end, performing pre-authentication based on the vehicle pre-identification result to obtain the first authentication result; When authenticating for the third party, the vehicle pre-identification result is sent to the third party, the third party performs pre-authentication, and the first authentication result returned by the third party is received.

6. The vehicle passing method according to claim 1, characterized in that: When the target vehicle travels to the re-identification position, re-identifying the vehicle information of the target vehicle includes: Acquire second operation video data of the target vehicle, wherein the second operation video data is provided with a second virtual recognition confirmation detection line or a second recognition confirmation area detection frame; Detecting a target vehicle in the second running video data and generating a second vehicle detection frame; When the target boundary line of the second vehicle detection frame coincides with the second virtual recognition confirmation detection line, or when there is an overlapping area between the second vehicle detection frame and the second recognition confirmation area detection frame, it is determined that the target vehicle has traveled to the re-recognition position.

7. The vehicle passing method according to any one of claims 1 to 6, characterized in that: The performing passage processing on the target vehicle includes: Determine the access authority corresponding to the target vehicle, wherein the access authority includes: direct access, paid access, denied access, and waiting access; Determine whether to release the target vehicle according to the confirmation result of the access authority.

8. A vehicle passage device, characterized in that: The device comprises: A vehicle pre-identification result acquisition unit, used to pre-identify the vehicle information of the target vehicle when the target vehicle travels to the pre-identification position to obtain a vehicle pre-identification result; A first authentication result obtaining unit, configured to perform pre-authentication based on the vehicle pre-identification result to obtain a first authentication result; A vehicle re-identification result acquisition unit, used to re-identify the vehicle information of the target vehicle when the target vehicle travels to the re-identification position to obtain a vehicle re-identification result; The first pass processing unit is used to compare the vehicle pre-identification result with the vehicle re-identification result, and when the results are consistent, perform a pass processing on the target vehicle based on the first authentication result.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer-readable instructions, the steps of the vehicle passage method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the vehicle passage method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Dual-camera vehicle identification system and charging method

    CN106503980A

  • Vehicle access identification method, device and equipment, and readable storage medium

    CN109741610A

  • Vehicle entrance management method, vehicle entrance management system and license plate recognition device

    CN115620432A