A vehicle video analysis and management system based on the entrance and exit of a parking lot
By setting up a video analysis system at the entrances and exits of the parking lot, vehicle information recording, fee confirmation and parking space statistics are realized, which solves the problems of low efficiency and low resource utilization in traditional parking lot management, and improves the management efficiency and revenue accuracy of parking lots.
Patent Information
- Application Number
- CN202411739798.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2044-11-29
AI Technical Summary
In traditional parking lot management, vehicle entry and exit efficiency is low, charges are opaque, parking space utilization rate is low, and there is serious evasion of fees after following vehicles, resulting in the inability to effectively utilize parking lot resources and impact on revenue.
A vehicle video analysis and management system based on the entrance and exit of the parking lot is adopted to obtain vehicle information through the control camera, and a payment booth and an interception booth are set up to confirm the cost. Combined with the monitoring probe, parking space statistics are achieved to realize vehicle follow-up reminders, fee reimbursement and parking space statistics.
It improves the accuracy of parking space statistics, avoids evasion of fees by following the car to affect revenue, and ensures the effective utilization of parking lot resources.
Smart Images

Figure CN119559797B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parking lot management, and in particular to a vehicle video analysis and management system based on a parking lot entrance and exit. Background Art
[0002] With the increasing congestion of urban traffic, parking lots, as important facilities to solve parking problems, their management efficiency and service quality are of great significance to the normal operation of the city.
[0003] Traditional parking lot management methods mainly rely on manual management, which has many problems, such as low vehicle entry and exit efficiency, opaque charges, and low parking space utilization. Therefore, most parking lots currently use smart management systems to operate and manage parking lots.
[0004] In actual applications, parking lots that use smart management systems have found that when the traffic volume is large, there is a serious problem of vehicles following cars in and out of the parking lot. As a result, there are often problems such as inaccurate parking spaces and serious vehicle evasion, which results in the ineffective utilization of parking resources. In order to improve the accuracy of the number of parking spaces in the parking lot and to avoid the impact of vehicles following cars and evading fees on the parking lot's revenue, we propose a vehicle video analysis management system based on the entrances and exits of the parking lot. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the deficiencies in the prior art, the present invention provides a vehicle video analysis and management system based on parking lot entrances and exits to solve the above-mentioned problems in the prior art.
[0007] (II) Technical solution
[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions: A vehicle video analysis and management system based on parking lot entrances and exits, comprising the following modules:
[0009] The vehicle identification and recording module uses a camera at the entrance of the parking lot to take a photo of the vehicle to obtain an entry photo, obtains the vehicle license plate number through the entry photo, obtains the vehicle following distance through the entry photo, reminds the vehicle through the vehicle following distance, establishes a vehicle database, and enters the vehicle information into the vehicle database;
[0010] Payment confirmation module: a payment booth is set up at the entrance of the parking lot exit passage, and a photo of the vehicle leaving is taken to obtain a departure photo. An interception booth is set up at the exit of the parking lot exit passage to obtain payment information, compare the departure photo with the entry photo, and control the interception booth to intercept the unpaid vehicle through the payment information to make up the fee, and the vehicle information of the paid vehicle is included in the vehicle database;
[0011] The parking space statistics module obtains the total number of parking spaces in the parking lot, the total number of vehicles entering and leaving. The total number of remaining empty spaces is obtained through the total number of parking spaces, the total number of vehicles entering, the total number of vehicles leaving, and the total number of fee supplements. Multiple monitoring probes are arranged in the parking lot to take reference photos of all parking spaces. The number of empty parking spaces is obtained through the reference photos. The final remaining parking spaces are obtained by comparing the total number of remaining empty spaces with the number of empty parking spaces obtained from the reference photos.
[0012] Preferably, in the vehicle identification and recording module, the following operations are performed to obtain the vehicle following distance from the entry photo and give a reminder to the vehicle based on the vehicle following distance:
[0013] Step 1: Obtain multiple entry photos of a single vehicle. Lock the front license plate of the vehicle through the entry photos, and lock the rear license plate of the vehicle in front of the vehicle through the entry photos. Measure the distance between the front license plate of this vehicle and the rear license plate of the vehicle in front in multiple entry photos to obtain a reference distance.
[0014] Step 2: Set a preset threshold for the distance ratio. Obtain the following distance by multiplying the reference distance by the preset threshold of the distance ratio. Set a preset threshold for the safety distance, and compare the following distance with the preset threshold of the safety distance.
[0015] Step 3: If the following distance is less than the preset threshold of the safety distance, remind the vehicle to pay attention to increasing the following distance through a speaker, and mark the license plate number of this vehicle as an entry attention target.
[0016] Preferably, in the payment confirmation module, the departure photo is compared with the entry photo, and the interception booth is controlled through the payment information to intercept the vehicle that has not paid the fee for fee supplement. The specific operations are as follows:
[0017] Step 1: Obtain the entry photo of the vehicle to be paid according to the license plate number in the vehicle database. Measure the vehicle length in the entry photo of the vehicle to be paid to obtain the entry length. Set a preset threshold for the length ratio. Obtain the entry vehicle length of the vehicle to be paid by multiplying the entry length of the vehicle to be paid by the preset threshold of the length ratio. Measure the vehicle length of the vehicle to be paid through the departure photo to obtain the departure length. Obtain the departure vehicle length by multiplying the departure length by the preset threshold of the length ratio.
[0018] Step 2: Compare the entry vehicle length with the departure vehicle length. If the entry vehicle length is different from the departure vehicle length, turn on the speaker to remind the vehicle to pay attention to increasing the following distance. Obtain the license plate number of the vehicle behind the vehicle to be paid through the departure photo of the vehicle to be paid, and define this vehicle as a following target. After the following target leaves the payment booth, query whether this vehicle has completed the payment in the payment system. If the following target has not paid, send the license plate number of this vehicle to the interception booth to remind the management staff to intercept and recover the fee, and mark this vehicle as a departure attention target.
[0019] Preferably, the vehicle information for the supplementary payment is included in the vehicle database in the payment confirmation module, specifically: obtaining the license plate number of the vehicle entering the target of interest, obtaining the license plate number of the vehicle leaving the target of interest, comparing whether the license plate numbers entering the target of interest and leaving the target of interest are the same, if the license plate numbers are the same, then marking the license plate number as a toll evasion license plate and storing it in the vehicle database.
[0020] Preferably, the total number of entries and the total number of exits are obtained in the parking space statistics module, specifically:
[0021] Step 1: Obtain all entry photos, identify the license plate numbers of all entry photos, delete duplicate license plate numbers based on the identification results, and count the remaining license plate numbers to obtain the total number of entries;
[0022] Step 2: Obtain all departure photos, perform license plate number recognition on all departure photos, delete duplicate license plate numbers based on the recognition results, and count the remaining license plate numbers to obtain the total number of departures.
[0023] Preferably, in the parking space statistics module, the total number of remaining spaces is obtained by obtaining the total number of parking spaces, the total number of entries, the total number of departures, and the total number of fees paid, specifically:
[0024] Step 1: Obtain the license plate numbers of all vehicles that have paid the fees, and obtain the license plate numbers of all vehicles that have left;
[0025] Step 2: Delete the license plate numbers of all vehicles that have paid the supplementary fees and the license plate numbers of all vehicles that have left the vehicle to obtain the supplementary payment reference license plate numbers, and count all the supplementary payment reference license plate numbers to obtain the total number of supplementary payments;
[0026] The total number of remaining vacancies is calculated as follows:
[0027]
[0028] Among them, Sy represents the total number of remaining vacancies, Tz represents the total number of parking spaces in the parking lot, Jr represents the total number of entries, Ls represents the total number of departures, and Bj represents the total number of fees paid.
[0029] Preferably, in the parking space statistics module, multiple monitoring probes are arranged in the parking lot to take pictures of all parking spaces to obtain reference photos, specifically:
[0030] Step 1: Arrange multiple surveillance cameras in the parking lot so that the multiple surveillance cameras can capture all parking spaces;
[0031] Step 2: Set the surveillance camera screenshot time interval, and capture video images from all surveillance camera videos at the same time according to the surveillance camera screenshot time interval;
[0032] Step 3: Determine whether there are blurred pictures among all the video pictures. If there are blurred pictures, lock the monitoring camera that captured the pictures through the pictures and mark it as the reshooting camera. Re - intercept video pictures from the video of the reshooting camera, and determine whether the re - intercepted pictures are blurred. If the re - intercepted pictures are blurred, turn on the alarm to remind the management staff to repair the reshooting camera.
[0033] Preferably, to determine whether there are blurred pictures among all the video pictures, specifically:
[0034] Step 1: Obtain all the video pictures, perform grayscale processing on all the video pictures to obtain grayscale pictures, obtain the horizontal gradient and vertical gradient of each video picture through the Sobel operator, and obtain the gradient amplitude of each video picture through the horizontal gradient and vertical gradient;
[0035] Step 2: Set a preset threshold for the gradient amplitude, and determine the size relationship between the gradient amplitude of each video picture and the preset threshold of the gradient amplitude. If the gradient amplitude of the video picture is less than the preset threshold of the gradient amplitude, define this video picture as a blurred picture;
[0036] The calculation method of the gradient amplitude is specifically:
[0037]
[0038] Among them, Tf represents the gradient amplitude, Sp represents the horizontal gradient, and Ct represents the vertical gradient.
[0039] Preferably, in the parking space statistics module, obtain the number of available parking spaces through reference photos, specifically:
[0040] Step 1: Obtain all the reference pictures, identify the parking space marking lines in all the reference pictures. If the parking space marking lines are complete, mark this parking space as an available parking space;
[0041] Step 2: Delete the duplicate available parking spaces among all the available parking spaces, and count the available parking spaces after the duplicate deletion to obtain the number of available parking spaces.
[0042] Preferably, in the parking space statistics module, obtain the final remaining parking spaces through the total number of remaining spaces and the number of available parking spaces, specifically:
[0043] Step 1: Obtain the total number of remaining spaces, obtain the number of available parking spaces, and obtain the remaining parking spaces through the total number of remaining spaces and the number of available parking spaces;
[0044] Step 2: Determine whether the remaining parking spaces are integers. If the remaining parking spaces are integers, mark the remaining parking spaces as the final remaining parking spaces. If the remaining parking spaces are not integers, take the integer part of the remaining parking spaces and mark it as the final remaining parking spaces;
[0045] The calculation method of the remaining parking spaces is specifically:
[0046]
[0047] Among them, Zg represents the remaining parking spaces, Sy represents the total number of remaining empty spaces, and Tk represents the number of empty parking spaces. and are both weights. , , .
[0048] (III) Beneficial Effects
[0049] The present invention provides a vehicle video analysis and management system based on the entrance and exit of a parking lot, having the following beneficial effects:
[0050] (1) In the payment confirmation module of this solution, a toll booth is set at the entrance of the exit passage of the parking lot to charge the departing vehicles. Vehicles evading tolls by following are captured through the departure photos at the toll booth. An interception booth is set at the exit of the exit passage of the parking lot to intercept and recover the fees from the vehicles that follow without paying. The vehicle information of the fee-repaid vehicles is incorporated into the vehicle database, so as to facilitate focusing on the payment situation of this vehicle when it enters the parking lot later, which is beneficial to avoiding the impact of vehicles evading tolls by following on the revenue of the parking lot when leaving the parking lot.
[0051] (2) In the parking space statistics module of this solution, the total number of remaining empty spaces is obtained through the total number of parking spaces, the total number of entries, the total number of departures, and the total number of fee-repaid vehicles. Thus, the remaining parking spaces in the parking lot are statistically calculated based on the photos of the vehicle when leaving the parking lot for payment and when entering the parking lot. The number of empty parking spaces is obtained through the reference photos taken by multiple monitoring probes arranged in the parking lot. Finally, the final remaining parking spaces are obtained through the total number of remaining empty spaces and the number of empty parking spaces. Thus, the remaining parking spaces are statistically calculated based on the monitoring probes managed in the parking lot. Finally, the two statistical results are combined and summarized to obtain the final remaining parking spaces, which is beneficial to improving the accuracy of the remaining parking space statistical results, beneficial to avoiding the situation where the statistical results are incorrect due to vehicle toll evasion, and further facilitating the full utilization of the parking space resources in the parking lot. Description of the Drawings
[0052] Figure 1 is a schematic structural diagram of a vehicle video analysis and management system based on the entrance and exit of a parking lot according to the present invention;
[0053] Figure 2 is a flow block diagram of a vehicle video analysis and management system based on the entrance and exit of a parking lot according to the present invention. Detailed Embodiments
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] See also Figure 1 - Figure 2 The present invention provides a vehicle video analysis and management system based on a parking lot entrance and exit, comprising the following modules:
[0056] The vehicle identification and recording module uses a camera at the entrance of the parking lot to take a photo of the vehicle to obtain an entry photo, obtains the vehicle license plate number through the entry photo, obtains the vehicle following distance through the entry photo, reminds the vehicle through the vehicle following distance, establishes a vehicle database, and enters the vehicle information into the vehicle database;
[0057] Payment confirmation module: a payment booth is set up at the entrance of the parking lot exit passage, and a photo of the vehicle leaving is taken to obtain a departure photo. An interception booth is set up at the exit of the parking lot exit passage to obtain payment information, compare the departure photo with the entry photo, and control the interception booth to intercept the unpaid vehicle through the payment information to make up the fee, and the vehicle information of the paid vehicle is included in the vehicle database;
[0058] The parking space statistics module obtains the total number of parking spaces in the parking lot, the total number of entries and the total number of exits, and obtains the total number of remaining spaces through the total number of parking spaces, the total number of entries, the total number of exits and the total number of fees paid. Multiple monitoring probes are arranged in the parking lot to take pictures of all parking spaces to obtain reference photos, and the number of parking vacancies is obtained through the reference photos. The final remaining parking spaces are obtained through the total number of remaining spaces and the number of parking vacancies.
[0059] In this embodiment, in the vehicle identification module, the solution uses a camera at the entrance of the parking lot to take a photo of the vehicle to obtain an entry photo, and the license plate number of the vehicle entering the parking lot is captured through the entry photo, so as to record the vehicle, obtain the following distance of the vehicle through the entry photo, and remind the vehicle according to the following distance, and register the vehicle information entering the parking lot by establishing a vehicle database, so as to facilitate the subsequent billing management of the vehicle and parking space statistics;
[0060] In this solution, in the payment confirmation module, a toll booth is set at the entrance of the exit passage of the parking lot to charge the departing vehicles. Vehicles that follow others to avoid paying are captured by the departure photos taken at the toll booth. An interception booth is set at the exit of the exit passage of the parking lot to intercept and recover the fees from the vehicles that follow others without paying. The vehicle information of the vehicles that make up the payment is incorporated into the vehicle database, so as to facilitate focusing on the payment situation of the vehicle when it enters the parking lot in the future, which is beneficial to avoiding the impact of following others to avoid paying on the revenue of the parking lot when the vehicle leaves the parking lot;
[0061] In this solution, in the parking space statistics module, the total number of remaining empty spaces is obtained through the total number of parking spaces, the total number of entries, the total number of departures, and the total number of payment supplements. Thus, the remaining parking spaces in the parking lot are counted based on the photos of the vehicle when it leaves the parking lot for payment and when it enters the parking lot. The number of empty parking spaces is obtained through the reference photos taken by multiple monitoring probes arranged in the parking lot. Finally, the final remaining parking spaces are obtained through the total number of remaining empty spaces and the number of empty parking spaces. Thus, the remaining parking spaces are counted based on the monitoring probes managed in the parking lot. Finally, the two statistical results are combined and summarized to obtain the final remaining parking spaces, which is beneficial to improving the accuracy of the statistical results of the remaining parking spaces, which is beneficial to avoiding the situation where the statistical results are incorrect due to vehicle fare evasion, and then facilitating the full utilization of the parking space resources in the parking lot.
[0062] In the vehicle identification and recording module, the following distance of the vehicle is obtained through the entry photo, and the vehicle is reminded through the following distance of the vehicle. Specifically:
[0063] Step 1: Obtain multiple entry photos of a single vehicle. Lock the front license plate of the vehicle through the entry photo, and lock the rear license plate of the vehicle in front of the vehicle through the entry photo. Measure the distance between the front license plate of this vehicle and the rear license plate of the vehicle in front of it in multiple entry photos to obtain a reference distance;
[0064] Step 2: Set a preset threshold for the distance ratio. Obtain the following distance by multiplying the reference distance by the preset threshold for the distance ratio. Set a preset threshold for the safety distance, and compare the size relationship between the following distance and the preset threshold for the safety distance;
[0065] Step 3: If the following distance is less than the preset threshold for the safety distance, remind the vehicle to pay attention to keeping a sufficient following distance through the speaker, and mark the license plate number of this vehicle as an entry attention target.
[0066] In this embodiment, by locking and measuring the distance between the front license plate of the vehicle and the rear license plate of the vehicle in front in the entry photo, the following situation of the vehicle is mastered, which is convenient for reminding and marking the following vehicle, which is beneficial to avoiding the license plate number not being entered into the vehicle database due to the vehicle following too closely when entering the parking lot, and is beneficial to avoiding the vehicle being unable to pay the fee normally and evading the fee subsequently;
[0067] It is worth mentioning that the value of the preset threshold in this solution can be obtained by weight analysis method, which will not be elaborated here.
[0068] In the payment confirmation module, the exit photo is compared with the entry photo, and the payment information is used to control the interception booth to intercept the unpaid vehicle and make up the fee. Specifically:
[0069] Step 1: Obtain an entry photo of the toll-paying vehicle from the vehicle database according to the license plate number, measure the vehicle length in the entry photo of the toll-paying vehicle to obtain the entry length, set a preset threshold for the length ratio, and obtain the entry vehicle length of the toll-paying vehicle by multiplying the entry length of the toll-paying vehicle by the preset threshold for the length ratio, measure the vehicle length of the toll-paying vehicle through the exit photo to obtain the exit length, and obtain the exit length by multiplying the exit length by the preset threshold for the length ratio;
[0070] Step 2: Compare the length of the entering vehicle with the length of the leaving vehicle. If the length of the entering vehicle is different from the length of the leaving vehicle, turn on the speaker to remind the vehicle to keep a distance from the following vehicle. Obtain the license plate number of the vehicle behind the paying vehicle through the photo of the paying vehicle leaving, and define the vehicle as the following target. When the following target leaves the payment booth, check in the payment system whether the vehicle has completed payment. If the following target has not paid, send the license plate number of the vehicle to the interception booth to remind the management staff to intercept and collect the fee, and mark the vehicle as a leaving target.
[0071] In this embodiment, by comparing the lengths of the paying vehicles, it is determined whether there is a vehicle following the paying vehicle intentionally to block the license plate. The following vehicle is marked based on the comparison result and the interception booth manager is notified to collect the fees from the following vehicle that has not paid the fee. This helps to avoid the impact on the parking lot's revenue by following the vehicle to evade fees when the vehicle leaves the parking lot.
[0072] In the payment confirmation module, the vehicle information of the fee-evading vehicle is included in the vehicle database, specifically: obtaining the license plate number of the vehicle entering the target of interest, obtaining the license plate number of the vehicle leaving the target of interest, and comparing whether the license plate numbers entering the target of interest and leaving the target of interest are the same. If the license plate numbers are the same, the license plate number is marked as a fee-evading license plate and stored in the vehicle database.
[0073] In this embodiment, the license plate numbers of the vehicles entering the target of interest and leaving the target of interest are compared to see if they are the same. If the license plate numbers are the same, the license plate number is marked as a toll evasion license plate and stored in the vehicle database, so that it is convenient for the vehicle to pay attention to the payment status after entering the parking lot in the future, which is further beneficial to avoid vehicles evading fees when leaving the parking lot, affecting the parking lot's revenue.
[0074] Get the total number of entries and exits in the parking space statistics module, specifically:
[0075] Step 1: Obtain all the entry photos, respectively identify the license plate numbers of all the entry photos, delete the duplicate license plate numbers according to the recognition results, and count the remaining license plate numbers to obtain the total number of entries;
[0076] Step 2: Obtain all the departure photos, respectively identify the license plate numbers of all the departure photos, delete the duplicate license plate numbers according to the recognition results, and count the remaining license plate numbers to obtain the total number of departures.
[0077] In this embodiment, the total number of entries is obtained through the entry photos, the total number of departures is obtained through the departure photos, and the duplicate vehicles in the photos are deleted, so as to facilitate accurately grasping the remaining parking spaces in the parking lot subsequently, and further facilitate making full use of the parking space resources in the parking lot.
[0078] In the parking space statistics module, the total number of remaining empty spaces is obtained through the total number of parking spaces, the total number of entries obtained, the total number of departures, and the total number of fee supplements to be paid. Specifically:
[0079] Step 1: Obtain the license plate numbers of all the vehicles for which fees need to be supplemented, and obtain the license plate numbers of all the total number of departures;
[0080] Step 2: Delete the license plate numbers that are the same as the license plate numbers of all the total number of departures from all the license plate numbers of the vehicles for which fees need to be supplemented to obtain the reference license plate numbers for supplementary payment, and count all the reference license plate numbers for supplementary payment to obtain the total number of supplements to be paid;
[0081] The calculation method of the total number of remaining empty spaces is specifically:
[0082]
[0083] Among them, Sy represents the total number of remaining empty spaces, Tz represents the total number of parking spaces in the parking lot, Jr represents the total number of entries, Ls represents the total number of departures, and Bj represents the total number of fee supplements to be paid.
[0084] In this embodiment, by deleting the license plate numbers that are the same as the license plate numbers of all the total number of departures from all the license plate numbers of the vehicles for which fees need to be supplemented to obtain the reference license plate numbers for supplementary payment, it is convenient to accurately grasp the remaining parking spaces in the parking lot subsequently, and further more convenient to make full use of the parking space resources in the parking lot.
[0085] In the parking space statistics module, a plurality of monitoring probes are arranged in the parking lot to take reference photos of all the parking spaces. Specifically:
[0086] Step 1: Arrange a plurality of monitoring probes in the parking lot so that the plurality of monitoring probes can photograph all the parking spaces;
[0087] Step 2: Set the screenshot time interval of the monitoring probes, and simultaneously intercept video pictures in the videos of all the monitoring probes according to the screenshot time interval of the monitoring probes;
[0088] Step 3: Determine whether there are blurred images among all the video pictures. If there are blurred images, lock the monitoring camera that captured the pictures through the image and mark it as the reshooting camera. Re - intercept video pictures from the video of the reshooting camera, and determine whether the re - intercepted pictures are blurred. If the re - intercepted pictures are blurred, turn on the alarm to remind the management staff to repair the reshooting camera.
[0089] In this embodiment, pictures are intercepted through the monitoring camera, which facilitates subsequent identification of the remaining empty parking spaces in the parking lot based on the video pictures. By reshooting the blurred pictures, it is more convenient to accurately calculate the remaining empty parking spaces in the parking lot, and further facilitates the full utilization of the parking space resources in the parking lot.
[0090] To determine whether there are blurred images among all the video pictures, specifically:
[0091] Step 1: Obtain all the video pictures, perform grayscale processing on all the video pictures to obtain grayscale pictures, obtain the horizontal gradient and vertical gradient of each video picture through the Sobel operator, and obtain the gradient amplitude of each video picture through the horizontal gradient and vertical gradient.
[0092] Step 2: Set a preset threshold for the gradient amplitude, and determine the size relationship between the gradient amplitude of each video picture and the preset threshold of the gradient amplitude. If the gradient amplitude of the video picture is less than the preset threshold of the gradient amplitude, define this video picture as a blurred picture.
[0093] The calculation method of the gradient amplitude is specifically:
[0094]
[0095] Among them, Tf represents the gradient amplitude, Sp represents the horizontal gradient, and Ct represents the vertical gradient.
[0096] In this embodiment, by performing grayscale processing on the pictures, then obtaining the horizontal gradient and vertical gradient of each video picture according to the Sobel operator to calculate the gradient amplitude, and finally comparing the gradient amplitude of the picture with the preset threshold of the gradient amplitude to determine whether the picture is a blurred picture.
[0097] It is worth mentioning that calculating the horizontal gradient and vertical gradient of the grayscale picture through the Sobel operator is a prior art, and the specific calculation method will not be elaborated here.
[0098] In the parking space statistics module, the number of available parking spaces is obtained by referring to the reference photos, specifically:
[0099] Step 1: Obtain all the reference pictures, identify the parking space marking lines in all the reference pictures. If the parking space marking lines are complete, mark this parking space as an available parking space.
[0100] Step 2: Delete the repeatedly identified empty parking spaces among all empty parking spaces, and count the number of empty parking spaces after the repeated deletion to obtain the number of available parking spaces.
[0101] In this embodiment, since the parking space marking line will be blocked by the vehicle when there is a vehicle in the parking space, a complete parking space marking line cannot be photographed. Therefore, it is possible to determine whether there is a vehicle in the parking space by identifying whether the parking space marking line in the reference picture is complete, which is convenient for calculating the remaining available parking spaces in the parking lot, and further convenient for making full use of the parking space resources in the parking lot.
[0102] In the parking space statistics module, the final remaining parking spaces are obtained by the total number of remaining empty spaces and the number of available parking spaces. Specifically:
[0103] Step 1: Obtain the total number of remaining empty spaces, obtain the number of available parking spaces, and obtain the remaining parking spaces by the total number of remaining empty spaces and the number of available parking spaces;
[0104] Step 2: Determine whether the remaining parking spaces are an integer. If the remaining parking spaces are an integer, mark the remaining parking spaces as the final remaining parking spaces. If the remaining parking spaces are not an integer, take the integer part of the remaining parking spaces and mark it as the final remaining parking spaces;
[0105] The calculation method of the remaining parking spaces is specifically:
[0106]
[0107] Among them, Zg represents the remaining parking spaces, Sy represents the total number of remaining empty spaces, and Tk represents the number of available parking spaces. and are both weights. , , .
[0108] In this embodiment, the final remaining parking spaces are obtained by the total number of remaining empty spaces and the number of available parking spaces. Thus, the remaining parking spaces are counted according to the monitoring probes managed in the parking lot. Finally, the two statistical results are combined and summarized to obtain the final remaining parking spaces, which is beneficial to improving the accuracy of the remaining parking space statistical results, beneficial to avoiding the situation where the statistical results are incorrect due to vehicle fare evasion, and further convenient for making full use of the parking space resources in the parking lot;
[0109] It is worth mentioning that the weight values in this solution can be obtained by the analytic hierarchy process, which will not be elaborated here.
[0110] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] As described above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application.
Claims
1. A vehicle video analysis and management system based on the entrance and exit of a parking lot, characterized in that, Includes the following modules: The vehicle identification and recording module uses a camera at the entrance of the parking lot to take a photo of the vehicle to obtain an entry photo, obtains the vehicle license plate number through the entry photo, obtains the vehicle following distance through the entry photo, reminds the vehicle through the vehicle following distance, establishes a vehicle database, and enters the vehicle information into the vehicle database; Payment confirmation module: a payment booth is set up at the entrance of the parking lot exit passage, and a photo of the vehicle leaving is taken to obtain a departure photo. An interception booth is set up at the exit of the parking lot exit passage to obtain payment information, compare the departure photo with the entry photo, and control the interception booth to intercept the unpaid vehicle through the payment information to make up the fee, and the vehicle information of the paid vehicle is included in the vehicle database; The parking space statistics module obtains the total number of parking spaces in the parking lot, the total number of entries and the total number of exits, and obtains the total number of remaining spaces through the total number of parking spaces, the total number of entries, the total number of exits and the total number of fees paid. Multiple monitoring probes are arranged in the parking lot to take pictures of all parking spaces to obtain reference photos, and the number of parking spaces is obtained through the reference photos. The final remaining parking spaces are obtained through the total number of remaining spaces and the number of parking spaces; In the vehicle identification record module, the vehicle following distance is obtained by entering the photo, and the vehicle is reminded based on the vehicle following distance. Specifically: Step 1: Obtain multiple entry photos of a single vehicle, identify and lock the front license plate of the vehicle through the entry photos, identify and lock the rear license plate of the vehicle in front of the vehicle through the entry photos, and measure the distance between the front license plate of the vehicle and the rear license plates of the vehicles in front of the vehicle in the multiple entry photos to obtain a reference distance; Step 2: Set a distance ratio preset threshold, obtain the following distance by multiplying the reference distance by the distance ratio preset threshold, set a safety distance preset threshold, and compare the following distance with the safety distance preset threshold; Step 3: If the following distance is less than the preset safety distance threshold, the speaker will remind the vehicle to increase the following distance, and mark the license plate number of the vehicle as a target of attention; In the payment confirmation module, the exit photo is compared with the entry photo, and the payment information is used to control the interception booth to intercept the unpaid vehicle and make the fee payment. Specifically: Step 1: Obtain an entry photo of the toll-paying vehicle from the vehicle database according to the license plate number, measure the vehicle length in the entry photo of the toll-paying vehicle to obtain the entry length, set a preset threshold for the length ratio, and obtain the entry vehicle length of the toll-paying vehicle by multiplying the entry length of the toll-paying vehicle by the preset threshold for the length ratio, measure the vehicle length of the toll-paying vehicle through the exit photo to obtain the exit length, and obtain the exit length by multiplying the exit length by the preset threshold for the length ratio; Step 2: Compare the length of the vehicle entering and the length of the vehicle leaving. If the length of the vehicle entering is different from the length of the vehicle leaving, turn on the loudspeaker to remind the vehicle to keep a distance from the vehicle behind. Obtain the license plate number of the vehicle behind the vehicle paying the fee through the departure photo of the vehicle paying the fee, and define the vehicle as the target of the vehicle following. When the target vehicle leaves the payment booth, check in the payment system whether the vehicle has paid the fee. If the target vehicle has not paid the fee, send the license plate number of the vehicle to the interception booth to remind the management staff to intercept and collect the fee, and mark the vehicle as the target of attention leaving. In the payment confirmation module, the vehicle information of the fee-evading vehicle is included in the vehicle database, specifically: obtaining the license plate number of the vehicle entering the target of interest, obtaining the license plate number of the vehicle leaving the target of interest, and comparing whether the license plate numbers entering the target of interest and leaving the target of interest are the same. If the license plate numbers are the same, the license plate number is marked as a fee-evading license plate and stored in the vehicle database.
2. The vehicle video analysis and management system based on the parking lot entrance and exit according to claim 1, wherein: Get the total number of entries and exits in the parking space statistics module, specifically: Step 1: Obtain all entry photos, identify the license plate numbers of all entry photos, delete duplicate license plate numbers based on the identification results, and count the remaining license plate numbers to obtain the total number of entries; Step 2: Obtain all departure photos, perform license plate number recognition on all departure photos, delete duplicate license plate numbers based on the recognition results, and count the remaining license plate numbers to obtain the total number of departures.
3. The vehicle video analysis and management system based on the parking lot entrance and exit according to claim 2, wherein: In the parking space statistics module, the total number of remaining spaces is obtained through the total number of parking spaces, the total number of entries, the total number of departures, and the total number of fees paid. Specifically: Step 1: Obtain the license plate numbers of all vehicles that have paid the fees, and obtain the license plate numbers of all vehicles that have left; Step 2: Delete the license plate numbers of all vehicles that have paid the supplementary fees and the license plate numbers of all vehicles that have left the vehicle to obtain the supplementary payment reference license plate numbers, and count all the supplementary payment reference license plate numbers to obtain the total number of supplementary payments; The total number of remaining vacancies is calculated as follows: Among them, Sy represents the total number of remaining vacancies, Tz represents the total number of parking spaces in the parking lot, Jr represents the total number of entries, Ls represents the total number of departures, and Bj represents the total number of fees paid.
4. A vehicle video analysis and management system based on the parking lot entrance and exit according to claim 1, characterized in that: In the parking space statistics module, multiple monitoring probes are arranged in the parking lot to take pictures of all parking spaces to obtain reference photos, specifically: Step 1: Arrange multiple surveillance cameras in the parking lot so that the multiple surveillance cameras can capture all parking spaces; Step 2: Set the surveillance camera screenshot time interval, and capture video images from all surveillance camera videos at the same time according to the surveillance camera screenshot time interval; Step 3: Determine whether there are blurred images in all video images. If there are blurred images, lock the surveillance camera that took the image through the image and mark it as a re-shooting camera. Re-capture the video image of the re-shooting camera and determine whether the re-captured image is blurred. If the re-captured image is blurred, turn on the alarm to remind the management personnel to check the re-shooting camera.
5. The vehicle video analysis and management system based on the parking lot entrance and exit according to claim 4, characterized in that: Determine whether there are blurred images in all video images, specifically: Step 1: Get all video images, grayscale process all video images to get grayscale images, use Sobel operator to get the horizontal gradient and vertical gradient of each video image, and get the gradient amplitude of each video image through the horizontal gradient and vertical gradient; Step 2: Set a preset gradient amplitude threshold, determine the relationship between the gradient amplitude of each video image and the preset gradient amplitude threshold, and if the gradient amplitude of the video image is less than the preset gradient amplitude threshold, define the video image as a blurred image; The calculation method of the gradient amplitude is as follows: Wherein, Tf represents the gradient amplitude, Sp represents the horizontal gradient, and Ct represents the vertical gradient.
6. The vehicle video analysis and management system based on the parking lot entrance and exit according to claim 1, characterized in that: In the parking space statistics module, the number of parking spaces is obtained by referring to the photos, specifically: Step 1: Obtain all reference images, identify the parking space marking lines in all reference images. If the parking space marking lines are complete, mark the parking space as an empty space; Step 2: Delete the repeatedly identified empty spaces among all empty spaces, and count the empty spaces after the repeated deletion to obtain the number of available parking spaces.
7. The vehicle video analysis and management system based on the parking lot entrance and exit according to claim 1, characterized in that: In the parking space statistics module, obtain the final remaining parking spaces through the total number of remaining empty spaces and the number of available parking spaces. Specifically: Step 1: Obtain the total number of remaining empty spaces, obtain the number of available parking spaces, and obtain the remaining parking spaces through the total number of remaining empty spaces and the number of available parking spaces; Step 2: Determine whether the remaining parking spaces are integers. If the remaining parking spaces are integers, mark the remaining parking spaces as the final remaining parking spaces. If the remaining parking spaces are not integers, take the integer part of the remaining parking spaces and mark it as the final remaining parking spaces; The calculation method of the remaining parking spaces is specifically: Among them, Zg represents the remaining parking spaces, Sy represents the total number of remaining empty spaces, and Tk represents the number of empty parking spaces. and are both weights. , , .
Citation Information
Patent Citations
Parking lot control method and system, and computer readable storage medium
CN109147066A
Parking lot management method and device, computer equipment and storage medium
CN117315564A
Method and device for identifying vehicle image
CN1783109A