Obstacle detection method for parking space occupancy status and parking space detection system
By identifying the number of points in the ultrasonic reflection signal and setting a preset range, the problem of obstacles being misidentified as vehicles in the ultrasonic detection method is solved, the misidentification rate is reduced and the accuracy of the parking space occupancy status is improved.
Patent Information
- Application Number
- CN202210692609.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-17
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-06-17
AI Technical Summary
Ultrasonic detection methods may mistakenly identify obstacles as vehicles, resulting in a high misrecognition rate.
By identifying the number of points in the ultrasonic reflection signal and setting a preset range in the obstacle judgment step, it is judged whether the number of points is within a non-zero preset range, combined with distance screening and multiple verifications, to reduce misidentifications.
It effectively reduces the probability of obstacles being mistakenly identified as vehicles, reduces the workload of the camera device, and improves the accuracy of the parking space occupancy status.
Smart Images

Figure CN115083172B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parking detection of parking spaces, and in particular to an obstacle detection method for parking space occupancy status, a storage medium and a parking space detection system. Background Art
[0002] At present, the commonly used parking space detection methods include manual monitoring, ultrasonic detection and image recognition detection or a combination of multiple methods. Ultrasonic detection is to install an ultrasonic detector near each parking space, and judge the detection distance of the object by receiving the ultrasonic reflection signal after emitting ultrasonic waves: when the distance changes from large to small, it is considered that a vehicle is entering the parking space; when the distance changes from small to large, it is considered that the vehicle is leaving the parking space; when the distance remains unchanged, it is considered that the vehicle is staying in the parking space or there is no vehicle in the current parking space. In the case of an obstacle occupying the parking space, the ultrasonic detection method may mistakenly identify the obstacle as a parked vehicle. Summary of the invention
[0003] The technical problem to be solved by the present invention is how to reduce the probability of misidentifying obstacles as vehicles during ultrasonic detection.
[0004] In order to solve the above technical problems, the present invention provides an obstacle detection method for parking space occupancy status, comprising the following steps:
[0005] Point identification step: obtaining an ultrasonic reflection signal and identifying the number of points of the ultrasonic reflection signal;
[0006] Obstacle judgment step: judge whether the number of identified points is within a non-zero preset range. If the judgment result is yes, it is considered that an obstacle is recognized in the current parking space.
[0007] Among them, it also includes a distance screening step performed before the obstacle judgment step: reading the distance information of the points in the ultrasonic reflection signal, judging whether the shortest distance in the distance information of each point is within the preset standard distance, and only executing the obstacle judgment step if the judgment result is yes.
[0008] Wherein, in the obstacle determination step, the preset range means: the number of points is one or two.
[0009] It also includes an ultrasonic emission step performed before the point identification step: a plurality of detection waves are emitted to the parking space to be detected, and these detection waves respectively generate ultrasonic reflection signals marked with points when they come into contact with the objects occupying the parking space, and the preset range of the number of points is less than the number of detection waves emitted.
[0010] Among them, the obstacle judgment step also includes a verification step executed after the judgment result is yes: the point recognition step is executed multiple times in succession, and only if the consistency of the number of points recognized multiple times reaches a preset degree, it is considered that an obstacle is recognized in the current parking space.
[0011] The method further includes a photographing step performed after the obstacle judging step: if an obstacle is considered to be identified in the current parking space in the obstacle judging step, a photographing device is called to photograph an image of the parking space.
[0012] The method comprises an alarm step performed after the photographing step: identifying whether there is a vehicle in the photographed parking space image, and if the identification result is that there is no vehicle, sending an alarm signal to prompt that the current parking space is occupied by an obstacle.
[0013] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the obstacle detection method for the parking space occupancy state as described above is implemented.
[0014] The present invention also provides a parking space detection system, including a control module and an ultrasonic detection device connected to the control module for communication, wherein the control module includes a computer-readable storage medium and a processor connected to each other, and the computer-readable storage medium is as described above.
[0015] The present invention has the following beneficial effects: the existing ultrasonic detection uses the change of the detection distance represented by the ultrasonic reflection signal as the judgment indicator of whether the vehicle is moving. When the detection distance does not change, it is impossible to specifically distinguish whether there is a car parked in the current parking space, and the only option is to turn on the camera device to capture the parking space image, which increases the workload of the camera device. The obstacle detection method for the parking space occupancy status of the present invention first thinks that the obstacles at the parking space (such as ice cream cones, stone pillars, mineral water bottles and other small garbage) are generally smaller than the size of the vehicle, and it is found that the number of points of these obstacles in the ultrasonic reflection signal is far less than the number of points of the real vehicle. Based on this, the inventor takes the point recognition step as the starting point. When acquiring the ultrasonic reflection signal, in addition to identifying the ultrasonic detection distance, the number of points of the ultrasonic reflection signal is also identified. Then, in the obstacle judgment step, it is first determined whether the number of identified points is within a non-zero preset range: if the number of points is zero, it means that there is neither a vehicle nor an obstacle in the parking space at present; if the number of points is within the range, it is considered that an obstacle is recognized in the current parking space; if the number of points exceeds the range, it is considered that a vehicle is parked in the current parking space, thereby reducing the probability of misidentifying an obstacle as a parked vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the installation position between the parking space detection system and the parking space;
[0017] Figure 2It is the system structure block diagram of the parking space detection system;
[0018] Figure 3 Flow chart of the obstacle detection method for parking space occupancy status. DETAILED DESCRIPTION
[0019] The present invention is further described in detail below in conjunction with specific implementation methods.
[0020] The parking space detection system and its installation location of this embodiment are as follows: Figure 1 and 2 As shown, the parking space detection system includes a parking space detector 2 arranged beside the parking space 1 (such as a curb), and the parking space detector 2 is provided with a camera 21 as a shooting device and an ultrasonic detector 22 as an ultrasonic detection device. The vehicle 3 is parked in the parking space 1, and the camera 21 and the ultrasonic detector 22 are both aimed at the front (or rear) of the vehicle, wherein the installation position of the camera 21 enables the parking space image it captures to cover the license plate installation position of the vehicle parked in the parking space in a standard or slightly offset manner, and the installation position of the ultrasonic detector 22 enables the detection wave it emits to cover the parking space (or at least two-thirds of the range).
[0021] Specifically, see Figure 2 The camera device and the ultrasonic detection device of the parking space detection system are respectively connected to a control module in communication, and the control module includes a computer-readable storage medium and a processor connected to each other, and a computer program is stored on the computer-readable storage medium. In this embodiment, the control module is a server connected to the camera device and the ultrasonic detection device in communication, and in other embodiments, the control module can be a control chip installed on the camera device or the ultrasonic detection device, such as a PLC control chip (Programmable Logic Controller).
[0022] The conventional working process of the parking space detection system is as follows: the ultrasonic transmitting module of the ultrasonic detection device periodically sends out multiple detection waves (such as 24) under the control of the control module, and the ultrasonic receiving module then receives the reflected signal of the emitted detection wave. The control module identifies the number of points of the ultrasonic reflection signal and the detection distance of the reflection signal of each point through ultrasonic data point matching. When the detection distance of the ultrasonic detection changes, the control module believes that there is a vehicle entering or leaving the parking space. Specifically: when the continuously measured distance changes from far to near, it is judged that a vehicle is entering; when the continuously measured distance changes from near to far or even to infinity, it is judged that a vehicle is leaving. In the above two cases, the control module directly controls the camera to start shooting multiple parking space images and uploads them to the system background for image processing to identify the vehicle and its license plate information. Among them, when the vehicle leaves, the current parking space image taken by the camera is compared with the image taken when the vehicle enters, mainly comparing the vehicle license plate recognition. If the license plate number is inconsistent, the vehicle change report is made. In the case where the license plate cannot be recognized, a neural network algorithm is needed to process the image to determine whether the vehicle has left or has been changed, or an alarm is needed to notify manual identification.
[0023] The parking space detection system also uses the following detailed parking space occupancy state obstacle detection method (specific steps see Figure 3 ) Identify the situation where the current parking space is occupied by an obstacle. The current parking space only has an obstacle but no vehicle is parked in it, that is, the parking space is occupied by a single obstacle. The identification process of the obstacle detection method for the parking space occupancy state is as follows.
[0024] (1) Ultrasonic emission step: The parking space detector is usually in standby mode. The control module periodically wakes up the ultrasonic emission module of the ultrasonic detection device to send 24 detection waves to the parking space to be detected. At this time, there is only one parking space 1. Figure 1 When there is an obstacle 4 in the parking space but no vehicle is parked, these detection waves generate ultrasonic reflection signals marked with points when they come into contact with the object occupying the parking space (i.e., obstacle 4).
[0025] (2) Point identification step: Obtain the ultrasonic reflection signal and identify the number of points of the ultrasonic reflection signal. At this time, the number of points is usually one or two, which is much smaller than the number of points when there is a parked vehicle (such as five to eight points).
[0026] (3) Obstacle judgment step: judge whether the number of identified points is within a non-zero preset range (the preset range is less than 24, the number of detection waves emitted. Taking the common obstacle area ice cream cone as an example, the preset range can be set to one point or two points). At this time, the judgment result is that there is only one point, that is, the judgment result is yes, and the control module believes that an obstacle is identified in the current parking space.
[0027] Specifically, before the obstacle judgment step is executed or after the number of points has been identified, the distance screening step is executed: the distance information of the points in the ultrasonic reflection signal is read to determine whether the shortest distance in the distance information of each point is within the preset standard distance (such as 1.5m). If the judgment result is yes, the obstacle judgment step is executed or it is considered that the current parking space has identified an obstacle. This can avoid the vehicle being misjudged as an obstacle due to the vehicle being parked too far away and the number of points being too small.
[0028] Among them, the obstacle judgment step also includes a verification step executed after the judgment result is yes: the point recognition step is executed multiple times in succession. If the consistency of the number of points recognized multiple times reaches a preset level (such as 80% or above), it is considered that an obstacle is recognized in the current parking space.
[0029] (4) Photographing step: If an obstacle is identified in the current parking space in the obstacle determination step, a photographing device is called to photograph an image of the parking space.
[0030] (5) Alarm step: Identify whether there is a vehicle in the captured parking space image. If the identification result is no vehicle, an alarm signal is issued to indicate that the current parking space is occupied by an obstacle, prompting manual confirmation.
[0031] The obstacle detection method for the occupied parking space of the present embodiment adds a point recognition step. When acquiring the ultrasonic reflection signal, in addition to identifying the ultrasonic detection distance, it also identifies the number of points of the ultrasonic reflection signal. Then, in the obstacle judgment step, it is first determined whether the number of identified points is within a non-zero preset range: if the number of points is zero, it means that there is neither a vehicle nor an obstacle in the parking space; if the number of points is within the range, it is considered that an obstacle is recognized in the current parking space; if the number of points exceeds the range, it is considered that a vehicle is parked in the current parking space, thereby reducing the probability of misidentifying an obstacle as a parked vehicle.
[0032] The above is only an implementation method of the invention, and does not limit the scope of patent protection. Those skilled in the art can make non-substantial changes or substitutions based on the invention, which still fall within the scope of patent protection.
Claims
1. A method for detecting an obstacle in a parking space occupancy state, characterized in that: The steps include: Ultrasonic emission step: emitting multiple detection waves to the parking space to be detected, and these detection waves respectively generate ultrasonic reflection signals marked with points when they come into contact with the objects occupying the parking space; Point identification step. Obtaining an ultrasonic reflection signal, identifying the number of points of the ultrasonic reflection signal; the preset range of the number of points is less than the number of detection waves emitted; Distance screening step. Read the distance information of the points in the ultrasonic reflection signal, and determine whether the shortest distance in the distance information of each point is within the preset standard distance. If the judgment result is yes, execute the obstacle judgment step; Obstacle determination step. Determine whether the number of identified points is within a non-zero preset range, where the preset range refers to the number of points being one or two. If the determination result is yes, it is considered that an obstacle is identified in the current parking space; Photographing step. If an obstacle is identified in the current parking space in the obstacle determination step, a photographing device is called to photograph an image of the parking space; Alarm step: Identify whether there is a vehicle in the captured parking space image. If the identification result is that there is no vehicle, an alarm signal is issued to prompt that the current parking space is occupied by an obstacle.
2. The obstacle detection method for parking space occupancy status according to claim 1, characterized in that: The obstacle judgment step also includes a verification step executed after the judgment result is yes: the point recognition step is executed multiple times in succession, and only if the consistency of the number of points recognized multiple times reaches a preset degree, it is considered that an obstacle is recognized in the current parking space.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the obstacle detection method for parking space occupancy status as claimed in claim 1 or 2 are implemented.
4. A parking space detection system, comprising a control module and an ultrasonic detection device in communication with the control module, wherein the control module comprises a computer-readable storage medium and a processor connected to each other, wherein: The computer readable storage medium as claimed in claim 3.
5. The parking space detection system according to claim 4, characterized in that: The ultrasonic detection device includes an ultrasonic transmitting module and an ultrasonic receiving module, and also includes a shooting device which is communicatively connected to the control module.
