Target highlighting method, apparatus and device, and system and medium

By obtaining the target object detection results in the environmental image in the driving assistance system, determining the highlighting level and area, and performing target highlighting, it solves the problem of indirect information transmission in the existing system, improves the efficiency and accuracy of information acquisition, and enhances improve driving safety.

WO2024216871A1PCT designated stage expired Publication Date: 2024-10-24YANTAI IRAY TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/123671
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2023-10-10
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing driving assistance systems lack human-computer interaction when transmitting environmental information, resulting in low information authenticity, indirect transmission methods, and low visualization, which affects users' rapid acquisition of environmental information, thereby affecting driving safety.

Method used

By obtaining the target object detection result information in the environment image, the prominence level and the protrusion area of ​​the target object are determined, and the appropriate protrusion form is selected according to the level to perform target highlighting on the environment image and generate a target-prominent environment image, allowing users to quickly and accurately to obtain environmental information.

Benefits of technology

It improves the efficiency and accuracy of environmental information transmission, enables users to quickly identify important targets, reduces judgment and decision-making delays, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023123671_24102024_PF_FP_ABST
    Figure CN2023123671_24102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a target highlighting method, apparatus and device, and a system and a medium. The target highlighting method comprises: on the basis of target detection result information of each target object in an environment image, determining a highlighting level corresponding to each target object; and then on the basis of the highlighting level and a highlighting area that correspond to each target object, performing target highlighting on the highlighting area for each target object in the environment image, so as to obtain a target-highlighted environment image including the highlighting area corresponding to each target object. Obviously, in the target highlighting method provided in the present application, highlighting level division is performed on the degree of highlighting of each target object by means of performing analysis and determination on the target detection result information; and for different target objects, highlighting areas are highlighted according to actual requirements by using highlighting modes corresponding to different highlighting levels, such that a user can quickly and accurately acquire environment information directly by means of the target-highlighted environment image.
Need to check novelty before this filing date? Find Prior Art

Description

Target highlighting method, device, equipment, system and medium Technical Field

[0001] The present application relates to the field of driving assistance technology, and in particular to a target highlighting method and apparatus, equipment, system and medium. Background Art

[0002] Machine vision-based driver assistance systems (DASs) use image acquisition devices to capture environmental images, then detect and analyze target objects within them to provide users with visual information about the driving environment. In recent years, these systems have become increasingly common. They can be factory-installed in vehicles or retrofitted into vehicles, similar to automotive electronics, to provide driver assistance functions. The authenticity and visual quality of the environmental information provided by these systems is crucial for safe driving.

[0003] However, existing driver assistance systems suffer from significant shortcomings in human-computer interaction. Specifically, they convey environmental information to users through abstract mappings of environmental states. This information is inaccurate, indirect, and lacks visualization, resulting in inefficient delivery of effective environmental information to users. After receiving environmental information from these driver assistance systems, users require a significant amount of time to react and make informed decisions. This delay can affect driving safety. Technical issues

[0004] In order to at least partially improve the technical problems existing in the prior art, the present application provides a target highlighting method and device, equipment, driving assistance system and computer-readable storage medium that can efficiently convey more realistic environmental information to users. Technical Solutions

[0005] According to a first aspect of an embodiment of the present application, a method for highlighting a target is provided, comprising:

[0006] Obtain target detection result information of each target object in the environment image;

[0007] Determining, based on the target detection result information of each target object, a highlighting level and a highlighting area for highlighting each target object in the environment image;

[0008] According to the highlighting form corresponding to the highlighting level of each target object, the highlighting area of ​​each target object in the environment image is highlighted to obtain a target highlighting environment image, in which each target object is located in the corresponding highlighting area.

[0009] According to a second aspect of an embodiment of the present application, a target highlighting device is provided, comprising:

[0010] An acquisition module is used to obtain target detection result information of each target object in the environment image;

[0011] a level determination module, configured to determine a highlighting level for highlighting each target object in the environment image based on the target detection result information of each target object;

[0012] The highlighting module is configured to highlight each target object in the environment image according to a highlighting form corresponding to the highlighting level of each target object, so as to obtain a target-highlighted environment image.

[0013] According to a third aspect of an embodiment of the present application, a target highlighting device is provided, comprising a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the target highlighting method described in item 1 is implemented.

[0014] According to a fourth aspect of an embodiment of the present application, a driving assistance system is provided, including an environment image acquisition device, a processor, and a display device;

[0015] The image acquisition device is used to acquire an environmental image of the vehicle's driving environment and send the environmental image to the processor;

[0016] The processor implements the target highlighting method when executing the computer program;

[0017] The display device is connected to the processor and is used to display the target-highlighted environment image obtained by the processor.

[0018] According to a fifth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the target highlighting method is implemented. Beneficial effects

[0019] The target highlighting method provided in this application determines the highlighting level and highlighting area corresponding to each target object based on the target detection result information of each target object in the environmental image. Then, based on the highlighting form corresponding to the highlighting level of each target object, the highlighting area of ​​each target object in the environmental image is highlighted to obtain a target-highlighted environmental image containing the highlighting area corresponding to each target object. Obviously, the target highlighting method provided in this application divides the highlighting degree of the target object into highlighting levels by analyzing and judging the target detection result information. For different target objects, different highlighting methods corresponding to different highlighting levels are used to highlight each highlighting area according to actual needs, so that users can directly obtain environmental information quickly and accurately through the target-highlighted environmental image. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the drawings. In the drawings:

[0021] FIG1 is a schematic flow chart of a target highlighting method according to some embodiments of the present application;

[0022] FIG2 is a target highlighting environment image obtained by the target highlighting method provided by some embodiments of the present application;

[0023] FIG3 is a simplified schematic diagram of an object highlighting environment image obtained by an object highlighting method provided in some embodiments of the present application;

[0024] FIG4 is a schematic diagram of a process for determining a highlighting level in a target highlighting method according to some embodiments of the present application;

[0025] FIG5 is a flow chart of a target highlighting method according to some embodiments of the present application;

[0026] FIG6 is a schematic diagram of a process for highlighting an object in a method for highlighting an object according to some embodiments of the present application;

[0027] FIG7 is a flow chart of a target highlighting method according to some embodiments of the present application;

[0028] FIG8 is a schematic structural diagram of a target highlighting device according to some embodiments of the present application;

[0029] FIG9 is a schematic diagram of the structure of a target highlighting device provided according to some embodiments of the present application;

[0030] FIG10 is a schematic diagram of the structure of a driving assistance system provided according to some embodiments of the present application. Modes for Carrying Out the Invention

[0031] The technical solution of this application is further elaborated in detail below with reference to the accompanying drawings and specific embodiments.

[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit the implementation of this application. The term "and / or" used herein includes any and all combinations of one or more related listed items. In the description of this application, unless otherwise stated, the meaning of "plurality" is two or more.

[0033] In the following description, reference is made to “some embodiments” which describe a subset of possible embodiments, but it should be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0034] Please refer to Figure 1, which is a schematic flow chart of a target highlighting method according to some embodiments of the present application. The target highlighting method provided in these embodiments is applied to a target highlighting device. A processor in the device, when executing a computer program stored in a memory, implements any of the steps of the target highlighting method according to the embodiments of the present application. Specifically, the target highlighting method provided in these embodiments includes S02, S04, and S06, each of which is described in detail below.

[0035] S02: Obtain target detection result information of each target object in the environment image.

[0036] The environmental image is an image containing a target object captured by an environmental image acquisition device in a target scene. When the target highlighting method provided in the embodiments of the present application is applied to a driving assistance system, the environmental image is an infrared image obtained by an environmental image acquisition device mounted on a vehicle capturing the target scene in front of the vehicle. That is, in some embodiments, the environmental image acquisition device is an infrared image acquisition device.

[0037] Target detection result information is information obtained by detecting a target object in an environmental image, representing the characteristics of the target object, such as the target object's category information, motion attribute information, and the target object's position and size in the environmental image. Target object category information refers to information representing the target object's category, such as car, person, truck, motorcycle, and bus. In some embodiments, the target object can also be an animal or other objects of concern on the road, such as lane markings and obstacles. Motion attribute information refers to information related to the target object's movement, such as its distance, speed, and direction of motion. The target object's distance information includes its lateral distance relative to the environmental image acquisition device in a first direction and its longitudinal distance relative to the environmental image acquisition device in a second direction, where the first direction is perpendicular to the second direction. The target object's speed information can be its absolute speed or its relative speed relative to the environmental image acquisition device. When the environmental image acquisition device capturing the environmental image is mounted on a vehicle, the target object's distance information refers to its distance relative to the vehicle, and the target object's relative speed information refers to its relative speed relative to the vehicle. The movement direction information of the target object may be the movement direction of the target object relative to the environment image acquisition device (or a vehicle equipped with the environment image acquisition device), and the movement direction includes opposite movement directions and same-direction movement directions.

[0038] The target object's category information, as well as its location and size information in the environment image, are information obtained by performing target detection on the target object in the environment image based on a target detection algorithm. The target object's location and size information in the environment image are, respectively, the center point location information and size information of the target detection frame corresponding to the target object in the target detection algorithm. The target detection frame size information specifically includes the length and width of the target detection frame. The target object's motion attribute information can be analyzed based on the target object's category information and size information in the environment image to obtain information representing the target object's motion attributes. For example, the target object's distance information can be obtained based on the target object's category information and size information. Within the same category, the larger the target object represented by its size information, the closer the target object is to the environment image acquisition device, and vice versa. The change in distance information between the current environment image and the previous environment image can be determined based on the corresponding distance information of the target object in the current environment image and the corresponding distance information of the target object in the previous environment image at the current moment. The target object's speed and motion direction information can be determined based on this change and the time interval between the current environment image and the previous environment image. In other embodiments, the distance information, speed information and motion direction information of the target object can also be obtained by other means. For example, the distance information of the target object can be obtained based on the distance sensing of the target object by a distance sensor (such as a laser radar), and then based on the coordinate conversion relationship between the distance sensor and the environmental image acquisition device, the distance of each target object in the environmental image relative to the environmental image acquisition device can be determined, that is, the distance information of the target object is obtained, and then the speed information and motion direction information of the target object can be determined based on the distance change within a preset time. Of course, in some embodiments, the speed information of the target object can also be directly collected by a speed collector. Therefore, in this application, there is no limitation on the method of obtaining the motion attribute information of the target object.

[0039] S04: Determine, based on the target detection result information of each target object, a highlighting level and a highlighting area for highlighting each target object in the environment image.

[0040] Unlike previous target highlighting solutions, this application does not directly highlight each target object. Instead, it demarcates a highlighted area based on the target object's center point. Specifically, the highlighted area is a region of a certain shape and size within the environment image that contains the target object. Its size and position are determined by the size and position of the target object, and its shape is determined by the corresponding highlighting level.

[0041] The highlight level is the level corresponding to the highlighting form of highlighting the area where the target object is located in the environmental image, and different target objects have different corresponding highlight levels. In some embodiments, the highlight level can be determined only based on the category information of different target objects, and target objects of different categories have different corresponding highlight levels. In some embodiments, the highlight level can also be determined only based on the motion attribute information of the target object, and target objects with different motion attributes have different corresponding highlight levels. In some embodiments, the highlight level of the target object can also be divided into multiple levels of highlight levels, for example, a first-level highlight level in the multiple levels of highlight levels is determined based on one of the category information and motion attribute information of the target object, and then a second-level highlight level of each target object under the same first-level highlight level is determined based on the other of the category information and motion attribute information of the target object under the same first-level highlight level. In the multiple levels of highlight levels, different target objects under each first-level highlight level have different second-level highlight levels.

[0042] Each highlighting level has a corresponding highlighting form. The relationship between the highlighting level and the highlighting degree of the corresponding highlighting form is such that the higher the highlighting level, the higher the highlighting degree of the corresponding highlighting form. The higher the highlighting degree, the more sensitive the human eye is to the highlighting area corresponding to that highlighting level, that is, the more attention the human eye pays to the highlighted area. The highlighting form refers to the way in which the target object is highlighted, that is, the method of highlighting the target object. Different highlighting levels correspond to different highlighting forms. The highlighting forms include but are not limited to setting the highlighting areas corresponding to target objects with different categories of information or different motion attribute information to different shapes, colors, brightness, or magnification factors. For example, the higher the highlighting level, the shape of the corresponding highlighting area is set to a shape that is more sensitive to the human eye, the higher the highlighting level, the color of the corresponding highlighting area is set to a color that is more sensitive to the human eye, the higher the highlighting level, the brighter the corresponding highlighting area, or the higher the highlighting level, the greater the magnification factor of the corresponding highlighting area. The highlighting level can be represented by numbers or other forms, but is not limited to the representation that the larger the number representing the highlighting level, the higher the highlighting level.

[0043] S06: According to the highlighting form corresponding to the highlighting level of each target object, highlighting the highlighting area of ​​each target object in the environment image is performed to obtain a target-highlighted environment image. In the target-highlighted environment image, each target object is located in the corresponding highlighting area.

[0044] Each highlighting level has a corresponding highlighting form. After determining the highlighting level, the highlighting form corresponding to the target object can be determined based on the preset mapping relationship between the highlighting level and the highlighting form, so as to highlight the target object according to the highlighting form corresponding to the target object and obtain a target highlighting environment image.

[0045] The target-highlighted environment image is an environment image that includes the highlighted areas corresponding to each target object. Specifically, the target-highlighted environment image is an image resulting from highlighting the areas corresponding to each target object in the environment image using the corresponding highlighted forms. In addition to including each target object in the environment image, the target-highlighted environment image also includes the highlighted areas corresponding to each target object.

[0046] Please refer to Figure 2, which is a target highlighting environment image obtained according to the target highlighting method provided in some embodiments of the present application. From Figure 2, it can be seen that the target highlighting environment image is an environment highlighting with an increased highlighting area. In the target highlighting environment image, target objects of different categories, such as cars and people, have different highlighting levels, and the highlighting forms of the two are also different. For example, cars are highlighted by rectangular highlighting areas, and people are highlighted by elliptical highlighting areas. Furthermore, in the target highlighting environment image, the highlighting area corresponding to cars at different distances (one type of motion attribute information) has different colors. Since the target highlighting environment image shown in Figure 2 has been grayscaled, in actual applications, the target highlighting environment image will truly reflect the colors of each highlighting area. In actual applications, the portraits of people in the target image environment image can also be pseudo-colored. Specifically, when the environment image is an infrared environment image collected by an infrared image acquisition device, the area where the people are located in the infrared environment image can be pseudo-colored to obtain an infrared environment image containing pseudo-colored portraits to highlight the people in the environment image for easy observation.

[0047] Since FIG2 is a grayscale target highlighting environment image, there is a color difference between it and the target highlighting environment image actually obtained by the target highlighting method provided in the embodiment of the present application. In order to further demonstrate the highlighting effect obtained by the target highlighting method provided in the embodiment of the present application, please refer to FIG3, which is a simplified schematic diagram of the target highlighting environment image obtained by the target highlighting method provided in some embodiments of the present application. Based on FIG3, the target highlighting effect in the target highlighting environment provided in the embodiment of the present application is further described in detail with examples. FIG3 only illustrates two types of target objects, vehicles and people. In this embodiment, the first-level highlighting level of each target object is determined based on the category information of the target object, and then the second-level highlighting level of each target object at each first-level highlighting level is determined based on the motion attribute information of each target object at each first-level highlighting level. Vehicles and people correspond to two different first-level highlighting levels respectively, and the shapes of the highlighting areas corresponding to different first-level highlighting levels are different, that is, the first-level highlighting form corresponding to the first-level highlighting level is to highlight the first highlighting form of each target object corresponding to the different first-level highlighting levels using highlighting areas of different shapes. The highlighted areas for vehicles are rectangular, while those for people are elliptical. For example, vehicle C1 is primarily or entirely located in its corresponding rectangular highlighted area CT1, vehicle C2 is primarily or entirely located in its corresponding rectangular highlighted area CT2, and vehicle C3 is primarily or entirely located in its corresponding rectangular highlighted area CT3. Person P1 is primarily or entirely located in the elliptical highlighted area PT1, and person P2 is primarily or entirely located in the elliptical highlighted area PT2. Different distances between vehicles and the environmental image acquisition device correspond to different secondary highlighting levels. A secondary highlighting level highlights the target object corresponding to each secondary highlighting level based on the color of the highlighted area. For example, the secondary highlighting levels for vehicles C1, C2, and C3 are highlighted using a red highlighted area CT1, a yellow highlighted area CT2, and a green highlighted area CT1, respectively. As the distances of vehicles C1, C2, and C3 from the environmental image acquisition device increase, the corresponding secondary highlighting levels for vehicles C1, C2, and C3 decrease. For example, since both persons P1 and P2 are relatively close to the environmental image acquisition device, their secondary highlighting levels can be the same, such as using a purple highlighting area. Figure 3 is merely a simple example and does not limit the target highlighting method provided in the present application to the target highlighting method, which uses the highlighting methods corresponding to the different highlighting levels of each target object to obtain the target highlighted environmental image.

[0048] As can be seen from the above, the target highlighting method provided in the embodiment of the present application determines the highlighting level and highlighting area corresponding to each target object based on the target detection result information of each target object in the environmental image, and then highlights the highlighting area of ​​each target object in the environmental image based on the highlighting level corresponding to each target object, so as to obtain a target-highlighted environmental image containing the highlighting area corresponding to each target object. Obviously, the target highlighting method provided in the embodiment of the present application divides the highlighting degree of the target object into highlighting levels by analyzing and judging the target detection result information. For different target objects, different highlighting methods corresponding to different highlighting levels are used to highlight each highlighting area according to actual needs, so that users can directly obtain environmental information quickly and accurately through the target-highlighted environmental image.

[0049] Please refer to Figure 4, which is a flow chart of determining the highlighting level in the target highlighting method provided according to some embodiments of the present application. In this embodiment, the target detection result information includes the position information and size information of the target object in the environmental image, the category information and motion attribute information of the target object. The above-mentioned S04 further includes: determining the size and position of the highlighting area of ​​each target object in the environmental image based on the position information and size information of each target object in the environmental image. Furthermore, the above-mentioned S04 specifically includes S042 and S044 for determining the highlighting level of the target object based on the target detection result information, and the specific description of each step is as follows.

[0050] S042: Determine the primary highlight level corresponding to each target object based on the category information of each target object.

[0051] The target highlighting method provided in some embodiments of the present application can be applied to a driving assistance system. The driving assistance system can be installed in a vehicle as a pre-installed system or as an electronic product installed in a vehicle as a post-installed system. When the target highlighting method provided in some embodiments of the present application is applied to a driving assistance system, the environmental image is an environmental image of a target scene in front of the main vehicle on which the driving assistance system is installed. The categories of the target objects in the environmental image include pedestrians and vehicles on the road on which the main vehicle is traveling, where the vehicle categories specifically include cars, trucks, buses, motorcycles, and bicycles. In addition, target objects also include animals on the road or other obstacles that hinder the main vehicle's travel. Of course, they can also include lane lines, trees on both sides of the road, and traffic signs set up on the road. Each type of target object corresponds to a first-level highlighting level, that is, different types of target objects have different first-level highlighting levels. Specifically, in some embodiments, the different first-level highlighting levels can have the same level, but the different first-level highlighting levels correspond to different highlighting forms. For example, in some embodiments, a target object of the vehicle category corresponds to a first-level highlighting level of A, and a target object of the human category corresponds to a first-level highlighting level of B. There's no specific limit to the prominence level of Level A and Level B; the former can be higher than the latter, the latter can be higher than the former, or they can be equal. Level A corresponds to Form A, while Level B corresponds to Form B. Form A is, for example, a rectangular highlighted area, while Form B is an elliptical highlighted area. In other words, in some embodiments, the shape of each target object's highlighted area can be determined based on the target object's category information, with different target objects of different categories having different highlighted area shapes.

[0052] In other embodiments, the target highlighting method provided in the embodiments of the present application can also be used in other auxiliary systems that use machine vision to assist in acquiring environmental information, which will not be described again here.

[0053] S044: Determine, based on the motion attribute information of each target object in the same category, the secondary prominence level corresponding to each target object at the same primary prominence level.

[0054] The category information of each target object in the same category is the same, that is, the first-level highlighting level of each target object in the same category is the same. For example, the category information of vehicles at different distances in Figure 3 is the same, and they are all vehicles. The first-level highlighting level corresponding to each vehicle is the same, and the first-level highlighting form corresponding to the first-level highlighting level of each vehicle is also the same, for example, the target object is highlighted using a rectangular highlighting area.

[0055] When multiple targets exist within the same category, each target within the same category has a different secondary prominence level, and each secondary prominence level also corresponds to a different secondary prominence form. Using Figure 3 as an example, vehicles C1, C2, and C3 are highlighted using a red prominence area PT1, a yellow prominence area PT2, and a green prominence area PT3, respectively. Each target within the same category has the same primary prominence level, but different secondary prominence levels.

[0056] In some embodiments, S044: determining, based on the motion attribute information of each target object in the same category, a corresponding secondary prominence level for each target object at the same primary prominence level, specifically includes: determining, based on the motion attribute information of each target object in the same category, a corresponding danger level for each target object in the same category, and then, based on the danger level of each target object in the same category, determining a corresponding secondary prominence level for each target object at the same primary prominence level. The higher the danger level of the target object, the higher the prominence level of the prominence form corresponding to the target object's secondary prominence level.

[0057] The target highlighting method provided in the embodiment of the present application divides the highlighting level of the target object into a first-level division according to the category, and then divides the highlighting level of the target object into a second-level division according to the motion attribute, so that target objects with different motion attributes under different categories have different highlighting levels, so that users can pay more attention to the target objects that need more attention more directly and effectively based on the target highlighting environment image, which is conducive to quickly making judgments on the environmental information based on the highlighting results of the target object, and making corresponding decisions based on the judgments.

[0058] Taking the target highlighting method used in driver assistance systems as an example, the degree of danger is related to the relative motion information between the target object and the main vehicle (specifically, the environmental image acquisition device in the main vehicle), that is, the target object's motion properties. The target object's danger level is relative to the main body (e.g., the main vehicle) where the environmental image acquisition device is installed. The higher the danger level, the greater the probability of a collision between the target object and the main body where the environmental image acquisition device is installed, and vice versa.

[0059] In some embodiments, the motion attribute information includes the relative position information of the target object relative to the environmental image acquisition device. Here, the relative position information characterizes the relative distance between the target object and the environmental image acquisition device, and can further characterize the relative orientation between the target object and the environmental image acquisition device. For example, based on the relative position information of the target object, it can be determined how far the target object is from the environmental image acquisition device and at what orientation the target object is in the environmental image acquisition device. As described above, the relative motion information can be obtained by analyzing the category information of the target object, the position information and size information of the target object in the environmental image, or by measuring with the help of a ranging device such as a laser radar. Based on the relative position information, the distance of the target object from the environmental image acquisition device is determined. The smaller the distance, the greater the corresponding degree of danger.

[0060] In some embodiments, the motion attribute information includes the relative position information and speed information of the target object relative to the environmental image acquisition device. In this embodiment, the danger level of the target object is determined based on the relative position information and speed information. The closer the distance between the target object represented by the relative position information and the environmental image acquisition device, and the greater the movement speed of the target object represented by the speed information, the higher the danger level of the target object. Determining the danger level of the target object based on the relative position information and speed information is highly accurate, which is conducive to the precise classification of the prominence level of the target object and improves the efficiency and accuracy of the transmission of effective environmental information.

[0061] In some embodiments, the motion attribute information includes the relative position information of the target object relative to the environmental image acquisition device, the speed information of the target object, and the motion direction information. In the target highlighting method provided in this embodiment, in addition to determining the danger level of the target object based on the relative position information and speed information, the danger level of the target object is further determined based on the motion direction information of the target object. When the relative position information and speed information are the same, the danger level of the target object is higher when the target object and the environmental image acquisition device are moving toward each other than when the target object and the environmental image acquisition device are moving toward each other.

[0062] Please refer to Figure 5, which is a flow chart of a target highlighting method provided according to some embodiments of the present application. In this embodiment, the above-mentioned S02 is specifically S021: obtaining target detection information for each target object in the environmental image, the target detection information including the target object's position information and size information in the environmental image, the target object's category information, and motion attribute information. Furthermore, the above-mentioned step of determining the size and position of the highlighted area of ​​each target object in the environmental image based on the position information and size information of each target object in the environmental image specifically includes S0411 and S0412, which are described below.

[0063] S0411: Determine the center point position of each target object in the environment image based on the position information of each target object.

[0064] S0412: Taking the center point position of each target object as a reference and according to the size of the target object, determine the size and position of the highlighted area of ​​each target object in the environment image.

[0065] In this embodiment, the position information of the target object in the environmental image may be the center point position information of the target object's target detection frame, and the size information of the target object may be the size information of the target object's target detection frame. Taking the center point position of the target object as a reference may mean determining the center point position of a highlighted area corresponding to the target object in the environmental image based on the center point position of the target object, and then determining the size of the highlighted area of ​​the target object based on the size of the target object, such that the highlighted area of ​​the target object includes the area where the target object is located. In some embodiments, the highlighted area exactly includes the corresponding target object, for example, the highlighted area may be inscribed within or circumscribed with the target object's target detection frame.

[0066] Further, referring to FIG. 5 , in this embodiment, S04 following S02 includes S0411 and S0412, as well as S042 and S044. The order in which S0411 and S042 are executed is not limited. Furthermore, in this embodiment, S06 specifically includes S062, S064, and S066. Each step is described in detail below.

[0067] S062: Determine a primary highlighting form of each target object according to the primary highlighting level of each target object, and determine a secondary highlighting form of each target object according to the secondary highlighting level of each target object.

[0068] S064: Determine the shape of the highlighted area of ​​each target object according to the primary highlighting form of each target object, and determine the style of the highlighted area of ​​each target object according to the secondary highlighting form of each target object, where the style includes color and / or pattern.

[0069] S066: Based on the shape, style, and corresponding size and position of the highlighted area of ​​each target object in the environmental image, each highlighted area including each target object is formed in the environmental image to obtain a target highlighted environmental image. The target highlighting method provided in the embodiment of the present application is based on the center point position of the position information of the target object in the environmental image, and then uses the center point position of the target object as a reference to determine the size and position of the highlighted area of ​​the target object in the environmental image according to the size information of the target object, and determines the shape of the highlighted area corresponding to the target object according to the category information of the target object, and determines the style of highlighting the highlighted area of ​​the target object based on the motion attribute information of the target object, thereby finally forming a corresponding highlighted area in the environmental image according to the shape, style, size and position of each highlighted area in the environmental image to obtain a target highlighted image, so that the user can obtain effective environmental information from the target highlighted image more quickly and accurately.

[0070] Please refer to Figure 6, which is a flow chart of target highlighting in the target highlighting method provided according to some embodiments of the present application. In this embodiment, the target detection result information includes the position information and size information of the target object in the environment image. The above S06 further includes S061 and S063, and the specific description of each step is as follows. The position information and size information of the target object can refer to the center point position information and the side length information of the target detection box corresponding to the target object in the environment image, respectively.

[0071] S061: Determine a highlighting form for a highlighting area corresponding to each target object in the environment image according to a highlighting level corresponding to each target object.

[0072] In some embodiments, the target object's prominence level is a multi-level prominence level, which includes the aforementioned primary prominence level and secondary prominence level, that is, each target object has a corresponding primary prominence level and a secondary prominence level under the primary prominence level. Different prominence levels are associated with a pre-set mapping relationship between the prominence forms, and the corresponding prominence form can be determined based on the determined prominence level. When the target object's prominence level includes the aforementioned primary prominence level and secondary prominence level, the corresponding prominence form includes a primary prominence form corresponding to the primary prominence level and a secondary prominence form corresponding to the secondary prominence level, that is, the prominence area of ​​each target object is highlighted using a combination of the primary prominence form and the secondary prominence form.

[0073] S063: Based on the corresponding highlighting form, position information and size information of each target object, a highlighting area with a corresponding highlighting form is formed in the environmental image, which is located within the target detection frame of the corresponding target object, and a target highlighting environmental image is obtained.

[0074] After determining the highlighting form of each target object, the highlighting form of the highlighting area corresponding to the target object can be determined. Thereafter, the position and size of the highlighting area corresponding to the target object in the environmental image can be further determined based on the position and size information of the target object. Finally, based on the highlighting form of the highlighting area corresponding to the target object and its position and size in the environmental image, a highlighting area with a corresponding size and highlighting form is formed at the corresponding position in the environmental image, thereby obtaining a target-highlighted environmental image.

[0075] It can be seen that in the target highlighting method provided in the embodiment of the present application, the highlighting level corresponding to the target object is first determined based on the target detection result information of the target object, and then the highlighting form of the highlighting area corresponding to the target object in the environmental image is determined based on the highlighting level of the target object, and the highlighting area at least partially located within the target detection frame corresponding to the target object is determined based on the position information and size information of the target object in the environmental image, that is, the position and size of the highlighting area in the environmental highlight is determined, and finally, based on the determined highlighting form, position and size of the highlighting area, a corresponding highlighting area is formed in the environmental image to obtain a target highlighted environmental image containing the highlighting area.

[0076] In some embodiments, the highlighting forms include at least one of the following: a first highlighting form that highlights target objects corresponding to different highlighting levels using highlighting areas of different shapes, a second highlighting form that highlights target objects corresponding to different highlighting levels using highlighting areas of different colors, a third highlighting form that highlights target objects corresponding to different highlighting levels using highlighting areas of different brightnesses, and a fourth highlighting form that highlights target objects corresponding to different highlighting levels using highlighting areas of different magnifications. The first highlighting form corresponds to different highlighting levels and has corresponding shapes of highlighting areas. The second highlighting form corresponds to different highlighting levels and has corresponding colors. The third highlighting form corresponds to different highlighting levels and has corresponding brightness. The fourth highlighting form corresponds to different highlighting levels and has corresponding magnifications. Specifically, the magnification refers to the magnification of the corresponding highlighting area obtained by magnifying the area corresponding to the target object in the environmental image.

[0077] In some embodiments, the prominence level of the target object includes the aforementioned primary prominence level and secondary prominence level, wherein the primary prominence level corresponds to a primary prominence form, and the secondary prominence level corresponds to a secondary prominence form. The primary prominence form may include one of the aforementioned first prominence form, second prominence form, third prominence form, and fourth prominence form, and the secondary prominence form may include another of the aforementioned first prominence form, second prominence form, third prominence form, and fourth prominence form, i.e., the primary prominence form and the secondary prominence form are different. Highlighting the target object by combining primary and secondary prominence forms of different prominence forms can more effectively convey the target object's information.

[0078] In some embodiments, the target object's prominence level includes a primary prominence level determined based on category information and a secondary prominence level determined based on motion attribute information. The primary prominence level corresponds to a primary prominence form, and the secondary prominence level corresponds to a secondary prominence form. The primary prominence form is the first prominence form, and the secondary prominence form is the second prominence form. Specifically, in this embodiment, target objects of different categories are highlighted using prominence areas of different shapes, and target objects with different motion attribute information within each category are highlighted using different colors.

[0079] In some embodiments, before obtaining the target highlighted environment image in S06, the target highlighting method further includes: performing brightness enhancement processing on at least a portion of each highlighted area formed in the environment image to obtain the target highlighted environment image. In this embodiment, the primary highlighting form is the first highlighting form, and the secondary highlighting form is the second highlighting form. After the highlighted areas corresponding to the target objects are formed in the environment highlighting, brightness enhancement (brightness boosting) processing can be further performed on at least a portion of each highlighted area to further highlight the highlighted areas of the target objects and improve the efficiency of transmitting effective environmental information. Specifically, the brightness enhancement processing can be performed on the highlighted areas corresponding to the target objects based on the highlighting level of the target objects. The higher the highlighting level, the greater the brightness enhancement of the corresponding highlighted areas, and vice versa.

[0080] In some embodiments, before obtaining the target-highlighted environment image in S06, the target highlighting method further includes: amplifying at least a portion of each highlighted area formed in the environment image to obtain the target-highlighted environment image. In this embodiment, the primary highlighting form is the first highlighting form, and the secondary highlighting form is the second highlighting form. After forming the highlighted areas corresponding to the target objects in the environment image, at least a portion of each highlighted area can be further amplified to further highlight the highlighted areas of the target objects and improve the efficiency of transmitting effective environmental information. Specifically, the highlighted areas corresponding to the target objects can be amplified based on their highlighting level. The higher the highlighting level, the greater the magnification of the corresponding highlighted areas, and vice versa.

[0081] In some embodiments, before obtaining the target-highlighted environment image in S06, the target-highlighting method further includes: performing background blurring or background removal processing on the environment image having the highlighted area, thereby obtaining the target-highlighted environment image. In this embodiment, after forming the highlighted area corresponding to each target object in the environment highlighting, background removal or background blurring processing can be further performed on the environment image to further highlight each target object and improve the efficiency of transmitting effective environmental information.

[0082] In some embodiments, S062: Determine a highlighting form for the highlight area corresponding to each target object in the environmental image based on the highlighting level corresponding to each target object. This specifically includes: when there is overlap between highlight areas corresponding to different target objects, determining the highlighting form corresponding to the overlapping area based on the priority of the highlighting levels corresponding to the target objects to which the overlapping area belongs. The highlighting form of the non-overlapping areas of multiple overlapping highlight areas is the highlighting form corresponding to each highlight area, that is, the highlighting form corresponding to the highlighting level of each highlight area. When determining the highlight area corresponding to the target object in the environmental image based on the target detection result information of the target object, there may be overlapping areas between the highlight areas corresponding to multiple different target objects. The highlighting form corresponding to these overlapping areas is determined based on the priority of the highlighting levels corresponding to the multiple highlight areas to which the overlapping areas belong. For example, target object a corresponds to highlight area a, target object b corresponds to highlight area b, highlight area a corresponds to highlighting form a, and highlight area b corresponds to highlighting form b. When highlight area a and highlight area b overlap, the highlighting form of overlapping area ab is determined based on the priority of highlighting level a of target object a and highlighting level b of target object b. If the priority of highlight level a is higher than that of highlight level b, the highlight level of overlapping area ab is a. If the priority of highlight level a is lower than that of highlight level b, the highlight level of overlapping area ab is b. The corresponding highlighting forms of the non-overlapping areas of highlight area a and highlight area b are highlight area a and highlight area b, respectively.

[0083] In some embodiments, S063: Based on the highlighting form, position information and size information corresponding to each target object, a highlighting area at least partially located within the target detection frame of the corresponding target object and having the corresponding highlighting form is formed in the environmental image to obtain a target highlighted environmental image, specifically including: based on the highlighting form, position information and size information corresponding to each target object, a highlighting strategy in which the highlighting degree of the edge of the highlighting area is weakened relative to the highlighting degree of the center, a highlighting area located within the target detection frame of the corresponding target object and having the corresponding highlighting form is formed in the environmental image to obtain a target highlighted environmental image.

[0084] The highlighting strategy, where the prominence of the edges of a highlighted region is weakened relative to that of its center, creates a highlighted region in the environmental image with lower edge prominence and higher center prominence. This visually reduces the slight jumps caused by the instability of the target object's detection frame edge, ensuring the accurate transmission of effective information in the environment. For example, coloring the highlighted region uses different colors to highlight target objects of varying prominence levels. The coloring of each highlighted region can be a gradient, where the color of each highlighted region gradually deepens from the edge toward the center, or the highlighted region can be divided into an edge region and a center region surrounded by the edge region, with the edge region's color being lighter than the center region. As shown in Figure 3, the coloring of the edge region PT12 of the highlighted region PT1 of person P1 is lighter (e.g., purple) than the coloring of the center region PT11. For example, the coloring of the edge region PT12 is light purple, while the coloring of the center region PT11 is dark purple. The coloring of the edge region PT22 of the highlighted region PT2 of person P2 is lighter (e.g., purple) than the coloring of the center region PT21. For example, the edge region PT22 is colored light purple, and the center region PT21 is colored dark purple.

[0085] In some embodiments, the above S04 specifically includes: first determining the target objects that need to be highlighted in the environmental image based on the target detection result information of each target object, and then determining the highlighting level and highlighting area for each target object that needs to be highlighted in the environmental image based on the target detection result information of the target object that needs to be highlighted.

[0086] In some application scenarios, not all target objects in the environmental image are valid information that needs to be transmitted. For some environmental information that does not need to be transmitted, it is not necessary to highlight them. Therefore, in this embodiment, before determining the highlighting level of each target object based on the target detection result information of each target object, it is also necessary to determine the target objects that need to be highlighted among the target objects based on the target detection result information of each target object in the environmental image, and then determine the highlighting level of each target object that needs to be highlighted based on the target detection result information of each target object that needs to be highlighted. Specifically, the target objects that need to be highlighted in the environmental image can be determined based on the relative position information between the target object and the environmental image acquisition device or the position information of the target object in the environmental image. For example, each target object whose distance from the environmental image acquisition device is within a preset range is selected as the target object that needs to be highlighted.

[0087] Please refer to FIG. 7 , which is a flow chart of a target highlighting method according to some embodiments of the present application.

[0088] S1: Obtain target detection result information for the target object and the corresponding salience level of the target object. First, the target detection result information for the target object is obtained. The target object's category is determined based on the target detection result information. The target object's salience level is then determined based on the target detection result information. The target object's salience level is then divided based on the target detection result information of the target object that needs to be highlighted, thereby obtaining the salience level of each target object. Different salience levels of target objects correspond to different salience forms. Specifically, a higher salience level corresponds to a higher degree of salience. A higher degree of salience results in a more conspicuous area, meaning it is more noticeable to the human eye. The target detection result information typically includes information about the target object's category, its location in the environmental image, and its size. For target objects of different categories, a primary salience level can be determined for each target object. Furthermore, based on the motion attribute information of each target object within the same category, a secondary salience level is determined for each target object within each category. Different primary salience levels for target objects correspond to different primary salience forms. For example, the primary salience form for a vehicle in an environmental image is to highlight the vehicle using a rectangular salience area, while the primary salience form for a person is to highlight the person using an elliptical salience area. The secondary highlighting level corresponds to a secondary highlighting form with different degrees of highlighting. For example, the highlighting area corresponding to vehicles at different distances from the environmental image acquisition device has different colors, that is, different secondary highlighting levels of vehicles correspond to highlighting areas of different colors. The primary highlighting form corresponding to a person is to display the person in an elliptical highlighting area. In some embodiments, the highlighting areas of people at different distances from the environmental image acquisition device have the same or different colors. Furthermore, the environmental image can be an infrared environmental image, and the portrait area in the infrared environmental image is a pseudo-color area, that is, the portrait in the grayscale infrared image is pseudo-colored to form a pseudo-color portrait in the environmental image. As shown in Figure 3, in the target highlighting image, the vehicle is displayed in each corresponding rectangular highlighting area, and the portrait is displayed in each corresponding elliptical highlighting area. When the target object is a target vehicle, the motion attribute information of the target vehicle is information that characterizes the relative motion characteristics between the target vehicle and the subject vehicle relative to the driving state of the subject vehicle where the environmental image acquisition device is located. For example, it can be the distance information of the target vehicle relative to the subject vehicle. The aforementioned distance information can be obtained through logical analysis based on the target object's category information and its size information within the environmental image, directly obtained through detection of the environmental image by an intelligent analysis module, or acquired through sensing by a distance sensor. Of course, the target object's motion attributes are not limited to distance information but may also include information about the relative speed of the target object and the vehicle in which the environmental image acquisition device is located. Determining the target object's prominence level based on the aforementioned distance and relative speed information can increase the accuracy of the target object's prominence level classification.Generally, the closer the distance represented by the aforementioned distance information and the faster the relative speed represented by the aforementioned speed information, the higher the prominence level of the corresponding target object, that is, the higher the degree of prominence of its prominence form, so that the user can quickly obtain effective information in the environmental information.

[0089] S2: Determine the center point position and size information of the target object in the environment image, and calculate the salient area corresponding to the target object based on the center point position and size information. The target object's location information in the environment image is the location information of the center point of the target object's target detection frame in the environment image. In this embodiment, the center point position of the target object's salient area in the environment image is the center point position information of the target detection frame. Based on this center point position information, the location of the center point of the corresponding salient area in the environment image is determined. After determining the center point position of the salient area, the size of the salient area is determined based on the target object's size information. Specifically, at least a portion of the salient area is positioned within the target detection frame corresponding to the target object. The shape of the salient area is determined based on the target object's primary salient level, which is in turn determined by the target object's category information. When the primary salient level corresponds to the first salient form, different categories of target objects correspond to salient areas of different shapes. Specifically, the shape of the salient area is determined by the target object's category. The size of each salient area of ​​the target object is determined based on the target object's size information. Typically, the size of the salient area maintains a consistent ratio with the size of the target object. The larger the target object, the larger the corresponding salient area. This ratio can be determined based on the target object's category information.

[0090] S3: Highlight the target object according to the determined highlighting form. After determining the highlighting level, position and size corresponding to the highlighting area of ​​the target object, a highlighting area of ​​the target object is formed at the corresponding position in the environmental image according to the highlighting form, position and size corresponding to the highlighting area. For example, target objects of different categories can choose highlighting areas of different shapes, and target objects of the same category can be further distinguished by giving different colors according to the distance between the target object and the environmental image acquisition device, so that the user can directly obtain environmental information through the target highlighted environmental image intuitively. Taking the highlighting of the highlighting area of ​​the target object by coloring as an example, the color palette used for coloring can be modulated as needed, and when used, the numerical size of the pixel points of the target object to be colored in the environmental image is mapped to the corresponding color one by one.

[0091] The following specifically describes an implementation method for forming an elliptical highlighted area with a gradient color in an environment image, that is, performing gradient color highlighting on the elliptical highlighted area. The specific implementation method includes the following steps:

[0092] 1. Input data. The input includes the data required for target highlighting, which mainly includes the following data.

[0093] (1) Obtain target detection result information from the target object detection module, specifically including the target object's category information, size information, and location information. Based on this target detection result information, calculate the corresponding saliency level of the target object through logical judgment. Let the coordinate position of the upper left corner of the target object's target detection box in the environment image be (x0, y0), the length of the target detection box be r, and the width be c, where the upper left corner of the environment image is the coordinate origin.

[0094] (2) Obtain the current environment image data. The length and width of the environment image are recorded as height and width respectively, and the value of each pixel in the environment image is an integer in the range of 0-255.

[0095] 2. Traverse each target detection box in the environment image and calculate the color mask corresponding to each category of target object, that is, determine the colored area (highlighted area) of the target object. The steps for determining the colored area of ​​the target object are as follows:

[0096] (1) Given the coordinate system within the target detection frame: take the upper left corner of the target detection frame as the origin, and record the coordinates of the pixel point within the target detection frame as (i, j), then its corresponding coordinates in the full environment image are (ix, jy), and the coordinate calculation formula is as follows: ix = i + x0; jy = j + y0;

[0097] (2) Calculate the positional relationship between each pixel point in the target detection frame and the colored area of ​​the target object. Here, the elliptical area is used as the colored area of ​​the target object. Then, find the largest inscribed ellipse with the center of the rectangular target detection frame as the center as the colored area, that is, the highlighted area. Starting from the coordinate point (i, j) in the target detection frame, obtain a line connecting the ellipse origin. The length of the line segment is d1, and the distance from the intersection of the line segment and the ellipse to the ellipse origin is d2. After deduction and simplification, the proportional relationship between the two line segments can be obtained as rate: rate = (d1 / d2)^2 = (i*ii*c)*(4 / c / c)+(j*jj*r)*(4 / r / r)+2;

[0098] (3) This proportional relationship expresses the positional relationship between any point in the target detection frame and the inscribed ellipse in the target detection frame. If the ratio is greater than 1, the point is outside the ellipse; if it is equal to 1, the point is on the ellipse; and if it is less than 1, the point is inside the ellipse. Specifically, as shown in FIG3 , the highlighted area PT1 of the largest inscribed ellipse is determined in the target detection frame PD1. The length of the line from a point A1 in the target detection frame PD1 to the ellipse origin O1 is d11, and the length of the line from the intersection of this line and the ellipse B1 to the ellipse origin is d12. Substituting d11 and d12 into d1 and d2 in the rate formula, respectively, it can be determined that A1 is outside the highlighted area PT1 of the ellipse. The length of the line from a point A2 in the target detection frame PD1 to the ellipse origin O1 is d21, and the length of the line from the intersection of this line and the ellipse B2 to the ellipse origin is d22. Substituting d21 and d22 into d1 and d2 in the rate formula, respectively, it can be determined that A2 is inside the highlighted area PT1 of the ellipse. After determining the positional relationship between each pixel within the target detection frame and the corresponding elliptical highlighted area, determine the pixels that need to be colored. That is, the pixels within the elliptical highlighted area need to be colored, and the pixels outside the elliptical highlighted area do not need to be colored. Calculate the initial value of the coloring weight coefficient weight. The calculation formula for this initial value is as follows: weight = 1-sqrt(rate);

[0099] According to the above formula, if the calculated weight is less than 0, it means that the point is outside the maximum inscribed ellipse; if the weight is greater than 0, it means that the point is inside the maximum inscribed ellipse.

[0100] (4) Determine the coloring weights of the pixels to be colored at each step within the target detection frame. Since the maximum inscribed ellipse intersects with the edge of the target detection frame, the pixels between the outside of the maximum inscribed ellipse and the edge of the target detection frame are not colored, and the weight of these uncolored pixels is given as weight = 0: if weight < 0, then weight = 0.

[0101] (5) Determine the coloring weight value (weight) for the pixels within the target detection frame that need to be colored. Use the coefficient ratio to control the inward contraction of the largest circumscribed ellipse to obtain the fully colored ellipse core area, and assign a weight of weight = 1. For the pixels between the core ellipse and the largest inscribed ellipse, a gradient coloring weight between 0 and 1 is assigned, i.e., weight = ratio * weight. If weight > 1, then weight = 1.

[0102] (6) Traverse all target detection frames in the environment image and calculate the environment image coloring weight mask for each target detection object category. For the same target object category, if the target detection frames of different target objects have overlapping parts, the pixel coloring weight of the overlapping part is retained as the maximum value, so that when there is an overlapping area in the highlighted area, the highlighting form of the overlapping area is determined based on the highlighting level priority corresponding to the highlighted area to which the overlapping area belongs. For areas without target objects outside the target detection frame, mask = 0, and the mask inside the target detection frame is equal to the calculated weight.

[0103] 3. After determining the ambient image coloring mask for each target object category, color mapping is performed using the ambient image coloring weight mask for each target object category to achieve coloring of the highlighted area. The process further includes the following steps:

[0104] (1) Let the pixel value of the pixel point with coordinates (x, y) in the environment image be val, which is an integer between 0 and 255. According to the grayscale value of val, adjust the color mapped to it in the corresponding color palette, and obtain the RGB channel values ​​of the pixel point as color_map_r, color_map_g, and color_map_b.

[0105] (2) Using the color mask of each category calculated in the previous step, assign the RGB channel values ​​of the pixel in the previous step according to the weight ratio, as follows: R = color_map_r*mask + val*(1-mask); G = color_map_g*mask + val*(1-mask); B = color_map_b*mask + val*(1-mask);

[0106] (3) When target detection frames of different categories overlap, the prominence levels of target objects of each category are usually prioritized to determine the prominence level priority of each target object. Based on the prominence level priority of each target object, the prominence areas with high priority are colored first to obtain the target prominence environment image.

[0107] As can be seen from the above, the target highlighting method provided in the embodiment of the present application divides the highlighting level of the target object in the environment according to the detection result information of the target object, and then uses different highlighting means (highlighting forms) corresponding to different highlighting levels to highlight the target object. The highlighting means include but are not limited to: coloring the highlighted area of ​​the target object, retaining only the highlighted area of ​​the target object, increasing the local brightness of the area where the target object is located, and locally enlarging the display, etc., which can make the target object stand out in the environmental image or video, and at the same time visually reduce the slight jump caused by the instability of the edge of the target detection frame, effectively improving the efficiency and accuracy of environmental information transmission.

[0108] Please refer to Figure 8, which is a schematic diagram of the structure of the target highlighting device provided according to some embodiments of the present application. The target highlighting device provided in the embodiment of the present application includes an acquisition module 101, a determination module 102 and a highlighting module 103. The acquisition module 101 is used to obtain the target detection result information of each target object in the environmental image. The level determination module 102 is used to determine the highlighting level and highlighting area for each target object in the environmental image based on the target detection result information of each target object. The highlighting module 103 is used to highlight the highlighting area of ​​each target object in the environmental image according to the highlighting form corresponding to the highlighting level of each target object, and obtain a target highlighted environmental image. The target highlighting device provided in the embodiment of the present application achieves the same technical effect as the target highlighting method provided in the embodiment of the present application, and will not be repeated here.

[0109] Furthermore, the acquisition module 101 is specifically configured to acquire category information, motion attribute information, and position information and size information of the target object in the environment image.

[0110] Furthermore, the determination module 102 is specifically used to determine the first-level prominence level of each target object based on one of the category information and motion attribute information of each target object, and then determine the second-level prominence level of each target object at the same first-level prominence level based on the motion attribute information of each target object at the same first-level prominence level.

[0111] Furthermore, the determination module 102 is specifically used to determine the first-level prominence level of each target object based on the category information of each target object, and then determine the second-level prominence level of each target object in the same category based on the motion attribute information of each target object in the same category, that is, to determine the second-level prominence level corresponding to each target object under the same first-level prominence level.

[0112] Furthermore, the highlighting module 103 is specifically used to determine the highlighting form of the highlighting area corresponding to each target object in the environmental image according to the highlighting level corresponding to each target object, and to form a highlighting area in the environmental image that is at least partially located within the target detection frame of the corresponding target object and has the corresponding highlighting form according to the highlighting form, position information and size information corresponding to each target object, so as to obtain a target highlighted environmental image.

[0113] Furthermore, the highlighting module 103 is further specifically configured to perform brightness enhancement processing on at least a portion of each highlighted area formed in the environmental image to obtain a target highlighted environmental image.

[0114] Furthermore, the highlighting module 103 is further specifically configured to amplify at least a portion of each highlighted area formed in the environmental image to obtain a target highlighted environmental image.

[0115] Furthermore, the highlighting module 103 is further configured to perform background blurring or background removal processing on the environment image with the highlighted area to obtain a target highlighted environment image.

[0116] In some embodiments, the highlighting module 103 is specifically used to determine the highlighting form of the highlighting area corresponding to each target object in the environmental image according to the highlighting level corresponding to each target object, specifically including: when there is an overlapping area between the highlighting areas corresponding to different target objects, the highlighting form corresponding to the overlapping area is determined according to the priority of the highlighting level corresponding to each target object to which the overlapping area belongs.

[0117] In some embodiments, the highlighting module 103 is specifically used to form a highlighting area with a corresponding highlighting form in the target detection frame of the corresponding target object in the environmental image based on the highlighting form, position information and size information corresponding to each target object, and based on a highlighting strategy in which the highlighting degree of the edge of the highlighting area is weakened relative to the highlighting degree of the center, so as to obtain a target highlighted environmental image.

[0118] Furthermore, the determination module 102 is specifically used to first determine the target objects that need to be highlighted in the environmental image based on the target detection result information of each target object, and then determine the highlighting level of each target object that needs to be highlighted in the environmental image based on the target detection result information of the target object that needs to be highlighted.

[0119] Furthermore, the determination module 102 is also specifically used to determine the center point position of each target object in the environmental image based on the position information of each target object, and to determine the size and position of the highlighted area of ​​each target object in the environmental image based on the size of the target object and the center point position of each target object.

[0120] Furthermore, the highlighting module 103 is also specifically used to determine the primary highlighting form of each target object according to the primary highlighting level of each target object, and to determine the secondary highlighting level of each target object according to the secondary highlighting level of each target object, and to determine the shape corresponding to the highlighting area of ​​each target object according to the primary highlighting level of each target object, and to determine the style corresponding to the highlighting area of ​​each target object according to the secondary highlighting level of each target object, the style including color and / or pattern, and to form each highlighting area including each target object in the environmental image according to the shape, style and corresponding size and position of the highlighting area of ​​each target object in the environmental image, so as to obtain a target highlighted environmental image.

[0121] Please refer to Figure 9, which is a schematic diagram of the structure of a target highlighting device provided in accordance with some embodiments of the present application. The target highlighting device provided in accordance with embodiments of the present application includes a processor 211 and a memory 212. Memory 212 stores a computer program executable by processor 211. When executed by processor 211, the computer program implements the target highlighting method provided in accordance with any embodiment of the present application. The target highlighting device provided in accordance with embodiments of the present application achieves the same technical effects as the target highlighting method provided in accordance with embodiments of the present application, and therefore will not be further elaborated here.

[0122] Please refer to Figure 10, which is a schematic diagram of the structure of a driving assistance system provided according to some embodiments of the present application. The assisted driving system is pre-installed in the main vehicle or retro-installed in the main vehicle in the form of an electronic product. The driving assistance system provided in this embodiment includes an environmental image acquisition device 201, a processor 202, and a display device 203. The image acquisition device 201 is used to acquire environmental images of the vehicle's driving environment and send the environmental images to the processor 202. When executing a computer program, the processor 202 implements the target highlighting method provided in any embodiment of the present application. The display device 203 is connected to the processor 202 and is used to display the target highlighting environmental image obtained by the processor 202. The driving assistance system provided in the embodiments of the present application achieves the same technical effects as the target highlighting method provided in the embodiments of the present application, and will not be repeated here. In some embodiments, the environmental image acquisition device can be an infrared image acquisition device, such as an infrared thermal imager. In some embodiments, the driving assistance system can further include a distance sensor, such as a laser rangefinder, for sensing the distance of the target object and sending the detected distance information to the processor 202.

[0123] The 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, it implements the various processes in the target highlighting method provided in any embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here. Computer-readable storage media, such as read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. The above is only a specific implementation method of the present application, but the scope of protection of the present application is not limited to this. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A target highlighting method, characterized in that: include: Obtain target detection result information of each target object in the environment image; Determining, according to the target detection result information of each target object, a highlighting level and a highlighting area for highlighting each target object in the environment image; According to the highlighting form corresponding to the highlighting level of each target object, the highlighting area of ​​each target object in the environmental image is highlighted to obtain a target highlighted environmental image, in which each target object is located in the corresponding highlighting area.

2. The target highlighting method according to claim 1, characterized in that: The target detection result information includes the position information and size information of the target object in the environment image, the category information and the motion attribute information of the target object, and determining the highlighting area and the highlighting level for highlighting each target object in the environment image according to the target detection result information of each target object, including: Determining the size and position of the highlighted area of ​​each target object in the environment image according to the position information and size information of each target object in the environment image; Based on the category information of each of the target objects, determining a primary highlight level corresponding to each of the target objects; According to the motion attribute information of each target object in the same category, a secondary prominence level corresponding to each target object in the same primary prominence level is determined.

3. The target highlighting method according to claim 2, characterized in that: The determining, according to the motion attribute information of each target object in the same category, the secondary prominence level corresponding to each target object at the same primary prominence level includes: Determining the danger level of each target object in the same category according to the motion attribute information of each target object in the same category; Based on the danger level of each target object under the same category, determining a secondary prominence level corresponding to each target object under the same primary prominence level; The higher the danger level of the target object is, the higher the prominence level of the prominence form corresponding to the secondary prominence level of the target object is.

4. The target highlighting method according to claim 3, characterized in that: The motion attribute information includes relative position information of the target object relative to the environment image acquisition device; or, The motion attribute information includes relative position information and speed information of the target object relative to the environment image acquisition device; or, The motion attribute information includes relative position information of the target object relative to the environment image acquisition device, speed information and motion direction information of the target object.

5. The target highlighting method according to claim 2, characterized in that: Determining the size and position of the highlighted area of ​​each target object in the environment image according to the position information and size information of each target object in the environment image includes: According to the location information of each target object, determine the location of each target object. The center point position in the environment image; Taking the center point position of each target object as a reference and according to the size of the target object, determining the size and position of the highlighted area of ​​each target object in the environment image; The step of performing target highlighting on the highlighted area of ​​each target object in the environment image according to the highlighting form corresponding to the highlighting level of each target object to obtain a target highlighted environment image includes: Determine the primary prominence form of each target object according to the primary prominence level of each target object, and determine the secondary prominence form of each target object according to the secondary prominence level of each target object; Determine, according to the primary highlighting form of each target object, a shape corresponding to the highlighting area of ​​each target object; and, according to the secondary highlighting form of each target object, determine a style corresponding to the highlighting area of ​​each target object, wherein the style includes a color and / or a pattern; According to the shape and style corresponding to the highlighted area of ​​each target object and the size and position corresponding in the environmental image, each highlighted area including each target object is formed in the environmental image to obtain a target highlighted environmental image.

6. The target highlighting method according to claim 1, characterized in that: The target detection result information includes the position information and size information of the target object in the environment image, and the target objects in the environment image are highlighted according to the highlighting level corresponding to each target object to obtain the target highlighted environment image, including: Determining, according to the highlighting level corresponding to each of the target objects, a highlighting form for a highlighting area corresponding to each of the target objects in the environment image; According to the highlighting form, the position information and the size information corresponding to each target object, a highlighting area located within the target detection frame of the corresponding target object and having the corresponding highlighting form is formed in the environmental image to obtain the target highlighted environmental image.

7. The target highlighting method according to claim 6, characterized in that: The highlighting form includes at least one of the following: A first highlighting form is to highlight the target objects corresponding to different highlighting levels by highlighting areas of different shapes, a second highlighting form is to highlight the target objects corresponding to different highlighting levels by highlighting areas of different colors, a third highlighting form is to highlight the target objects corresponding to different highlighting levels by highlighting areas of different brightness, and a fourth highlighting form is to highlight the target objects corresponding to different highlighting levels by highlighting areas of different magnifications.

8. The target highlighting method according to claim 6, characterized in that: Before obtaining the target highlighting environment image, the target highlighting method further includes: Performing brightness enhancement processing on at least a portion of the highlighted area formed in the environmental image to obtain the target highlighted environmental image; and / or. amplifying at least part of the highlighted area formed in the environment image, Obtaining the target highlighted environment image; and / or, The environment image with the highlighted area is subjected to background blurring or background removal processing to obtain the target highlighted environment image.

9. The target highlighting method according to claim 6, characterized in that: The step of determining, according to the highlighting level corresponding to each target object, a highlighting form of a highlighting area corresponding to each target object in the environment image includes: When there is an overlapping area between the highlighted areas corresponding to different target objects, the highlighting form corresponding to the overlapping area is determined according to the priority of the highlighting level corresponding to each of the target objects to which the overlapping area belongs.

10. The target highlighting method according to claim 6, characterized in that: The step of forming a highlighted area having a corresponding highlighted form and located within a target detection frame of the corresponding target object in the environment image according to the highlighted form, the position information, and the size information corresponding to each target object, and obtaining the target highlighted environment image includes: According to the highlighting form, the position information and the size information corresponding to at least part of the target object, and based on a highlighting strategy in which the highlighting degree of the edge of the highlighting area is weakened relative to the highlighting degree of the center, the highlighting area located within the target detection frame corresponding to the target object and having the corresponding highlighting form is formed in the environmental image to obtain the target highlighted environmental image.

11. The target highlighting method according to claim 1, characterized in that: Determining the highlighting level and highlighting area for highlighting each target object in the environment image according to the target detection result information of each target object includes: Determining whether each target object needs to be highlighted according to the target detection result information of each target object in the environment image; According to the target detection result information of each target object that needs to be highlighted, a highlighting level and a highlighting area for highlighting each target object that needs to be highlighted in the environment image are determined.

12. A target highlighting device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program executable by the processor, and when the computer program is executed by the processor, the target highlighting method according to any one of claims 1 to 11 is implemented.

13. A driving assistance system, characterized in that: Including environmental image acquisition equipment, processor and display equipment; The environmental image acquisition device is used to acquire an environmental image of the vehicle's driving environment and send the environmental image to the processor; The processor implements the target highlighting method according to any one of claims 1 to 11 when executing the computer program; The display device is connected to the processor and is used for displaying the target highlighting environment image obtained by the processor.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the target highlighting method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Obstacle detection method and device, computer equipment and storage medium

    CN112417967A

  • Infrared image processing method and device, equipment and storage medium

    CN115170792A

  • Scene object highlighting method and device, electronic equipment and storage medium

    CN115619919A

  • Target highlighting method and device, equipment, system and medium

    CN116468635A

  • Information processing device and recognition support method

    WO2016031190A1