Vehicle display method, vehicle and readable storage medium
By using the target camera in the vehicle to collect and display the rear image of the towed vehicle, combined with the control of the steering angle of the steering wheel, the problem of blind spots in the towed state is solved, the driver's side-rear vision is improved, and the risk of traffic accidents is reduced.
Patent Information
- Application Number
- CN202411369846.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
AI Technical Summary
In the vehicle tow truck state, because the towed vehicle is blocked from the field of view, the driver cannot accurately judge the situation of the incoming vehicle on the back, which increases the risk of traffic accidents and reduces driving safety.
By obtaining the steering angle of the vehicle's steering wheel, controlling the rotation of the target camera, collecting images behind the towed vehicle, and displaying them on the on-board display screen, segmenting and scaling the images to adapt to different turning angles and reducing blind spots in the field of view.
It effectively reduces the driver's blind spot in the field of vision, improves the visual range of the vehicle coming from behind the towed vehicle, reduces the probability of traffic accidents during lane changes or turns, and improves driving safety.
Smart Images

Figure CN119078661A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle display method, a vehicle, and a readable storage medium in the field of vehicle technology. Background Art
[0002] With the continuous development of vehicle intelligence, many vehicles (such as off-road vehicles, pickup trucks, etc.) can not only be used for travel, but also equipped with trailer hooks and have the function of towing. However, when a user uses the trailer hook of a vehicle to tow other vehicles, the towed vehicle will block the user's field of vision, that is, the towed vehicle will increase the user's blind spot, resulting in the user being unable to accurately judge the situation of vehicles coming from the side and rear of the towed vehicle, which is easy to cause traffic accidents when changing lanes or turning, thereby reducing driving safety. Summary of the invention
[0003] The present application provides a vehicle display method, a vehicle, and a readable storage medium, which can reduce the user's blind spots and thus improve driving safety.
[0004] In a first aspect, a vehicle display method is provided, the method comprising: when the vehicle is in a towing state, obtaining a steering angle of a steering wheel of the vehicle; according to the steering angle of the steering wheel, controlling a target camera to rotate, the target camera being arranged at the rear of a towed vehicle, the target camera being used to capture an image of the rear of the towed vehicle, the towed vehicle and the vehicle being connected with each other by a trailer hook; obtaining a first image captured by the target camera and displaying the first image on an on-board display screen of the vehicle.
[0005] In the above technical scheme, the embodiment of the present application provides a vehicle display method: when the vehicle is in a towing state, the steering angle of the steering wheel of the vehicle can be obtained, and according to the steering angle of the steering wheel, the target camera can be controlled to rotate, so as to obtain a first image captured by the target camera. Since the first image captured by the target camera is an image of the rear of the towed vehicle connected to the vehicle, after the vehicle obtains the first image and displays the first image on the vehicle-mounted display screen of the vehicle, the driver can view the oncoming vehicle behind the rear vehicle (towed vehicle) through the on-board display screen, thereby reducing the driver's blind spot; in addition, since the target camera can rotate with the steering angle of the steering wheel, when the driver changes lanes or turns, the driver can be provided with more side and rear views of the towed vehicle, so that the driver can see more oncoming vehicles from the side and rear of the towed vehicle, thereby reducing the probability of traffic accidents when the vehicle changes lanes or turns, and improving driving safety.
[0006] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, obtaining a first image captured by a target camera and displaying the first image on an on-board display screen of a vehicle includes: obtaining the first image captured by the target camera; dividing the first image into a second image and a third image, the second image being an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, and the third image being an image other than the second image on the first image; and displaying the second image and the third image on the on-board display screen of the vehicle.
[0007] In the above technical solution, after acquiring the first image captured by the target camera, the first image can be divided into an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel (second image) and an image other than the second image on the first image (third image), and the second image and the third image are respectively displayed on the vehicle's on-board display screen, so that the subsequent vehicle can intelligently scale the display sizes of the second image and the third image according to the driving status, so that the display sizes of the second image and the third image can be more in line with the driver's field of vision requirements.
[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, segmenting the first image into the second image and the third image includes: determining the segmentation ratio of the first image according to the steering angle of the steering wheel; and segmenting the first image into the second image and the third image according to the segmentation ratio.
[0009] In the above technical solution, the segmentation ratio of the first image can be determined according to the steering angle of the steering wheel to ensure that the second image segmented from the first image is an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, that is, to ensure that the second image can accurately display the image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel.
[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the segmentation ratio of the first image is determined according to the steering angle of the steering wheel, including: determining the segmentation ratio of the first image according to a preset target mapping table and the steering angle of the steering wheel, the target mapping table being used to represent the correspondence between the steering angle of the steering wheel and the segmentation ratio of the first image.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, displaying the second image and the third image on a vehicle's on-board display screen includes: determining a first display size of the second image and a second display size of the third image according to a steering angle of a steering wheel; displaying the second image on the vehicle's on-board display screen according to the first display size, and displaying the third image on the vehicle's on-board display screen according to the second display size.
[0012] In the above technical solution, when the second image and the third image are displayed on the vehicle's on-board display screen, the first display size of the second image and the second display size of the third image can be determined according to the steering angle of the steering wheel, so that the vehicle can display the second image and the third image of different sizes on the on-board display screen at different steering angles of the steering wheel, that is, the vehicle can flexibly scale the display sizes of the second image and the third image according to different turning angles, so that the display sizes of the second image and the third image can be more in line with the driver's field of vision requirements.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the first display size of the second image and the second display size of the third image are determined according to the steering angle of the steering wheel, including: when the steering angle of the steering wheel is less than or equal to the first angle threshold, the first preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than the first angle threshold, the second preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the second display size, and the second preset size is greater than the first preset size.
[0014] In the above technical solution, when the steering angle of the steering wheel is less than or equal to the first angle threshold, it indicates that the vehicle is in a straight or slightly turning state at this time, and the driver's side rear visual blind spot is small. In this case, the smaller first preset size can be determined as the first display size of the second image, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size, that is, at this time, the second display size of the third image is larger than the first display size of the second image, so as to ensure that a clearer full view of the rear of the towed vehicle and the surrounding road conditions is provided to the driver; when the steering angle of the steering wheel is greater than the first angle threshold, it indicates that the vehicle is in a large turning state at this time, and the driver's side rear visual blind spot is larger than when the vehicle is in a straight or slightly turning state. In this case, the first display size of the second image can be enlarged, that is, the second preset size larger than the first preset size is determined as the first display size, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size, that is, at this time, the first display size of the second image is larger than the second display size of the third image, so as to ensure that a clearer side rear visual field of the towed vehicle is provided to the driver, so that the driver can pass the turning section smoothly.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the steering angle of the steering wheel is greater than the first angle threshold, the second preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the second display size, including: when the steering angle of the steering wheel is greater than the first angle threshold and less than or equal to the second angle threshold, the second preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than the second angle threshold and less than or equal to the third angle threshold, the third preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the first display size, and the third preset size is greater than the second preset size; when the steering angle of the steering wheel is greater than the third angle threshold, the size of the vehicle's on-board display screen is determined as the first display size, and the determination of the second display size is canceled.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, displaying a first image on a vehicle-mounted display screen includes: identifying whether the first image contains a target object, the target object being an object whose distance from the towed vehicle is less than a distance threshold; when the target object is contained in the first image, determining that the area where the target object is located on the first image is a highlighted area; determining the brightness threshold as the brightness value of the brightness area, and keeping the brightness value of the non-highlight area unchanged, to obtain a highlighted image of the first image, the brightness threshold being greater than the brightness value of the non-highlight area, and the non-highlight area being other areas outside the highlighted area on the first image; and displaying the highlighted image of the first image on the vehicle-mounted display screen.
[0017] In the above technical solution, when the first image is displayed on the vehicle's onboard display screen, it can be identified whether the first image contains an object whose distance from the towed vehicle is less than a distance threshold, that is, a target object, so that when it is determined that the first image contains the target object, the driver is prompted to increase the driver's attention to the target object. Specifically, when it is determined that the first image contains the target object, the area where the target object is located can be determined as a highlighted area on the first image, and the brightness threshold is determined as the brightness value of the brightness area, and the brightness value of the non-highlighted area is kept unchanged, thereby obtaining a highlighted image of the first image, and then displaying the highlighted image of the first image on the vehicle's onboard display screen, so that the driver can increase the attention to the target object, thereby reducing the probability of traffic accidents.
[0018] In a second aspect, a vehicle display device is provided, the device comprising:
[0019] A first acquisition module, used for acquiring a steering angle of a steering wheel of the vehicle when the vehicle is in a towing state;
[0020] A control module, used for controlling the target camera to rotate according to the steering angle of the steering wheel, the target camera is arranged at the rear of the towed vehicle, the target camera is used for collecting images behind the towed vehicle, and the towed vehicle and the vehicle are connected by a trailer hook;
[0021] The second acquisition module is used to acquire a first image captured by the target camera and display the first image on a vehicle-mounted display screen of the vehicle.
[0022] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the vehicle display method in the first aspect or any possible implementation of the first aspect.
[0023] In a fourth aspect, a computer program product is provided, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the vehicle display method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0024] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle display method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a schematic diagram of a vehicle display system provided in an embodiment of the present application;
[0026] Figure 2 is a structural schematic diagram of a camera module provided in an embodiment of the present application;
[0027] Figure 3 is a schematic flow chart of another vehicle display method provided in an embodiment of the present application;
[0028] Figure 4A is a schematic diagram of displaying a first image provided by an embodiment of the present application;
[0029] Figure 4B is a schematic diagram of a highlighted image display of a first image provided by an embodiment of the present application;
[0030] Figure 5 is a structural schematic diagram of a vehicle display device provided in an embodiment of the present application;
[0031] Figure 6It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0033] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0034] Before introducing the solutions of the embodiments of the present application, the professional terms that may be involved in the embodiments of the present application are first explained.
[0035] Blind spot: When the driver is in the normal driving position, his sight is blocked by the vehicle body (for example, the driver's own vehicle or the towed vehicle) and he cannot directly observe the area behind the vehicle. This area that the driver cannot directly observe is the blind spot. The driver's blind spot can include the left rear blind spot and the right rear blind spot.
[0036] Electronic Stability Control (ESC): is an active safety technology used to improve vehicle driving stability. The ESC system helps the driver maintain vehicle stability by monitoring the vehicle's dynamic behavior (such as oversteering or understeering) and taking intervention measures (such as individual wheel braking or reducing engine torque) when necessary.
[0037] Field of View (FOV): refers to the maximum angle range of a scene that a camera, lens or other imaging device can capture. The field of view is an important indicator to measure the width of the camera's field of view, usually divided into horizontal field of view (HFOV) and vertical field of view (VFOV).
[0038] The horizontal field of view angle refers to the maximum angle range of the camera in the horizontal direction, and the vertical field of view angle refers to the maximum angle range of the camera in the vertical direction.
[0039] Before introducing the method provided by the embodiment of the present application, the application scenario of the embodiment of the present application is first introduced in detail.
[0040] With the continuous development of automobile intelligence, many vehicles (such as off-road vehicles, pickup trucks, etc.) are now also equipped with trailer hooks and have trailer functions to provide convenience for users' travel or off-road driving.
[0041] However, when a user uses the vehicle's trailer hook to tow other vehicles, the towed vehicle will block the user's field of vision, that is, the towed vehicle will increase the user's blind spot, resulting in the user being unable to accurately judge the oncoming vehicles from the side and rear of the towed vehicle, which can easily cause traffic accidents when the vehicle changes lanes or turns, thereby reducing driving safety.
[0042] Based on the above problems, an embodiment of the present application provides a vehicle display method, which can reduce the blind spot of the user's rear vision, thereby improving driving safety.
[0043] It should be understood that the method provided in the embodiments of the present application can be applied to vehicles or to terminal devices, such as mobile phones or computers, and the embodiments of the present application are not limited to this.
[0044] It should be noted that the embodiments of the present application do not specifically limit the types of vehicles and towed vehicles, which may be off-road vehicles, pickup trucks, trailers, semi-trailers, RVs or cars, etc.
[0045] The following takes the application in a vehicle as an example to introduce the display system of the vehicle when implementing a vehicle display method provided by an embodiment of the present application.
[0046] Figure 1 is a schematic diagram of a vehicle display system provided by an embodiment of the present application. Figure 1 As shown, the system 100 includes a vehicle 101 and at least one target camera 102. The target camera 102 is disposed at the rear of a towed vehicle 103, the target camera 102 is connected to the vehicle 101 via WiFi or Bluetooth, and the towed vehicle 103 is connected to the vehicle 101 via a trailer hook 104.
[0047] The target camera 102 is used to collect an image of the rear of the towed vehicle 103 , that is, a first image, and send the collected first image to the vehicle 101 .
[0048] It should be noted that in order to ensure the image quality of the target camera 102 when collecting at night, the target camera 102 may have a high-definition night vision function, and in order to enable the target camera 102 to capture a wider field of view, the target camera 102 may be a wide-angle camera with a maximum horizontal field of view (HFOV) of 120° (or above 120°). In addition, in order to enable the target camera 102 to collect normally under severe weather conditions, the target camera 102 may have dustproof and waterproof functions.
[0049] In a possible implementation, the target camera 102 can be configured at the rear of the towed vehicle 103 by magnetic attraction. Figure 1 As shown, the target camera 102 is arranged at the middle position of the rear of the towed vehicle 103 by means of magnetic attraction.
[0050] The vehicle 101 is used to receive the first image sent by the target camera 102, and display the received first image on the vehicle-mounted display screen of the vehicle, so that the driver can check the oncoming vehicle behind the rear vehicle (the towed vehicle 103) through the vehicle-mounted display screen, thereby reducing the driver's blind spot.
[0051] Optionally, a receiving module may be integrated or added to the on-board display screen of the vehicle 101 to receive the first image sent by the target camera 102 , which is not limited in this embodiment of the present application.
[0052] In addition, the vehicle 101 is also used to obtain the steering angle of the steering wheel (for example, the vehicle 101 obtains the steering angle of the steering wheel through a steering wheel angle sensor), and controls the target camera 102 to rotate according to the steering angle of the steering wheel, so that when the driver changes lanes or turns, the target camera 102 can capture more images of the side and rear of the towed vehicle 103, thereby providing the driver with more side and rear fields of view, allowing the driver to see more vehicles coming from the side and rear of the towed vehicle 103.
[0053] Figure 2 is a structural diagram of a camera module provided in an embodiment of the present application. Figure 2As shown, the camera module 200 includes a target camera 201, a housing 202 and a fixing seat 203. The housing 202 is provided with a receiving slot for receiving the target camera 201. The target camera 201 is partially located in the receiving slot and is movably connected to the housing 201. The target camera 201 can rotate relative to the housing 202 to cover the required field of view to achieve acquisition requirements at different angles. The housing 202 and the fixing seat 203 are fixedly connected. The camera module 200 is fixed to the vehicle via the fixing seat 203. Here, it is worth noting that the camera module 200 can be fixed to different positions of the vehicle via the fixing seat 203, for example, the rear of the vehicle, the inside of the trunk of the vehicle, or the rear of the towed vehicle body.
[0054] Exemplarily, when the vehicle is not connected to a towed vehicle, that is, when the vehicle is not performing a towing function, the camera module 200 is fixed to the rear of the vehicle or inside the trunk of the vehicle via the fixing seat 203 to store the camera module 200 and prevent it from being exposed to the outside of the vehicle and affecting its aesthetics; when the vehicle is connected to a towed vehicle, that is, when the vehicle is performing a towing function, the camera module 200 is fixed to the rear of the towed vehicle body via the fixing seat 203, so that the camera module 200 can reliably collect the rear area of the towed vehicle.
[0055] Optionally, the fixing seat 203 can be a metal piece with a magnetic suction function. The fixing seat 203 can be magnetically attached to the rear of the vehicle, inside the trunk of the vehicle, or the rear of the towed vehicle. The magnetic connection method can quickly realize assembly and disassembly without tools or screws, etc., and is convenient for assembly and disassembly. The magnetic connection method does not have the problem of wear and tear, that is, the fixing seat 203 will not reduce its performance when repeatedly disassembled and assembled, thereby improving the overall durability of the camera module 200.
[0056] During the driving of a vehicle or a towed vehicle, there may be a problem of silt splashing and causing the rear of the vehicle or the towed vehicle to be contaminated. In order to prevent silt from contaminating the target camera 201 in the camera module 200 located at the rear of the vehicle or the towed vehicle and thus affecting its subsequent collection effect, in one example, the camera module 200 also includes a protective cover, which is mounted on the shell 202 to form a accommodating cavity with the shell 202, and the camera 202 is located in the accommodating cavity to prevent silt from contaminating the camera 202, thereby ensuring the collection reliability of the camera 202.
[0057] Optionally, the protective cover may be made of plastic or rubber.
[0058] Next, in combination with the vehicle display system and camera module provided in the above embodiments, a vehicle display method provided in an embodiment of the present application is introduced.
[0059] Figure 3It is a schematic flow chart of a vehicle display provided by an embodiment of the present application. It should be understood that the method can be applied to vehicles.
[0060] For example, Figure 3 As shown, the method 300 includes:
[0061] Step 301, when the vehicle is in a towing state, obtaining a steering angle of a steering wheel of the vehicle.
[0062] The vehicle being in a towing state can be understood as the trailer hook of the vehicle being extended and the vehicle being connected to the trailer hook.
[0063] Optionally, the vehicle may obtain the steering angle of the steering wheel through devices such as a steering wheel angle sensor, a gyroscope, or a non-contact sensor, which is not limited in the embodiments of the present application.
[0064] Step 302: Control the target camera to rotate according to the steering angle of the steering wheel.
[0065] Specifically, the developer can set a relationship correspondence table between the steering angle of the steering wheel and the rotation angle of the target camera in the internal memory of the vehicle in advance, so that after the vehicle obtains the steering angle of the steering wheel, the rotation angle of the target camera corresponding to the steering angle of the steering wheel can be determined according to the relationship correspondence table set in advance, and the determined rotation angle is sent to the motor controller of the target camera, so that the motor controller controls the target camera to rotate according to the received rotation angle. Among them, the relevant introduction of the target camera can be found in the above embodiment, which will not be repeated here.
[0066] It should be noted that the greater the turning angle of the vehicle, that is, the greater the steering angle of the steering wheel, the larger the driver's blind spot. Therefore, the rotation angle of the target camera corresponding to the steering angle of the steering wheel also needs to be larger, so as to provide the driver with more side and rear views of the towed vehicle, so that the driver can more easily check the oncoming vehicles from the side and rear of the towed vehicle.
[0067] It is understandable that the steering angle of the steering wheel is generally divided into a positive steering angle and a negative steering angle, wherein a positive steering angle indicates that the steering wheel is turned to the left, i.e., the vehicle is turning left, and a negative steering angle indicates that the steering wheel is turned to the right, i.e., the vehicle is turning right. It should be noted that when the steering wheel is turned to the left, the motor controller will control the target camera to turn to the left according to the received rotation angle; when the steering wheel is turned to the right, the motor controller will control the target camera to turn to the right according to the received rotation angle.
[0068] Exemplarily, the relationship between the steering angle of the steering wheel and the rotation angle of the target camera may be shown in Table 1 below:
[0069] Table 1
[0070] Steering wheel angle (X) The rotation angle of the target camera 0°≤X≤20° 10° 21°≤X≤45° 35° 46°≤X≤90° 65° 90°<X 90° …… ……
[0071] It should be noted that Table 1 shows the rotation angles of the target cameras corresponding to the steering angles when the steering wheel is turned to the left. It should be understood that when the steering wheel is turned to the right, the rotation angles of the target cameras corresponding to the steering angles are the same as the setting principle of Table 1, which will not be repeated here.
[0072] Optionally, the driver can also control the rotation of the target camera through a virtual button on the vehicle's on-board display screen, which is not limited in the embodiment of the present application.
[0073] Step 303: Acquire a first image captured by the target camera and display the first image on a vehicle-mounted display screen of the vehicle.
[0074] It should be noted that after the target camera captures the first image, the target camera will send the captured first image to the vehicle via WiFi or Bluetooth, so that when the vehicle receives the first image, it will display the first image on the vehicle's display screen, so that the driver can check the oncoming vehicles behind the towed vehicle through the vehicle's display screen, thereby reducing the driver's blind spot.
[0075] In summary, the embodiment of the present application provides a vehicle display method, which can obtain the steering angle of the steering wheel of the vehicle when the vehicle is in a towing state, and control the target camera to rotate according to the steering angle of the steering wheel, so as to obtain a first image captured by the target camera. Since the first image captured by the target camera is an image of the rear of the towed vehicle connected to the vehicle, after the vehicle obtains the first image and displays the first image on the vehicle-mounted display screen of the vehicle, the driver can view the oncoming vehicles behind the rear vehicle (towed vehicle) through the vehicle-mounted display screen, thereby reducing the driver's blind spot. In addition, since the target camera can rotate with the steering angle of the steering wheel, when the driver changes lanes or turns, it can provide the driver with more side and rear views of the towed vehicle, so that the driver can more conveniently view the oncoming vehicles behind the towed vehicle, thereby reducing the probability of traffic accidents when the vehicle changes lanes or turns, and improving driving safety.
[0076] In a possible implementation, when the first image is displayed on the vehicle display screen, the vehicle may first identify whether the first image contains an object whose distance from the towed vehicle is less than a distance threshold, i.e., a target object, so that when it is determined that the first image contains the target object, the driver may be prompted to increase the driver's attention to the target object, thereby reducing the probability of traffic accidents.
[0077] It should be noted that in order to enable the vehicle to identify whether the target object is contained in the first image, in a possible implementation, the target camera may be a depth camera, so that the vehicle can identify whether the target object is contained in the first image through the depth camera.
[0078] Specifically, during the process of the target camera collecting the first image, the target camera will emit an infrared beam to the surface of each object included in the first image, and receive the infrared beam (also referred to as reflected light) reflected back from the surface of each object. After receiving the reflected light, the time difference between the infrared light being emitted and returning to the receiver will be calculated, thereby calculating the distance between each object and the towed vehicle based on the time difference, and sending the calculated distance between each object and the towed vehicle to the vehicle, so that the vehicle can determine whether the target object is included in the first image based on the distance threshold set in advance and the received distance between each object and the towed vehicle. For example, if the distance between the object and the towed vehicle is less than the distance threshold, it is determined whether the target object is included in the first image.
[0079] The target camera can calculate the distance between each object and the towed vehicle by the following formula (1).
[0080]
[0081] Where D is the distance between the object in the first image and the towed vehicle, and C is the speed of light (3×10 8 m / s), Δ□ is the time difference corresponding to each object, and f is the operating frequency of the target camera, that is, the frequency of emitting infrared light.
[0082] In another possible implementation, two target cameras may be arranged at the rear of the towed vehicle, so that the vehicle can identify whether the first image contains the target object through the two target cameras.
[0083] Specifically, the two target cameras are respectively arranged at different positions of the rear of the towed vehicle (for example, one is arranged on the left side of the rear of the towed vehicle, and the other is arranged on the right side of the rear of the towed vehicle), so that the two target cameras respectively capture first images from different positions and send the first images captured by each to the vehicle, so that when the vehicle receives the first images captured from two different positions, it uses a stereo matching algorithm (for example, Block Matching algorithm, Semi-Global Matching algorithm) to calculate the disparity of the two first images, that is, calculate the horizontal displacement of the corresponding pixel points of the same object in the two first images, and then calculate the distance between each object contained in the first image and the towed vehicle according to the disparity, the parameters of the target camera (for example, focal length) and the baseline of the target camera, that is, the straight-line distance between the two target cameras, and then determine whether the first image contains the target object according to the distance threshold and the calculated distance between each object and the towed vehicle.
[0084] The vehicle can calculate the distance between each object and the towed vehicle by the following formula (2).
[0085]
[0086] Wherein, D is the distance between the object in the first image and the towed vehicle, B is the baseline of the target camera, F is the focal length of the target camera, and d is the horizontal displacement of the corresponding pixel points of the same object in the two first images.
[0087] It should be noted that, when the vehicle determines that the first image contains a target object, the area where the target object is located can be determined as a highlighted area on the first image, and the brightness threshold can be determined as the brightness value of the brightness area, while keeping the brightness value of the non-highlighted area unchanged, thereby obtaining a highlighted image of the first image and displaying the highlighted image of the first image on the vehicle display screen, so that the driver can increase his attention to the target object, thereby reducing the probability of traffic accidents.
[0088] Specifically, when the vehicle determines that the first image contains a target object, the pixel values of the pixels within the area where the target object is located on the first image can be adjusted to the pixel threshold, and the pixel values of the non-highlighted areas, that is, the pixel values of the pixels in other areas outside the area where the target object is located on the first image, remain unchanged, thereby obtaining a highlighted image of the first image, and displaying the highlighted image of the first image on the vehicle's on-board display screen.
[0089] Exemplarily, as shown in FIG4(A), when the first image 400 sent by the target camera includes other vehicles 401, pedestrian A402, and pedestrian B403, after acquiring the first image 400, the vehicle can respectively determine whether the other vehicles 401, pedestrian A402, and pedestrian B403 on the first image 400 are target objects. For example, when the vehicle determines that pedestrian B403 on the first image 400 is the target object, the pixel values of the pixels in the area where pedestrian B403 is located can be adjusted to the pixel threshold, and the pixel values of the pixels in other areas outside the area where pedestrian B403 is located can be kept unchanged, thereby obtaining a highlighted image 404 of the first image, and displaying the highlighted image 404 of the first image on the vehicle's onboard display screen. Specifically, the highlighted image 404 of the first image can be shown in FIG4(B).
[0090] The following is divided into two parts, which introduce in detail the specific implementation steps of displaying the first image on the vehicle-mounted display screen.
[0091] The first part is to divide the first image into a second image and a third image, wherein the second image is an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, and the third image is an image other than the second image on the first image.
[0092] Specifically, after the vehicle obtains the first image captured by the target camera, the first image can be segmented into an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel (the second image) and an image other than the second image on the first image (the third image) according to a preset segmentation ratio, so that subsequent vehicles can flexibly scale the display sizes of the second image and the third image according to the driving state (for example, the steering angle of the steering wheel), so that the display sizes of the second image and the third image can be more in line with the driver's field of vision. Among them, the preset segmentation ratio can be 5:5, 6:4 or 7:3, etc., and the embodiments of the present application are not limited to this.
[0093] In the embodiment of the present application, the specific implementation of dividing the first image into the second image and the third image can be divided into the following two steps:
[0094] Step 1: Determine the segmentation ratio of the first image according to the steering angle of the steering wheel.
[0095] It should be noted that, since the driver's blind spot is different at different turning angles of the vehicle, that is, at different steering angles of the steering wheel, in order to enable the second image to accurately display the image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, in this embodiment, the vehicle can determine the segmentation ratio of the first image according to the steering angle of the steering wheel, so as to ensure that the second image segmented from the first image is the image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, that is, to ensure that the second image can accurately display the image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel.
[0096] In a possible implementation, the vehicle may determine the segmentation ratio of the first image according to a preset target mapping table and a steering angle of the steering wheel, wherein the target mapping table is used to indicate the corresponding relationship between the steering angle of the steering wheel and the segmentation ratio of the first image.
[0097] It can be seen from the above embodiments that the greater the turning angle of the vehicle, that is, the greater the steering angle of the steering wheel (positive steering angle / negative steering angle), the greater the rotation angle of the target camera will be, that is, the larger the area of the rear side of the towed vehicle captured by the target camera will be. In other words, in order to ensure that the second image segmented from the first image is an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, the segmentation ratio of the second image also needs to increase with the increase of the steering angle of the steering wheel.
[0098] Exemplarily, the corresponding relationship between the steering angle of the steering wheel and the segmentation ratio of the first image may be shown in the following Table 2:
[0099] Table 2
[0100] Steering wheel angle Split ratio 0°≤X≤20° 2:8 21°≤X≤45° 6:4 46°≤X≤90° 7:3 90°<X 8:2 …… ……
[0101] It should be noted that Table 2 shows the segmentation ratios of the first image corresponding to each steering angle when the steering wheel is turned left. It should be understood that when the steering wheel is turned right, the segmentation ratios of the first image corresponding to each steering angle have the same setting principle as Table 2, which will not be repeated here.
[0102] Step 2: Segment the first image into a second image and a third image according to the segmentation ratio.
[0103] Exemplarily, when the steering angle of the steering wheel is 50°, that is, the steering wheel turns 50° to the left, the vehicle can determine that the segmentation ratio corresponding to the steering angle of the steering wheel (50°) is 7:3 according to Table 2, and after determining that the segmentation ratio is 7:3, the first image is segmented from left to right into a second image and a third image according to the segmentation ratio (7:3), wherein the area of the second image accounts for 0.7 of the area of the first image, and the area of the third image accounts for 0.3 of the area of the first image.
[0104] Optionally, the vehicle may use Python and an open source computer vision library (OpenCV) to segment the first image, or may use other image processing libraries or frameworks (e.g., a deep learning framework) to segment the first image, which is not limited in this embodiment of the present application.
[0105] The second part: displaying the second image and the third image on the vehicle's onboard display screen.
[0106] Specifically, after the vehicle divides the first image into the second image and the third image, the second image and the third image may be displayed on the vehicle display screen respectively according to a preset display size.
[0107] In a possible implementation manner, displaying the second image and the third image on the vehicle-mounted display screen of the vehicle can be divided into the following two steps:
[0108] Step 1: Determine a first display size of the second image and a second display size of the third image according to a steering angle of the steering wheel.
[0109] It should be noted that in order to ensure that when the vehicle is in a large turning state, that is, when the driver's blind spot is large, the driver can clearly view the oncoming vehicles from the side and rear of the towed vehicle, in an embodiment of the present application, after the vehicle obtains the steering angle of the steering wheel, it can determine the first display size of the second image and the second display size of the third image according to the steering angle of the steering wheel, so that when the vehicle is in a large turning state, the first display size of the second image can be enlarged, so that the driver can clearly view the oncoming vehicles from the side and rear of the towed vehicle; when the vehicle is in a slight turning state, the second display size of the third image can be enlarged, so that the driver can clearly view the overall picture of the rear of the towed vehicle and the surrounding road conditions, that is, the vehicle can flexibly scale the display sizes of the second image and the third image according to different turning angles, so that the display sizes of the second image and the third image can be more in line with the driver's field of vision.
[0110] Specifically, after the vehicle obtains the steering angle of the steering wheel, the vehicle can compare the steering angle of the steering wheel with the first angle threshold, and determine the first display size of the second image and the second display size of the third image according to the comparison result.
[0111] In a possible implementation, when the steering angle of the steering wheel is less than or equal to a first angle threshold, the first preset size can be determined as the first display size, and the second display size can be determined based on the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than or equal to the first angle threshold, the second preset size can be determined as the first display size, and the second display size can be determined based on the size of the vehicle's on-board display screen and the second display size, the second preset size being larger than the first preset size.
[0112] It should be noted that, when the steering angle of the steering wheel is less than or equal to the first angle threshold, it indicates that the vehicle is in a straight or slightly turning state at this time, and the driver's side rear visual blind area is small. In this case, the smaller preset size, that is, the first preset size, can be determined as the first display size of the second image, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size, that is, at this time, the second display size of the third image needs to be larger than the first display size of the second image, so as to ensure that a clearer full view of the rear of the towed vehicle and the surrounding road conditions is provided to the driver. When the steering angle of the steering wheel is greater than the first angle threshold, it indicates that the vehicle is in a large turning state at this time, and the driver's side rear visual blind area is larger than when the vehicle is in a straight or slightly turning state. In this case, the first display size of the second image can be enlarged, that is, the second preset size larger than the first preset size is determined as the first display size, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size, that is, at this time, the first display size of the second image needs to be larger than the second display size of the third image, so as to ensure that a clearer side rear visual field of the towed vehicle is provided to the driver, so that the driver can pass the turning section smoothly.
[0113] Exemplarily, the first angle threshold is 20°, the first preset size is 4cm×5cm, the second preset size is 16cm×5cm, and the size of the vehicle display screen is 20cm×5cm. When the steering angle of the steering wheel obtained by the vehicle is 5°, that is, when the steering angle of the steering wheel (5°) is less than the first angle threshold (20°), the vehicle can determine the first preset size (4cm×5cm) as the first display size, and can determine the second display size of the third image to be (16cm×5cm) based on the size of the vehicle display screen (20cm×5cm) and the first display size (4cm×5cm); when the steering angle of the steering wheel obtained by the vehicle is 35°, that is, when the steering angle of the steering wheel (35°) is greater than the first angle threshold (20°), the vehicle can determine the second preset size (15cm×5cm) as the first display size, and can determine the second display size of the third image to be (5cm×5cm) based on the size of the vehicle display screen (20cm×5cm) and the first display size (15cm×5cm).
[0114] In order to make the display sizes of the second image and the third image further better suit the driver's field of vision, in a possible implementation, a second angle threshold greater than the first angle threshold and a third angle threshold greater than the second angle threshold can be set, so that when the steering angle of the steering wheel is greater than the first angle threshold, the vehicle can compare the steering angle of the steering wheel with the second angle threshold and the third angle threshold, and determine the first display size of the second image and the second display size of the third image based on the comparison results.
[0115] Specifically, when the steering angle of the steering wheel is greater than the first angle threshold and less than or equal to the second angle threshold, the second preset size can be determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than the second angle threshold and less than or equal to the third angle threshold, the third preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the first display size, and the third preset size is greater than the second preset size; when the steering angle of the steering wheel is greater than the third angle threshold, the size of the vehicle's on-board display screen is determined as the first display size, and the determination of the second display size is cancelled.
[0116] It should be noted that when the steering angle of the steering wheel is greater than the first angle threshold and less than or equal to the second angle threshold, it indicates that the vehicle is in a large turning state (for example, the steering angle of the vehicle's steering wheel is 35°), and the driver's side rear blind spot is larger than when the vehicle is in a straight or slightly turning state. In this case, the first display size of the second image can be enlarged, that is, the second preset size larger than the first preset size is determined as the first display size, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size. That is, at this time, the first display size of the second image needs to be larger than the second display size of the third image to ensure that the driver is provided with a clearer side rear view of the towed vehicle, so that the driver can pass the turning section smoothly.
[0117] When the steering angle of the steering wheel is greater than the second angle threshold and less than or equal to the third angle threshold, it indicates that the vehicle is in a large turning state (for example, the turning angle of the vehicle's steering wheel is 65°), and the driver's side rear visual blind spot is larger than when the vehicle is in a large turning state. In this case, the first display size of the second image can be further enlarged, that is, the third preset size that is greater than the second preset size is determined as the first display size, and the second display size of the third image is determined according to the size of the vehicle's on-board display screen and the first display size, so as to further provide the driver with a clearer side rear visual field of the towed vehicle.
[0118] When the steering angle of the steering wheel is greater than the third angle threshold, it indicates that the vehicle is in an extreme turning state (for example, the turning angle of the vehicle's steering wheel is 100°), and the driver's side rear visual blind spot is larger than when the vehicle is in a large turning state. In this case, the first display size of the second image can be maximized, that is, the size of the vehicle display screen is determined as the first display size, and the second display size is cancelled, that is, the third image is not displayed on the vehicle display screen, so as to further provide the driver with a clearer side rear visual field of the towed vehicle.
[0119] Exemplarily, the first angle threshold is 20°, the second angle threshold is 45°, the third angle threshold is 90°, the first preset size is 4cm×5cm, the second preset size is 16cm×5cm, the third preset size is 18cm×5cm, and the size of the vehicle display screen is 20cm×5cm. When the steering angle of the steering wheel acquired by the vehicle is 25°, that is, when the steering angle of the steering wheel (25°) is greater than the first angle threshold (20°) and less than or equal to the second angle threshold (45°), the vehicle can determine the first preset size (4cm×5cm) as the first display size, and can determine the second display size of the third image as (16cm×5cm) according to the size of the vehicle display screen (20cm×5cm) and the first display size (4cm×5cm); When the steering angle of the steering wheel obtained by the vehicle is 65°, that is, when the steering angle of the steering wheel (65°) is greater than the second angle threshold (45°) and less than or equal to the third angle threshold (90°), the vehicle can determine the third preset size (18cm×5cm) as the first display size, and can determine the second display size of the third image as (2cm×5cm) based on the size of the vehicle's on-board display screen (20cm×5cm) and the first display size (18cm×5cm); when the steering angle of the steering wheel obtained by the vehicle is 95°, that is, when the steering angle of the steering wheel (95°) is greater than the third angle threshold (90°), the vehicle can determine the size of the on-board display screen (20cm×5cm) as the first display size, and cancel the determination of the second display size.
[0120] Optionally, when the steering angle of the steering wheel is greater than a third angle threshold, the vehicle can also automatically activate active safety systems such as the electronic stability program (ESC) and traction control system (TCS), so that the vehicle can judge whether the vehicle is in an unstable state according to the vehicle's driving status (for example, vehicle speed and steering angle of the steering wheel, etc.) and road conditions, so that when the vehicle is in an unstable state, the active safety system can brake individual wheels or adjust the engine output to maintain stability and reduce the risk of skidding.
[0121] Optionally, the vehicle can also combine the navigation system and the vehicle's wheel speed sensor to provide intelligent deceleration suggestions, that is, guide the driver to appropriately reduce the speed before entering the curve to ensure safe passage. The vehicle can provide the driver with deceleration suggestions through a head-up display (HUD) or a vehicle dashboard, which is not limited in the embodiments of the present application.
[0122] Step 2: Display the second image on the vehicle's onboard display screen according to the first display size, and display the third image on the vehicle's onboard display screen according to the second display size.
[0123] Specifically, when the vehicle determines the first display size of the second image and the second display size of the third image, the sizes of the corresponding second image and third image can be adjusted respectively according to the first display size and the second display size, and the adjusted images can be transmitted to the vehicle display screen through a corresponding interface (for example, a high-definition multimedia interface (HDMI)), so that the second image of the first display size and the third image of the second display size are displayed on the vehicle display screen.
[0124] It should be understood that when the vehicle displays the second image on the vehicle-mounted display screen according to the first display size, and displays the third image on the vehicle-mounted display screen according to the second display size, if it is recognized that the second image and / or the third image contains a target object, the area where the target object is located will be determined as the highlighted area of the second image and / or the third image, and the brightness threshold will be determined as the brightness value of the brightness area, and the brightness value of the non-highlighted area will be kept unchanged, so as to obtain the highlighted image of the second image and / or the third image, and display the highlighted image of the second image and / or the third image on the vehicle's on-board display screen.
[0125] Among them, the specific implementation methods of identifying whether the target object is contained in the second image and the third image, and how to obtain the highlighted images of the second image and the third image are the same as the specific implementation methods of identifying whether the target object is contained in the first image and how to obtain the first image in the above implementation, and will not be repeated here.
[0126] It should be noted that when the steering angle of the steering wheel is greater than the third angle threshold, and the vehicle cancels the determination of the second display size, that is, when the vehicle only displays the second image on the vehicle display screen according to the first display size, in order to facilitate the driver to view the full picture of the rear of the towed vehicle and the surrounding road conditions, in a possible implementation, the vehicle can add a target control on the vehicle display screen, and the target control is used for the vehicle to receive the driver's target operation (for example, a click operation or a long press operation, etc.), and when it is determined that the target operation of the target control is received, respond to the target operation, that is, determine the size of the vehicle display screen to the second display size, and display the third image on the vehicle display screen, so as to facilitate the driver to flexibly switch the image displayed on the vehicle display screen. Optionally, the driver can also switch the image displayed on the vehicle display screen through voice commands or physical buttons on the steering wheel, which is not limited in the embodiments of the present application.
[0127] Optionally, when the steering angle of the steering wheel is greater than a third angle threshold, that is, when the vehicle is in an extreme turning state, the vehicle can also display prompt information on the on-board display screen. The prompt information can be a light prompt (for example, a red warning light strip flashing around the on-board display screen) or a voice prompt (for example, Attention! Extreme turn, please drive carefully!), etc., so as to enable the driver to drive carefully and reduce the occurrence of traffic accidents.
[0128] Figure 5 It is a structural schematic diagram of a vehicle display device provided in an embodiment of the present application.
[0129] For example, Figure 5 As shown, the device 500 includes:
[0130] A first acquisition module 501 is used to acquire a steering angle of a steering wheel of the vehicle when the vehicle is in a towing state;
[0131] The control module 502 is used to control the target camera to rotate according to the steering angle. The target camera is arranged at the rear of the towed vehicle. The target camera is used to collect images of the rear of the towed vehicle. The towed vehicle and the vehicle are connected by a trailer hook.
[0132] The display module 503 is used to obtain a first image captured by the target camera and display the first image on a vehicle-mounted display screen.
[0133] In a possible implementation, the device 500 further includes a second acquisition module, which is used to acquire a first image captured by the target camera; the device 500 further includes a segmentation module, which is used to segment the first image into a second image and a third image, wherein the second image is an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, and the third image is an image other than the second image on the first image; the display module 503 is specifically used to display the second image and the third image on the vehicle's onboard display screen.
[0134] In a possible implementation, the device 500 further includes a first determination module, which is used to determine a segmentation ratio of the first image according to a steering angle of a steering wheel; the segmentation module is specifically used to segment the first image into a second image and a third image according to the segmentation ratio.
[0135] In one possible implementation, the first determination module is specifically used to determine the segmentation ratio of the first image according to a preset target mapping table and a steering angle of the steering wheel, wherein the target mapping table is used to represent the correspondence between the steering angle of the steering wheel and the segmentation ratio of the first image.
[0136] In one possible implementation, the device 500 also includes a second determination module, which is used to determine the first display size of the second image and the second display size of the third image according to the steering angle of the steering wheel; the display module 503 is specifically used to display the second image on the vehicle's on-board display screen according to the first display size, and to display the third image on the vehicle's on-board display screen according to the second display size.
[0137] In one possible implementation, the second determination module is specifically used to, when the steering angle of the steering wheel is less than or equal to the first angle threshold, determine the first preset size as the first display size, and determine the second display size based on the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than or equal to the first angle threshold, determine the second preset size as the first display size, and determine the second display size based on the size of the vehicle's on-board display screen and the second display size, the second preset size being larger than the first preset size.
[0138] In one possible implementation, the second determination module is specifically used to, when the steering angle of the steering wheel is greater than the first angle threshold and less than or equal to the second angle threshold, determine the second preset size as the first display size, and determine the second display size according to the size of the vehicle's on-board display screen and the first display size; when the steering angle of the steering wheel is greater than the second angle threshold and less than or equal to the third angle threshold, determine the third preset size as the first display size, and determine the second display size according to the size of the vehicle's on-board display screen and the first display size, the third preset size being greater than the second preset size; when the steering angle of the steering wheel is greater than the third angle threshold, determine the size of the vehicle's on-board display screen as the first display size, and cancel the determination of the second display size.
[0139] In a possible implementation, the device 500 also includes an identification module, which is used to identify whether the first image contains a target object, where the target object is an object whose distance from the towed vehicle is less than a distance threshold; the device 500 also includes a third determination module, which is used to determine that the area where the target object is located on the first image is a highlighted area when the target object is contained on the first image; the brightness threshold is determined as the brightness value of the brightness area, and the brightness value of the non-highlight area is kept unchanged to obtain a highlighted image of the first image, where the brightness threshold is greater than the brightness value of the non-highlight area, and the non-highlight area is other areas other than the highlighted area on the first image; the display module is also specifically used to display the highlighted image of the first image on the vehicle's on-board display screen.
[0140] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0141] For example, Figure 6As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a vehicle display method.
[0142] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a vehicle display method provided by an embodiment of the present application.
[0143] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0144] In the case of dividing each functional module according to each function, the device may further include a second acquisition module, a first determination module, a second determination module segmentation module, and an identification module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.
[0145] It should be understood that the device provided in this embodiment is used to execute the above-mentioned vehicle display method, and thus can achieve the same effect as the above-mentioned implementation method.
[0146] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.
[0147] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0148] In addition, the device provided in the embodiments of the present application may specifically be a chip, component or module, and the chip may include a connected processor and memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a vehicle display method provided in the above embodiments.
[0149] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a vehicle display method provided by the above-mentioned embodiment.
[0150] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a vehicle display method provided by the above-mentioned embodiment.
[0151] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0152] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0153] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0154] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle display method, characterized in that: The method comprises: When the vehicle is in a trailer state, obtaining a steering angle of a steering wheel of the vehicle; According to the steering angle of the steering wheel, a target camera is controlled to rotate, the target camera is arranged at the rear of the towed vehicle, and the target camera is used to collect images of the rear of the towed vehicle, and the towed vehicle and the vehicle are connected by a trailer hook; A first image captured by the target camera is acquired and the first image is displayed on a vehicle-mounted display screen of the vehicle.
2. The method according to claim 1, characterized in that The step of acquiring a first image captured by the target camera and displaying the first image on an onboard display screen of the vehicle comprises: Acquire a first image captured by the target camera; dividing the first image into a second image and a third image, wherein the second image is an image of the rear side of the towed vehicle corresponding to the steering angle of the steering wheel, and the third image is an image other than the second image on the first image; The second image and the third image are displayed on an onboard display screen of the vehicle.
3. The method according to claim 2, characterized in that The step of dividing the first image into a second image and a third image comprises: determining a segmentation ratio of the first image according to a steering angle of the steering wheel; The first image is divided into the second image and the third image according to the division ratio.
4. The method according to claim 3, characterized in that The step of determining the segmentation ratio of the first image according to the steering angle of the steering wheel includes: The segmentation ratio of the first image is determined according to a preset target mapping table and the steering angle of the steering wheel, wherein the target mapping table is used to represent a corresponding relationship between the steering angle of the steering wheel and the segmentation ratio of the first image.
5. The method according to claim 2, characterized in that: The displaying of the second image and the third image on the vehicle-mounted display screen of the vehicle comprises: determining a first display size of the second image and a second display size of the third image according to a steering angle of the steering wheel; The second image is displayed on the vehicle-mounted display screen of the vehicle according to the first display size, and the third image is displayed on the vehicle-mounted display screen of the vehicle according to the second display size.
6. The method according to claim 5, characterized in that The determining, according to the steering angle of the steering wheel, a first display size of the second image and a second display size of the third image comprises: When the steering angle of the steering wheel is less than or equal to a first angle threshold, determining a first preset size as the first display size, and determining the second display size according to the size of the vehicle-mounted display screen of the vehicle and the first display size; When the steering angle of the steering wheel is greater than the first angle threshold, a second preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle's on-board display screen and the second display size, and the second preset size is greater than the first preset size.
7. The method according to claim 6, characterized in that When the steering angle of the steering wheel is greater than the first angle threshold, determining the second preset size as the first display size, and determining the second display size according to the size of the vehicle-mounted display screen of the vehicle and the second display size, comprises: When the steering angle of the steering wheel is greater than the first angle threshold and less than or equal to the second angle threshold, determining a second preset size as the first display size, and determining the second display size according to the size of the vehicle-mounted display screen of the vehicle and the first display size; When the steering angle of the steering wheel is greater than the second angle threshold and less than or equal to the third angle threshold, a third preset size is determined as the first display size, and the second display size is determined according to the size of the vehicle-mounted display screen of the vehicle and the first display size, and the third preset size is greater than the second preset size; When the steering angle of the steering wheel is greater than the third angle threshold, the size of the vehicle-mounted display screen is determined as the first display size, and the determination of the second display size is cancelled.
8. The method according to claim 1, characterized in that Displaying the first image on an onboard display screen of the vehicle includes: identifying whether the first image contains a target object, the target object being an object whose distance from the towed vehicle is less than a distance threshold; In a case where the target object is included in the first image, determining a region on the first image where the target object is located as a highlight region; Determine the brightness threshold as the brightness value of the brightness area, and keep the brightness value of the non-highlight area unchanged, to obtain a highlighted image of the first image, wherein the brightness threshold is greater than the brightness value of the non-highlight area, and the non-highlight area is other areas on the first image other than the highlighted area; A highlighted image of the first image is displayed on an onboard display screen of the vehicle.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 8 is implemented.
