Parking space occupying recognition method and device based on pentagonal space occupying frame and medium

By using the pentagonal placeholder frame and calculating the placeholder overlap, the problem of misjudgment of the quadrangle placeholder frame when identifying roadside parking spaces is solved, which significantly improves the accuracy of parking placeholder recognition.

CN119445498APending Publication Date: 2025-02-14ROPEOK TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411317198.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The existing quadrilateral placeholder frames are prone to misidentify the placeholder of parallel vehicles when identifying roadside parking spaces, resulting in a decrease in recognition accuracy.

Method used

Use a pentagonal placeholder box, by dividing the pentagon into a triangle and a quadrilateral with a common edge, and setting the endpoint distance threshold of the common edge, the placeholder overlap of the vehicle frame relative to the placeholder box is calculated to judge the vehicle. Whether to park in the parking space.

Benefits of technology

It effectively filters out misjudgment of parallel vehicles and improves the accuracy of parking space occupancy recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119445498A_ABST
    Figure CN119445498A_ABST
Patent Text Reader

Abstract

The invention relates to a parking space occupying recognition method and device based on pentagonal space occupying frames and a medium. The method comprises the steps that the space occupying frames corresponding to roadside parking spaces are arranged; the occupying frame is a pentagon, the pentagon can be divided into a triangle and a quadrangle with a common edge, the distance difference between two end points of the common edge and the road edge is smaller than a distance threshold value, the quadrangle divided by the common edge faces the road edge, and the triangle faces the center of the road; acquiring an image corresponding to the roadside parking space, and identifying a vehicle in the image to obtain a vehicle frame of the identified vehicle; calculating the occupation overlap ratio of the vehicle frame relative to the occupation frame; and judging whether the vehicle corresponding to the image is parked in the roadside parking space or not according to the size relationship between the calculated occupation overlap ratio and a set overlap ratio threshold value. According to the invention, the situation of misjudgment of parking space occupation of parallel vehicles can be filtered, and the accuracy of parking space occupation identification is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of parking management, and in particular to a parking space identification method, device and medium based on a pentagonal space frame. Background Art

[0002] The existing placeholder box used in roadside parking space recognition is usually a quadrilateral. When a parallel vehicle (a vehicle parked close to a roadside parking space but not meeting the standard for parking in the parking space, or a vehicle passing through a roadside parking space) passes by a roadside parking space, it may be misidentified. Summary of the invention

[0003] In order to solve the above problems, the present invention proposes a parking space identification method, device and medium based on a pentagonal placeholder frame.

[0004] The specific plan is as follows:

[0005] A parking space recognition method based on a pentagonal space frame comprises the following steps:

[0006] S1: Setting a placeholder frame corresponding to the roadside parking space; the placeholder frame is a pentagon, which can be divided into a triangle and a quadrilateral with a common side, and the distance difference between the two end points of the common side and the road edge is less than a distance threshold, and the quadrilateral divided by the common side faces the road edge, and the triangle faces the center of the road;

[0007] S2: collecting an image corresponding to the roadside parking space, and identifying the vehicle in the image to obtain a vehicle frame of the identified vehicle;

[0008] S3: Calculate the overlap between the vehicle frame and the placeholder frame;

[0009] S4: judging whether the vehicle corresponding to the image is parked in the roadside parking space according to the relationship between the calculated occupancy overlap and the set overlap threshold.

[0010] Furthermore, image collection is achieved through wireless radar capture devices installed next to roadside parking spaces.

[0011] Furthermore, the calculation formula of the placeholder overlap is: placeholder overlap=overlapping area / placeholder frame area*100%.

[0012] Furthermore, the overlap threshold is set to 60%.

[0013] A parking space occupancy recognition terminal device based on a pentagonal placeholder frame includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described above in the embodiment of the present invention are implemented.

[0014] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described above in an embodiment of the present invention are implemented.

[0015] The present invention adopts the above technical solution, which can filter out the misjudgment of parallel vehicle occupancy and improve the accuracy of parking space identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of Embodiment 1 of the present invention.

[0017] Figure 2 FIG. 4 is a schematic diagram of a pentagonal placeholder frame in this embodiment.

[0018] Figure 3 Shown is a schematic diagram of vehicle recognition results in this embodiment.

[0019] Figure 4 Shown is a schematic diagram of the placeholder overlap in this embodiment. DETAILED DESCRIPTION

[0020] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.

[0021] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.

[0022] Embodiment 1:

[0023] The embodiment of the present invention provides a parking space recognition method based on a pentagonal space frame, such as Figure 1 As shown, the method comprises the following steps:

[0024] S1: Set a placeholder frame corresponding to the roadside parking space. The placeholder frame is a pentagon, such as Figure 2 As shown, the pentagon can be divided into a triangle and a quadrilateral with a common side, and the distance difference between the two end points of the common side and the road edge is less than the distance threshold. The quadrilateral divided by the common side faces the road edge and the triangle faces the center of the road.

[0025] Those skilled in the art can set the distance threshold according to actual conditions, such as setting it to 5 centimeters.

[0026] Since the area of ​​the pentagonal placeholder frame is reduced near the center of the road compared to the traditional quadrilateral placeholder frame, and the reduction is greater the closer to the center of the road, this shape of placeholder frame can make the occupancy weight on the inner side (i.e., the edge of the road) much greater than the occupancy weight on the outer side, which can greatly filter out the interference of parallel vehicles parking in the parking spaces and improve the accuracy of occupancy recognition.

[0027] S2: Collect an image corresponding to the roadside parking space, identify the vehicle in the image, and obtain a vehicle frame of the identified vehicle.

[0028] In this embodiment, the image acquisition is realized by a wireless radar capture machine installed next to the roadside parking space. Each roadside parking space needs to be installed with a corresponding wireless radar capture machine to collect the image corresponding to the roadside parking space.

[0029] The vehicle recognition algorithm can adopt the existing target recognition algorithm and is not limited here.

[0030] like Figure 3 The figure shows the vehicle recognition result, and the rectangular frame around the vehicle is the vehicle frame of the recognized vehicle.

[0031] S3: Calculate the overlap between the vehicle frame and the placeholder frame.

[0032] The calculation formula of the placeholder overlap in this embodiment is: placeholder overlap = overlapping area / placeholder frame area*100%. The overlapping area is the area of ​​the overlapping part of the vehicle frame and the placeholder frame.

[0033] S4: judging whether the vehicle corresponding to the image is parked in the roadside parking space according to the relationship between the calculated occupancy overlap and the set overlap threshold.

[0034] The overlap threshold value set in this embodiment is 60%. In other embodiments, those skilled in the art can set the overlap threshold value according to their needs, which is not limited here.

[0035] like Figure 4 As shown, the overlap between the vehicle frame and the placeholder frame is greater than the overlap threshold of 60%, so it is determined that the vehicle corresponding to the vehicle frame is parked in the roadside parking space in the image (ie, the place is occupied successfully).

[0036] A large number of experiments have shown that the pentagon with pointed corners facing outwards used in this embodiment can more accurately identify vehicle occupancy. Compared with existing occupancy patterns, it can filter out the misjudgment of parallel vehicle occupancy and improve the accuracy of parking space recognition.

[0037] Embodiment 2:

[0038] The present invention also provides a parking space identification terminal device based on a pentagonal placeholder frame, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method embodiment of the first embodiment of the present invention when executing the computer program.

[0039] Further, as an executable solution, the parking space identification terminal device based on the pentagonal placeholder frame can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The parking space identification terminal device based on the pentagonal placeholder frame can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the composition structure of the parking space identification terminal device based on the pentagonal placeholder frame is only an example of a parking space identification terminal device based on a pentagonal placeholder frame, and does not constitute a limitation on the parking space identification terminal device based on the pentagonal placeholder frame. It can include more or less components than the above, or combine certain components, or different components. For example, the parking space identification terminal device based on the pentagonal placeholder frame can also include input and output devices, network access devices, buses, etc., and the embodiments of the present invention do not limit this.

[0040] Further, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the parking space identification terminal device based on the pentagonal placeholder frame, and uses various interfaces and lines to connect various parts of the entire parking space identification terminal device based on the pentagonal placeholder frame.

[0041] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the parking space identification terminal device based on the pentagonal placeholder frame by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0042] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.

[0043] If the module / unit integrated in the parking space identification terminal device based on the pentagonal placeholder frame is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.

[0044] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.

Claims

1. A parking space recognition method based on a pentagonal space frame, characterized in that: The following steps are involved: S1: Setting a placeholder frame corresponding to the roadside parking space; the placeholder frame is a pentagon, which can be divided into a triangle and a quadrilateral with a common side, and the distance difference between the two end points of the common side and the road edge is less than a distance threshold, and the quadrilateral divided by the common side faces the road edge, and the triangle faces the center of the road; S2: collecting an image corresponding to the roadside parking space, and identifying the vehicle in the image to obtain a vehicle frame of the identified vehicle; S3: Calculate the overlap between the vehicle frame and the placeholder frame; S4: judging whether the vehicle corresponding to the image is parked in the roadside parking space according to the relationship between the calculated occupancy overlap and the set overlap threshold.

2. The parking space recognition method based on a pentagonal space frame according to claim 1, characterized in that: Image collection is achieved through wireless radar cameras installed next to roadside parking spaces.

3. The parking space recognition method based on pentagonal space frame according to claim 1, characterized in that: The calculation formula for the placeholder overlap is: placeholder overlap = overlapping area / placeholder frame area*100%.

4. The parking space recognition method based on pentagonal space frame according to claim 1, characterized in that: The overlap threshold was set at 60%.

5. A parking space identification terminal device based on a pentagonal space frame, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.