Visual field adjusting method and device of electronic rearview mirror, electronic equipment and storage medium

By dynamically adjusting the field of view in the electronic rearview mirror according to the parking space type and vehicle status, the parking difficulty and safety risks caused by the fixed field of view in the prior art are solved, and a safer and more efficient parking process is achieved.

CN119078665APending Publication Date: 2024-12-06CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411114424.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing electronic rearview mirrors display images with fixed field of view, resulting in increased parking difficulty and safety risks in complex parking scenarios.

Method used

By obtaining the image data collected by the camera of the electronic rearview mirror, the field of view is adjusted according to the type of parking space, including standard parking spaces and non-standard parking spaces, and dynamically adjust the field of view using vehicle speed and coordinates of the contour points of the parking space to provide a more suitable field of view show.

Benefits of technology

It reduces the difficulty and safety risks of parking, and improves the driver's parking ability in complex parking environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078665A_ABST
    Figure CN119078665A_ABST
Patent Text Reader

Abstract

The invention relates to a visual field adjusting method and device of an electronic rearview mirror, electronic equipment and a storage medium. The method comprises the steps of obtaining image data collected by a camera of the electronic rearview mirror; the type of the parking space to be parked is determined according to the image data, the type of the parking space to be parked comprises a standard parking space type and a non-standard parking space type, the standard parking space type refers to the parking space type distributed according to the uniform size requirement and arrangement mode, and the non-standard parking space type refers to other parking space types except the standard parking space type; based on the type of the parking space to be parked, the view field area of the electronic rearview mirror is adjusted; and displaying the image after the view area is adjusted. Therefore, the visual field area of the electronic rearview mirror can be adjusted based on the type of the parking space to be parked, so that the parking requirement of a driver for a complex parking environment is met, and the parking difficulty and the safety risk are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automobile technology, and in particular to a method, device, electronic device and storage medium for adjusting the field of view of an electronic rearview mirror. Background Art

[0002] Compared with traditional optical rearview mirrors, electronic rearview mirrors have attracted widespread attention because they can provide a wider and clearer field of view. However, in the prior art, electronic rearview mirrors usually display images within a fixed field of view. Although the field of view provided by electronic rearview mirrors is wider than that provided by traditional optical rearview mirrors, in complex parking scenarios, the fixed field of view still cannot meet the parking needs of drivers in complex parking environments, thus increasing the difficulty and safety risks of parking. Summary of the invention

[0003] The present application provides a method, device, electronic device and storage medium for adjusting the field of view of an electronic rearview mirror to solve the problem in the prior art that electronic rearview mirrors usually display images with a fixed field of view, which leads to difficulty in parking and high safety risks.

[0004] In a first aspect, an embodiment of the present application provides a method for adjusting the field of view of an electronic rearview mirror, the method comprising:

[0005] Acquire image data collected by a camera of an electronic rearview mirror;

[0006] determining the type of the parking space to be parked according to the image data;

[0007] Based on the type of the parking space to be parked, the field of view of the electronic rearview mirror is adjusted, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type, wherein the standard parking space type refers to a parking space type distributed according to a uniform size requirement and arrangement method, and the non-standard parking space type refers to a parking space type other than the standard parking space type;

[0008] The image after the field of view area is adjusted is displayed.

[0009] Optionally, adjusting the field of view of the electronic rearview mirror based on the type of the parking space includes:

[0010] When the type of the parking space to be parked is the standard parking space type, obtaining a vehicle speed and a parameter threshold value matching the vehicle speed, and adjusting the field of view of the electronic rearview mirror using the obtained parameter threshold value, wherein the standard parking space type is at least one of a parallel parking space, a vertical parking space, and an oblique parking space;

[0011] In the case that the type of the parking space to be parked is the non-standard parking space type, the coordinates of the parking space contour points in the image data are acquired, and the field of view area of ​​the electronic rearview mirror is adjusted based on the coordinates of the parking space contour points.

[0012] Optionally, the acquiring the vehicle speed and a parameter threshold matching the vehicle speed includes:

[0013] Acquiring the vehicle speed, and comparing the vehicle speed with a first speed threshold, a second speed threshold, and a third speed threshold respectively;

[0014] When the difference between the vehicle speed and the first speed threshold is less than a preset threshold, determining that the vehicle enters a first parking stage, and determining the parameter threshold corresponding to the first parking stage as a parameter threshold matching the vehicle speed, wherein the first parking stage is a stage when the vehicle approaches the parking space;

[0015] When the difference between the vehicle speed and the second speed threshold is less than the preset threshold, it is determined that the vehicle enters the second parking stage, and the parameter threshold corresponding to the second parking stage is determined as the parameter threshold matching the vehicle speed, wherein the second parking stage is a stage in which the vehicle is preparing to park in the parking space;

[0016] When the difference between the vehicle speed and the third speed threshold is less than the preset threshold, it is determined that the vehicle enters the third parking stage, and the parameter threshold corresponding to the third parking stage is determined as a parameter threshold matching the vehicle speed, wherein the third parking stage is a stage in which the vehicle performs parking fine-tuning.

[0017] Optionally, the adjusting the field of view area of ​​the electronic rearview mirror by using the acquired parameter threshold comprises:

[0018] When the type of the parking space is the parallel parking space, the center point position, the width and the height of the field of view of the electronic rearview mirror are adjusted respectively by using the first parameter threshold, wherein the first parameter threshold includes a first adjustment coefficient and a fourth speed threshold, and the fourth speed threshold has different values ​​corresponding to different parking stages;

[0019] When the type of the parking space is the vertical parking space, the center point position, the width and the height of the field of view of the electronic rearview mirror are adjusted respectively by using the second parameter threshold, wherein the second parameter threshold includes a second adjustment coefficient and a fifth speed threshold, and the fifth speed threshold has different values ​​corresponding to different parking stages;

[0020] In the case where the type of the parking space to be parked is the oblique parking space, the third parameter threshold is used to adjust the center point position, the width and the height of the field of view area of ​​the electronic rearview mirror, respectively, wherein the third parameter threshold includes a third adjustment coefficient and a sixth speed threshold, and the sixth speed threshold has different values ​​corresponding to different parking stages.

[0021] Optionally, before adjusting the field of view of the electronic rearview mirror using the acquired parameter threshold, the method further includes:

[0022] Receive user input operations;

[0023] In response to the input operation, the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold are adjusted.

[0024] Optionally, adjusting the field of view area of ​​the electronic rearview mirror based on the coordinates of the parking space contour points includes:

[0025] Adjusting the position of the center point of the field of view of the electronic rearview mirror based on the average value of the horizontal coordinates of all points of the parking space contour points and the average value of the vertical coordinates of all points of the parking space contour points;

[0026] Based on the difference between the maximum horizontal coordinate and the minimum horizontal coordinate of all points of the parking space contour point and a fourth parameter threshold, adjusting the width of the field of view area of ​​the electronic rearview mirror, wherein the fourth parameter threshold includes a fourth adjustment coefficient;

[0027] The height of the field of view area of ​​the electronic rearview mirror is adjusted based on the difference between the maximum ordinate and the minimum ordinate of all points of the parking space contour points and a fifth parameter threshold, wherein the fifth parameter threshold includes a fifth adjustment coefficient.

[0028] Optionally, displaying the image after adjusting the field of view area includes:

[0029] Performing smooth transition processing on the adjusted visual field area using a smooth transition function to obtain a visual field area after smooth transition processing;

[0030] The image is displayed based on the field of view after smooth transition processing.

[0031] In a second aspect, an embodiment of the present application further provides a field of view adjustment device for an electronic rearview mirror, the device comprising:

[0032] An acquisition module, used to acquire image data collected by a camera of the electronic rearview mirror;

[0033] a determination module, configured to determine the type of the parking space to be parked according to the image data;

[0034] an adjustment module, configured to adjust the field of view of the electronic rearview mirror based on the type of the parking space to be parked;

[0035] The display module is used to display the image after the field of view area is adjusted.

[0036] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0037] Memory, used to store computer programs;

[0038] The processor is used to implement the field of view adjustment method of the electronic rearview mirror described in any one of the first aspects when executing the program stored in the memory.

[0039] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for adjusting the field of view of the electronic rearview mirror described in any one of the first aspects is implemented.

[0040] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the image data collected by the camera of the electronic rearview mirror; determines the type of the parking space to be parked according to the image data; adjusts the field of view of the electronic rearview mirror based on the type of the parking space to be parked, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type, wherein the standard parking space type refers to a parking space type distributed according to a uniform size requirement and arrangement method, and the non-standard parking space type refers to a parking space type other than the standard parking space type; and displays the image after the field of view is adjusted. In the above manner, the field of view of the electronic rearview mirror can be adjusted based on the type of the parking space to be parked, so as to meet the driver's parking needs in a complex parking environment, thereby reducing the difficulty and safety risks of parking. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0043] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0044] Figure 1 A schematic flow chart of a method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application;

[0045] Figure 2 A schematic flow chart of another method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application;

[0046] Figure 3 A schematic structural diagram of a field of view adjustment device for an electronic rearview mirror provided in an embodiment of the present application;

[0047] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0049] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0050] In order to solve the problem in the prior art that electronic rearview mirrors usually display images with a fixed field of view, which leads to high difficulty and safety risks in parking, the present application provides a field of view adjustment method, device, electronic device and storage medium for an electronic rearview mirror, which can reduce the difficulty and safety risks of parking.

[0051] See also Figure 1 , Figure 1 The following is a flow chart of a method for adjusting the field of view of an electronic rearview mirror provided in an embodiment of the present application. Figure 1 As shown, the method for adjusting the field of view of the electronic rearview mirror may include the following steps:

[0052] Step 101: Acquire image data collected by a camera of an electronic rearview mirror.

[0053] It should be noted that the method for adjusting the field of view of the electronic rearview mirror provided in the embodiment of the present application can be implemented by the vehicle-mounted terminal alone or by a server connected to the vehicle-mounted terminal, or by the vehicle-mounted terminal and the server together, and the embodiment of the present application does not make specific limitations. For ease of understanding, the subsequent embodiments are explained using the vehicle-mounted terminal as an example.

[0054] Specifically, after the vehicle is powered on, the camera of the electronic rearview mirror can collect image data from the rear side of the vehicle in real time and send the acquired image data to the vehicle-mounted terminal. At this time, the vehicle-mounted terminal can obtain the image data collected by the camera of the electronic rearview mirror.

[0055] Step 102: Determine the type of the parking space to be parked based on the image data, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type. The standard parking space type refers to a parking space type distributed according to uniform size requirements and arrangement methods, and the non-standard parking space type refers to a parking space type other than the standard parking space type.

[0056] Specifically, the types of parking spaces to be parked may include standard parking space types and non-standard parking space types. Among them, standard parking space types refer to parking space types distributed according to uniform size requirements and arrangement methods, such as parallel parking spaces, vertical parking spaces, and diagonal parking spaces. Non-standard parking space types refer to parking space types other than standard parking space types, such as parking spaces of irregular shapes.

[0057] When determining the type of the parking space based on the image data, the shape of the parking space in the image data can be identified based on the target recognition technology, and then the type of the parking space can be determined based on the identified shape of the parking space. The type of the parking space can also be identified based on a pre-trained parking space recognition model, wherein the pre-trained parking space recognition model can be pre-trained based on image samples with different types of parking spaces.

[0058] Step 103: Adjust the field of view of the electronic rearview mirror based on the type of the parking space.

[0059] Specifically, different parameter thresholds can be set for different types of parking spaces, and different parameter thresholds can be used to calculate the adjustment parameters of the field of view of the electronic rearview mirror, such as the center point position, width and height of the field of view of the electronic rearview mirror, so that the adjustment range of the field of view of the electronic rearview mirror corresponding to different types of parking spaces is different. For example, for parallel parking spaces, the field of view to the side and rear of the vehicle can be increased so that the driver can judge the distance to the adjacent vehicles; for vertical parking spaces, the field of view behind the vehicle is expanded, and the field of view below is appropriately increased to clearly observe the parking space boundary and ground markings. For diagonal parking spaces, the above two situations are combined to dynamically balance the field of view on both sides and the rear to ensure that the driver has full control over the parking process. For other parking spaces, the field of view to the rear can be used as the main information of concern.

[0060] Step 104: Display the image after the field of view area is adjusted.

[0061] After the vehicle-mounted terminal adjusts the field of view of the electronic rearview mirror, the image of the adjusted field of view can be displayed on the vehicle-mounted display screen for the driver to view.

[0062] In this embodiment, the field of view of the electronic rearview mirror can be adjusted based on the type of parking space to be parked, so as to meet the driver's parking needs in complex parking environments, thereby reducing the difficulty and safety risks of parking.

[0063] Furthermore, the above step 103, adjusting the field of view of the electronic rearview mirror based on the type of the parking space, includes:

[0064] When the type of the parking space to be parked is a standard parking space type, obtaining a vehicle speed and a parameter threshold value matching the vehicle speed, and adjusting the field of view area of ​​the electronic rearview mirror using the obtained parameter threshold value, wherein the standard parking space type is at least one of a parallel parking space, a vertical parking space, and a diagonal parking space;

[0065] In the case that the type of the parking space to be parked is a non-standard parking space type, the coordinates of the parking space contour points in the image data are acquired, and the field of view area of ​​the electronic rearview mirror is adjusted based on the coordinates of the parking space contour points.

[0066] In one embodiment, when the type of parking space to be parked is a standard parking space type (such as a parallel parking space, a vertical parking space and / or an oblique parking space, etc.), the vehicle speed and a parameter threshold value matching the vehicle speed can be obtained, and the obtained parameter threshold value can be used to adjust the field of view of the electronic rearview mirror. When the type of parking space to be parked is a non-standard parking space type (such as a parking space of an irregular shape, etc.), the coordinates of the parking space contour points in the image data can be obtained, and then the field of view of the electronic rearview mirror can be adjusted based on the coordinates of the parking space contour points. In this way, different field of view areas of the electronic rearview mirror can be obtained based on different types of parking spaces to be parked, so as to meet the driver's parking needs in complex parking environments, thereby reducing the difficulty and safety risks of parking.

[0067] Furthermore, the above step of obtaining the vehicle speed and a parameter threshold value matching the vehicle speed includes:

[0068] Acquire the vehicle speed, and compare the vehicle speed with a first speed threshold, a second speed threshold, and a third speed threshold respectively;

[0069] When the difference between the vehicle speed and the first speed threshold is less than a preset threshold, it is determined that the vehicle enters the first parking stage, and the parameter threshold corresponding to the first parking stage is determined as a parameter threshold matching the vehicle speed, wherein the first parking stage is a stage when the vehicle approaches a parking space to be parked;

[0070] When the difference between the vehicle speed and the second speed threshold is less than the preset threshold, it is determined that the vehicle enters the second parking stage, and the parameter threshold corresponding to the second parking stage is determined as the parameter threshold matching the vehicle speed, wherein the second parking stage is a stage in which the vehicle is preparing to park in the parking space;

[0071] When the difference between the vehicle speed and the third speed threshold is less than the preset threshold, it is determined that the vehicle enters the third parking stage, and the parameter threshold corresponding to the third parking stage is determined as a parameter threshold matching the vehicle speed, wherein the third parking stage is a stage in which the vehicle performs parking fine-tuning.

[0072] Specifically, the first speed threshold, the second speed threshold and the third speed threshold can be set according to actual conditions, and are not specifically limited here. Among them, the first speed threshold can be understood as the speed threshold for approaching the parking space. When the vehicle speed drops to near the first speed threshold, the vehicle terminal can think that the vehicle is approaching the parking space, triggering the field of view adjustment to increase the display ratio of the area below the vehicle. The second speed threshold can be understood as the speed threshold for preparing to park in the parking space. When the vehicle speed further drops to near the second speed threshold, the vehicle terminal can judge that the vehicle is ready to park in the parking space. At this time, more detailed field of view information of the parking space and the surrounding environment needs to be provided. The setting of the second speed threshold needs to ensure that the vehicle has enough space for fine-tuning before entering the parking space. The lower second speed threshold helps to reduce minor collisions that may occur during parking. The third speed threshold can be understood as the speed threshold for the vehicle to fine-tune parking. When the vehicle speed drops to near the third speed threshold, the vehicle terminal can think that the vehicle is fine-tuning parking. In the final stage of parking, the extremely low third speed threshold helps the vehicle to accurately align with the parking space to avoid contact with adjacent vehicles or obstacles. As an optional implementation, the first speed threshold may be a value between 10km / h and 15km / h, the second speed threshold may be a value between 5km / h and 10km / h, and the third speed threshold may be a value between 1km / h and 3km / h.

[0073] In one embodiment, when obtaining the parameter threshold value that matches the vehicle speed, the vehicle speed may be compared with the first speed threshold value, the second speed threshold value, and the third speed threshold value respectively. If the difference between the vehicle speed and the first speed threshold value is less than a preset threshold value, it may be determined that the vehicle has entered the first parking stage (i.e., the stage where the vehicle is approaching the parking space to be parked), and the parameter threshold value corresponding to the first parking stage is determined as the parameter threshold value that matches the vehicle speed. If the difference between the vehicle speed and the second speed threshold value is less than a preset threshold value, it may be determined that the vehicle has entered the second parking stage (i.e., the stage where the vehicle is preparing to park in the parking space to be parked), and the parameter threshold value corresponding to the second parking stage is determined as the parameter threshold value that matches the vehicle speed. If the difference between the vehicle speed and the third speed threshold value is less than a preset threshold value, it may be determined that the vehicle has entered the third parking stage (i.e., the stage where the vehicle is performing parking fine-tuning), and the parameter threshold value corresponding to the third parking stage is determined as the parameter threshold value that matches the vehicle speed.

[0074] Through the above method, a parameter threshold matching the current vehicle speed can be obtained according to the vehicle speed, and then the field of view of the electronic rearview mirror can be adjusted according to the obtained parameter threshold to achieve the effect that the field of view of the electronic rearview mirror changes with the vehicle speed.

[0075] Furthermore, the above step of adjusting the field of view of the electronic rearview mirror using the acquired parameter threshold includes:

[0076] When the type of the parking space to be parked is a parallel parking space, the center point position, the width and the height of the field of view of the electronic rearview mirror are adjusted respectively by using the first parameter threshold, wherein the first parameter threshold includes a first adjustment coefficient and a fourth speed threshold, and the fourth speed threshold has different values ​​corresponding to different parking stages;

[0077] When the type of the parking space to be parked is a vertical parking space, the center point position, the width and the height of the visual field of the electronic rearview mirror are adjusted respectively by using the second parameter threshold, wherein the second parameter threshold includes a second adjustment coefficient and a fifth speed threshold, and the fifth speed threshold has different values ​​corresponding to different parking stages;

[0078] When the type of parking space is an oblique parking space, the third parameter threshold is used to adjust the center point position, the width and the height of the field of view of the electronic rearview mirror, respectively, wherein the third parameter threshold includes a third adjustment coefficient and a sixth speed threshold, and the sixth speed threshold has different corresponding values ​​in different parking stages.

[0079] Specifically, the fourth speed threshold, the fifth speed threshold and the sixth speed threshold can be set according to actual conditions, and are not specifically limited here. The fourth speed threshold, the fifth speed threshold and the sixth speed threshold have different corresponding values ​​in different parking stages. As an optional implementation, the fourth speed threshold, the fifth speed threshold and the sixth speed threshold may correspond to the first speed threshold in the first parking stage; the fourth speed threshold, the fifth speed threshold and the sixth speed threshold may correspond to the second speed threshold in the second parking stage; the fourth speed threshold, the fifth speed threshold and the sixth speed threshold may correspond to the third speed threshold in the third parking stage.

[0080] In one embodiment, when the obtained parameter threshold is used to adjust the field of view of the electronic rearview mirror, if the type of the parking space to be parked is a parallel parking space, the first parameter threshold can be used to adjust the center point position, the width and the height of the field of view of the electronic rearview mirror. Specifically, the following formula can be used for adjustment:

[0081] X parellelC =X0+k px (VV P );

[0082] Y parellelC =Y0+k py (VVP );

[0083] W parallel =W0+k pw (VV P );

[0084] H parallel =H0+k ph (VV P );

[0085] Among them, X parallelC represents the horizontal coordinate of the center point of the field of view after adjustment, X0 represents the horizontal coordinate of the center point of the field of view before adjustment, Y parallelC represents the ordinate of the center point of the field of view after adjustment, Y0 represents the ordinate of the center point of the field of view before adjustment, and W parallel represents the width of the field of view after adjustment, W0 represents the width of the field of view before adjustment, and H parallel represents the height of the field of view after adjustment, H0 represents the height of the field of view before adjustment, k px , k py , k pw and k ph Represents the first adjustment coefficient, V P represents a fourth speed threshold, V represents a vehicle speed, and the fourth speed threshold V O The corresponding values ​​are different in different parking stages.

[0086] If the type of the parking space to be parked is a vertical parking space, the second parameter threshold can be used to adjust the center point position, width and height of the field of view of the electronic rearview mirror. Specifically, the following formula can be used for adjustment:

[0087] X verticalc =X0+k vx (VV v );

[0088] Y verticallC =Y0+k vy (VV v );

[0089] W vertical =W0+k vw (VV v );

[0090] H vertical =H0+k vh (VV v );

[0091] Among them, X verticalCrepresents the horizontal coordinate of the center point of the field of view after adjustment, X0 represents the horizontal coordinate of the center point of the field of view before adjustment, Y verticallC represents the ordinate of the center point of the field of view after adjustment, Y0 represents the ordinate of the center point of the field of view before adjustment, and W vertical represents the width of the field of view after adjustment, W0 represents the width of the field of view before adjustment, and H vertical represents the height of the field of view after adjustment, H0 represents the height of the field of view before adjustment, k vx , k vy , k vw and k vh Represents the second adjustment coefficient, V v represents the fifth speed threshold, V represents the vehicle speed, and the fifth speed threshold V v The corresponding values ​​are different in different parking stages.

[0092] If the type of parking space is an oblique parking space, the third parameter threshold can be used to adjust the center point position, width and height of the field of view of the electronic rearview mirror. Specifically, the following formula can be used for adjustment:

[0093] X angC =X0+k ax (VV a );

[0094] Y abgC =Y0+k ay (VV a );

[0095] W ang =W0+k aw (VV a );

[0096] H ang =H0+k ah (VV a );

[0097] Among them, X angC represents the horizontal coordinate of the center point of the field of view after adjustment, X0 represents the horizontal coordinate of the center point of the field of view before adjustment, Y angc represents the ordinate of the center point of the field of view after adjustment, Y0 represents the ordinate of the center point of the field of view before adjustment, and W ang represents the width of the field of view after adjustment, W0 represents the width of the field of view before adjustment, and H ang represents the height of the field of view after adjustment, H0 represents the height of the field of view before adjustment, k ax , kay , k aw and k ah Represents the second adjustment coefficient, V a represents the sixth speed threshold, V represents the vehicle speed, and the sixth speed threshold V a The corresponding values ​​are different in different parking stages.

[0098] Through the above method, the field of view areas of the electronic rearview mirrors of different types of standard parking spaces can be adjusted differently, so as to achieve the effect that the field of view area of ​​the electronic rearview mirror changes with the type of parking space.

[0099] Furthermore, before the above step of adjusting the field of view of the electronic rearview mirror using the acquired parameter threshold, the method further includes:

[0100] Receive user input operations;

[0101] In response to the input operation, the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold are adjusted.

[0102] In one embodiment, the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold can be flexibly set according to user needs. In this process, the vehicle terminal can receive the user's input operation, and then adjust the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold in response to the input operation. In this way, the driver can be allowed to customize the parameter threshold to adapt to the parking habits and preferences of different drivers, so that the field of view adjustment can be finely adjusted according to the set value of each driver to achieve a better parking experience.

[0103] Furthermore, the above step of adjusting the field of view of the electronic rearview mirror based on the coordinates of the parking space contour points includes:

[0104] Adjusting the position of the center point of the field of view of the electronic rearview mirror based on the average value of the horizontal coordinates of all points of the parking space contour points and the average value of the vertical coordinates of all points of the parking space contour points;

[0105] Adjusting the width of the field of view of the electronic rearview mirror based on the difference between the maximum horizontal coordinate and the minimum horizontal coordinate of all points of the parking space contour point and a fourth parameter threshold, wherein the fourth parameter threshold includes a fourth adjustment coefficient;

[0106] The height of the field of view area of ​​the electronic rearview mirror is adjusted based on the difference between the maximum ordinate and the minimum ordinate of all points of the parking space contour points and a fifth parameter threshold, wherein the fifth parameter threshold includes a fifth adjustment coefficient.

[0107] In actual driving scenarios, drivers may encounter various non-standard or irregular parking spaces. For these types of parking spaces, the vehicle terminal also needs to be able to provide effective field of view optimization strategies to ensure the driver's field of view safety and efficiency during parking.

[0108] Assume that the shape of the non-standard parking space can be represented by a series of points (x i, ,y i ), where i = 0, 1, 2, ... n, and n is the total number of points on the outline of the parking space. In this way, the field of view on the display screen can be dynamically adjusted according to the information of these points. Specifically, the center point position of the field of view of a non-standard parking space can be calculated using the following formula:

[0109]

[0110] Among them, (X c ,Y c ) represents the position of the adjusted field of view center point, which is estimated by calculating the average position of all points of the parking space contour.

[0111] In order to ensure that the field of view covers the entire parking space, it is necessary to calculate the width and height of the parking space. At this time, the width W and height H of the field of view area can be calculated using the following formula:

[0112] W = α*(X max -X min );

[0113] H=β*(Y max -Y min );

[0114] Among them, x min Represents the minimum horizontal coordinate of all points in the parking space contour, X max Represents the maximum horizontal coordinate of all points in the parking space contour, Y min Represents the minimum ordinate of all points in the parking space contour, Y max represents the maximum ordinate of all points of the parking space contour, α represents the fourth adjustment coefficient, β represents the fifth adjustment coefficient, α and β are used to control the coverage of the field of view area relative to the actual size of the parking space, and can be adjusted according to the complexity of the parking space and the driver's preference.

[0115] Through the above method, the field of view of the electronic rearview mirror of the non-standard parking space can be adjusted to improve the safety line and efficiency of parking in the non-standard parking space.

[0116] Furthermore, the above step 104, displaying the image after the field of view area is adjusted, includes:

[0117] Performing smooth transition processing on the adjusted visual field area using a smooth transition function to obtain a visual field area after smooth transition processing;

[0118] The image is displayed based on the field of view after smooth transition processing.

[0119] In one embodiment, in order to avoid visual disturbance or discomfort to the driver caused by sudden change of the field of view, a smooth transition function can be introduced to ensure the continuity and comfort of the field of view adjustment process. Based on the type of parking space and the speed of the vehicle, the calculated center point position of the field of view area, the width of the field of view area and the height of the field of view area (X C ,Y C ,W,H) is multiplied by the output value of the Sigmoid function to control the rate and amplitude of the field of view adjustment.

[0120] The expression formula of Sigmoid function is as follows:

[0121]

[0122] Among them, x0 is the midpoint of the function, that is, the turning point where the function value significantly increases from 0 to 1. In this parking dynamic field of view adjustment algorithm, x usually represents the vehicle speed V and the preset speed threshold V t The difference between t x0 is usually set to a preset speed threshold V t ; λ is the steepness parameter, which determines the steepness of the function curve; λ and x0 can be dynamically adjusted according to the type of parking space to be parked, the vehicle status and the driver's preference to provide a more personalized and intelligent smooth transition optimization. When smoothing the field of view, the following formula can be used:

[0123] (X C ,Y C ,W,H) smooth =(X C ,Y C ,W,H)*f(VV t );

[0124] Among them, (X C ,Y C ,W,H) represents the calculated center point position, width and height of the field of view area, f(VY t ) represents a smooth transition function, (X C ,Y C ,W,H) smoothIndicates the field of view area with smooth transition.

[0125] In this embodiment, by introducing a smooth transition function, visual interference or discomfort to the driver caused by sudden changes in the visual field can be avoided, thereby ensuring the continuity and comfort of the visual field adjustment process.

[0126] In one embodiment, the field of view adjustment process of the electronic rearview mirror provided in the embodiment of the present application can be as follows: Figure 2 As shown, by combining parking space type recognition and vehicle speed monitoring, intelligent dynamic adjustment of the field of view area on the display screen during parking is achieved. Among them, parking space type recognition is an important part of parking field of view adjustment. During the parking process, different types of parking spaces are automatically distinguished, and the distance and orientation information of obstacles around the vehicle are obtained through the data collected by the electronic rearview mirror camera, and the approximate location and type of the parking space are estimated. The image data collected by the camera can also be extracted and input into the pre-trained parking space recognition model to identify the parking space type and output the parking space type information of parallel parking spaces, vertical parking spaces, oblique parking spaces and other types of parking spaces. During the vehicle speed monitoring process, the current vehicle speed V can be compared with the preset threshold. When the real-time vehicle speed reaches or falls below a certain threshold, the corresponding parking field of view adjustment function is immediately activated. This process is real-time and automatic, and no manual intervention by the driver is required. In addition, in order to adapt to the parking habits and preferences of different users, this method allows users to customize the speed threshold, and the field of view adjustment can be finely adjusted according to the user's set value to achieve a better parking experience. During the dynamic field of view adjustment process of parking, the field of view area displayed on the display screen can be dynamically adjusted according to the acquired parking space type and vehicle speed information. The display of the field of view area comprehensively considers the relative position of the vehicle and the parking space, the parking space type and the vehicle speed, and intelligently calculates the center point, width and height of the camera field of view captured by the display screen. The field of view adjustment strategy varies depending on the type of parking space to be parked and the current vehicle speed. The new position of the field of view center point (X C, Y C, ), adjust the field of view width W and height H. In the process of field of view smooth optimization, in order to avoid visual interference or discomfort to the driver due to sudden changes in field of view, a smooth transition function can be introduced to ensure the continuity and comfort of the field of view adjustment process. Based on the type of parking space to be parked and the speed of the vehicle, the adjustment amount (X C ,Y C ,W,H) is multiplied by the output value of the Sigmoid function to control the rate and amplitude of the field of view adjustment.

[0127] Specifically, the method for adjusting the field of view of an electronic rearview mirror provided in the embodiment of the present application has the following beneficial effects:

[0128] 1. Automatic adjustment of the field of view to improve parking safety and efficiency. In the parking field of view adjustment, the type of parking space to be parked is recognized, and combined with real-time vehicle speed monitoring, the field of view area on the display screen is dynamically adjusted, so that each parking can obtain a wide rear view. Especially in complex or narrow parking environments, dynamic field of view adjustment technology can provide more accurate field of view information, which can help the driver more accurately judge the relative position of the vehicle and the parking space to avoid collision.

[0129] 2. Personalized vehicle speed design to optimize parking experience. It supports users to set the vehicle speed, and through the smooth transition optimization method, effectively avoids the visual interference caused by the sudden change of the user's field of vision during parking, ensures the smoothness and comfort of the entire parking process, and further improves the user experience of parking vision.

[0130] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a field of view adjustment device for an electronic rearview mirror provided in an embodiment of the present application. Figure 3 As shown, the field of view adjustment device 300 of the electronic rearview mirror includes:

[0131] An acquisition module 301 is used to acquire image data collected by a camera of an electronic rearview mirror;

[0132] A determination module 302 is used to determine the type of the parking space to be parked according to the image data, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type. The standard parking space type refers to a parking space type distributed according to a uniform size requirement and arrangement method, and the non-standard parking space type refers to a parking space type other than the standard parking space type.

[0133] An adjustment module 303, configured to adjust the field of view of the electronic rearview mirror based on the type of the parking space to be parked;

[0134] The display module 304 is used to display the image after the field of view area is adjusted.

[0135] Furthermore, the adjustment module 303 includes:

[0136] a first adjustment submodule, configured to obtain a vehicle speed and a parameter threshold value matching the vehicle speed, and adjust the field of view of the electronic rearview mirror using the obtained parameter threshold value when the type of the parking space to be parked is a standard parking space type, wherein the standard parking space type is at least one of a parallel parking space, a vertical parking space, and an oblique parking space;

[0137] The second adjustment submodule is used to obtain the coordinates of the parking space contour points in the image data when the type of the parking space is a non-standard parking space type, and adjust the field of view area of ​​the electronic rearview mirror based on the coordinates of the parking space contour points.

[0138] Furthermore, the first adjustment submodule includes:

[0139] an acquisition unit, configured to acquire a vehicle speed, and compare the vehicle speed with a first speed threshold, a second speed threshold, and a third speed threshold respectively;

[0140] a first determining unit, configured to determine that the vehicle enters a first parking stage when the difference between the vehicle speed and the first speed threshold is less than a preset threshold, and to determine the parameter threshold corresponding to the first parking stage as a parameter threshold matching the vehicle speed, wherein the first parking stage is a stage when the vehicle approaches a parking space to be parked;

[0141] a second determining unit, configured to determine that the vehicle enters a second parking stage when the difference between the vehicle speed and the second speed threshold is less than a preset threshold, and determine the parameter threshold corresponding to the second parking stage as a parameter threshold matching the vehicle speed, wherein the second parking stage is a stage in which the vehicle is preparing to park in the parking space;

[0142] The third determination unit is used to determine that the vehicle enters a third parking stage when the difference between the vehicle speed and the third speed threshold is less than a preset threshold, and determine the parameter threshold corresponding to the third parking stage as a parameter threshold matching the vehicle speed, wherein the third parking stage is a stage in which the vehicle performs parking fine-tuning.

[0143] Furthermore, the first adjustment submodule further includes:

[0144] a first adjustment unit, for adjusting the center point position, the width and the height of the field of view of the electronic rearview mirror respectively by using a first parameter threshold when the type of the parking space to be parked is a parallel parking space, wherein the first parameter threshold includes a first adjustment coefficient and a fourth speed threshold, and the fourth speed threshold has different values ​​corresponding to different parking stages;

[0145] a second adjustment unit, for adjusting the center point position, the width and the height of the field of view of the electronic rearview mirror respectively by using a second parameter threshold when the type of the parking space to be parked is a vertical parking space, wherein the second parameter threshold includes a second adjustment coefficient and a fifth speed threshold, and the fifth speed threshold has different values ​​corresponding to different parking stages;

[0146] The third adjustment unit is used to adjust the center point position, width and height of the field of view area of ​​the electronic rearview mirror by using the third parameter threshold when the type of the parking space to be parked is an oblique parking space, wherein the third parameter threshold includes a third adjustment coefficient and a sixth speed threshold, and the sixth speed threshold has different values ​​corresponding to different parking stages.

[0147] Furthermore, the adjustment module 303 also includes:

[0148] A receiving submodule, used to receive user input operations;

[0149] The third adjustment submodule is used to adjust the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold in response to an input operation.

[0150] Furthermore, the adjustment module 303 also includes:

[0151] A fourth adjustment submodule, used for adjusting the position of the center point of the field of view of the electronic rearview mirror based on the average value of the horizontal coordinates of all points of the parking space contour points and the average value of the vertical coordinates of all points of the parking space contour points;

[0152] a fifth adjustment submodule, configured to adjust the width of the field of view of the electronic rearview mirror based on the difference between the maximum horizontal coordinate and the minimum horizontal coordinate of all points of the parking space contour point and a fourth parameter threshold, wherein the fourth parameter threshold includes a fourth adjustment coefficient;

[0153] The sixth adjustment submodule is used to adjust the height of the field of view area of ​​the electronic rearview mirror based on the difference between the maximum ordinate and the minimum ordinate of all points of the parking space contour points and the fifth parameter threshold, wherein the fifth parameter threshold includes a fifth adjustment coefficient.

[0154] Furthermore, the display module 304 includes:

[0155] A smooth transition processing submodule is used to perform a smooth transition processing on the adjusted visual field area using a smooth transition function to obtain a visual field area after the smooth transition processing;

[0156] The display submodule is used to display images based on the field of view after smooth transition processing.

[0157] It should be noted that the field of view adjustment device 300 of the electronic rearview mirror can implement the field of view adjustment method of the electronic rearview mirror provided by any of the aforementioned method embodiments, and can achieve the same technical effects, which will not be described one by one here.

[0158] like Figure 4 As shown, the embodiment of the present application further provides an electronic device, including a processor 411, a communication interface 412, a memory 413 and a communication bus 414, wherein the processor 411, the communication interface 412, and the memory 413 communicate with each other through the communication bus 414.

[0159] Memory 413, used for storing computer programs;

[0160] In one embodiment of the present application, the processor 411 is used to implement the field of view adjustment method of the electronic rearview mirror provided by any one of the aforementioned method embodiments when executing the program stored in the memory 413.

[0161] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the field of view adjustment method of the electronic rearview mirror provided by any of the aforementioned method embodiments is implemented.

[0162] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0163] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0164] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0165] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for adjusting the field of view of an electronic rearview mirror, characterized in that: The method comprises: Acquire image data collected by a camera of an electronic rearview mirror; Determine the type of the parking space to be parked according to the image data, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type, wherein the standard parking space type refers to a parking space type distributed according to a uniform size requirement and arrangement method, and the non-standard parking space type refers to a parking space type other than the standard parking space type; Adjusting the field of view of the electronic rearview mirror based on the type of the parking space; The image after the field of view area is adjusted is displayed.

2. The method according to claim 1, characterized in that The adjusting the field of view of the electronic rearview mirror based on the type of the parking space includes: When the type of the parking space to be parked is the standard parking space type, obtaining a vehicle speed and a parameter threshold value matching the vehicle speed, and adjusting the field of view of the electronic rearview mirror using the obtained parameter threshold value, wherein the standard parking space type is at least one of a parallel parking space, a vertical parking space, and an oblique parking space; In the case that the type of the parking space to be parked is the non-standard parking space type, the coordinates of the parking space contour points in the image data are acquired, and the field of view area of ​​the electronic rearview mirror is adjusted based on the coordinates of the parking space contour points.

3. The method according to claim 2, characterized in that The obtaining of the vehicle speed and a parameter threshold value matching the vehicle speed includes: Acquiring the vehicle speed, and comparing the vehicle speed with a first speed threshold, a second speed threshold, and a third speed threshold respectively; When the difference between the vehicle speed and the first speed threshold is less than a preset threshold, determining that the vehicle enters a first parking stage, and determining the parameter threshold corresponding to the first parking stage as a parameter threshold matching the vehicle speed, wherein the first parking stage is a stage when the vehicle approaches the parking space; When the difference between the vehicle speed and the second speed threshold is less than the preset threshold, it is determined that the vehicle enters the second parking stage, and the parameter threshold corresponding to the second parking stage is determined as the parameter threshold matching the vehicle speed, wherein the second parking stage is a stage in which the vehicle is preparing to park in the parking space; When the difference between the vehicle speed and the third speed threshold is less than the preset threshold, it is determined that the vehicle enters the third parking stage, and the parameter threshold corresponding to the third parking stage is determined as a parameter threshold matching the vehicle speed, wherein the third parking stage is a stage in which the vehicle performs parking fine-tuning.

4. The method according to claim 3, characterized in that The adjusting the field of view area of ​​the electronic rearview mirror by using the acquired parameter threshold comprises: When the type of the parking space is the parallel parking space, the center point position, the width and the height of the field of view of the electronic rearview mirror are adjusted respectively by using the first parameter threshold, wherein the first parameter threshold includes a first adjustment coefficient and a fourth speed threshold, and the fourth speed threshold has different values ​​corresponding to different parking stages; When the type of the parking space is the vertical parking space, the center point position, the width and the height of the field of view of the electronic rearview mirror are adjusted respectively by using the second parameter threshold, wherein the second parameter threshold includes a second adjustment coefficient and a fifth speed threshold, and the fifth speed threshold has different values ​​corresponding to different parking stages; In the case where the type of the parking space to be parked is the oblique parking space, the third parameter threshold is used to adjust the center point position, the width and the height of the field of view area of ​​the electronic rearview mirror, respectively, wherein the third parameter threshold includes a third adjustment coefficient and a sixth speed threshold, and the sixth speed threshold has different values ​​corresponding to different parking stages.

5. The method according to claim 4, characterized in that Before adjusting the field of view of the electronic rearview mirror using the acquired parameter threshold, the method further includes: Receive user input operations; In response to the input operation, the first adjustment coefficient, the second adjustment coefficient, the third adjustment coefficient, the first speed threshold, the second speed threshold, the third speed threshold, the fourth speed threshold, the fifth speed threshold and / or the sixth speed threshold are adjusted.

6. The method according to claim 2, characterized in that The adjusting the field of view area of ​​the electronic rearview mirror based on the coordinates of the parking space contour points includes: Adjusting the position of the center point of the field of view of the electronic rearview mirror based on the average value of the horizontal coordinates of all points of the parking space contour points and the average value of the vertical coordinates of all points of the parking space contour points; Based on the difference between the maximum horizontal coordinate and the minimum horizontal coordinate of all points of the parking space contour point and a fourth parameter threshold, adjusting the width of the field of view area of ​​the electronic rearview mirror, wherein the fourth parameter threshold includes a fourth adjustment coefficient; The height of the field of view area of ​​the electronic rearview mirror is adjusted based on the difference between the maximum ordinate and the minimum ordinate of all points of the parking space contour points and a fifth parameter threshold, wherein the fifth parameter threshold includes a fifth adjustment coefficient.

7. The method according to claim 1, characterized in that The displaying of the image after the field of view area is adjusted includes: Performing smooth transition processing on the adjusted visual field area using a smooth transition function to obtain a visual field area after smooth transition processing; The image is displayed based on the field of view after smooth transition processing.

8. A field of view adjustment device for an electronic rearview mirror, characterized in that: The device comprises: An acquisition module, used to acquire image data collected by a camera of the electronic rearview mirror; a determination module, configured to determine the type of the parking space to be parked according to the image data, wherein the type of the parking space to be parked includes a standard parking space type and a non-standard parking space type, wherein the standard parking space type refers to a parking space type distributed according to a uniform size requirement and arrangement method, and the non-standard parking space type refers to a parking space type other than the standard parking space type; an adjustment module, configured to adjust the field of view of the electronic rearview mirror based on the type of the parking space to be parked; The display module is used to display the image after the field of view area is adjusted.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the field of view adjustment method of the electronic rearview mirror as described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for adjusting the field of view of an electronic rearview mirror according to any one of claims 1 to 7 is implemented.