Method and device for determining sensing result, medium and equipment

By combining images from wide-angle cameras and narrow-angle cameras, and using perception task models with different distance ranges, the problem of high computing power and low recall rate of distant objects in the advanced assisted driving system is solved, and the detection of objects within the full distance range is achieved. Accurate recall and low-computation deployment of models.

CN118711152APending Publication Date: 2024-09-27BEIJING HORIZON INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410841256.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In advanced assisted driving systems, multi-scale feature extraction based on high-resolution images results in high computing power of the perception task model and low recall rate of distant objects.

Method used

By combining images collected by wide-angle cameras and narrow-angle cameras, and using perception task models of different distance ranges, object perception in various distance ranges is achieved, reducing the need for multi-scale feature extraction of high-resolution images, thereby reducing the computing power of the perception task model. .

Benefits of technology

It improves the recall rate of distant objects, reduces the computational complexity of the perception task model, and facilitates the deployment of the model on the terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118711152A
    Figure CN118711152A
Patent Text Reader

Abstract

The embodiment of the invention discloses a method and device for determining a perception result, a medium and equipment, and the method comprises the steps: determining a first image collected by a wide-angle camera and a second image collected by a narrow-angle camera; the field angle of the narrow-angle camera is smaller than that of the wide-angle camera; based on the first image, the second image and a sensing task model corresponding to at least one distance range, determining a first sensing result corresponding to each distance range; and determining a target sensing result based on the first sensing result corresponding to each distance range. According to the embodiment of the invention, the recall rate of the long-distance object can be greatly improved on the basis of ensuring the recall rate of the short-distance object. Moreover, object perception in different distance ranges is realized through the perception task models in different distance ranges, and multi-scale feature extraction of a high-resolution image is not depended on, so that the computing power of the perception task models is effectively reduced, and the models are convenient to deploy at a terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to computer vision technology, and more particularly to a method, apparatus, medium and device for determining perception results. Background Art

[0002] In advanced driver assistance systems, it is usually necessary to identify objects at various distances in front of the vehicle. In related technologies, multi-scale feature extraction is usually performed based on high-resolution images, and objects at different distances are identified based on multi-scale features. However, multi-scale feature extraction and object recognition easily lead to large computing power of the perception task model, which is not conducive to the deployment of the model on the vehicle terminal, and the recall rate of distant objects is low. Summary of the invention

[0003] The embodiments of the present disclosure provide a method, apparatus, medium and device for determining perception results, which can reduce the computing power of the perception task model and improve the recall rate of distant objects.

[0004] A first aspect of the present disclosure provides a method for determining a perception result, including: determining a first image captured by a wide-angle camera and a second image captured by a narrow-angle camera; the field of view of the narrow-angle camera is smaller than the field of view of the wide-angle camera; based on the first image, the second image and a perception task model corresponding to at least one distance range, determining a first perception result corresponding to each of the distance ranges; based on the first perception results corresponding to each of the distance ranges, determining a target perception result.

[0005] A second aspect of the present disclosure provides a device for determining a perception result, comprising: a first determination module, used to determine a first image captured by a wide-angle camera and a second image captured by a narrow-angle camera; the field of view of the narrow-angle camera is smaller than the field of view of the wide-angle camera; a first processing module, used to determine a first perception result corresponding to each distance range based on the first image, the second image and a perception task model corresponding to at least one distance range; and a second processing module, used to determine a target perception result based on the first perception result corresponding to each distance range.

[0006] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method for determining a perception result described in any of the above embodiments of the present disclosure.

[0007] The fourth aspect of the present disclosure provides an electronic device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the method for determining perception results described in any of the above embodiments of the present disclosure.

[0008] A fifth aspect of the present disclosure provides a computer program product. When instructions in the computer program product are executed by a processor, the method for determining a perception result provided in any of the above embodiments of the present disclosure is performed.

[0009] The method, device, medium and equipment for determining the perception result provided by the above-mentioned embodiments of the present disclosure can realize the perception of objects in each distance range based on the wide-angle image (first image) collected by the wide-angle camera and the narrow-angle image (second image) collected by the narrow-angle camera, combined with the perception task models of different distance ranges, to obtain the first perception results corresponding to each distance range, and then combine the first perception results of each distance range to determine the target perception result. Since the wide-angle camera has a higher perception accuracy for close objects, and the narrow-angle camera has a higher perception accuracy for distant objects, the wide-angle image and the narrow-angle image can cover objects in the full range of close and distant distances, and then combined with the perception task models of different distance ranges, the accurate recall of objects in the full range of distances can be realized, and the recall rate of distant objects can be greatly improved on the basis of ensuring the recall rate of close objects. In addition, the perception of objects in different distance ranges can be realized by the perception task models of different distance ranges, which does not rely on the multi-scale feature extraction of high-resolution images, thereby effectively reducing the computing power of the perception task model and facilitating the deployment of the model on the terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is an exemplary application scenario of the method for determining a perception result provided by the present disclosure;

[0011] Figure 2 is a flowchart of a method for determining a perception result provided by an exemplary embodiment of the present disclosure;

[0012] Figure 3 is a flowchart of a method for determining a perception result provided by another exemplary embodiment of the present disclosure;

[0013] Figure 4 is a flowchart of a method for determining a perception result provided by yet another exemplary embodiment of the present disclosure;

[0014] Figure 5 is a flowchart of a method for determining a perception result provided by another exemplary embodiment of the present disclosure;

[0015] Figure 6 is a flowchart of a method for determining a perception result provided by yet another exemplary embodiment of the present disclosure;

[0016] Figure 7 is a flowchart of determining a perception result provided by an exemplary embodiment of the present disclosure;

[0017] Figure 8 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model D provided by an exemplary embodiment of the present disclosure;

[0018] Fig. 9 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model E provided by an exemplary embodiment of the present disclosure;

[0019] Fig.10 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model F provided by an exemplary embodiment of the present disclosure;

[0020] Fig.11 is a structural schematic diagram of an apparatus for determining a perception result provided by an exemplary embodiment of the present disclosure;

[0021] Fig.12 is a structural schematic diagram of an apparatus for determining a perception result provided by another exemplary embodiment of the present disclosure;

[0022] Fig.13 is a structural schematic diagram of an apparatus for determining a perception result provided by yet another exemplary embodiment of the present disclosure;

[0023] Fig.14 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.

[0025] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0026] SUMMARY OF THE DISCLOSURE

[0027] In the process of realizing the present disclosure, the inventors found that in advanced driver assistance systems, it is usually necessary to identify objects at various distances in front of the vehicle. In the related art, multi-scale feature extraction is usually performed based on high-resolution images, and objects in various distance segments are identified based on multi-scale features. However, multi-scale feature extraction and object recognition based on high-resolution images easily lead to a complex network structure of the perception task model, which makes the computing power of the perception task model relatively large, and is not conducive to the deployment of the model on the vehicle terminal. In addition, the images on which the related art is based are usually wide-angle images captured by cameras with a large field of view. Wide-angle images have a higher recall rate for close objects, but a lower recall rate for objects at a long distance.

[0028] Exemplary Overview

[0029] Figure 1 This is an exemplary application scenario of the method for determining the perception result provided by the present disclosure. Figure 1 As shown, when the vehicle 11 is driving on the road, the wide-angle camera 12 on the vehicle 11 can collect a wide-angle image (referred to as the first image) in front of the vehicle 11, and the narrow-angle camera 13 can collect a narrow-angle image (referred to as the second image) in front of the vehicle 11. The field of view (FOV) of the wide-angle camera 12 is greater than that of the narrow-angle camera 13, that is, FOV1 in the figure is greater than FOV2. For example, FOV1 can be 120 degrees, and FOV2 can be 30 degrees. The wide-angle camera 12 and the narrow-angle camera 13 have overlapping coverage areas, so that the narrow-angle camera 13 can be used as an auxiliary to the wide-angle camera 12 to improve the recall rate of distant objects. The objects to be perceived may include, but are not limited to, the curb 14 in front of the vehicle 11, the lane line 15, other vehicles 16, other objects 17, and the like. Other objects 17 may include, for example, pedestrians, cyclists, traffic lights, signs, cones, ground arrows, zebra crossings, stop lines, and the like. By using the method for determining the perception result of the present disclosure, when determining the first image captured by the wide-angle camera 12 and the second image captured by the narrow-angle camera 13, the first perception result corresponding to each distance range can be determined based on the first image, the second image and the perception task model corresponding to at least one distance range, and the target perception result can be determined based on the first perception result corresponding to each distance range. Since the wide-angle camera 12 has a high perception accuracy for close objects, and the narrow-angle camera has a high perception accuracy for long-distance objects, the wide-angle image and the narrow-angle image can cover objects in the full range of close and long distances, and then combined with the perception task models of different distance ranges, the accurate recall of objects in the full range of distances can be achieved, and the recall rate of long-distance objects can be greatly improved on the basis of ensuring the recall rate of close objects. In addition, by realizing the perception of objects in different distance ranges through the perception task models of different distance ranges, it is not necessary to rely on the multi-scale feature extraction of high-resolution images, thereby effectively reducing the computing power of the perception task model and facilitating the deployment of the model in the terminal. The method for determining the perception result of the present disclosure is not limited to the field or scene of intelligent driving, but can also be applied to other fields or scenes, such as the field of security monitoring.

[0030] Exemplary Methods

[0031] Figure 2 is a flow chart of a method for determining a perception result provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as a vehicle-mounted computing platform, such as Figure 2 As shown, the following steps are included:

[0032] Step 201: determine a first image captured by a wide-angle camera and a second image captured by a narrow-angle camera.

[0033] The field of view of the narrow-angle camera is smaller than that of the wide-angle camera. Figure 1 As shown. The viewing angles of the wide-angle camera and the narrow-angle camera have overlapping areas. For example, both the wide-angle camera and the narrow-angle camera are front-view cameras, which are used to perceive objects in front of the vehicle. The objects may include curbs, lane lines, other vehicles, pedestrians, cyclists, traffic lights, signs, ground signs, etc. The first image captured by the wide-angle camera is the image corresponding to the visual range of the wide-angle camera, that is, the wide-angle image. The second image captured by the narrow-angle camera is the image corresponding to the visual range of the narrow-angle camera, that is, the narrow-angle image.

[0034] Step 202: Determine first perception results corresponding to each distance range based on the first image, the second image, and a perception task model corresponding to at least one distance range.

[0035] Among them, at least one distance range may include one or more distance ranges. Each distance range may correspond to one or more perception task models. That is, the number of perception task models corresponding to each distance range may be one or more. By performing object perception processing through the perception task models corresponding to different distance ranges, the first perception results corresponding to each distance range may be obtained. The first perception result may include perception results corresponding to one or more types of objects. The number of objects of each type may be 1 or more. The perception results corresponding to each type of object may include the perception results of each object of that type. The perception results of each object may include target detection results, semantic segmentation results, etc. The task types included in the specific perception results can be set according to actual needs, and the embodiments of the present disclosure are not limited.

[0036] In some optional embodiments, in order to cover the full range of distances in front of the vehicle, at least one distance range generally includes multiple distance ranges. For example, for a first image with a wide angle, a perception task model of at least one distance range (referred to as a first distance range) may be set. For a second image with a narrow angle, a perception task model of at least one distance range (referred to as a second distance range) may be set.

[0037] In some optional embodiments, any distance range may include distance ranges corresponding to one or more objects. For example, taking a wide-angle camera as an example, the distance range a corresponds to the perception task model A. If the perception task model A is a multi-task perception model that can perceive multiple objects at the same time, the effective perception distance range of the perception task model A for different objects is different, and the distance range a includes the distance ranges of different objects. For example, for vehicles (other vehicles around the vehicle), the perception task model A can effectively perceive other vehicles within a range of 0 to 55 meters; for pedestrians or cyclists, the perception task model A can effectively perceive pedestrians or cyclists within a range of 0 to 21 meters; for traffic lights, the perception task model A can effectively perceive traffic lights within a range of 0 to 28 meters; and so on. That is, the distance range a includes the range of 0 to 55 meters for other vehicles, the range of 0 to 21 meters for pedestrians or cyclists, and the range of 0 to 28 meters for traffic lights. For another example, the perception task model B can effectively perceive other vehicles within a range of 55 to 110 meters, pedestrians or cyclists within a range of 21 to 43 meters, traffic lights within a range of 28 to 57 meters, and so on. Perception task model C can effectively perceive other vehicles within a range of 110 to 220 meters, pedestrians or cyclists within a range of 43 to 87 meters, traffic lights within a range of 57 to 114 meters, etc. In short, a perception task model can have different effective perception distance ranges for different types of objects, and for one type of object, multiple perception task models can be used to cover effective perception of multiple distance ranges, so that the perception task models of different distance ranges corresponding to wide-angle images and narrow-angle images can be combined to achieve object perception recall of the full distance range, greatly improving the perception recall rate and perception accuracy of distant objects while ensuring the perception recall rate and perception accuracy of close-range objects.

[0038] Step 203: Determine the target perception result based on the first perception results corresponding to each distance range.

[0039] Among them, after obtaining the first perception results corresponding to each distance range, the first perception results corresponding to each distance range can be combined to determine the target perception result. For example, the vehicle's forward-looking wide-angle perception result and the forward-looking narrow-angle perception result are combined to obtain the vehicle's forward-looking perception result, so that the target perception result can include the perception results of all objects within the full distance range. The full distance range refers to the entire distance range covered by the wide-angle image and the narrow-angle image. The distance can refer to the longitudinal distance from the camera (wide-angle camera or narrow-angle camera). In the vehicle forward-looking perception scene, the distance can refer to the longitudinal distance from the vehicle.

[0040] The method for determining the perception result provided in this embodiment can realize the perception of objects in each distance range based on the wide-angle image collected by the wide-angle camera and the narrow-angle image collected by the narrow-angle camera, combined with the perception task models of different distance ranges, and obtain the first perception results corresponding to each distance range, and then combine the first perception results of each distance range to determine the target perception result. Since the wide-angle camera has a higher perception accuracy for close-range objects, and the narrow-angle camera has a higher perception accuracy for distant objects, the wide-angle image and the narrow-angle image can cover objects in the full range of close and distant distances, and then combined with the perception task models of different distance ranges, the accurate recall of objects in the full range of distances can be realized, and the recall rate of distant objects can be greatly improved on the basis of ensuring the recall rate of close-range objects. In addition, the perception of objects in different distance ranges can be realized through the perception task models of different distance ranges, which does not rely on the multi-scale feature extraction of high-resolution images, thereby effectively reducing the computing power of the perception task model and facilitating the deployment of the model on the terminal.

[0041] Figure 3 It is a flowchart of a method for determining a perception result provided by another exemplary embodiment of the present disclosure.

[0042] In some optional embodiments, in the above Figure 2 Based on the embodiment shown, Figure 3 As shown, step 202 of determining the first perception results corresponding to each distance range based on the first image, the second image and the perception task model corresponding to at least one distance range may specifically include the following steps:

[0043] Step 2021: Determine wide-angle perception results corresponding to each first distance range based on the first image and at least one perception task model of the first distance range corresponding to the first image.

[0044] Among them, each first distance range may include distance ranges corresponding to one or more objects. Various first distance ranges and corresponding perception task models can be set according to the effective perception distance range of the wide-angle camera. For the same type of object, multiple first distance ranges correspond to different longitudinal distance ranges of the type of object relative to the vehicle. For example, the above-mentioned 0 to 55 meter range, 55 to 110 meter range, and 110 to 220 meter range of other vehicles can be effectively perceived and recalled by the three perception task models of the first distance ranges, so as to cover the effective recall of other vehicles in the range of 0 to 220 meters. The wide-angle effective perception range of different types of objects may be different. For example, for pedestrians or cyclists, the effective perception recall of pedestrians or cyclists in the range of 0 to 87 meters is covered by the range of 0 to 21 meters, the range of 21 to 43 meters, and the range of 43 to 87 meters. This is mainly related to the correlation between the size (dimension), distance, and minimum pixel required to be perceived in the image of different types of objects. For example, for the same camera, at the same distance, the larger the object, the easier it is to be perceived and recalled, while the smaller the object, the less likely it is to be perceived and recalled. In practical applications, multiple first distance ranges and perception task models corresponding to various first distance ranges can be set according to the performance parameters, distance, and actual physical size of the object of the camera. The wide-angle perception result corresponding to each first distance range includes the perception result of each object perceived by the perception task model of the first distance range from the input image.

[0045] In some optional embodiments, for any perception task model corresponding to the first distance range, the first image can be used as the input image of the perception task model, that is, the first image is perceptually processed through the perception task model to obtain a wide-angle perception result corresponding to the first distance range.

[0046] In some optional embodiments, for any perception task model corresponding to the first distance range, the first image can be preprocessed, and the preprocessed image can be used as the input image of the perception task model. The preprocessing can include at least one of a scale transformation process, a cropping process, etc. The scale transformation process can be implemented by downsampling (down sampling) processing, that is, the first image is downsampled to obtain a lower scale image, such as 1 / 2 scale, 1 / 4 scale, 1 / 8 scale, etc., to reduce the size of the input image of the perception task model and improve the perception processing efficiency. The cropping process can be implemented by setting cropping parameters according to the effective distance range covered by different perception task models. For example, if the perception task model needs to cover a distance range of 0 to 55, then the corresponding area can be cropped from the first image according to the area occupied by the distance range of 0 to 55 in the first image as the input image of the perception task model. On the one hand, the effectiveness of the input image can be improved, which helps to improve the accuracy and perception accuracy of the model perception results. On the other hand, the size of the input image can be further reduced, the amount of calculation of the perception task model can be reduced, and the perception processing efficiency can be further improved.

[0047] Step 2022: Determine narrow-angle perception results corresponding to each second distance range based on the second image and the perception task model of at least one second distance range corresponding to the second image.

[0048] Among them, each second distance range may include distance ranges corresponding to one or more objects. For objects of the same type, at least some sub-ranges in the second distance range cover distances greater than the distances covered by the first distance range. That is, the second distance range can have an overall distance greater than the distance in the first distance range, or it can have a partial overlapping range with the first distance range. For example, for objects such as other vehicles, the farthest first distance range of the wide angle is 110 meters to 220 meters, then at least one second distance range may include a range of 134 meters to 551 meters or a range of 220 meters to 551 meters.

[0049] In some optional embodiments, at least one second distance range may include one or more second distance ranges. For example, taking other vehicles as an example, one second distance range may include a range of 134 meters to 300 meters of other vehicles, and another second distance range may include a range of 300 meters to 600 meters of other vehicles. The number of types of second distance ranges may be set according to actual perception requirements, and is not limited in the embodiments of the present disclosure.

[0050] Step 2023: Determine the first perception results corresponding to each distance range based on the wide-angle perception results corresponding to each first distance range and the narrow-angle perception results corresponding to each second distance range.

[0051] After obtaining the wide-angle perception results corresponding to each first distance range and the narrow-angle perception results corresponding to each second distance range, the perception result of each distance range can be used as the first perception result corresponding to the distance range. For example, the wide-angle perception result corresponding to each first distance range is used as the first perception result corresponding to the first distance range, and the narrow-angle perception result corresponding to each second distance range is used as the first perception result corresponding to the second distance range.

[0052] In this embodiment, for the wide-angle camera, at least one perception task model of the first distance range is used to cover the object perception recall of the effective perception range of the wide angle, and for the narrow-angle camera, at least one perception task model of the second distance range is used to effectively perceive distant objects. As a supplement to the wide-angle perception results, on the one hand, the perception recall rate of distant objects can be effectively improved. On the other hand, object perception of different distance ranges can be obtained through multiple perception task models, which does not rely on multi-scale feature extraction of high-resolution images, thereby greatly reducing the network structure complexity of the perception task model, reducing the computing power requirements of the model, and facilitating the deployment of the model on the terminal.

[0053] Figure 4 It is a flowchart of a method for determining a perception result provided by yet another exemplary embodiment of the present disclosure.

[0054] In some optional embodiments, in the above Figure 3 Based on the embodiment shown, Figure 4 As shown, step 2021 of determining the wide-angle perception results corresponding to each first distance range based on the first image and the perception task model of at least one first distance range corresponding to the first image may include:

[0055] Step 20211: Based on the first image, determine a third image of multiple scales corresponding to the first image.

[0056] Among them, multiple scales may refer to multiple different resolutions. That is, different scales correspond to different resolutions. The third image of multiple scales may include at least two of the first image of the original scale (which may also be expressed as 1 / 1 scale), the 1 / 2 scale image of the first image, the 1 / 4 scale image of the first image, the 1 / 8 scale image of the first image, etc. The 1 / 2 scale image of the first image refers to an image whose height and width are both 1 / 2 of the first image, the 1 / 4 scale image of the first image refers to an image whose height and width are both 1 / 4 of the first image, and the 1 / 8 scale image of the first image refers to an image whose height and width are both 1 / 8 of the first image. Taking the 1 / 4 scale image as an example, the resolution of the first image is expressed as H*W, then the 1 / 4 scale image of the first image is (H / 4)*(W / 4). Exemplarily, if the resolution of the first image is 2160*3840, then the resolution of the 1 / 4 scale image of the first image is 540*960.

[0057] In some optional embodiments, third images of other scales among the third images of multiple scales except the original-scale image may be obtained by downsampling the first image or performing any other processing, which is not specifically limited.

[0058] Step 20212: Determine wide-angle perception results corresponding to each first distance range based on the third images of each scale and the perception task models corresponding to each first distance range.

[0059] Among them, the perception task models corresponding to different first distance ranges can use third images of different scales. Images of different scales of the same image can contain features of different levels of the object, and the same scale image has different perception effects on objects of different sizes. For example, the larger the scale, the greater the resolution, the clearer the object in the image, and vice versa. Based on this, the scale corresponding to each perception task model can be set in combination with the computing power requirements of the model and the perception of objects within the distance range that the model needs to cover. For example, for the perception task model of the close range, since objects in the close range usually occupy a larger area in the image, even with a smaller scale image, the corresponding object can be effectively recalled. Therefore, considering the computing power requirements of the perception task model, for the perception task model of the close range, a smaller scale image can be sampled as the input image to reduce the amount of model calculation.

[0060] This embodiment realizes object perception in each first distance range through images of multiple scales corresponding to the first image and perception task models of different first distance ranges. The perception task models of different first distance ranges can use images of different scales as input images. Since the scale of the input image of the perception task model is reduced, the computational complexity of the perception task model can be reduced, thereby further improving the model perception efficiency.

[0061] In some optional embodiments, determining the wide-angle perception results corresponding to each first distance range based on the third images of each scale and the perception task models corresponding to each first distance range in step 20212 may include:

[0062] Taking any first distance range as the target distance range, determining the target scale and cropping parameters corresponding to the target distance range; different cropping parameters correspond to different distance ranges; determining the first target image from each third image based on the target scale; determining the fourth image based on the cropping parameters and the first target image; perceptually processing the fourth image based on the perception task model corresponding to the target distance range, and obtaining a wide-angle perception result corresponding to the target distance range.

[0063] Among them, the target scale (which may be referred to as the first target scale to distinguish it from the target scale in the narrow angle case) corresponding to the target distance range (which may be referred to as the first target scale to distinguish it from the target scale in the narrow angle case) refers to the scale of the third image required for the input image of the perception task model corresponding to the target distance range, that is, the third image of the target scale among multiple scales is used to determine the input image of the perception task model of the target distance range. For example, the third image of the target scale is used as the input image of the perception task model of the target distance range, or the third image of the target scale is cropped and the cropped area is used as the input image. The cropping parameters corresponding to the target distance range are the parameters required for cropping the third image of the target scale. The cropping parameters corresponding to the target distance range may include parameters for determining the cropping area, for example, parameters for determining the boundary of the cropping area. Different cropping parameters correspond to different distance ranges. The specific correspondence relationship can be set and stored in advance according to the size of the area occupied by the actual distance range in the image. For the wide-angle perception result corresponding to the target distance range, since it is the perception result obtained based on the perception of the wide-angle image, it is called the wide-angle perception result.

[0064] In some optional embodiments, a target scale corresponding to each first distance range may be set in advance, and a correspondence between each first distance range and the target scale may be stored. When in use, the target scale corresponding to the target distance range may be determined according to the correspondence. For example, the target scale corresponding to the first distance range a is 1 / 4 scale, the target scale corresponding to the first distance range b is 1 / 2 scale, the target scale corresponding to the first distance range c is 1 / 1 scale, and so on.

[0065] In some optional embodiments, after determining the target scale and cropping parameters corresponding to the target distance range, the first target image may be determined from each third image based on the target scale, that is, a third image of the same scale as the target scale among the third images of multiple scales is used as the first target image. For example, if the target scale is 1 / 2 scale, the third image of 1 / 2 scale is used as the first target image.

[0066] In some optional embodiments, the first target image may be cropped based on cropping parameters to obtain the fourth image.

[0067] In some optional embodiments, the perception task model corresponding to the target distance range may be a multi-task perception model, a single-task perception model, etc., and the specific perception task model is not limited. A multi-task perception model refers to a model that can simultaneously realize the perception of multiple objects and / or multiple perception results. For example, the multiple objects may include at least two of the following objects: curbs, lane lines, other vehicles, cyclists, pedestrians, traffic lights, cones, etc. The multiple perception results may include, for example, target detection results, semantic segmentation results, etc.

[0068] This embodiment obtains the input image of the perception task model by downscaling and cropping the first image, which can greatly reduce the amount of data of the input image, thereby effectively reducing the amount of model calculation, helping to further improve the perception processing efficiency, and further facilitating the deployment of the model on the terminal.

[0069] In some optional embodiments, in the above Figure 3 Based on the embodiment shown, Figure 4 As shown, step 2022 of determining the narrow-angle perception results corresponding to each second distance range based on the second image and the perception task model of at least one second distance range corresponding to the second image may include:

[0070] Step 20221: Based on the second image, determine a fifth image of multiple scales corresponding to the second image.

[0071] The fifth images of multiple scales may include at least two of the second image of the original scale, a 1 / 2 scale image of the second image, a 1 / 4 scale image of the second image, a 1 / 8 scale image of the second image, etc. The specific operation of determining the fifth images of multiple scales corresponding to the second image is similar to the third image in the above embodiment, and is not described in detail here.

[0072] Step 20222: Determine the narrow-angle perception results corresponding to each second distance range based on the fifth image of each scale and the perception task models corresponding to each second distance range.

[0073] Among them, the perception task models corresponding to different second distance ranges can use fifth images of different scales. Specifically, the scales corresponding to each second distance range can be determined based on the perception of objects in different second distance ranges by the narrow-angle camera, combined with the computing power requirements of the perception task model, and the effective perception distance range that the perception task model needs to cover. The operation of specifically determining the narrow-angle perception results corresponding to each second distance range is similar to the wide-angle perception results of the aforementioned embodiment, and will not be repeated here.

[0074] This embodiment realizes object perception in each second distance range through images of multiple scales corresponding to the second image and perception task models of different second distance ranges, so that the perception task models of different second distance ranges can use images of different scales as input images, effectively reducing the scale of the input image of the perception task model, thereby reducing the computational amount of the perception task model and further improving the model perception efficiency.

[0075] In some optional embodiments, step 20222 determines the narrow-angle perception results corresponding to each second distance range based on the fifth images of each scale and the perception task models corresponding to each second distance range, including: taking any second distance range as the target distance range, and determining the target scale and cropping parameters corresponding to the target distance range; different cropping parameters correspond to different distance ranges; determining the second target image from each fifth image based on the target scale; determining the sixth image based on the cropping parameters and the second target image; and perceptually processing the sixth image based on the perception task model corresponding to the target distance range to obtain the narrow-angle perception result corresponding to the target distance range.

[0076] Among them, the target scale (which may be referred to as the second target scale) corresponding to the target distance range (which may be referred to as the second target distance range) refers to the scale of the fifth image required for the input image of the perception task model corresponding to the target distance range, that is, the fifth image of the target scale among multiple scales is used to determine the input image of the perception task model of the target distance range. For example, the fifth image of the target scale is used as the input image of the perception task model of the target distance range, or the fifth image of the target scale is cropped and the cropped area is used as the input image. The cropping parameters corresponding to the target distance range are parameters required for cropping the fifth image of the target scale. The cropping parameters corresponding to the target distance range may include parameters for determining the cropping area, for example, parameters for determining the boundary of the cropping area. Different cropping parameters correspond to different second distance ranges. The specific correspondence relationship can be set and stored in advance according to the size of the area occupied by the actual second distance range in the image. For the narrow-angle perception result corresponding to the target distance range, since it is a perception result obtained based on perception of the narrow-angle image, it is called a narrow-angle perception result.

[0077] In some optional embodiments, a target scale corresponding to each second distance range may be set in advance, and a correspondence between each second distance range and the target scale may be stored. When in use, the target scale corresponding to the target distance range may be determined according to the correspondence. For example, the target scale corresponding to the second distance range g is 1 / 4 scale, the target scale corresponding to the second distance range h is 1 / 2 scale, the target scale corresponding to the second distance range t is 1 / 1 scale, and so on.

[0078] In some optional embodiments, after determining the target scale and cropping parameters corresponding to the target distance range, the second target image may be determined from each fifth image based on the target scale, that is, the fifth image of the same scale as the target scale among the fifth images of multiple scales is used as the second target image. For example, if the target scale is 1 / 2 scale, the fifth image of 1 / 2 scale is used as the second target image.

[0079] In some optional embodiments, the second target image may be cropped based on cropping parameters to obtain the sixth image.

[0080] In some optional embodiments, the perception task model corresponding to the target distance range may be a multi-task perception model, a single-task perception model, etc., and the specific perception task model is not limited.

[0081] This embodiment obtains the input image of the perception task model by downscaling and cropping the second image, which can greatly reduce the amount of data of the input image, thereby effectively reducing the amount of model calculation, helping to further improve the perception processing efficiency, and further facilitating the deployment of the model on the terminal.

[0082] Figure 5 It is a flowchart of a method for determining a perception result provided by yet another exemplary embodiment of the present disclosure.

[0083] In some optional embodiments, such as Figure 5 As shown, the method of the embodiment of the present disclosure may also include:

[0084] Step 301: determine a target fifth image of a first preset scale from fifth images of various scales.

[0085] Among them, the first preset scale can be set in advance according to the perception requirements of the preset object type. The preset object type can be any object type. For example, the preset object type can be a traffic light, a lane line, etc. Different preset object types can set the same or different first preset scales. Exemplarily, the preset object type is a traffic light, and the first preset scale is a 1 / 2 scale. Or the preset object type is a lane line, and the first preset scale is a 1 / 4 scale. This is only an exemplary description and is not a limitation of the embodiments of the present disclosure. The fifth image of the first preset scale in the fifth image of each scale is used as the target fifth image.

[0086] Step 302 : cropping the target fifth image based on preset cropping parameters of a preset object type to obtain a third target image.

[0087] Among them, the preset object type can be set according to the actual perception requirements. For example, the preset object type is a traffic light, a lane line, etc. The preset cropping parameters of the preset object type can be set according to the perception distance range requirements of the preset object type. For example, if the perception purpose of the preset object type is to improve the recall rate of long-distance objects, then the preset cropping parameters of the preset object type are capable of cropping the area corresponding to the long-distance range in the fifth image of the target. If the perception purpose of the preset object type is to supplement the problem of missed detection of close-range lane lines in the perception task model of the second distance range, then the preset cropping parameters are capable of cropping the area corresponding to the close-range range in the fifth image of the target. According to the preset cropping parameters of the preset object type, the corresponding area is cropped from the fifth image of the target as the third target image.

[0088] Step 303: Perform perception processing on the third target image based on the perception task model corresponding to the preset object type to obtain a narrow-angle perception result corresponding to the preset object type.

[0089] Among them, the perception task model corresponding to the preset object type is a model dedicated to perceiving objects of the preset object type. For example, the perception task model of the preset object type can be a narrow-angle lane line perception model for close-range lane line perception, a narrow-angle traffic light perception model for long-range traffic light perception, etc., without specific limitation. Based on the perception task model, the third target image is inferred, and the narrow-angle perception result corresponding to the preset object type is obtained according to the inference result. The narrow-angle perception result corresponding to the preset object type may, for example, include at least one perception result of the target detection result, semantic segmentation result, etc. of each perceived object of the preset object type.

[0090] In some optional embodiments, the number of preset object types may be one or more. For example, two preset object types, traffic lights and lane lines, may be set, and each preset object type has a corresponding perception task model for implementing the perception task of the corresponding preset type object.

[0091] Determining the target perception result based on the first perception results corresponding to each distance range in step 203 may include:

[0092] Step 2031: Determine a target perception result based on the first perception results corresponding to each distance range and the narrow-angle perception results corresponding to the preset object type.

[0093] Among them, the target perception result can be obtained by combining the first perception results corresponding to each distance range and the narrow-angle perception results corresponding to the preset object type.

[0094] In some optional embodiments, the first perception result of each distance range and the narrow-angle perception result corresponding to the preset object type may be fused to obtain a target perception result. The fusion process may include coordinate system conversion, deduplication of perception results of repeatedly perceived objects, aggregation of non-repeated objects, splicing and fusion of objects across distance ranges (i.e., an object exists in multiple distance ranges due to its large size, such as lane lines, curbs, etc.), etc. Among them, the purpose of the coordinate system conversion is to unify the wide-angle perception results and narrow-angle perception results into the same coordinate system for determining object matching and whether the object is repeatedly perceived. For repeatedly perceived objects, if the object is completely in the narrow-angle perception result, the narrow-angle perception result is used as the target perception result of the object, and the wide-angle perception result of the object is deleted.

[0095] In some optional embodiments, since the perception results of the perception task models with different distance ranges have clear distance segment divisions, deduplication is not required, and deduplication is performed on the perception results of the perception task models with overlapping distance ranges.

[0096] In some optional embodiments, if different perception task models perceive different objects, deduplication is not required. For example, if one perception task model perceives other vehicles, cyclists, and pedestrians, and another perception task model perceives curbs and lane lines, the perception results of these two perception task models do not need to be deduplicated. The specific fusion method can be set according to actual conditions and is not limited in the embodiments of the present disclosure.

[0097] This embodiment can set specific cropping parameters for specific object types to achieve object perception of specific object types, as a supplement to the narrow-angle perception results of the second distance range, to make up for the defects of the narrow-angle perception results, and to improve the effectiveness and reliability of the perception results. For example, through the narrow-angle traffic light perception task model, the narrow-angle cropped images of the long-distance range are perceived and processed to improve the recall rate of the long-distance traffic lights. Through the narrow-angle lane line perception task model, the narrow-angle cropped images of the close-range range are perceived and processed to make up for the defect that the narrow-angle perception results of the second distance range are prone to miss the close-range lane lines, and to improve the recall rate of the narrow-angle perception of the close-range lane lines.

[0098] In some optional embodiments, step 302 of cropping the target fifth image based on preset cropping parameters of a preset object type to obtain a third target image may include: determining the vanishing point pixel coordinates in the target fifth image; and cropping the target fifth image according to the preset cropping parameters with the vanishing point pixel coordinates as the center to obtain the third target image.

[0099] The vanishing point pixel coordinates in the target fifth image may be determined according to the calibration parameters of the narrow-angle camera. For example, the calibration parameters of the narrow-angle camera include the vanishing point pixel coordinates in the second image of the narrow-angle camera, and the vanishing point pixel coordinates in the target fifth image are determined according to the pixel mapping relationship between the target fifth image and the second image. Alternatively, the vanishing point pixel coordinates in the fifth image of each scale may be calculated and stored in advance according to the pixel mapping relationship between the second image and the fifth image of each scale and the calibrated vanishing point pixel coordinates, and then the vanishing point pixel coordinates in the target fifth image may be directly obtained from the storage area when in use. The preset cropping parameters may include the cropping amounts in the negative x direction, negative y direction, positive x direction, and positive y direction relative to the vanishing point pixel coordinates. For example, the preset cropping parameters may be expressed as [s1, s2, s3, s4], and the cropping area may be expressed as [xo-s1, yo-s2, xo+s3, yo+s4], or the preset cropping parameters may contain direction symbols, for example, s1=-450, then the cropping area may be expressed as [xo+s1, yo+s2, xo+s3, yo+s4]. The specific representation method of the preset cropping parameters is not limited.

[0100] In this embodiment, the image is cropped based on the vanishing point in the image according to the preset cropping parameters to obtain the input image of the corresponding perception task model. Since the vanishing point represents the visual intersection point of parallel lines, the distance range that can be covered by the cropping area can be effectively controlled based on the vanishing point and the cropping parameters, so that the cropped image can better meet the perception distance range requirements of the perception task model, improve the effectiveness of the input image of the perception task model, and thus improve the accuracy of the perception results of the perception task model and the recall rate of objects in the corresponding distance range.

[0101] Figure 6 It is a flowchart of a method for determining a perception result provided by yet another exemplary embodiment of the present disclosure.

[0102] In some optional embodiments, in the above Figure 2 Based on the illustrated embodiment, determining the target perception result based on the first perception results corresponding to each distance range in step 203 may include:

[0103] Step 203a, fusing the first perception results corresponding to each distance range to obtain a fusion result.

[0104] Step 203b: Determine the target perception result based on the fusion result.

[0105] The specific operation principles of step 203a and step 203b may refer to the aforementioned step 2031, except that the narrow-angle perception result of the preset object type may not be included in this embodiment.

[0106] In some optional embodiments, Figure 7 FIG. 1 is a flowchart of determining a perception result provided by an exemplary embodiment of the present disclosure. Figure 7 As shown, the wide-angle camera is a forward-looking wide-angle camera 41, *1 indicates that the number of wide-angle cameras is 1, and the narrow-angle camera is a forward-looking narrow-angle camera 42, and the number is also 1. The forward-looking wide-angle camera 41 acquires a first image. The first image is downsampled to obtain a third image of multiple scales, and the third images of multiple scales include a 1 / 2 scale image and a 1 / 4 scale image. The third images of multiple scales may also include the first image of the original scale. Perception task model A, perception task model B, and perception task model C are perception task models corresponding to distance range a, distance range b, and distance range c, respectively. Perception task model A, perception task model B, and perception task model C can all be multi-task models, that is, at least one perception result of each object in a plurality of different objects can be perceived simultaneously. Different objects include, for example, the rear of a car, a vehicle, a pedestrian, a cyclist, a sign, a traffic light, and a ground marker. At least one perception result may include, for example, a target detection result and a semantic segmentation result. Based on the cropping parameter 43, the corresponding area (i.e., the fourth image) is cropped from the 1 / 4 scale image, and the cropped area is perceived and processed by the perception task model A to obtain the wide-angle perception result corresponding to the distance range a. Based on the cropping parameter 44, the corresponding area (i.e., the fourth image) is cropped from the 1 / 2 scale image, and the cropped area is perceived and processed by the perception task model B to obtain the wide-angle perception result corresponding to the distance range B. Based on the cropping parameter 45, the corresponding area (i.e., the fourth image) is cropped from the first image of the original scale, and the cropped area is perceived and processed by the perception task model C to obtain the wide-angle perception result corresponding to the distance range c. The wide-angle perception results of each distance range are subjected to wide-angle perception fusion to obtain a wide-angle fusion result. Optionally, for the perception task model A, the 1 / 4 scale image may not be cropped, and the 1 / 4 scale image may be directly perceived and processed by the perception task model A to obtain the wide-angle perception result corresponding to the distance range a.

[0107] The forward-looking narrow-angle camera 42 acquires a second image, performs downsampling processing on the second image, and obtains a fifth image of multiple scales, wherein the fifth image of multiple scales includes a 1 / 2 scale image and a 1 / 4 scale image. Based on the cropping parameter 46, the corresponding area (i.e., the sixth image) is cropped from the 1 / 2 scale image, and the cropped area is subjected to perception processing by the perception task model D to obtain a narrow-angle perception result corresponding to the distance range d. The perception task model D is a perception task model corresponding to the distance range d. The perception task model D can be a multi-task model. The preset object types include traffic lights and lane lines. The traffic lights correspond to the perception task model E, and the lane lines correspond to the perception task model F. That is, the perception task model E is a single-task perception model for traffic lights, and the perception task model F is a single-task perception model for lane lines. Based on the cropping parameter 47, the corresponding area is cropped from the 1 / 4 scale image, and the cropped area is subjected to traffic light perception processing by the perception task model E to obtain a narrow-angle traffic light perception result. Based on the cropping parameter 48, the corresponding area is cropped from the 1 / 4 scale image, and the lane line perception processing is performed on the cropped area through the perception task model F to obtain the narrow-angle lane line perception result. The wide-angle fusion result, the narrow-angle perception result, the narrow-angle traffic light perception result, and the narrow-angle lane line perception result are fused to obtain the final target perception result. As shown in the figure, the target perception result includes the target detection result and the semantic segmentation result of each object. The target detection result may include a two-dimensional detection box of the object (such as the 2DBox of each object in the figure). The semantic segmentation result may include the probability that each pixel in the image belongs to the object, or the set of pixel points belonging to the object in the image, or the classification label of each pixel in the image belonging to each object. The specific perception result content is not limited. The segmentation LabelMap is the semantic segmentation result, which is expressed as a pixel classification label map. Each pixel can correspond to a classification label, indicating the object type to which the pixel belongs, that is, the LabelMap includes the semantic segmentation results corresponding to each perceived object. The front lane line LabelMap represents the semantic segmentation result of the lane line.

[0108] Among them, the cropping parameters corresponding to different perception task models can be different. That is, parameters 43 to 48 can be different parameters, so that the cropping area can better meet the perception requirements of the perception task model, such as covering different distance ranges, meeting the perception characteristics of traffic lights and lane lines, etc., which can improve the accuracy and precision of the perception results of the perception task model. Figure 7 This is only an exemplary embodiment of the present disclosure and is not limited to the actual application. Figure 7 Embodiments of the invention include, for example, Figure 7 For narrow-angle perception, only one distance range (i.e., distance range d) of the perception task model D is shown. In practical applications, multiple distance ranges can be set for narrow-angle perception. For another example, the image scale based on each perception task model is not limited to Figure 7 scale.

[0109] In some optional embodiments, the narrow-angle perception task model D can serve as a further enhancement of the forward wide-angle perception model, and can include 2D detection multi-tasks and semantic segmentation tasks for five types of objects: the entire vehicle, the rear of the vehicle, pedestrians, cyclists, and cones, as well as lane line semantic segmentation tasks.

[0110] In some optional embodiments, the distance ranges corresponding to the perception task models of each distance range are shown in Table 1 below:

[0111] Table 1

[0112]

[0113] The actual physical size refers to the actual size of the object. The effective perception distance range of each perception task model for different objects can be calculated based on the actual physical size of the object and the minimum pixel required for perception. Since the actual sizes of different objects may be different and the minimum pixels required for perception of different objects may be different, the effective perception distance range of the same perception task model for different objects may be different. Table 1 is only an exemplary range description. In actual applications, the distance range of the perception task model for different objects is not limited to the specific range in Table 1.

[0114] In some optional embodiments, perception task model D, perception task model E and perception task model F can use the same network structure to reduce model training costs. For example, vargnet can be used as the backbone network, and a U-shaped network (unet) can be used as the neck network. Of course, this is only a possible implementation method, not a limitation of the method of the embodiment of the present disclosure. In actual applications, each perception task model can also use a different network structure. The specific network structure is not limited to the above-mentioned vargnet and unet.

[0115] In some optional embodiments, Figure 7 Based on the embodiment shown, Figure 8 FIG. 1 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model D provided by an exemplary embodiment of the present disclosure. Figure 8As shown, the fifth images of multiple scales corresponding to the second image (i.e., the image pyramid) include the original scale (1 / 1 scale) image (H*W=2160*3840 is taken as an example in the figure, H represents the image height, and W represents the image width), 1 / 2 scale (i.e., the height and width are 1 / 2 of the original scale respectively) image, 1 / 4 scale (i.e., the height and width are 1 / 4 of the original scale respectively) image, and 1 / 8 scale (i.e., the height and width are 1 / 8 of the original scale respectively) image. The perception task model D is a narrow-angle multi-task perception model. The target scale corresponding to the distance range d is 1 / 2 scale, xoy represents the pixel coordinate system of the image, and the pixel coordinates of the vanishing point P are expressed as (xo, yo). With the vanishing point pixel coordinates (xo, yo) as the center, based on the cropping parameters [s1, s2, s3, s4] = [-704, -284, 540, 228] corresponding to the distance range d, the 1 / 2 scale image (i.e., the second target image) is cropped and expressed as [xo-704, yo-284, xo+540, yo+228] to obtain a sixth image of 512*1344. The sixth image is perceptually processed based on the perception task model D to obtain the narrow-angle perception result corresponding to the distance range d. As a further supplement to the wide-angle model, the narrow-angle multi-task perception task model D has a longer perception distance and can effectively improve the recall rate of distant objects.

[0116] In some optional embodiments, Figure 7 Based on the embodiment shown, Fig. 9 FIG. 1 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model E provided by an exemplary embodiment of the present disclosure. Fig. 9 As shown in the figure, the perception task model E is a single-task perception model for narrow-angle traffic lights. According to the spatial domain perception range of traffic lights, combined with the computing power requirements and perception distance requirements of the perception task model, the first preset scale corresponding to the traffic light is set to 1 / 2 scale, and the corresponding preset cropping parameters are set to [s1, s2, s3, s4] = [704, 540, 540, 164]. The specific cropping principle is similar to Figure 8 Through the single-task perception of narrow-angle traffic lights, the perception recall rate of long-distance traffic lights can be greatly improved.

[0117] In some optional embodiments, Figure 7 Based on the embodiment shown, Fig.10 FIG. 1 is a schematic diagram of the cropping principle of an input image corresponding to a perception task model F provided by an exemplary embodiment of the present disclosure. Fig.10 As shown in the figure, the perception task model F is a lane line single-task perception model. The specific cutting principle is the same as above. Fig. 9The difference is that the first preset scale corresponding to the lane line is 1 / 4 scale, and the preset cropping parameters are [s1, s2, s3, s4] = [458, 4, 438, 188]. The details are not repeated here. The narrow-angle lane line single-task perception model (perception task model F) is used as a supplement to the narrow-angle multi-task perception model (perception task model D) to make up for the defect that the lane line is easily lost in the narrow-angle multi-task perception model, and improve the completeness and accuracy of the lane line perception results.

[0118] It should be noted that Figures 8 to 10 This is only an exemplary description. In actual applications, the cutting parameters can be set according to actual conditions and are not limited to the specific parameter values ​​in the figure.

[0119] The above-mentioned embodiments of the present disclosure may be implemented separately or in any combination without conflict. The specific configuration may be based on actual needs and the present disclosure does not limit this.

[0120] Any method for determining a perception result provided in the embodiments of the present disclosure may be performed by any appropriate device with data processing capabilities, including but not limited to: a terminal device and a server, etc. Alternatively, any method for determining a perception result provided in the embodiments of the present disclosure may be performed by a processor, such as the processor executing any method for determining a perception result mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0121] Exemplary Devices

[0122] Fig.11 is a schematic diagram of a structure of an apparatus for determining a perception result provided by an exemplary embodiment of the present disclosure. The apparatus of this embodiment can be used to implement the corresponding method embodiment of the present disclosure, such as Fig.11 The device shown may include: a first determining module 51 , a first processing module 52 , and a second processing module 53 .

[0123] The first determination module 51 is used to determine a first image captured by a wide-angle camera and a second image captured by a narrow-angle camera; the field of view of the narrow-angle camera is smaller than the field of view of the wide-angle camera.

[0124] The first processing module 52 is used to determine the first perception results corresponding to each distance range based on the first image, the second image and a perception task model corresponding to at least one distance range.

[0125] The second processing module 53 is used to determine the target perception result based on the first perception results corresponding to each of the distance ranges.

[0126] Fig.12 It is a structural diagram of an apparatus for determining a perception result provided by another exemplary embodiment of the present disclosure.

[0127] In some optional embodiments, in the above Fig.11 Based on the embodiment shown, Fig.12 As shown, the first processing module 52 may include: a first processing unit 521 , a second processing unit 522 and a third processing unit 523 .

[0128] The first processing unit 521 is used to determine the wide-angle perception results corresponding to each first distance range based on the first image and the perception task model of at least one first distance range corresponding to the first image.

[0129] The second processing unit 522 is configured to determine narrow-angle perception results corresponding to each second distance range based on the second image and the perception task model of at least one second distance range corresponding to the second image.

[0130] The third processing unit 523 is used to determine the first perception results corresponding to each distance range respectively based on the wide-angle perception results corresponding to each first distance range respectively and the narrow-angle perception results corresponding to each second distance range respectively.

[0131] In some optional embodiments, the first processing unit 521 can be specifically used to: determine, based on the first image, third images of multiple scales corresponding to the first image; and determine, based on the third images of each scale and the perception task models corresponding to each first distance range, wide-angle perception results corresponding to each first distance range.

[0132] In some optional embodiments, the first processing unit 521 can be specifically used to: take any first distance range as a target distance range, determine the target scale and cropping parameters corresponding to the target distance range; different cropping parameters correspond to different distance ranges; determine the first target image from each third image based on the target scale; determine the fourth image based on the cropping parameters and the first target image; perform perception processing on the fourth image based on the perception task model corresponding to the target distance range, and obtain a wide-angle perception result corresponding to the target distance range.

[0133] In some optional embodiments, the second processing unit 522 can be specifically used to: determine, based on the second image, fifth images of multiple scales corresponding to the second image; and determine, based on the fifth images of each scale and the perception task models corresponding to each second distance range, narrow-angle perception results corresponding to each second distance range.

[0134] In some optional embodiments, the second processing unit 522 can be specifically used to: take any second distance range as a target distance range, determine the target scale and cropping parameters corresponding to the target distance range; different cropping parameters correspond to different distance ranges; determine the second target image from each fifth image based on the target scale; determine the sixth image based on the cropping parameters and the second target image; perform perception processing on the sixth image based on the perception task model corresponding to the target distance range, and obtain a narrow-angle perception result corresponding to the target distance range.

[0135] In some optional embodiments, such as Fig.12 As shown, the device of the embodiment of the present disclosure may also include:

[0136] The fourth processing module 54 is configured to determine a target fifth image of a first preset scale from the fifth images of various scales.

[0137] The fifth processing module 55 is used to crop the target fifth image based on preset cropping parameters of a preset object type to obtain a third target image.

[0138] The sixth processing module 56 is used to perform perception processing on the third target image based on the perception task model corresponding to the preset object type, so as to obtain a narrow-angle perception result corresponding to the preset object type.

[0139] The second processing module 53 may include: a fourth processing unit 531, configured to determine a target perception result based on the first perception results corresponding to each distance range and the narrow-angle perception results corresponding to the preset object type.

[0140] In some optional embodiments, the fifth processing module 55 may be specifically used to: determine the vanishing point pixel coordinates in the target fifth image; and crop the target fifth image according to preset cropping parameters with the vanishing point pixel coordinates as the center to obtain a third target image.

[0141] Fig.13 It is a structural diagram of an apparatus for determining a perception result provided by yet another exemplary embodiment of the present disclosure.

[0142] In some optional embodiments, in the above Fig.11 Based on the illustrated embodiment, the second processing module 53 may include:

[0143] The fusion processing unit 53a is used to fuse the first perception results corresponding to each distance range to obtain a fusion result.

[0144] The determination unit 53b is used to determine the target perception result based on the fusion result.

[0145] The beneficial technical effects corresponding to the exemplary embodiment of the present device can be found in the corresponding beneficial technical effects of the above exemplary method section, which will not be repeated here.

[0146] Exemplary Electronic Devices

[0147] Fig.14 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure, including at least one processor 91 and a memory 92.

[0148] The processor 91 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 90 to perform desired functions.

[0149] The memory 92 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 91 may execute one or more computer program instructions to implement the methods and / or other desired functions of the various embodiments of the present disclosure described above.

[0150] In one example, the electronic device 90 may further include: an input device 93 and an output device 94 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0151] The input device 93 may also include, for example, a keyboard, a mouse, etc.

[0152] The output device 94 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and its connected remote output devices, etc.

[0153] Of course, to simplify, Fig.14 Only some of the components related to the present disclosure in the electronic device 90 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 90 may also include any other appropriate components.

[0154] Exemplary computer program products and computer-readable storage media

[0155] In addition to the above methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the methods of various embodiments of the present disclosure described in the above “Exemplary Methods” section.

[0156] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0157] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps in the method of various embodiments of the present disclosure described in the above “Exemplary Method” section.

[0158] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0159] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.

[0160] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A method for determining perceived results, include: Determine a first image captured by a wide-angle camera and a second image captured by a narrow-angle camera; The field of view of the narrow-angle camera is smaller than the field of view of the wide-angle camera; Determine, based on the first image, the second image, and a perception task model corresponding to at least one distance range, a first perception result corresponding to each of the distance ranges; The target perception result is determined based on the first perception results respectively corresponding to each of the distance ranges.

2. The method according to claim 1, in, The determining, based on the first image, the second image and the perception task model corresponding to at least one distance range, first perception results corresponding to each distance range respectively includes: Determine, based on the first image and the perception task model of at least one first distance range corresponding to the first image, wide-angle perception results corresponding to each of the first distance ranges; Determine, based on the second image and the perception task model of at least one second distance range corresponding to the second image, narrow-angle perception results corresponding to each of the second distance ranges; Based on the wide-angle perception results corresponding to each of the first distance ranges and the narrow-angle perception results corresponding to each of the second distance ranges, the first perception results corresponding to each of the distance ranges are determined.

3. The method according to claim 2, in, The determining, based on the first image and the perception task model of at least one first distance range corresponding to the first image, the wide-angle perception results corresponding to each of the first distance ranges respectively includes: Based on the first image, determining third images of multiple scales corresponding to the first image; Based on the third images of each scale and the perception task models respectively corresponding to each first distance range, the wide-angle perception results respectively corresponding to each first distance range are determined.

4. The method according to claim 3, in, The determining, based on the third images of the respective scales and the perception task models respectively corresponding to the respective first distance ranges, the wide-angle perception results respectively corresponding to the respective first distance ranges, comprises: Taking any of the first distance ranges as a target distance range, determining a target scale and a cutting parameter corresponding to the target distance range; different cutting parameters correspond to different distance ranges; determining a first target image from each of the third images based on the target scale; Determining a fourth image based on the cropping parameters and the first target image; The fourth image is subjected to perception processing based on the perception task model corresponding to the target distance range to obtain the wide-angle perception result corresponding to the target distance range.

5. The method according to claim 2, in, The determining, based on the second image and the perception task model of at least one second distance range corresponding to the second image, the narrow-angle perception results corresponding to each second distance range respectively includes: Based on the second image, determining fifth images of multiple scales corresponding to the second image; Based on the fifth images of each scale and the perception task models respectively corresponding to each second distance range, the narrow-angle perception results respectively corresponding to each second distance range are determined.

6. The method according to claim 5, in, The determining, based on the fifth image of each scale and the perception task model corresponding to each second distance range, the narrow-angle perception result corresponding to each second distance range, comprises: Taking any of the second distance ranges as a target distance range, determining a target scale and a cutting parameter corresponding to the target distance range; different cutting parameters correspond to different distance ranges; determining a second target image from each of the fifth images based on the target scale; determining a sixth image based on the cropping parameters and the second target image; The sixth image is subjected to perception processing based on the perception task model corresponding to the target distance range to obtain the narrow-angle perception result corresponding to the target distance range.

7. The method according to claim 5, in, The method further comprises: Determine a target fifth image of a first preset scale from the fifth images of each scale; Cropping the target fifth image based on preset cropping parameters of a preset object type to obtain a third target image; Performing perception processing on the third target image based on the perception task model corresponding to the preset object type to obtain a narrow-angle perception result corresponding to the preset object type; The determining the target perception result based on the first perception results respectively corresponding to the distance ranges includes: The target perception result is determined based on the first perception results corresponding to each of the distance ranges and the narrow-angle perception results corresponding to the preset object type.

8. The method according to claim 7, in, The step of cropping the target fifth image based on a preset cropping parameter of a preset object type to obtain a third target image includes: Determining pixel coordinates of a vanishing point in the fifth image of the target; The target fifth image is cropped according to the preset cropping parameters with the vanishing point pixel coordinates as the center to obtain the third target image.

9. The method according to any one of claims 1 to 8, in, The determining the target perception result based on the first perception results respectively corresponding to the distance ranges includes: Fusing the first sensing results corresponding to the distance ranges to obtain a fusion result; Based on the fusion result, the target perception result is determined.

10. A device for determining a perception result, include: A first determining module, used to determine a first image captured by the wide-angle camera and a second image captured by the narrow-angle camera; The field of view of the narrow-angle camera is smaller than the field of view of the wide-angle camera; A first processing module, configured to determine first perception results corresponding to each of the distance ranges based on the first image, the second image and a perception task model corresponding to at least one distance range; The second processing module is used to determine the target perception result based on the first perception results corresponding to each of the distance ranges.

11. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method according to any one of claims 1 to 9.

12. An electronic device, the electronic device include: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the method described in any one of claims 1 to 9.