Automatic parking method and device, computer equipment, storage medium and program product
By identifying and displaying virtual vehicles that match the actual vehicle characteristics in the automatic parking system, the problem of insufficient vehicle details in the virtual view is solved, and the user's operational convenience in the automatic parking system is improved.
Patent Information
- Application Number
- CN202510030027.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-08
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2045-01-08
AI Technical Summary
In the existing automatic parking system, the vehicles around the parking space displayed in the virtual view lack real scene details, making it difficult for users to accurately identify the vehicles around the parking space, reducing the operational convenience of automatic parking.
By identifying the video data around the first vehicle, the vehicle classification, body color and brand of the second vehicle are identified, and the corresponding virtual vehicle is displayed in the parking virtual view of the parking assist interface. The color of the virtual vehicle is consistent with the actual vehicle and the brand identity of the vehicle brand is displayed.
By providing a virtual vehicle that matches the characteristics of the actual vehicle, the virtual view has the details of the real scene, and the user can accurately identify the vehicles around the parking space, thereby intuitively assisting the user in selecting the parking space they want to park, improving the operational convenience of automatic parking.
Smart Images

Figure CN119636696A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent driving technology, and in particular to an automatic parking method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] As people's demand for vehicle intelligence increases, more and more vehicles are equipped with automatic parking functions. Vehicles equipped with automatic parking functions can display the searched parking spaces, vehicles around the parking spaces, and other objects in the virtual view of the on-board screen, and support users to click on the parking space they want to park in the virtual view, so that the vehicle can automatically park in the parking space selected by the user. At present, the vehicles around the parking spaces displayed in the virtual view usually adopt a unified vehicle appearance, and cannot intuitively correspond to the real scene. The lack of details of the real scene makes it difficult for users to accurately identify the vehicles around the parking space through the virtual view, and it is not convenient for users to select the parking space they want to park, resulting in low convenience of automatic parking operation. Summary of the invention
[0003] Based on this, it is necessary to provide an automatic parking method, device, computer equipment, computer-readable storage medium and computer program product that can improve the operational convenience of automatic parking in response to the above technical problems.
[0004] In a first aspect, the present application provides an automatic parking method, comprising:
[0005] Identify the vehicle classification, body color and vehicle brand of a second vehicle based on the video data around the first vehicle; the second vehicle includes a vehicle parked adjacent to a parking space available for parking of the first vehicle;
[0006] A virtual vehicle corresponding to the second vehicle is displayed in the parking virtual view of the parking assistance interface; the color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification.
[0007] In one embodiment, before identifying the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle, the method further includes:
[0008] Acquiring ambient light data of the first vehicle;
[0009] According to the ambient light data, adjusting the brightness gain of the vehicle-mounted camera of the first vehicle to obtain an adjusted brightness gain;
[0010] The video data around the first vehicle is obtained through the vehicle-mounted camera according to the adjusted brightness gain.
[0011] In one embodiment, adjusting the brightness gain of the vehicle-mounted camera of the first vehicle according to the ambient light data includes:
[0012] When the ambient light data indicates that the light intensity is greater than a first light intensity threshold, controlling the vehicle-mounted camera to reduce the brightness gain of the vehicle-mounted camera;
[0013] When the ambient light data indicates that the light intensity is less than a second light intensity threshold, the vehicle-mounted camera is controlled to increase the brightness gain of the vehicle-mounted camera.
[0014] In one embodiment, before displaying the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, the method further includes:
[0015] When the ambient light data indicates that the light intensity is less than a second light intensity threshold, sharpness enhancement is performed on the identified vehicle body color to obtain an enhanced color;
[0016] The vehicle model is rendered using the enhanced color to obtain the virtual vehicle.
[0017] In one embodiment, after displaying the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, the method further includes:
[0018] In response to a triggering operation on a target vehicle component of the virtual vehicle, displaying an animation effect of the target vehicle component being triggered;
[0019] A simulated animation of the target vehicle component being turned on or off is displayed in the animation effect.
[0020] In one embodiment, after displaying the simulated animation of the target vehicle component being turned on or off in the animation effect, the method further includes:
[0021] In a case where a simulated animation of the target vehicle component being opened is displayed in the animation effect, detecting a distance between an outermost edge of the target vehicle component and a parking space line of the parkable parking space;
[0022] When the distance is less than a distance threshold, a voice prompt message is output; the voice prompt message is used to indicate that there is a risk of being collided with a target vehicle component of the second vehicle in the parkable parking space.
[0023] In a second aspect, the present application further provides an automatic parking device, comprising:
[0024] an identification module, for identifying a vehicle classification, a vehicle body color, and a vehicle brand of a second vehicle based on video data around the first vehicle; the second vehicle includes a vehicle parked adjacent to a parking space that can be parked by the first vehicle;
[0025] A display module is used to display a virtual vehicle corresponding to the second vehicle in a parking virtual view of a parking assistance interface; the color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification.
[0026] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0028] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.
[0029] The automatic parking method, apparatus, computer device, computer-readable storage medium and computer program product identify the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle, wherein the second vehicle includes a vehicle parked adjacent to the available parking space of the first vehicle; and display a virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, wherein the color of the virtual vehicle is consistent with the body color, and the brand logo of the vehicle brand is displayed, and the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification. The classification, color and brand of the vehicles around the available parking space are identified based on the video data, and a virtual vehicle that matches the actual vehicle characteristics is presented in the virtual view, so that the virtual view can have the details of the real scene, so that the user can accurately distinguish the various vehicles around the available parking space, thereby intuitively assisting the user to select the parking space they want to park in, and improving the convenience of automatic parking operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 is an application environment diagram of an automatic parking method in one embodiment;
[0032] Figure 2 is a schematic flow chart of an automatic parking method in one embodiment;
[0033] Figure 3 is a logic diagram of an automatic parking method in one embodiment;
[0034] Figure 4 is a schematic diagram of an automatic parking process in another embodiment;
[0035] Figure 5 is a structural block diagram of an automatic parking device in one embodiment;
[0036] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] The automatic parking method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The first vehicle 100 may include a controller, a vehicle camera and a vehicle screen. The first vehicle 100 is surrounded by a plurality of parking spaces 105 and a second vehicle 110. The vehicle camera is used to collect video data around the vehicle; the controller is used to obtain data collected by various sensors of the vehicle, and to perform comprehensive analysis and processing on the data, and to control the vehicle screen to output corresponding display content according to the results of the analysis and processing; the vehicle screen is used to display the parking assistance interface and the parking virtual view in the parking assistance interface. Optionally, the user can click on the parking space displayed in the parking virtual view, and the first vehicle can automatically park according to the parking space selected by the user.
[0039] The first vehicle 100 can identify the vehicle classification, body color and vehicle brand of the second vehicle 110 based on the video data around the first vehicle 100; the second vehicle 110 includes a vehicle parked adjacent to the parking space 105 of the first vehicle 100; the first vehicle 100 displays a virtual vehicle corresponding to the second vehicle 110 in the parking virtual view of the parking assistance interface; the color of the virtual vehicle is consistent with the body color, and the brand logo of the vehicle brand is displayed; the virtual vehicle is rendered by a vehicle model that matches the vehicle classification.
[0040] In an exemplary embodiment, Figure 2 As shown, an automatic parking method is provided, which is applied to Figure 1 The first vehicle in the example is used as an example to illustrate, including:
[0041] Step S202: Identify the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle.
[0042] In a specific implementation, the first vehicle can obtain video data around the first vehicle through an on-board camera. Exemplarily, the on-board camera may include multiple surround cameras, a front view camera, and a side view camera; the front view camera is arranged on the front windshield; the multiple surround cameras include a front surround camera, a rear surround camera, a left surround camera, and a right surround camera, wherein the front surround camera is arranged on the metal grille or the front bumper in front of the vehicle; the rear surround camera is arranged on the back door or the rear bumper; the left and right surround cameras are arranged on the left and right exterior rearview mirrors respectively; the side view camera is arranged on the exterior rearview mirror or the fender. These on-board cameras collect video data around the first vehicle in real time and input it into the controller of the first vehicle.
[0043] The second vehicle includes a vehicle parked adjacent to the available parking space of the first vehicle. For example, the second vehicle may be a vehicle parked in a parking space next to the available parking space, or a vehicle that is close to the available parking space but not parked in any parking space.
[0044] The available parking space may refer to an empty parking space where the first vehicle can be parked.
[0045] Among them, vehicle classification can refer to vehicle types, including but not limited to sedans, sport utility vehicles (SUVs), buses, trucks, special-purpose vehicles (fire trucks or ambulances), etc.
[0046] Exemplarily, the controller of the first vehicle can extract shape features such as the vehicle outline and size in each frame of the video data through a deep learning model such as a convolutional neural network, thereby determining the vehicle classification. The deep learning model has learned the features of a large number of different vehicle types.
[0047] Among them, the vehicle brand may refer to the manufacturer brand of the vehicle. Different vehicle brands correspond to different brand logos, and the brand logo may be located at vehicle positions such as the center of the vehicle's wheel rim cover, the center of the front of the vehicle, and the center of the rear of the vehicle.
[0048] For example, the controller of the vehicle can identify the area where the brand logo is located in each frame of the video data through a target detection algorithm; and perform feature extraction and classification on the image data of the area where the brand logo is located through a deep learning model such as a convolutional neural network to determine the brand of the vehicle.
[0049] Among them, the body color may include various colors such as black, gray, white, and red.
[0050] For example, the vehicle controller can calculate the color histogram of each frame of the video data, count the distribution of each color component as the color feature, and then analyze the main color of the image through a clustering algorithm to determine the main body color. Alternatively, the body controller can extract the color features of the image through a deep learning model such as a convolutional neural network and output the category of the body color.
[0051] Step S204: displaying a virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface.
[0052] Among them, the parking assistance interface is an interactive interface on the vehicle's display screen, which can provide parking-related information and operation options to assist the driver in parking operations.
[0053] Among them, the parking virtual view is the virtual environment display in the parking assistance interface, usually presented in the form of a bird's-eye view, showing the environmental information around the vehicle, including other vehicles, obstacles and parking spaces.
[0054] The virtual vehicle is a three-dimensional model displayed in the parking virtual view and used to represent the second vehicle.
[0055] The color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is rendered by a vehicle model that matches the vehicle classification.
[0056] As an example, the controller of the first vehicle can select a vehicle model that matches the vehicle classification from a pre-built vehicle model library, where the vehicle model library is a database that stores vehicle classifications and corresponding vehicle models, and the vehicle model is a three-dimensional model that conforms to the vehicle classification; render the vehicle model with the identified body color so that the color of the vehicle model is consistent with the identified body color; and, based on the identified vehicle brand, add the corresponding vehicle brand logo at an appropriate position of the vehicle model (such as the front or rear) to make the virtual vehicle closer to the appearance of the actual vehicle.
[0057] As another example, the controller of the first vehicle can directly obtain a vehicle model that matches the vehicle classification and the vehicle brand from a pre-built vehicle model library, where the vehicle model library is a database that stores vehicle classifications, vehicle brands and corresponding vehicle models, and the vehicle model is a three-dimensional model that conforms to the vehicle classification and displays the brand logo; the recognized body color is rendered on the vehicle model so that the color of the vehicle model is consistent with the recognized body color.
[0058] The controller of the first vehicle can control the on-board display screen to display the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface. The corresponding position of the virtual vehicle in the parking virtual view matches the corresponding position of the second vehicle in the actual environment, ensuring that the virtual view can truly reflect the actual environment.
[0059] In the above automatic parking method, the vehicle classification, body color and vehicle brand of the second vehicle are identified based on the video data around the first vehicle, wherein the second vehicle includes a vehicle parked adjacent to the available parking space of the first vehicle; a virtual vehicle corresponding to the second vehicle is displayed in the parking virtual view of the parking assistance interface, wherein the color of the virtual vehicle is consistent with the body color, and the brand logo of the vehicle brand is displayed, and the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification. The classification, color and brand of the vehicles around the available parking space are identified based on the video data, and a virtual vehicle that matches the actual vehicle characteristics is presented in the virtual view, so that the virtual view can have the details of the real scene, so that the user can accurately distinguish the various vehicles around the available parking space, thereby intuitively assisting the user to select the parking space they want to park in, and improving the convenience of automatic parking operation.
[0060] In another embodiment, before identifying the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle, it also includes: obtaining the ambient light data of the first vehicle; adjusting the brightness gain of the on-board camera of the first vehicle based on the ambient light data to obtain an adjusted brightness gain; and obtaining the video data around the first vehicle through the on-board camera according to the adjusted brightness gain.
[0061] In a specific implementation, the controller of the first vehicle may collect ambient light data of the first vehicle through a light sensor. The ambient light data may refer to the light intensity and distribution around the first vehicle, reflecting the brightness of the current environment.
[0062] Among them, brightness gain is a parameter used to adjust the image brightness inside the vehicle camera. It adapts to different lighting conditions by amplifying or reducing the light signal received by the sensor. For example, in a dark environment, the brightness gain is increased to increase the image brightness; in a bright environment, the brightness gain is reduced to prevent overexposure. The calculated brightness gain value is applied to the vehicle camera to adjust its internal parameters, so that real-time video data around the vehicle can be collected through the vehicle camera with adjusted brightness gain.
[0063] The technical solution of this embodiment can collect clear and accurate video data under different lighting conditions through the vehicle-mounted camera, thereby improving the reliability of subsequent vehicle recognition and automatic parking operations.
[0064] In another embodiment, the brightness gain of the on-board camera of the first vehicle is adjusted according to the ambient light data, including: when the ambient light data indicates that the light intensity is greater than a first light intensity threshold, controlling the on-board camera to reduce the brightness gain of the on-board camera; when the ambient light data indicates that the light intensity is less than a second light intensity threshold, controlling the on-board camera to increase the brightness gain of the on-board camera.
[0065] Among them, the first light intensity threshold is a preset light intensity upper limit value. When the ambient light intensity exceeds this value, it is determined that the first vehicle is in a brighter light scene, which may cause the collected video data to be overexposed, so it is necessary to control the on-board camera to reduce the brightness gain; the second light intensity threshold is a preset light intensity lower limit value. When the ambient light intensity is lower than this value, it is determined that the first vehicle is in a darker light scene, which may cause the collected video data to be too dark, so it is necessary to control the on-board camera to increase the brightness gain.
[0066] According to the technical solution of this embodiment, the first vehicle can dynamically adjust the brightness gain of the vehicle-mounted camera according to the real-time ambient light conditions, thereby ensuring the acquisition of high-quality video data in various lighting environments, thereby providing a reliable basis for subsequent vehicle recognition and automatic parking operations.
[0067] Furthermore, in another embodiment, the controller of the first vehicle may also collect environmental rainfall data of the first vehicle through a rain sensor, and the rain sensor is used to detect rainfall and raindrop conditions; the controller of the first vehicle may adjust the brightness gain of the vehicle-mounted camera of the first vehicle according to the environmental light data and the environmental rainfall data to obtain the adjusted brightness gain; and obtain the video data around the first vehicle through the vehicle-mounted camera according to the adjusted brightness gain. Specifically, adjusting the brightness gain of the vehicle-mounted camera of the first vehicle according to the environmental light data and the environmental rainfall data may include: when the environmental light data indicates that the light intensity is greater than a first light intensity threshold and the environmental rainfall data indicates that the rainfall is less than the first rainfall threshold, controlling the vehicle-mounted camera to reduce the brightness gain of the vehicle-mounted camera; when the environmental light data indicates that the light intensity is less than a second light intensity threshold or the environmental rainfall data indicates that the rainfall is greater than the second rainfall threshold, controlling the vehicle-mounted camera to increase the brightness gain of the vehicle-mounted camera.
[0068] The technical solution of this embodiment can collect clear and accurate video data under different lighting conditions and weather conditions through the on-board camera, thereby improving the reliability of subsequent vehicle recognition and automatic parking operations.
[0069] In another embodiment, before displaying the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, the method further includes: when the ambient light data represents that the light intensity is less than a second light intensity threshold, sharpening the identified vehicle body color to obtain an enhanced color; and rendering the vehicle model using the enhanced color to obtain a virtual vehicle.
[0070] Optionally, sharpness enhancement may include adjusting color contrast to make colors more vivid; increasing color saturation to make colors richer; highlighting color edges and improving clarity through filtering technology, etc.
[0071] Specifically, the controller of the first vehicle renders the vehicle model using the enhanced color to apply the enhanced color to the selected vehicle model, ensuring that the color of the virtual vehicle is consistent with the color of the actual vehicle and remains clear in low light conditions.
[0072] The technical solution of this embodiment enhances the sharpness of the vehicle body color in a low-light environment, ensuring that the second vehicle in the parking virtual view is clearly visible, thereby improving the user's recognition of vehicles around the parking space through the parking virtual view and the parking experience.
[0073] In another embodiment, after displaying the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, it also includes: in response to a triggering operation on a target vehicle component of the virtual vehicle, displaying an animation effect of the target vehicle component being triggered; and displaying a simulated animation of the target vehicle component being opened or closed in the animation effect.
[0074] The parking assistance interface of the vehicle screen may display a parking virtual view, and the vehicle screen may be a touch screen. The trigger operation includes an interactive operation performed by the user on the target vehicle component on the parking virtual view through the touch screen, such as clicking, long pressing, etc.
[0075] The target vehicle parts may refer to openable and closable parts such as doors, windows, and trunks.
[0076] In a specific implementation, the first vehicle calls the preset animation effect resources corresponding to the target vehicle components according to the identified target vehicle components, and generates an animation effect of the target vehicle components being triggered according to the preset animation effect resources; in the animation effect, a simulated animation of the target vehicle components being opened or closed is displayed, and the simulated animation is used to simulate the state change of the target vehicle components. For example, the virtual vehicle supports users to click on doors, windows and other components, and then perform an animation effect of opening or closing, thereby increasing the playability of the interface.
[0077] The technical solution of this embodiment provides an interactive function for the target vehicle components in the parking assistance interface, so that the user can trigger the target vehicle components and intuitively view the status changes of the vehicle components, thereby improving the interactivity and user experience of the parking assistance system. In addition, in the scenario where the virtual vehicle opens the door, the user can intuitively determine whether the door will have a significant impact on the adjacent available parking spaces when opened, so as to assist the user in more conveniently selecting a suitable available parking space.
[0078] In another embodiment, after displaying a simulated animation of the target vehicle component being opened or closed in the animation effect, it also includes: when displaying a simulated animation of the target vehicle component being opened in the animation effect, detecting the distance between the outermost edge of the target vehicle component and the parking space line of the parkable parking space; when the distance is less than a distance threshold, outputting a voice prompt information; the voice prompt information is used to indicate that there is a risk of collision with the target vehicle component of a second vehicle in the parkable parking space.
[0079] The outermost edge may be an edge of the target vehicle component that is farthest from the center of the vehicle when the target vehicle component is in a fully opened state.
[0080] Among them, the parking space line is the boundary line of the parking space that can be parked, and the parking space line may include the side parking space line and the front and rear parking space lines; the distance between the outermost edge of the target vehicle component and the parking space line of the parking space that can be parked can be the distance between the side parking space line closest to the second vehicle among the parking space lines of the parking space that can be parked and the outermost edge of the target vehicle component.
[0081] Among them, the distance threshold is a preset safety distance value. When the distance between the outermost edge of the target vehicle component and the parking space line of the available parking space is less than the distance threshold, it can be considered that the target vehicle component of the second vehicle is likely to occupy the space of the adjacent available parking space when opened. For example, assuming that the distance between the outermost edge of the door of the second vehicle and the parking space line of the adjacent available parking space is small, and the first vehicle is parked in the available parking space next to the second vehicle, then when the second vehicle opens the door, the door of the second vehicle is likely to collide with the first vehicle in the adjacent available parking space.
[0082] Among them, the voice prompt information is used to indicate that there is a risk of being collided with the target vehicle parts of the second vehicle in the available parking space, such as "this parking space is too close to the vehicle next door", "the space of this parking space is small", "this parking space is easily collided with when the door of the vehicle next door is opened", etc.
[0083] The technical solution of this embodiment improves the safety and reliability of automatic parking by evaluating the distance between the target vehicle and the parking space line in real time when simulating the opening of the target vehicle component, so as to promptly remind the driver of possible collision risks.
[0084] In order to facilitate the understanding of those skilled in the art, Figure 3 A logic diagram of an automatic parking method is provided as an example. The controller of the first vehicle can collect the scene around the parking space through the vehicle-mounted camera in combination with the ambient light data collected by the light sensor to obtain video data, and perform color adjustment, vehicle brand recognition and vehicle classification adjustment, and then store it; the extracted body color can be enhanced in color and clarity, and the extracted body color can be used to render the vehicle model called based on the vehicle category and vehicle brand. When the user turns on the automatic parking function, a virtual vehicle with the vehicle brand and body color is output in the parking virtual view of the parking assistance interface to better assist the user in selecting a parking space. At the same time, during the process of the first vehicle parking in the parking space, if the distance between the first vehicle and the second vehicle is close, or the distance between the first vehicle and the parking space line is close, a voice reminder can be given through the vehicle multimedia device.
[0085] In another embodiment, Figure 4 As shown, an automatic parking method is provided, which is applied to Figure 1 Taking the first vehicle in the example as an example, the method includes the following steps:
[0086] S402, obtaining ambient light data of the first vehicle.
[0087] S404, adjusting the brightness gain of the vehicle-mounted camera of the first vehicle according to the ambient light data to obtain an adjusted brightness gain.
[0088] In one of the embodiments, the brightness gain of the on-board camera of the first vehicle is adjusted according to the ambient light data, including: when the ambient light data indicates that the light intensity is greater than a first light intensity threshold, controlling the on-board camera to reduce the brightness gain of the on-board camera; when the ambient light data indicates that the light intensity is less than a second light intensity threshold, controlling the on-board camera to increase the brightness gain of the on-board camera.
[0089] S406, obtaining video data around the first vehicle through the vehicle-mounted camera according to the adjusted brightness gain.
[0090] S408, identifying the vehicle classification, body color, and vehicle brand of the second vehicle based on the video data around the first vehicle.
[0091] The second vehicle includes a vehicle parked adjacent to the parking space available for the first vehicle.
[0092] S410, when the ambient light data indicates that the light intensity is less than a second light intensity threshold, sharpness enhancement is performed on the identified vehicle body color to obtain an enhanced color.
[0093] S412, rendering the vehicle model using the enhanced color to obtain a virtual vehicle.
[0094] S414: Displaying a virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface.
[0095] The color of the virtual vehicle is consistent with the color of the vehicle body and displays the brand logo of the vehicle brand; the virtual vehicle is rendered by a vehicle model that matches the vehicle classification.
[0096] S416 , in response to the triggering operation on the target vehicle component of the virtual vehicle, displaying an animation effect of the target vehicle component being triggered.
[0097] S418, displaying a simulated animation of the target vehicle component being opened or closed in the animation effect.
[0098] S420, when the animation effect displays a simulated animation of the target vehicle component being opened, detecting the distance between the outermost edge of the target vehicle component and the parking space line of the parking space available for parking.
[0099] S422: When the distance is less than the distance threshold, output voice prompt information.
[0100] The voice prompt information is used to indicate that there is a risk of being hit by a target vehicle component of a second vehicle in the available parking space.
[0101] It should be noted that the specific limitations of the above steps can refer to the specific limitations of an automatic parking method above.
[0102] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0103] Based on the same inventive concept, the embodiment of the present application also provides an automatic parking device for implementing the automatic parking method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more automatic parking device embodiments provided below can refer to the limitations of the automatic parking method above, and will not be repeated here.
[0104] In an exemplary embodiment, Figure 5 As shown, an automatic parking device is provided, comprising:
[0105] The identification module 510 is used to identify the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle; the second vehicle includes a vehicle parked adjacent to the parking space that can be parked by the first vehicle.
[0106] The display module 520 is used to display a virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface; the color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification.
[0107] In one embodiment, the automatic parking device also includes an acquisition module; the acquisition module is specifically used to acquire ambient light data of the first vehicle; according to the ambient light data, adjust the brightness gain of the vehicle-mounted camera of the first vehicle to obtain an adjusted brightness gain; and acquire video data around the first vehicle through the vehicle-mounted camera according to the adjusted brightness gain.
[0108] In one of the embodiments, the acquisition module is specifically used to control the vehicle-mounted camera to reduce the brightness gain of the vehicle-mounted camera when the ambient light data represents that the light intensity is greater than a first light intensity threshold; and to control the vehicle-mounted camera to increase the brightness gain of the vehicle-mounted camera when the ambient light data represents that the light intensity is less than a second light intensity threshold.
[0109] In one of the embodiments, the automatic parking device also includes a rendering module; the rendering module is specifically used to enhance the sharpness of the identified vehicle body color to obtain an enhanced color when the ambient light data represents a light intensity less than a second light intensity threshold; and use the enhanced color to render the vehicle model to obtain the virtual vehicle.
[0110] In one embodiment, the display module 520 is specifically used to display an animation effect of the target vehicle component being triggered in response to a triggering operation on the target vehicle component of the virtual vehicle; and to display a simulated animation of the target vehicle component being opened or closed in the animation effect.
[0111] In one of the embodiments, the automatic parking device also includes a voice module; the voice module is specifically used to detect the distance between the outermost edge of the target vehicle component and the parking space line of the parkable parking space when the simulated animation of the target vehicle component being opened is displayed in the animation effect; when the distance is less than a distance threshold, output a voice prompt message; the voice prompt message is used to indicate that there is a risk of collision with the target vehicle component of the second vehicle in the parkable parking space.
[0112] Each module in the automatic parking device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0113] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an automatic parking method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0114] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0115] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0116] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0117] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0119] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0121] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An automatic parking method, characterized in that: The method comprises: Identify the vehicle classification, body color and vehicle brand of a second vehicle based on the video data around the first vehicle; the second vehicle includes a vehicle parked adjacent to a parking space available for parking of the first vehicle; A virtual vehicle corresponding to the second vehicle is displayed in the parking virtual view of the parking assistance interface; the color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification.
2. The method according to claim 1, characterized in that Before identifying the vehicle classification, body color and vehicle brand of the second vehicle based on the video data around the first vehicle, the method further includes: Acquiring ambient light data of the first vehicle; According to the ambient light data, adjusting the brightness gain of the vehicle-mounted camera of the first vehicle to obtain an adjusted brightness gain; The video data around the first vehicle is obtained through the vehicle-mounted camera according to the adjusted brightness gain.
3. The method according to claim 2, characterized in that The step of adjusting the brightness gain of the vehicle-mounted camera of the first vehicle according to the ambient light data includes: When the ambient light data indicates that the light intensity is greater than a first light intensity threshold, controlling the vehicle-mounted camera to reduce the brightness gain of the vehicle-mounted camera; When the ambient light data indicates that the light intensity is less than a second light intensity threshold, the vehicle-mounted camera is controlled to increase the brightness gain of the vehicle-mounted camera.
4. The method according to claim 3, characterized in that Before displaying a virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, the method further includes: When the ambient light data indicates that the light intensity is less than a second light intensity threshold, sharpness enhancement is performed on the identified vehicle body color to obtain an enhanced color; The vehicle model is rendered using the enhanced color to obtain the virtual vehicle.
5. The method according to claim 1, characterized in that After displaying the virtual vehicle corresponding to the second vehicle in the parking virtual view of the parking assistance interface, the method further includes: In response to a triggering operation on a target vehicle component of the virtual vehicle, displaying an animation effect of the target vehicle component being triggered; A simulated animation of the target vehicle component being turned on or off is displayed in the animation effect.
6. The method according to claim 5, characterized in that After displaying the simulated animation of the target vehicle component being turned on or off in the animation effect, the method further includes: In a case where a simulated animation of the target vehicle component being opened is displayed in the animation effect, detecting a distance between an outermost edge of the target vehicle component and a parking space line of the parkable parking space; When the distance is less than a distance threshold, a voice prompt message is output; the voice prompt message is used to indicate that there is a risk of being collided with a target vehicle component of the second vehicle in the parkable parking space.
7. An automatic parking device, characterized in that: The device comprises: an identification module, for identifying a vehicle classification, a vehicle body color, and a vehicle brand of a second vehicle based on video data around the first vehicle; the second vehicle includes a vehicle parked adjacent to a parking space that can be parked by the first vehicle; A display module is used to display a virtual vehicle corresponding to the second vehicle in a parking virtual view of a parking assistance interface; the color of the virtual vehicle is consistent with the color of the vehicle body, and the brand logo of the vehicle brand is displayed; the virtual vehicle is obtained by rendering a vehicle model that matches the vehicle classification.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for vehicle, electronic equipment, storage medium and vehicle
CN115352462A
Parking pose control method and system
CN116252777A
Parking interaction method and device, storage medium, electronic equipment and vehicle
CN117284278A
Information processing apparatus, information processing method, and non-transitory computer-readable storage medium
CN118742933A
Guidance device, guidance system, and program
JP2019137169A