Parking space management method based on edge internet of things and YOLOV5

Through edge IoT and YOLOV5 technology, real-time monitoring and management of parking space status solves the problems of insufficient innovation and single operating model in the MaaS system, achieving efficient and intelligent parking space management and improving user experience.

CN118538049APending Publication Date: 2024-08-23XIDIAN UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410616760.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The development of the existing MaaS urban transportation system is still in its infancy, facing problems such as insufficient innovative thinking, a single operating model, and limited operating scope. It also lacks data sharing and user privacy protection, and has not formed a healthy ecosystem and unified standards.

Method used

Adopting a parking space management method based on edge IoT and YOLOV5, by deploying OV2640 high-definition cameras and Youfang Technology N58 wireless communication modules at the edge of the system, parking space images and location information are transmitted to the cloud in real time, and the YOLOV5 algorithm is used to monitor parking space status, and Create a user interface through the Streamlit framework to provide parking space rental services and illegal parking processing.

Benefits of technology

It has realized low-manpower, intelligent parking space management, improved parking space utilization and user experience, provided convenient parking services and rapid illegal parking investigation and punishment channels, and improved the system's intelligence level and data processing capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118538049A
    Figure CN118538049A
Patent Text Reader

Abstract

A parking space management method based on edge internet of things and YOLOV5 comprises the following steps: step 1, acquiring a high-definition image of a parking space at a system edge end, transmitting the acquired high-definition image of the parking space to a cloud server in real time, and acquiring high-precision position information of the parking space at the same time; 2, in the cloud server, monitoring the parking stall state in real time through a target detection model according to the parking stall high-definition image and the high-precision position information acquired in the step 1; 3, based on the parking space state monitored in real time in the step 2, user side feedback is carried out; according to the invention, a low-manpower visual intelligence-based parking space management scheme is developed in a mode of edge internet of things and cloud processing, vehicle owners can be helped to quickly find empty parking spaces, a convenient parking space renting service is provided for parking lots, the utilization rate of the parking spaces is improved, and meanwhile, a channel for quickly investigating illegal parking vehicles is provided for traffic management departments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of parking space management, and in particular to a parking space management method based on edge IoT and YOLOV5. Background Art

[0002] According to the relevant policy planning of smart parking, by 2025, the city parking system with parking facilities as the main part, off-street public parking facilities as the auxiliary part, and on-street parking as the supplement will be basically built in large, medium and small cities across the country, with extensive participation of social capital, deep integration of information technology and parking industry, efficient use of parking resources, standardized and orderly urban parking, and the situation of legal governance and social co-governance will be basically formed, and the parking needs of key areas such as residential communities, hospitals, schools, and transportation hubs will be basically met. By 2035, the city parking system with reasonable layout, sufficient supply, intelligent and efficient, convenient and accessible will be fully built, providing strong support for the development of modern cities. The promotion of the country will surely promote the rapid development of this industry.

[0003] At the same time, with the rapid development of the Internet, new concepts, technologies and models such as the Internet of Things and cloud computing are constantly emerging. The Internet of Things will be another information industry revolution after the computer Internet and mobile communication networks. The application of the Internet of Things is very extensive. In summary, there are currently four main areas that deserve special attention: environmental monitoring, item traceability, smart grid and smart transportation. Among them, environmental monitoring has been carried out, the foundation of item traceability is still weak, smart grid has received attention, and smart transportation has great potential.

[0004] Earlier, ZTE officially released the i-Transportation commercial smart transportation cloud solution at the China (Ningbo) Smart City Technology and Application Products Expo (the first city "Public Security Cloud Computing Center" in the country was put into use [J]. Computers and Networks, 2012, 38(21):4.). The solution introduced ZTE's mature cloud computing platform, integrating four major systems: application, platform, network, and perception, connecting key urban infrastructure and various service platforms, and being able to respond intelligently to a variety of needs.

[0005] At present, some domestic and foreign companies have begun to deploy AGV smart parking business. Ni Yihui et al. studied the global AGV smart parking business in the article (Ni Yihui. Research and Implementation of Smart Parking System Based on AGV [D]. Nanjing University of Science and Technology, 2022. DOI: 10.27241 / d.cnki.gnjgu.2020.001391.). Paris Charles de Gaulle Airport uses the Stan parking robot developed by French startup Stanley Robotics for valet parking. A single Stan parking robot can manage 400 parking spaces and transport 20,000 to 30,000 cars per year. It can be used indoors or outdoors. Dusseldorf Airport uses the Ray automatic parking robot developed by Serva Transport Systems GmbH of Germany. Three parking robots serve about 260 parking spaces. In China, Nanjing Confucius Temple Metro Station uses the parking AGV products developed by Yifeng Company to build a "P+R" parking garage, increasing the number of parking spaces from 10 to 57. Hangzhou will build the country's largest submersible AGV robot parking project - "Future Parking Dragonfly Park", which will be completed by the end of 2021. Vehicles are uniformly transported to parking spaces by parking AGVs on each underground floor, or transported to each floor of the tower library by mechanical conveyors on the first underground floor.

[0006] As the main force of new infrastructure, smart transportation is also the main artery of future urban construction. The intersection and integration of transportation infrastructure and new digital technologies will build a safe, convenient, efficient and green smart transportation system for people, helping my country to move from a transportation power to a transportation power. Zhong Xiangping, Vice President of Tencent Group and President of Tencent Smart Transportation and Mobility, believes that future transportation is driven by digitalization, networking and intelligence, with data as the key element and core driver. Relying on its deep accumulation in core technology fields such as cloud computing, maps, big data, and AI, Tencent has built a complete set of digital base capability systems, created a digital base driven by "real-time twin + transportation OS", and has done a lot of practice in scenarios such as urban rail transit, highways, intelligent networking, urban transportation, airports, and port logistics. Zhong Xiangping said that the exploration and construction of smart transportation is a long process. Tencent will always adhere to the positioning of a digital assistant for the construction of a transportation power, and is committed to becoming a co-builder of the smart transportation industry, promoting the cross-border integration of the Internet and transportation industries, and exploring new models of government-enterprise cooperation in the transportation industry.

[0007] As early as 2014, at the European Union Intelligent Transport System Conference held in Helsinki, the concept of MaaS ("Mobility as a Service") was first proposed, aiming to solve various problems arising from the rapid development of urban transportation systems and improve the travel experience of urban residents. Subsequently, the concept of "Mobility as a Service" quickly became a hot topic in the transportation field. MaaS is regarded as an important direction for the transformation of future urban transportation systems worldwide. 41 regions around the world have implemented MaaS platforms.

[0008] At present, cities such as Beijing, Shanghai, and Shenzhen have begun to pilot the construction of MaaS urban transportation systems. However, since the development of my country's MaaS platform is still in its infancy, the internal development of the platform faces problems such as insufficient innovative thinking, single operation mode, and limited operation scope; the external environment faces challenges such as the difficulty of changing public travel habits in the short term and the uneven development level of urban transportation infrastructure. Xie Tianlin, Qiu Luyi, and others summarized the current development status of my country's MaaS urban transportation system in the article (Xie Tianlin, Qiu Luyi. Mobility as a Service: International Experience, China's Dilemma and Enlightenment in the Development of MaaS Urban Transportation System [J]. Logistics Technology, 2023, 46(20): 68-76. DOI: 10.13714 / j.cnki.1002-3100.2023.20.015.): At present, my country's research on MaaS urban transportation system mainly focuses on the development history, core technology, key attributes of MaaS system, the operation mode of MaaS platform, and the application cases of foreign MaaS platform. At present, the main problems faced are the lack of data sharing and user privacy security protection, the lack of a healthy Maas ecosystem, the limited scope of operation, the lack of a cross-regional national platform, the uneven development concepts of various regions, and the lack of unified standards. Summary of the invention

[0009] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a parking space management method based on edge IoT and YOLOV5. At the edge of the system, an OV2640 high-definition camera module and a Youfang Technology N58 wireless communication module are deployed to send image heartbeat packets to the cloud at an appropriate frequency, and a server is deployed in the cloud. The parking space status is monitored through edge detection and YOLOV5 algorithm. The vehicle is detected after entering, and charging starts when the vehicle enters the warehouse and stops when it leaves. Finally, the detection result can be fed back to the user end; the present invention develops a low-manpower parking space management solution based on visual intelligence in the form of edge IoT plus cloud processing, which can help car owners quickly find empty parking spaces, provide convenient parking space rental services for parking lots, and improve the utilization rate of parking spaces. At the same time, it also provides a channel for traffic management departments to quickly investigate and deal with illegally parked vehicles.

[0010] In order to achieve the above object, the technical solution adopted by the present invention is:

[0011] A parking space management method based on edge IoT and YOLOV5 includes the following steps:

[0012] Step 1: At the edge of the system, collect high-definition images of parking spaces, transmit the collected high-definition images of parking spaces to the cloud server in real time, and obtain high-precision location information of parking spaces at the same time;

[0013] Step 2: In the cloud server, the parking space status is monitored in real time using the target detection model for the parking space high-definition image and high-precision location information collected in step 1;

[0014] Step 3: Provide user-side feedback based on the parking space status monitored in real time in step 2.

[0015] The specific method of step 1 includes:

[0016] Step 1.1, use the high-definition camera module to output the image data of 8 / 10 parking spaces of various resolutions in full frame, sub-sampling, scaling and windowing mode through SCCB bus control to obtain high-definition images of parking spaces;

[0017] Step 1.2, the MCU at the edge of the system obtains the HD image of the parking space from the HD camera module in step 1.1, transmits the HD image to the cloud server in real time through the wireless communication module, obtains the HD image of the parking space and the analysis result from the cloud server, and uses it to publish the parking space;

[0018] Step 1.3, obtain the precise location of the parking space through the global positioning module built into the wireless communication module, and use the text message function to issue a violation warning.

[0019] The specific method of step 2 is:

[0020] The target detection model uses the YOLOV5 model as a pre-trained model, uses multiple vehicle detection data sets to perform batch training on vehicle types in various scenarios, analyzes the training results, obtains a trained YOLOV5 model, and inputs the parking space high-definition image collected in step 1 into the trained YOLOV5 model to perform real-time monitoring of the parking space status;

[0021] The YOLOV5 model includes the YOLO algorithm, which includes bounding box prediction, confidence score calculation, and category probability prediction.

[0022] The specific method of step 3 is:

[0023] The Streamlit framework is used to create a user interface, which includes user login, parking space search, parking space release and illegal vehicle management. The specific implementation methods of the user interface based on the Streamlit framework include:

[0024] 3.1, User login interface

[0025] The login page contains username and password input boxes, as well as a login button. Use Streamlit's st.text_input function to obtain the username and password entered by the user, and use the st.button function to create a login button. Based on the username and password, verify the user's identity. If the user is an administrator, enter the administrator interface; if the user is a general user, enter the general user interface.

[0026] 3.2, Parking space search interface

[0027] In the common user interface, design a button to search for nearby parking spaces. Use Streamlit's st.button function to create a search button. When the user clicks the search button, the system calls the load_data function to obtain real-time information about nearby parking spaces. Use the st.write function to display detailed information about nearby parking spaces on the "Parking Space Search" interface, including: parking space location, distance, and status.

[0028] 3.3, Parking space release and illegal vehicle management interface

[0029] In the parking space release and illegal vehicle management, the streamlit_webrtc module is used to display the camera image in real time; the st.text_input and st.number_input functions are used to create a form for the administrator to publish parking space information, including parking space location and price; the st.write function is used to display the information of illegal vehicles, including license plate number and violation time.

[0030] The high-definition camera module in step 1.1 is an OV2640 high-definition camera module;

[0031] The single chip microcomputer in step 1.2 is a stm32f103 single chip microcomputer; the cloud server adopts the Alibaba Cloud platform;

[0032] The wireless communication module in step 1.2 and step 1.3 is the N58 wireless communication module of Neoway Technology;

[0033] The global positioning module in step 1.3 adopts the Beidou positioning module.

[0034] The specific steps of the YOLO algorithm include:

[0035] Step 2.1, bounding box prediction:

[0036] Each grid cell predicts B bounding boxes, each of which is described by 5 parameters: (x, y, w, h, confidence), where (x, y) represents the offset of the center point coordinates of the bounding box relative to the grid cell, (w, h) represents the width and height of the bounding box normalized relative to the size of the entire image, and confidence represents the IOU (intersection-over-union) between the predicted box and the true box;

[0037] The formula for calculating the coordinates of the center point of the bounding box is:

[0038] x=σ(t_x)+c_x,y=σ(t_y)+c_y

[0039] Where σ is the sigmoid function, t_x and t_y are the offsets predicted by the model, and c_x and c_y are the coordinates of the upper left corner of the grid cell;

[0040] The width and height of the bounding box are calculated as:

[0041] w=p_w*e^(t_w)

[0042] h=p_h*e^(t_h)

[0043] Among them, p_w and p_g are the preset width and height of the anchorbox, and t_w and t_h are the scaling factors predicted by the model;

[0044] Step 2.2, calculate the confidence score of the bounding box predicted in step 2.1.1:

[0045] The confidence score indicates the probability that the predicted bounding box contains the target object and the degree of match between the predicted box and the true box. The calculation formula is:

[0046] confidence=P(Object)*IOU

[0047] Among them, P(Object) represents the probability of the existence of the target object in the bounding box. If the target is predicted, it is 1, and if not, it is 0. IOU represents the intersection-union ratio between the predicted box and the real box.

[0048] Step 2.3, predict the probability of the target object category existing in the bounding box in step 2.1.2:

[0049] Each grid cell also predicts C conditional class probabilities P(Class|Object), which represent the probability that the object belongs to each class when there is a target object.

[0050] During testing, multiply the confidence score of the bounding box calculated in step 2.1.2 by the category probability to obtain the confidence score of the specific category of each bounding box: score = confidence * P (Class | Object).

[0051] Compared with the prior art, the present invention has the following beneficial effects:

[0052] First, a higher level of intelligence: The present invention adopts the YOLOV5 recognition model, making the entire parking process more intelligent. Compared with traditional AGVs, it can more accurately identify parking spaces, plan paths, and respond to various changes in real time, thereby improving parking efficiency.

[0053] Second, more powerful data transmission capabilities: The present invention uses Youfang Technology's N58 wireless communication module transmission technology and adopts a new multi-antenna transmission. Compared with the traditional TDD and FDD duplex methods, the air interface spectrum efficiency is expected to increase by 1 times. Ultra-dense networks improve network coverage and greatly increase system capacity. It has more flexible network deployment and more efficient frequency reuse, which greatly improves spectrum utilization and enables adjacent users to share resources. Using 5G, a transmission speed of up to 10GB / s can be achieved, realizing low-latency real-time data transmission.

[0054] Third, a more optimized user experience: The interface of the present invention based on the Streamlit framework is intuitive and easy to use. It can be easily started and efficiently complete tasks without a complicated learning process. Secondly, the Streamlit framework has a real-time preview function in the process of implementing the user interface. The user's operation can be reflected in the application interface immediately, achieving rapid response and real-time feedback, which greatly improves the fluency of the user experience. In addition, the rich interactive elements in the Streamlit framework enable users to interact deeply with the application. Whether it is data analysis, model demonstration or other functions, it can be easily achieved through simple operations. Streamlit's powerful data visualization function converts complex data into intuitive charts and images, helping users to understand the meaning behind the data more clearly, so as to make more informed decisions. At the same time, users can also create personalized interfaces by customizing themes and styles according to their preferences and needs, making it more in line with brand image and personal style. At the same time, Streamlit supports cloud deployment, allowing users to access applications from any device and anywhere. This cross-platform support provides users with great convenience and flexibility, whether in the office, at home or on mobile devices, they can use applications anytime, anywhere.

[0055] In summary, the present invention has significant advantages over traditional AGVs in terms of intelligence level, data processing capabilities and user experience. These advantages enable the present invention to better meet the needs of modern cities for efficient, safe and convenient parking, and provide car owners with a better parking experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is the work flow chart of the present invention.

[0057] Figure 2 This is the test scenario of the present invention.

[0058] Figure 3 This is the user login interface of the present invention.

[0059] Figure 4 This is the parking space search interface of the present invention.

[0060] Figure 5 This is the parking space publishing interface of the present invention.

[0061] Figure 6 This is the illegal vehicle management interface of the present invention. DETAILED DESCRIPTION

[0062] The technical solution adopted by the present invention is further described below in conjunction with the accompanying drawings.

[0063] The present invention aims to solve the problem of the last kilometer of daily travel, provide a smarter urban traffic management solution, and become the "Meituan" of the transportation industry. To this end, the present invention proposes a parking space management method based on edge IoT and YOLOV5, which aims to help car owners quickly find empty parking spaces, provide convenient parking space rental services for parking space owners, improve the utilization rate of parking spaces, and also provide a channel for traffic management departments to quickly investigate and deal with illegally parked vehicles.

[0064] A parking space management method based on edge IoT and YOLOV5 includes the following steps:

[0065] Reference Figure 1 ,Step 1,At the edge of the system, use the deployed OV2640 HD camera module to collect HD images of parking spaces, and transmit the collected HD images of parking spaces to the Alibaba Cloud platform in real time through the Neoway Technology N58 wireless communication module. At the same time, obtain high-precision location information through the Beidou positioning module and send image heartbeat packets to the cloud at an appropriate frequency.

[0066] The specific method of step 1 includes:

[0067] Step 1.1, use the OV2640 high-definition camera module, which has a small sensor size and low operating voltage. It provides all the functions of a single-chip UXGA camera and image processor, and is controlled by the SCCB bus to output 8 / 10-bit image data of various resolutions in full frame, sub-sampling, scaling and windowing modes; the product's UXGA image can reach up to 15 frames per second (SVGA can reach 30 frames, CIF can reach 60 frames). Users can fully control image quality, data format and transmission method. All image processing functions including gamma curve, white balance, contrast, chromaticity, etc. can be programmed through the SCCB interface. OmniVision image sensors use unique sensor technology to improve image quality by reducing or eliminating optical or electronic defects such as fixed pattern noise, tailing, floating, etc., to obtain clear and stable color images. The specific effects are shown as follows Figure 2 shown.

[0068] Step 1.2: The stm32f103 microcontroller at the edge of the system obtains the high-definition image of the parking space from the OV2640 high-definition camera module in step 1.1, and transmits the high-definition image to the Alibaba Cloud platform in real time through the Neoway N58 wireless communication module, which is convenient for the subsequent processing of the target detection model. The web page developed using the streamlit architecture obtains the high-definition image and analysis results from the Alibaba Cloud platform for publishing the parking space;

[0069] Step 1.3, obtain accurate positioning through the Beidou positioning module built into the Neoway N58 wireless communication module, and use the SMS function to issue violation warnings.

[0070] Using 5G data transmission module, 5G technology, as a new communication technology, has the following characteristics: new multi-antenna transmission, introducing active antenna arrays, the number of collaborative antennas that can be supported on the base station side will reach 128, and the spectrum efficiency is expected to increase by dozens of times or even higher; high-frequency band transmission, the high-frequency band has abundant available spectrum resources, which can effectively alleviate the current situation of tight spectrum resources and meet the requirements of 5G capacity and transmission rate; simultaneous same-frequency full-duplex, using this technology, on the same spectrum, the communicating parties simultaneously transmit and receive signals. Compared with the traditional TDD and FDD duplex methods, the air interface spectrum efficiency is expected to increase by 1 times; ultra-dense network, ultra-dense network can improve network coverage, greatly increase system capacity, divert services, and have more flexible network deployment and more efficient frequency reuse; D2D terminal direct technology, strong stability and more flexibility, using this technology can greatly improve spectrum utilization, and adjacent users can share resources.

[0071] Using 5G, a transmission speed of up to 10GB / s can be achieved, enabling low-latency real-time data transmission. To achieve 5G data transmission, Shenzhen Youfang Technology's N58 communication module is used. Figure 3, use its built-in Beidou positioning module to obtain precise positioning, and use the text message function to issue violation warnings.

[0072] Step 2: Use the Alibaba Cloud platform to monitor the parking space status in real time using the high-definition images and high-precision location information collected in step 1 through the target detection model. The vehicle will be detected as soon as it enters.

[0073] YOLO can realize the rapid recognition of objects in images or videos. Under the same recognition category range and recognition accuracy conditions, YOLO has the fastest recognition speed. YOLO has multiple models. V5 is characterized by faster speed, higher recognition accuracy, smaller weight file, and can be carried on mobile devices with lower configuration. YOLOV5 has different versions of pre-trained models. Based on the consideration of detection speed and detection accuracy, the embodiment of the present invention selects the YOLOV5L model with outstanding indicators as the pre-trained model, uses UA-DETRAC, Vehicle-Dataset and BIT-Vehicle vehicle detection data sets, batch trains vehicle types in various scenarios, analyzes the training results, and obtains the trained YOLOV5 model, which is finally used for vehicle violation recognition and license plate recognition in parking spaces; the following is the bounding box prediction, confidence score calculation and category probability prediction process in the YOLO algorithm:

[0074] Step 2.1, bounding box prediction:

[0075] Each grid cell predicts B bounding boxes, each of which is described by 5 parameters: (x, y, w, h, confidence), where (x, y) represents the offset of the center point coordinates of the bounding box relative to the grid cell, (w, h) represents the width and height of the bounding box normalized relative to the size of the entire image, and confidence represents the IOU (intersection-over-union) between the predicted box and the true box;

[0076] The formula for calculating the coordinates of the center point of the bounding box is usually:

[0077] x=σ(t_x)+c_x,y=σ(t_y)+c_y

[0078] Where σ is the sigmoid function, t_x and t_y are the offsets predicted by the model, and c_x and c_y are the coordinates of the upper left corner of the grid cell;

[0079] The width and height of the bounding box are calculated as:

[0080] w=p_w*e^(t_w)

[0081] h=p_h*e^(t_h)

[0082] Among them, p_w and p_g are the preset width and height of the anchorbox, and t_w and t_h are the scaling factors predicted by the model;

[0083] Step 2.2, calculate the confidence score of the bounding box predicted in step 2.1:

[0084] The confidence score indicates the probability that the predicted bounding box contains the target object and the degree of match between the predicted box and the true box. The calculation formula is usually:

[0085] confidence=P(Object)*IOU

[0086] Among them, P(Object) represents the probability of the existence of the target object in the bounding box. If the target is predicted, it is 1, and if not, it is 0. IOU represents the intersection-union ratio between the predicted box and the real box.

[0087] Step 2.3, predict the probability of the target object category existing in the bounding box in step 2.2:

[0088] Each grid cell also predicts C conditional class probabilities P(Class|Object), which represent the probability that the object belongs to each class when there is a target object.

[0089] During testing, multiply the confidence score of the bounding box calculated in step 2.2 by the category probability to obtain the confidence score of the specific category of each bounding box: score = confidence * P (Class | Object).

[0090] Step 3: Provide user-side feedback based on the parking space status monitored in real time in step 2.

[0091] Streamlit is the first application development framework specifically for machine learning and data science teams. It is the fastest way to develop custom machine learning tools. Its goal is to replace Flask in machine learning projects and help machine learning engineers quickly develop user interaction tools. Streamlit allows people to complete the needs of building applications by just writing simple Python code.

[0092] The Streamlit framework is used to create the user interface, which includes user login, parking space search, parking space release and illegal vehicle management. The system interface design focuses on simplicity and intuitiveness, and is easy for users to operate. The following is the user interface of this system based on the Streamlit framework. The specific implementation methods include:

[0093] 3.1, User login interface

[0094] The login page contains user name and password input boxes, as well as a login button. Use Streamlit's st.text_input function to obtain the user name and password entered by the user, and use the st.button function to create a login button. According to the user name and password, verify the user's identity. If the user is an administrator, enter the administrator interface; if it is a general user, enter the ordinary user interface. The login interface design is as follows: Figure 3 shown.

[0095] 3.2, Parking space search interface

[0096] In a common user interface, design a button to search for nearby parking spaces. Use Streamlit's st.button function to create a search button. When the user clicks the search button, the system calls the load_data function to obtain real-time information about nearby parking spaces. Use the st.write function to display detailed information about nearby parking spaces on the "Parking Space Search" interface, including: parking space location, distance, and status. Figure 4 shown.

[0097] 3.3, Parking space release and illegal vehicle management interface

[0098] In the parking space release and illegal vehicle management, users can see the camera image and select the parking space to release. The specific display is as follows: Figure 5 , and see the system determine the illegal parking situation of the vehicle, as shown in the following figure Figure 6 The streamlit_webrtc module is used to display the camera image in real time; the st.text_input and st.number_input functions are used to create a form for administrators to publish parking information, including parking location and price; the st.write function is used to display the information of the illegal vehicle, including the license plate number and the time of the violation.

[0099] The key points and protection points of the present invention include intelligent management and operation, efficient parking space utilization and cost control, technological innovation and integration, and data security and privacy protection.

[0100] Modern technologies such as sensors, cameras and the Internet of Things are used to realize intelligent management and operation of parking lots. By monitoring the use of parking spaces in real time, vacant parking spaces are automatically identified, and the information is transmitted to users in real time, accurate parking space information is provided, which reduces labor costs and improves efficiency. The intelligent parking system can accurately monitor the use of each parking space, avoid wasting time on finding parking spaces, and improve the utilization efficiency of parking spaces. Through the sharing economy model, the resources of the parking lot can be fully utilized to maximize the utilization and benefits of resources. Integrate multiple functions such as payment, monitoring, guidance, etc. to provide users with a one-stop service experience.

[0101] At the same time, for the technical innovations involved in the present invention, such as intelligent license plate recognition, parking guidance, parking fee payment methods, etc., apply for corresponding patent protection to ensure the uniqueness and leading nature of the technology. For the overall architecture of the system, data processing algorithms, and the collaborative working mechanism between modules, apply for intellectual property rights to protect the integrity and innovation of the system. For the business models such as the sharing economy model and time-sharing shared parking spaces proposed in this plan, apply for corresponding business method patents to ensure the uniqueness and legality of the business model. Emphasize the protection of user data in the plan to ensure that user privacy is not leaked, and comply with relevant laws and regulations to process and use user data legally and safely.

Claims

1. A parking space management method based on edge IoT and YOLOV5, characterized in that: The following steps are involved: Step 1: At the edge of the system, collect high-definition images of parking spaces, transmit the collected high-definition images of parking spaces to the cloud server in real time, and obtain high-precision location information of parking spaces at the same time; Step 2: In the cloud server, the parking space status is monitored in real time using the target detection model for the parking space high-definition image and high-precision location information collected in step 1; Step 3: Provide user-side feedback based on the parking space status monitored in real time in step 2.

2. According to claim 1, a parking space management method based on edge IoT and YOLOV5 is characterized in that: The specific method of step 1 includes: Step 1.1, use the high-definition camera module to output the image data of 8 / 10 parking spaces of various resolutions in full frame, sub-sampling, scaling and windowing mode through SCCB bus control to obtain high-definition images of parking spaces; Step 1.2, the MCU at the edge of the system obtains the HD image of the parking space from the HD camera module in step 1.1, transmits the HD image to the cloud server in real time through the wireless communication module, obtains the HD image of the parking space and the analysis result from the cloud server, and uses it to publish the parking space; Step 1.3, obtain the precise location of the parking space through the global positioning module built into the wireless communication module, and use the text message function to issue a violation warning.

3. The parking space management method based on edge IoT and YOLOV5 according to claim 1 is characterized in that: The specific method of step 2 is: The target detection model uses the YOLOV5 model as a pre-trained model, uses multiple vehicle detection data sets to perform batch training on vehicle types in various scenarios, analyzes the training results, obtains a trained YOLOV5 model, and inputs the parking space high-definition image collected in step 1 into the trained YOLOV5 model to perform real-time monitoring of the parking space status; The YOLOV5 model includes the YOLO algorithm, which includes bounding box prediction, confidence score calculation, and category probability prediction.

4. The parking space management method based on edge IoT and YOLOV5 according to claim 1 is characterized in that: The specific method of step 3 is: The Streamlit framework is used to create a user interface, which includes user login, parking space search, parking space release and illegal vehicle management. The specific implementation methods of the user interface based on the Streamlit framework include: 3.1, User login interface The user login page includes a username and password input box, as well as a login button. Use Streamlit's st.text_input function to obtain the username and password entered by the user, and use the st.button function to create a login button. Based on the username and password, verify the user's identity. If the user is an administrator, enter the administrator interface; if the user is a general user, enter the general user interface. 3.2, Parking space search interface In the common user interface, design a button to search for nearby parking spaces. Use Streamlit's st.button function to create a search button. When the user clicks the search button, the system calls the load_data function to obtain real-time information about nearby parking spaces. Use the st.write function to display detailed information about nearby parking spaces on the "Parking Space Search" interface, including: parking space location, distance, and status. 3.3, Parking space release and illegal vehicle management interface In the parking space release and illegal vehicle management, the streamlit_webrtc module is used to display the camera image in real time; the st.text_input and st.number_input functions are used to create a form for the administrator to publish parking space information, including parking space location and price; the st.write function is used to display the information of illegal vehicles, including license plate number and violation time.

5. The parking space management method based on edge IoT and YOLOV5 according to claim 2 is characterized in that: The high-definition camera module in step 1.1 is an OV2640 high-definition camera module; The single chip microcomputer in step 1.2 is a stm32f103 single chip microcomputer; the cloud server adopts the Alibaba Cloud platform; The wireless communication module in step 1.2 and step 1.3 is the N58 wireless communication module of Neoway Technology; The global positioning module in step 1.3 adopts the Beidou positioning module.

6. The parking space management method based on edge IoT and YOLOV5 according to claim 3 is characterized in that: The specific steps of the YOLO algorithm include: Step 2.1, bounding box prediction: Each grid cell predicts B bounding boxes, each of which is described by 5 parameters: (x, y, w, h, confidence), where (x, y) represents the offset of the center point coordinates of the bounding box relative to the grid cell, (w, h) represents the width and height of the bounding box normalized relative to the size of the entire image, and confidence represents the IOU (intersection-over-union) between the predicted box and the true box; The formula for calculating the coordinates of the center point of the bounding box is: x=σ(t_x)+c_x, y=σ(t_y)+c_y Where σ is the sigmoid function, t_x and t_y are the offsets predicted by the model, and c_x and c_y are the coordinates of the upper left corner of the grid cell; The width and height of the bounding box are calculated as: w=p_w*e^(t_w) h=p_h*e^(t_h) Among them, p_w and p_h are the preset width and height of the anchorbox, and t_w and t_h are the scaling factors predicted by the model; Step 2.2, calculate the confidence score of the bounding box predicted in step 2.1.1: The confidence score indicates the probability that the predicted bounding box contains the target object and the degree of match between the predicted box and the true box. The calculation formula is: confidence=P(Object)*IOU Among them, P(Object) represents the probability of the existence of the target object in the bounding box. If the target is predicted, it is 1, and if not, it is 0. IOU represents the intersection-union ratio between the predicted box and the real box. Step 2.3, predict the probability of the target object category existing in the bounding box in step 2.1.2: Each grid cell also predicts C conditional class probabilities P(Class|Object), which represent the probability that the object belongs to each class when there is a target object. During testing, multiply the confidence score of the bounding box calculated in step 2.1.2 by the category probability to obtain the confidence score of the specific category of each bounding box: score = confidence * P (Class | Object).

Citation Information

Patent Citations

  • Parking lot monitoring method based on unmanned aerial vehicle

    CN107886761A

  • Intelligent parking space detection method

    CN108108689A

  • Intelligent parking management method and system based on deep learning

    CN109784306A

  • Container truck visual fusion positioning system for automatic control of quay crane

    CN114241269A

  • Solar cell

    KR1020220086543A