Vehicle parking guiding method and system based on image recognition
Through the vehicle parking guidance method based on image recognition, the camera is used to collect vehicle information and generate a suitable path, which solves the signal problem and vehicle type matching problem in the existing technology, and achieves more stable and efficient parking guidance.
Patent Information
- Application Number
- CN202411147334.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing parking guidance methods rely on satellite navigation systems, resulting in poor stability due to signal problems, and are unable to guide different types of car owners to find suitable free parking spaces.
A vehicle parking guidance method based on image recognition is used to collect images of the vehicle from different angles through a camera located at the vehicle entrance, identify the target information of the vehicle, such as vehicle size, outline and age of the people in the vehicle, and use a pre-built path recommendation model Generate the most suitable parking path and display it on the screen projection module to ensure that car owners find a suitable parking space.
It realizes parking space guidance for different types of car owners, improving the stability and user satisfaction of parking guidance. It generates appropriate paths by considering the size, outline of the vehicle and the age of the people in the vehicle, and trains the path recommendation model through iterative conditions, improving the system. accuracy.
Smart Images

Figure CN118658332A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parking guidance, and in particular to a vehicle parking guidance method and system based on image recognition. Background Art
[0002] With the rapid development of society, various large shopping malls have sprung up rapidly, and more and more people are going to shopping malls for consumption. Along with this, there is the problem of tight parking in the garages in shopping malls. At present, the method for guiding parking in the garages in shopping malls mainly includes satellite navigation systems. This satellite navigation system relies heavily on satellite signals. There are many people in shopping malls, and the signal at the location of the garage is usually poor. Therefore, the current method of relying on satellite navigation systems to guide parking often has poor stability due to signal problems. Moreover, the existing parking guidance method can only guide vehicles to find vacant parking spaces, and cannot guide different types of car owners to find suitable vacant parking spaces. Summary of the invention
[0003] The present invention provides a vehicle parking guidance method and system based on image recognition, which solves the problem that the current method of guiding parking by relying on a satellite navigation system often has poor stability due to signal problems. In addition, the existing parking guidance method can only guide vehicles to find vacant parking spaces, but cannot guide different types of car owners to find vacant parking spaces suitable for them.
[0004] In a first aspect, the vehicle parking guidance method based on image recognition proposed by the present invention is applied to a vehicle parking guidance system, wherein the guidance system includes N cameras arranged at a vehicle entrance, a processing center, and a projection module, wherein the processing center is connected to the N cameras and the projection module, and the projection module is arranged in a garage, and the method includes: N cameras are used to collect N images of the vehicle from different angles, and the N images are recognized to obtain the target information of the vehicle, including the vehicle size, outline, and age of the occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and the target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at the minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
[0005] In a second aspect, the present invention further provides a vehicle parking guidance system, comprising N cameras arranged at a vehicle entrance, a processing center and a screen projection module, the processing center is connected to the N cameras and the screen projection module, the screen projection module is arranged in a garage, and the processing center is used to perform the following steps: N cameras are used to collect N images of the vehicle from different angles, and the N images are recognized to obtain the target information of the vehicle, including the vehicle size, outline, and age of the occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and the target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at the minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
[0006] In a third aspect, the present invention further provides a vehicle parking guidance system, the system comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned first aspect method when executing the computer program.
[0007] Beneficial effects: The vehicle parking guidance method based on image recognition provided by the present invention can fully consider the target information of the vehicle and generate the most suitable target path through a pre-built path recommendation model. The target information includes the size, outline, and age of the occupants of the vehicle. This solves the problem of guiding different types of car owners to find suitable vacant parking spaces. Moreover, by displaying the target path through the projection module, the problem of poor stability of the current method of guiding parking by relying on a satellite navigation system, which is often caused by signal problems, can be solved.
[0008] In a further solution, by setting iteration conditions, a path recommendation model that can fully consider the target information can be trained.
[0009] In a further solution, by considering the driver's fatigue, the generated target path can be made more in line with the owner's needs and improve user satisfaction.
[0010] In a further solution, by generating a prompt voice to remind the car owner to park the vehicle in the parking position of the target path, it can help car owners with poor driving skills to park conveniently. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 The present invention is a flowchart of a vehicle parking guidance method based on image recognition according to an embodiment of the present invention. DETAILED DESCRIPTION
[0012] The technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present invention.
[0013] like Figure 1 As shown, the present application provides a vehicle parking guidance method based on image recognition, which is applied to a vehicle parking guidance system. The guidance system includes N cameras arranged at a vehicle entrance, a processing center, and a projection module. The processing center is connected to the N cameras and the projection module. The projection module is arranged in a garage. The method includes: N cameras are used to collect N images of the vehicle from different angles, and the N images are recognized to obtain the target information of the vehicle, including the vehicle size, outline, and age of the occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and the target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at the minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
[0014] Specifically, N cameras are set at N different angles at the vehicle entrance, so that N images of the vehicle at different angles can be collected by N cameras. Among them, in order to obtain clear image information of the driver, one camera needs to be set at a position equivalent to the position of the vehicle owner at the vehicle entrance, and one camera needs to be set at a position that can capture the rear passengers. There is no specific limitation here, as long as the setting position can obtain clear image information of the driver, and there is a camera that can obtain image information of the rear passengers.
[0015] In this embodiment, the first age threshold may be 50, and the second age threshold may be 3. This is only an example and not a limitation. It only needs to be possible to regard those above the first age threshold as elderly and those below the second age threshold as infants.
[0016] The above-mentioned vehicle parking guidance method based on image recognition can fully consider the target information of the vehicle and generate the most suitable target path through the pre-built path recommendation model. The target information includes the vehicle size, outline, and age of the occupants. It realizes the problem of guiding different types of car owners to find suitable vacant parking spaces. Moreover, by displaying the target path through the projection module, it can solve the problem that the current method of relying on satellite navigation system for guiding parking often has poor stability due to signal problems.
[0017] Optionally, identifying N images to obtain target information of the vehicle includes: Perform grayscale processing on N images at different angles, and extract the vehicle size and outline in each image. Take the average of the vehicle sizes of the N images as the final vehicle size, and take the largest outline among the outlines of the N images as the final outline. When it is recognized that N images taken at different angles include a person whose age exceeds the first age threshold, or when it is recognized that N images taken at different angles include a person whose age is below the second age threshold, it is considered that there are old and young people in the vehicle.
[0018] Optionally, before inputting the target information into the pre-built route recommendation model, the method further includes: Build a route recommendation model; Build a route recommendation model, including: A training set is constructed based on the vehicle size, outline, age of the occupants, and current position of the vehicle in the historically collected images. The path recommendation model framework is iteratively trained through the training set until the set iteration conditions are met to obtain the final path recommendation model. Setting iteration conditions includes: Reach the preset number of iterations; When there are elderly and children in the vehicle, the parking position corresponding to the target path output by the model has the smallest distance from the garage elevator entrance; When the size of the vehicle exceeds the set size threshold, the range of parking positions corresponding to the target path output by the model is as large as possible; When the vehicle's contour is irregular, the range of parking positions corresponding to the target path output by the model is as large as possible.
[0019] In this implementation, by setting the iteration conditions, a path recommendation model that can fully consider the target information can be trained.
[0020] Optionally, the target information also includes driver fatigue; Identify N images to obtain the target information of the vehicle, including: The facial image of the driver in the image is used as the region of interest; Extract the mouth corner opening and eye corner closing of the region of interest and normalize them; The fatigue level is determined based on the normalized results.
[0021] Optionally, when the target information also includes driver fatigue, the route recommendation model also includes driver constraints. Satisfies the following relationship: ; In the formula, is a constant. When the driver's fatigue level is higher than the fatigue threshold, a is less than 1. When the driver's fatigue level is lower than the fatigue threshold, a is greater than 1. ( , ) represents the parking position coordinates, ( , ) represents the location coordinates of the elevator entrance.
[0022] In an example, when a is less than 1, the value may be 0.5, and when a is greater than 1, the value may be 1.2. This is only an example and is not intended to be limiting.
[0023] In this real-time solution, by taking driver fatigue into consideration, the generated target path can be made more in line with the needs of the car owner and improve user satisfaction.
[0024] Optionally, the number of projection modules is M, which are respectively arranged at corner positions in the garage; displaying the target path on the projection module includes: The target path is divided into several sub-paths according to the number of corners, and each sub-path is displayed on the projection module corresponding to the corner.
[0025] Optionally, the vehicle parking guidance system further includes a prompt module provided at a parking position of the target path. After the target path is displayed on the projection module to guide the vehicle owner to park, the method further includes: Generate a prompt voice according to the parking reference rules to prompt the owner to park the vehicle in the parking position of the target path.
[0026] In this way, by generating a prompt voice to remind the car owner to park the vehicle in the parking position of the target path, it can help car owners with poor driving skills to park conveniently.
[0027] Specifically, the prompt voice may be a voice prompt information that prompts the vehicle owner how to reverse into a garage, or prompts the vehicle owner how to perform parallel parking.
[0028] The present application also provides a vehicle parking guidance system, comprising N cameras arranged at a vehicle entrance, a processing center and a screen projection module, the processing center is connected to the N cameras and the screen projection module, the screen projection module is arranged in a garage, and the processing center is used to perform the following steps: N cameras are used to collect N images of the vehicle from different angles, and the N images are recognized to obtain the target information of the vehicle, including the vehicle size, outline, and age of the occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and the target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at the minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
[0029] Optionally, a prompt module is further included at the parking position of the target path, and the prompt module is used to: Generate a prompt voice according to the parking reference rules to prompt the owner to park the vehicle in the parking position of the target path.
[0030] The above-mentioned vehicle parking guidance system can implement various embodiments of the above-mentioned vehicle parking guidance method based on image recognition, and can achieve the same beneficial effects, which will not be described in detail here.
[0031] The present application also provides a vehicle parking guidance system, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned vehicle parking guidance method based on image recognition are implemented.
[0032] The above-mentioned vehicle parking guidance system can implement various embodiments of the above-mentioned vehicle parking guidance method based on image recognition, and can achieve the same beneficial effects, which will not be described in detail here.
[0033] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. A person skilled in the art can make many modifications and changes based on the concept of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be within the protection scope of the present invention.
Claims
1. A vehicle parking guidance method based on image recognition, applied to a vehicle parking guidance system, wherein the guidance system comprises N cameras arranged at a vehicle entrance, a processing center and a screen projection module, wherein the processing center is connected to the N cameras and the screen projection module, and the screen projection module is arranged in a garage, characterized in that: The method comprises: Capturing N images of the vehicle at different angles through the N cameras, and recognizing the N images to obtain target information of the vehicle, the target information including vehicle size, outline, and age of occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and a target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at a minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
2. The vehicle parking guidance method based on image recognition according to claim 1, characterized in that: The identifying the N images to obtain target information of the vehicle includes: Grayscale processing is performed on the N images at different angles, and the vehicle size and outline in each image are extracted, the average value of the vehicle sizes of the N images is taken as the final vehicle size, and the largest outline among the outlines of the N images is taken as the final outline; When it is recognized that the N images at different angles include a person whose age exceeds the first age threshold, or when it is recognized that the N images at different angles include a person whose age is below the second age threshold, it is regarded that there are old and young persons in the vehicle.
3. The vehicle parking guidance method based on image recognition according to claim 2, characterized in that: Before inputting the target information into the pre-built route recommendation model, the method further includes: Build a route recommendation model; The construction of the path recommendation model includes: A training set is constructed based on the vehicle size, outline, age of the occupants, and current position of the vehicle in the historically collected images. The path recommendation model framework is iteratively trained through the training set until the set iteration conditions are met to obtain the final path recommendation model. The setting iteration conditions include: Reach the preset number of iterations; When there are elderly and children in the vehicle, the parking position corresponding to the target path output by the model has the smallest distance from the garage elevator entrance; When the size of the vehicle exceeds the set size threshold, the range of parking positions corresponding to the target path output by the model is as large as possible; When the vehicle's contour is irregular, the range of parking positions corresponding to the target path output by the model is as large as possible.
4. The vehicle parking guidance method based on image recognition according to claim 1, characterized in that: The target information also includes driver fatigue; The identifying the N images to obtain target information of the vehicle includes: The facial image of the driver in the image is used as the region of interest; Extract the mouth corner opening and eye corner closing of the region of interest and normalize them; The fatigue level is determined based on the normalized results.
5. The vehicle parking guidance method based on image recognition according to claim 4, characterized in that: In the case where the target information also includes driver fatigue, the route recommendation model also includes driver constraints. Satisfies the following relationship: ; In the formula, is a constant. When the driver's fatigue level is higher than the fatigue threshold, a is less than 1. When the driver's fatigue level is lower than the fatigue threshold, a is greater than 1. ( , ) represents the parking position coordinates, ( , ) represents the location coordinates of the elevator entrance.
6. The vehicle parking guidance method based on image recognition according to claim 1, characterized in that: The number of the projection modules is M, which are respectively arranged at the corner positions in the garage; the step of displaying the target path on the projection modules includes: The target path is divided into several sub-paths according to the number of corners, and each sub-path is displayed on the projection module corresponding to the corner.
7. The vehicle parking guidance method based on image recognition according to claim 1, characterized in that: The vehicle parking guidance system further includes a prompt module provided at a parking position of a target path. After the target path is displayed on the projection module to guide the vehicle owner to park, the method further includes: Generate a prompt voice according to the parking reference rules to prompt the owner to park the vehicle in the parking position of the target path.
8. A vehicle parking guidance system, characterized in that: The system comprises N cameras arranged at the entrance of the vehicle, a processing center and a screen projection module, wherein the processing center is connected to the N cameras and the screen projection module, the screen projection module is arranged in the garage, and the processing center is used to perform the following steps: Capturing N images of the vehicle at different angles through the N cameras, and recognizing the N images to obtain target information of the vehicle, the target information including vehicle size, outline, and age of occupants; The current position of the vehicle, the garage map information and the target information are input into a pre-built path recommendation model, and a target path output by the path recommendation model is obtained; wherein, when the age of the occupant exceeds a set first age threshold or when the age of the occupant is lower than a set second age threshold, the parking position of the target path is at a minimum distance from the garage elevator entrance, and the first age threshold is greater than the second age threshold; The target path is displayed on the projection module to guide the car owner to park.
9. The vehicle parking guidance system according to claim 8, characterized in that: It also includes a prompt module for the parking position of the target path, which is used to: Generate a prompt voice according to the parking reference rules to prompt the owner to park the vehicle in the parking position of the target path.
10. A vehicle parking guidance system, the system comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of any one of the methods described in claims 1 to 7 when executing the computer program.
Citation Information
Patent Citations
Model identification method based on machine learning
CN104021375A
Parking management method and device
CN108230720A
Parking lot management method and system
CN110969892A
Parking space classification guiding method and system
CN113178095A
Inductive control method and system for LED lamp applied to parking space
CN114937373A
