Vehicle management method and system in charging pile area, and terminal
By obtaining and processing vehicle screenshots in the charging pile area, identifying license plate information and controlling the ground lock status, the problem of chaotic management of the charging pile area is solved and management efficiency is improved.
Patent Information
- Application Number
- CN202411452658.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-17
- Publication Date
- 2024-11-15
AI Technical Summary
The area management of the existing charging piles is chaotic, and any vehicles can drive in at will, resulting in the inability to operate normally.
By obtaining and preprocessing the vehicle screenshots in the charging pile area, positioning and dividing the license plate area, using the trained license plate recognition model to identify the license plate information, and judge the vehicle type according to the preset logic, transmit control instructions to the ground lock control module, and adjust the ground Lock status to manage vehicle entry.
It effectively avoids vehicles entering the charging pile area at will, improves the automatic management efficiency of the charging pile area, and ensures the normal operation of the charging pile.
Smart Images

Figure CN118968202A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information analysis technology, and in particular to a vehicle management method, system, terminal and computer-readable storage medium in a charging pile area. Background Art
[0002] Charging piles, also known as electric vehicle charging stations or electric vehicle power supply equipment, are devices that provide electric vehicles with electrical energy, allowing them to store enough electricity to support their operation. As an important part of the new energy vehicle ecosystem, the demand for charging piles is increasing with the rapid development of the new energy vehicle industry.
[0003] However, in the existing charging pile areas, vehicles can drive in directly to charge, resulting in chaotic management of the charging pile areas. All kinds of vehicles can drive in, and some fuel vehicles even directly occupy the charging piles for free parking, making it impossible for the charging piles to operate normally.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The main purpose of the present invention is to provide a vehicle management method, system, terminal and computer-readable storage medium in a charging pile area, aiming to solve the problem in the prior art that any vehicle can enter the charging pile area at will, resulting in management chaos.
[0006] To achieve the above object, the present invention provides a vehicle management method in a charging pile area, the vehicle management method in the charging pile area comprising the following steps: Obtaining a screenshot of a vehicle in a target charging pile area, and preprocessing the vehicle screenshot to obtain a target screenshot; Locating the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result; The type of the recognition result is determined according to a preset logic to obtain a determination result, and the control instruction is transmitted to the ground lock control module according to the determination result.
[0007] Optionally, the vehicle management method for the charging pile area, wherein the obtaining of a screenshot of a vehicle in the target charging pile area, and preprocessing of the vehicle screenshot to obtain a target screenshot, specifically includes: Obtaining a screenshot of the vehicle captured by a camera of a target charging pile, wherein the screenshot of the vehicle is captured by the camera when the vehicle stays in the target charging pile area within a preset time; The vehicle screenshot is subjected to grayscale processing and denoising processing to obtain a target screenshot.
[0008] Optionally, the vehicle management method for the charging pile area, wherein the positioning of the license plate area in the target screenshot, segmentation of the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result, further comprises: Constructing an initial recognition model and obtaining a plurality of historical vehicle information, wherein the historical vehicle information is obtained by analyzing and processing screenshots of historical vehicles in the target charging pile area; All the historical vehicle information is input into the initial recognition model for training to obtain a license plate recognition model.
[0009] Optionally, in the vehicle management method for the charging pile area, the license plate information includes: license plate color, license plate character spacing, license plate character shape and license plate character size; The positioning of the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result specifically includes: The target screenshot is intercepted by edge detection technology to obtain the license plate area of the vehicle in the target screenshot; Segmenting the license plate area to obtain the license plate color, license plate character spacing, license plate character shape and license plate character size of the vehicle; The license plate color, the license plate character spacing, the license plate character shape and the license plate character size are input into the license plate recognition model, and a recognition result is output.
[0010] Optionally, the vehicle management method for the charging pile area, wherein the license plate color, the license plate character spacing, the license plate character shape and the license plate character size are input into the license plate recognition model, and the recognition result is output, and then further includes: Acquire a video stream collected by the camera, wherein the video stream is collected by the camera when the vehicle stays in the target charging pile area within the preset time; Sending the video stream and the recognition result to a connected cloud device, and obtaining a user instruction received by the cloud device; The user instruction is input into the cloud device by the user according to the video stream and the recognition result.
[0011] Optionally, the vehicle management method for the charging pile area, wherein the type of the identification result is determined according to a preset logic to obtain a determination result, and the control instruction is transmitted to the ground lock control module according to the determination result, specifically comprising: If the license plate character spacing, the license plate character shape and the license plate character size are determined according to the preset rules, if they are in compliance with the rules, it is determined whether the license plate color is green; If the color of the license plate is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member's license plate number; If the license plate number is a member's license plate number, the pre-stored control instruction is transmitted to the ground lock control module to notify the ground lock control module to control the ground lock to descend according to the control instruction.
[0012] Optionally, the vehicle management method for the charging pile area, wherein, if the license plate color is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member license plate number, and then it also includes: if the license plate number is a non-member license plate number, the unlocking instruction input by the user is obtained, wherein the unlocking instruction is input by the owner of the non-member license plate number to notify the ground lock control module to control the ground lock to descend according to the unlocking instruction.
[0013] In addition, to achieve the above-mentioned purpose, the present invention also provides a vehicle management system for a charging pile area, wherein the vehicle management system for the charging pile area includes: A license plate capture module is used to obtain a screenshot of a vehicle in a target charging pile area, and pre-process the vehicle screenshot to obtain a target screenshot; A license plate recognition module is used to locate the license plate area in the target screenshot, segment the license plate area, obtain license plate information, input the license plate information into a trained license plate recognition model, and output a recognition result; The ground lock adjustment module is used to determine the type of the identification result according to a preset logic, obtain a determination result, and transmit a control instruction to the ground lock control module according to the determination result.
[0014] In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal, wherein the terminal includes: a memory, a processor, and a vehicle management program for a charging pile area stored in the memory and runnable on the processor, and when the vehicle management program for the charging pile area is executed by the processor, the steps of the vehicle management method for the charging pile area as described above are implemented.
[0015] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a vehicle management program for a charging pile area, and when the vehicle management program for the charging pile area is executed by a processor, the steps of the vehicle management method for the charging pile area as described above are implemented.
[0016] In the present invention, a screenshot of a vehicle in a target charging pile area is obtained, and the screenshot of the vehicle is preprocessed to obtain a target screenshot; the license plate area in the target screenshot is located, and the license plate area is segmented to obtain license plate information, and the license plate information is input into a trained license plate recognition model to output a recognition result; the type of the recognition result is determined according to a preset logic to obtain a judgment result, and a control instruction is transmitted to a ground lock control module according to the judgment result. The present invention analyzes the license plate screenshot through a preset logic to determine the type of vehicle in the charging pile area, and makes different control instructions to adjust the ground lock in the charging pile area according to different vehicle types, thereby realizing vehicle management in the charging pile area, which can effectively prevent various vehicles from driving into the charging pile area at will, and improve the efficiency of automatic management of the charging pile area. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flow chart of a preferred embodiment of the vehicle management method in the charging pile area of the present invention; Figure 2 It is a flow chart of a preferred embodiment of the vehicle management method in the charging pile area of the present invention; Figure 3 It is a structural diagram of a preferred embodiment of a vehicle management system for a charging pile area of the present invention; Figure 4 Schematic diagram of the operating environment of a preferred embodiment of the terminal of the present invention. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0019] In the existing charging pile areas, vehicles can drive in directly to charge, resulting in chaotic management of the charging pile areas. All kinds of vehicles can drive in, and some fuel vehicles even directly occupy the charging piles for free parking, making it impossible for the charging piles to operate normally.
[0020] The vehicle management method for the charging pile area described in the preferred embodiment of the present invention is as follows: Figure 1 As shown, the vehicle management method in the charging pile area includes the following steps: Step S10: obtaining a screenshot of a vehicle in a target charging pile area, and preprocessing the vehicle screenshot to obtain a target screenshot.
[0021] Among them, the charging pile development board is started, and the camera on the charging pile development board is turned on. The camera starts the preview and screenshot functions respectively to form a video preview stream and a screenshot. The initial state of the ground lock is also raised, so as to prevent any vehicle from entering the charging pile area at will, and realize the preliminary management of the charging pile area. Then, according to the formation of the video preview stream and the screenshot, it is judged whether the current vehicle is a new energy vehicle, so as to control the ground lock to continue to maintain the raised state or lower the unlocked state.
[0022] Specifically, a screenshot of the vehicle captured by a camera of a target charging pile is obtained, wherein the screenshot of the vehicle is captured by the camera when the vehicle stays in an area of the target charging pile within a preset time; the screenshot of the vehicle is grayed and denoised to obtain a target screenshot.
[0023] Among them, the camera of the target charging pile will start the screenshot function in real time. When it is determined that a vehicle is parked in the charging pile area, it will collect a screenshot of the current vehicle and a video stream of the vehicle's parking process, and pre-process the collected vehicle screenshots and video streams, including grayscale, denoising, binarization and other operations, so as to improve the accuracy of subsequent license plate recognition; after completing the preprocessing of the vehicle screenshots and video streams, the preview function will also be started, and the preprocessed vehicle screenshots and video streams will be sent to the cloud for user reference. Users can directly control the ground lock hardware (i.e., the ground lock control module) based on these vehicle screenshots and video streams, which improves the flexibility of vehicle management and meets more user needs.
[0024] Furthermore, an initial recognition model is constructed, and multiple historical vehicle information is obtained, wherein the historical vehicle information is obtained after analyzing and processing historical vehicle screenshots in the target charging pile area; all the historical vehicle information is input into the initial recognition model for training to obtain a license plate recognition model.
[0025] Among them, the constructed initial recognition model is trained using multiple historical vehicle information obtained in the past; wherein, the historical vehicle information includes the license plate number, license plate color, license plate character spacing, license plate character shape and license plate character size of previously acquired vehicles. The initial recognition model is trained with these historical vehicle information, thereby improving the accuracy of the license plate recognition model in recognizing license plates and the general applicability of identifying vehicles, thereby improving the management efficiency of target charging piles, significantly reducing human resources and reducing labor costs.
[0026] Step S20, locate the license plate area in the target screenshot, and segment the license plate area to obtain license plate information, input the license plate information into the trained license plate recognition model, and output the recognition result.
[0027] The license plate information includes: license plate color, license plate character spacing, license plate character shape and license plate character size. After the vehicle screenshot is preprocessed to obtain the target screenshot, the license plate is extracted from the target screenshot, and the position of the license plate is located using edge detection or morphological operations, so as to accurately find the license plate area of the current vehicle in the complex background (i.e., the target screenshot), and then the current vehicle is judged according to the license plate information of the current vehicle.
[0028] Specifically, the target screenshot is captured by edge detection technology to obtain the license plate area of the vehicle in the target screenshot; the license plate area is segmented to obtain the vehicle's license plate color, license plate character spacing, license plate character shape and license plate character size; the license plate color, license plate character spacing, license plate character shape and license plate character size are input into the license plate recognition model, and the recognition result is output.
[0029] First, the license plate is located by edge detection or morphological operation, and the license plate area of the current vehicle is captured from the target screenshot to accurately find key information from the complex background. The license plate area is then segmented to separate the information in the license plate into multiple individual characters. When segmenting, factors such as the spacing between characters, the size and shape of characters need to be considered. After segmentation, each character can be recognized, thereby taking into account factors such as the spacing between characters, the size and shape of characters, and finally obtaining the license plate color, license plate character spacing, license plate character shape, and license plate character size of the current vehicle. Among them, the process of recognizing the segmented individual characters can be achieved by using template matching, feature extraction, or machine learning algorithms (such as support vector machines, neural networks, etc.).
[0030] Furthermore, after identifying multiple individual characters in the license plate area and the information corresponding to each character, they are input into the license plate recognition model again for recognition, and the recognition result is output, wherein the output recognition result includes the license plate number and license plate information of the current vehicle. Subsequently, the current vehicle can be logically judged based on the license plate number and license plate information to determine whether the current vehicle can be charged at the target charging pile and the charging mode.
[0031] Furthermore, a video stream captured by the camera is obtained, wherein the video stream is captured by the camera when the vehicle stays in the target charging pile area within the preset time; the video stream and the recognition result are sent to a connected cloud device, and a user instruction received by the cloud device is obtained; wherein the user instruction is input into the cloud device by the user based on the video stream and the recognition result.
[0032] Among them, when the current vehicle enters the monitoring area of the target charging pile, the camera of the target charging pile monitors the current vehicle and collects video in real time. When it is determined that the current vehicle is parked in front of the target charging pile, the collected video stream is sent to the cloud device after pre-processing for the user's reference. When the license plate recognition model incorrectly recognizes the license plate of the current vehicle, the user can make timely adjustments based on the video stream. The user can also directly control the unlocking of the ground lock hardware according to his own needs, thereby improving the management efficiency of the target charging pile area and improving management flexibility.
[0033] Step S30: determine the type of the recognition result according to a preset logic, obtain a determination result, and transmit the control instruction to the ground lock control module according to the determination result.
[0034] Among them, after the license plate number and license plate color of the current vehicle are obtained, identification is performed based on these two results to obtain a judgment result, and the ground lock control module is controlled to lower or maintain the raised locking state based on the judgment result.
[0035] Specifically, if the license plate character spacing, the license plate character shape and the license plate character size are judged to be compliant according to preset rules, if they are compliant, it is judged whether the license plate color is green; if the license plate color is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is judged whether the license plate number is a member license plate number; if the license plate number is a member license plate number, the pre-stored control instruction is transmitted to the ground lock control module to notify the ground lock control module to control the ground lock to descend according to the control instruction.
[0036] Among them, judge whether the license plate character spacing, license plate character shape and license plate character size of the current vehicle are correct. If the license plate character spacing is too large or too small, the license plate character shape is abnormal, or the license plate character size is too large or too small, the current license plate is judged to be irregular, and a corresponding early warning prompt is generated and uploaded to the cloud to notify the management personnel to pay attention and take corresponding measures, or directly alarm for processing; if there is no problem with the license plate, continue to judge the license plate color, and judge whether the current vehicle is a new energy vehicle or a fuel vehicle based on the license plate color. If it is a fuel vehicle, an early warning message will be generated to directly notify the owner of the fuel vehicle that parking is not allowed in the current area. At the same time, the ground lock remains in a raised locked state. If it is a new energy vehicle, the ground lock can be lowered to allow the current new energy vehicle to enter the target charging pile area for charging.
[0037] Furthermore, if the license plate number is a non-member license plate number, an unlocking instruction input by the user is obtained, wherein the unlocking instruction is input by the owner of the non-member license plate number to notify the ground lock control module to control the ground lock to descend according to the unlocking instruction.
[0038] Among them, after judging that the current vehicle is a new energy vehicle, it is also necessary to judge whether the current vehicle is a member vehicle according to the license plate number of the current vehicle. If the current vehicle is a member vehicle, when entering the target charging pile to charge, the charging process will be charged in the first billing mode. If the current vehicle is a non-member vehicle, the owner of the current vehicle is required to register relevant information to generate a corresponding unlocking command to control the lowering of the ground lock. At the same time, the charging process needs to be charged in the second billing mode (the first billing mode and the second billing mode can be set according to the needs of the management personnel). The vehicle management of the target charging pile has been realized, which can effectively avoid the chaos of various vehicles freely entering and exiting the charging pile area, and improve the efficiency of automatic management of the charging pile area.
[0039] Furthermore, if Figure 2 As shown, when the camera of the target charging pile collects the relevant vehicle screenshots and video streams of the current vehicle, they are transmitted to the video processing module for processing, and the processed video stream is sent to the cloud through the communication module, and the processed target screenshot is sent to the recognition module. After the recognition module completes the recognition of the target screenshot, it sends the recognition result to the control module. The control module adjusts the billing system and the ground lock hardware according to the obtained recognition result, thereby realizing the vehicle management of the charging pile area, which can effectively prevent various vehicles from driving into the charging pile area at will, and improve the efficiency of automatic management of the charging pile area.
[0040] The present invention analyzes the license plate screenshot through preset logic to determine the type of vehicle in the charging pile area, and makes different control instructions to adjust the ground lock in the charging pile area according to the different vehicle types, thereby realizing vehicle management in the charging pile area, and can effectively prevent various vehicles from driving into the charging pile area at will, thereby improving the efficiency of automatic management of the charging pile area.
[0041] Furthermore, if Figure 3 As shown, based on the above-mentioned vehicle management method for the charging pile area, the present invention also provides a vehicle management system for the charging pile area, wherein the vehicle management system for the charging pile area includes: The license plate interception module 51 is used to obtain a screenshot of a vehicle in a target charging pile area, and pre-process the vehicle screenshot to obtain a target screenshot; The license plate recognition module 52 is used to locate the license plate area in the target screenshot, segment the license plate area, obtain the license plate information, input the license plate information into the trained license plate recognition model, and output the recognition result; The ground lock adjustment module 53 is used to determine the type of the recognition result according to a preset logic, obtain a determination result, and transmit a control instruction to the ground lock control module according to the determination result.
[0042] Furthermore, if Figure 4 As shown, based on the above-mentioned vehicle management method and system for the charging pile area, the present invention also provides a terminal accordingly, and the terminal includes a processor 10, a memory 20 and a display 30. Figure 4 Only some components of the terminal are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0043] In some embodiments, the memory 20 may be an internal storage unit of the terminal, such as a hard disk or memory of the terminal. In other embodiments, the memory 20 may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the terminal. Furthermore, the memory 20 may also include both an internal storage unit of the terminal and an external storage device. The memory 20 is used to store application software and various types of data installed on the terminal, such as the program code of the installation terminal. The memory 20 can also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a vehicle management program 40 for a charging pile area, and the vehicle management program 40 for the charging pile area can be executed by the processor 10, thereby realizing the vehicle management method for the charging pile area in the present application.
[0044] In some embodiments, the processor 10 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 20, such as executing the vehicle management method in the charging pile area.
[0045] In some embodiments, the display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 30 is used to display information on the terminal and to display a visual user interface. The components 10-30 of the terminal communicate with each other via a system bus.
[0046] In one embodiment, when the processor 10 executes the vehicle management program 40 of the charging pile area in the memory 20, the following steps are implemented: Obtaining a screenshot of a vehicle in a target charging pile area, and preprocessing the vehicle screenshot to obtain a target screenshot; Locating the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result; The type of the recognition result is determined according to a preset logic to obtain a determination result, and the control instruction is transmitted to the ground lock control module according to the determination result.
[0047] The step of obtaining a screenshot of a vehicle in a target charging pile area and preprocessing the screenshot of the vehicle to obtain a target screenshot specifically includes: Obtaining a screenshot of the vehicle captured by a camera of a target charging pile, wherein the screenshot of the vehicle is captured by the camera when the vehicle stays in the target charging pile area within a preset time; The vehicle screenshot is subjected to grayscale processing and denoising processing to obtain a target screenshot.
[0048] The method further includes locating the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result. Constructing an initial recognition model and obtaining a plurality of historical vehicle information, wherein the historical vehicle information is obtained by analyzing and processing screenshots of historical vehicles in the target charging pile area; All the historical vehicle information is input into the initial recognition model for training to obtain a license plate recognition model.
[0049] The license plate information includes: license plate color, license plate character spacing, license plate character shape and license plate character size; The positioning of the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result specifically includes: The target screenshot is intercepted by edge detection technology to obtain the license plate area of the vehicle in the target screenshot; Segmenting the license plate area to obtain the license plate color, license plate character spacing, license plate character shape and license plate character size of the vehicle; The license plate color, the license plate character spacing, the license plate character shape and the license plate character size are input into the license plate recognition model, and a recognition result is output.
[0050] The method further includes inputting the license plate color, the license plate character spacing, the license plate character shape and the license plate character size into the license plate recognition model and outputting the recognition result, and then further including: Acquire a video stream collected by the camera, wherein the video stream is collected by the camera when the vehicle stays in the target charging pile area within the preset time; Sending the video stream and the recognition result to a connected cloud device, and obtaining a user instruction received by the cloud device; The user instruction is input into the cloud device by the user according to the video stream and the recognition result.
[0051] The method of determining the type of the recognition result according to a preset logic to obtain a determination result, and transmitting a control instruction to the ground lock control module according to the determination result, specifically includes: If the license plate character spacing, the license plate character shape and the license plate character size are determined according to the preset rules, if they are in compliance with the rules, it is determined whether the license plate color is green; If the color of the license plate is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member's license plate number; If the license plate number is a member's license plate number, the pre-stored control instruction is transmitted to the ground lock control module to notify the ground lock control module to control the ground lock to descend according to the control instruction.
[0052] Among them, if the color of the license plate is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member license plate number, and then it also includes: if the license plate number is a non-member license plate number, the unlocking instruction input by the user is obtained, wherein the unlocking instruction is input by the owner of the non-member license plate number to notify the ground lock control module to control the ground lock to descend according to the unlocking instruction.
[0053] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a vehicle management program for a charging pile area, and when the vehicle management program for the charging pile area is executed by a processor, the steps of the vehicle management method for the charging pile area as described above are implemented.
[0054] In summary, the present invention provides a vehicle management method and related equipment in a charging pile area, the method comprising: obtaining a screenshot of a vehicle in a target charging pile area, preprocessing the screenshot of the vehicle, and obtaining a target screenshot; locating the license plate area in the target screenshot, and segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result; judging the type of the recognition result according to a preset logic to obtain a judgment result, and transmitting a control instruction to a ground lock control module according to the judgment result. The present invention analyzes the license plate screenshot through a preset logic to judge the type of vehicle in the charging pile area, and makes different control instructions to adjust the ground lock in the charging pile area according to different vehicle types, thereby realizing vehicle management in the charging pile area, which can effectively prevent various vehicles from driving into the charging pile area at will, and improve the efficiency of automatic management of the charging pile area.
[0055] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.
[0056] Of course, those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer-readable storage medium that can be read by a computer, and the program can include the processes of the above-mentioned method embodiments when executed. The computer-readable storage medium can be a memory, a disk, an optical disk, etc.
[0057] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A vehicle management method in a charging pile area, characterized in that: The vehicle management method in the charging pile area includes: Obtaining a screenshot of a vehicle in a target charging pile area, and preprocessing the vehicle screenshot to obtain a target screenshot; Locating the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result; The type of the recognition result is determined according to a preset logic to obtain a determination result, and the control instruction is transmitted to the ground lock control module according to the determination result.
2. The vehicle management method for a charging pile area according to claim 1, characterized in that: The obtaining of a screenshot of a vehicle in a target charging pile area and preprocessing the screenshot of the vehicle to obtain a target screenshot specifically includes: Obtaining a screenshot of the vehicle captured by a camera of a target charging pile, wherein the screenshot of the vehicle is captured by the camera when the vehicle stays in the target charging pile area within a preset time; The vehicle screenshot is subjected to grayscale processing and denoising processing to obtain a target screenshot.
3. The vehicle management method for a charging pile area according to claim 1, characterized in that: The method further includes: locating the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result, and the method further includes: Constructing an initial recognition model and obtaining a plurality of historical vehicle information, wherein the historical vehicle information is obtained by analyzing and processing screenshots of historical vehicles in the target charging pile area; All the historical vehicle information is input into the initial recognition model for training to obtain a license plate recognition model.
4. The vehicle management method for a charging pile area according to claim 2, characterized in that: The license plate information includes: license plate color, license plate character spacing, license plate character shape and license plate character size; The positioning of the license plate area in the target screenshot, segmenting the license plate area to obtain license plate information, inputting the license plate information into a trained license plate recognition model, and outputting a recognition result specifically includes: The target screenshot is intercepted by edge detection technology to obtain the license plate area of the vehicle in the target screenshot; Segmenting the license plate area to obtain the license plate color, license plate character spacing, license plate character shape and license plate character size of the vehicle; The license plate color, the license plate character spacing, the license plate character shape and the license plate character size are input into the license plate recognition model, and a recognition result is output.
5. The vehicle management method for a charging pile area according to claim 4, characterized in that: The step of inputting the license plate color, the license plate character spacing, the license plate character shape and the license plate character size into the license plate recognition model and outputting the recognition result further includes: Acquire a video stream collected by the camera, wherein the video stream is collected by the camera when the vehicle stays in the target charging pile area within the preset time; Sending the video stream and the recognition result to a connected cloud device, and obtaining a user instruction received by the cloud device; The user instruction is input into the cloud device by the user according to the video stream and the recognition result.
6. The vehicle management method for a charging pile area according to claim 4, characterized in that: The method of determining the type of the recognition result according to a preset logic to obtain a determination result, and transmitting a control instruction to a ground lock control module according to the determination result, specifically includes: If the license plate character spacing, the license plate character shape and the license plate character size are determined according to the preset rules, if they are in compliance with the rules, it is determined whether the license plate color is green; If the color of the license plate is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member's license plate number; If the license plate number is a member's license plate number, the pre-stored control instruction is transmitted to the ground lock control module to notify the ground lock control module to control the ground lock to descend according to the control instruction.
7. The vehicle management method for a charging pile area according to claim 6, characterized in that: If the license plate color is green, the license plate number of the vehicle is obtained according to all the license plate character shapes, and it is determined whether the license plate number is a member license plate number. It also includes: if the license plate number is a non-member license plate number, an unlocking instruction input by the user is obtained, wherein the unlocking instruction is input by the owner of the non-member license plate number to notify the ground lock control module to control the ground lock to descend according to the unlocking instruction.
8. A vehicle management system for a charging pile area, characterized in that: The vehicle management system of the charging pile area includes: A license plate capture module is used to obtain a screenshot of a vehicle in a target charging pile area, and pre-process the vehicle screenshot to obtain a target screenshot; A license plate recognition module is used to locate the license plate area in the target screenshot, segment the license plate area, obtain license plate information, input the license plate information into a trained license plate recognition model, and output a recognition result; The ground lock adjustment module is used to determine the type of the identification result according to a preset logic, obtain a determination result, and transmit a control instruction to the ground lock control module according to the determination result.
9. A terminal, characterized in that: The terminal includes: a memory, a processor, and a vehicle management program for a charging pile area stored in the memory and executable on the processor. When the vehicle management program for the charging pile area is executed by the processor, the steps of the vehicle management method for the charging pile area as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle management program for a charging pile area, and when the vehicle management program for the charging pile area is executed by a processor, the steps of the vehicle management method for a charging pile area according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Charging pile management method and system based on license plate recognition
CN109166188A
Charging pile ground lock control device and method based on video identification
CN109653126A
Anti-occupation system for joint linkage management of parking lock and charging pile
CN116206484A
Parking space lock management method based on license plate recognition and related device
CN118230563A
Intelligent parking lock control method and intelligent parking lock control device
CN118247999A
