Distance for obstacle detection in autonomous machine applications

By training a deep neural network using LIDAR and RADAR sensor data, and combining ground reality coding and camera adaptation algorithms, the problem of insufficient accuracy in distance detection on curved or uneven surfaces in traditional methods is solved, and the accuracy and safety of obstacle distance prediction under different camera parameters are achieved.

CN113454636BActive Publication Date: 2024-10-29NVIDIA CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980085815.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-27
Publication Date
2024-10-29
Estimated Expiration
2039-12-27

AI Technical Summary

Technical Problem

Traditional methods are not accurate enough when detecting the distance between a vehicle and environmental objects or obstacles on curved or uneven driving surfaces, leading to safety and reliability issues. Furthermore, deep neural networks are inaccurate in distance prediction when camera parameters change.

Method used

Deep neural networks are trained using LiDAR and RADAR sensor data, combined with ground reality coding, to generate accurate ground reality depth maps for obstacle distance prediction. Camera adaptation algorithms are used to overcome the internal feature variance of the camera model, and safety boundary calculations are applied to ensure that the distance is within a safe range.

Benefits of technology

Accurate and robust prediction of obstacle distances was achieved under various driving surface conditions, improving the safety and reliability of vehicle operation and reducing distance estimation errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113454636B_ABST
    Figure CN113454636B_ABST
Patent Text Reader

Abstract

In various examples, a deep neural network (DNN) is trained to accurately predict the distance between objects and obstacles in a deployment using only image data. The DNN can be trained using ground truth data generated and encoded using sensor data from any number of depth prediction sensors, such as but not limited to RADAR sensors, LIDAR sensors, and / or SONAR sensors. Camera adaptation algorithms can be used in various embodiments to adapt the DNN to image data generated with cameras having different parameters (e.g., changing fields of view). In some examples, post-processing safety boundary operations can be performed on the DNN's predictions to ensure that the predictions fall within a safely allowed range.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Being able to correctly detect the distance between a vehicle (e.g., an autonomous or semi-autonomous vehicle) and objects or obstacles in the environment is critical for safe operation of the vehicle. For example, accurate distance estimation of obstacles based on sensor data is central to longitudinal control tasks such as automatic cruise control (ACC) and automatic emergency braking (AEB) as well as lateral control tasks such as safe detection of lane changes and safe lane change execution.

[0002] Conventional methods for calculating the distance to an object or obstacle in the environment of a vehicle rely on the assumption that the ground plane or the earth is flat. Based on this assumption, two-dimensional (2D) information sources (such as 2D images) can be used to model three-dimensional (3D) information. For example, because the ground plane is assumed to be flat, traditional systems also assume that the bottom of the two-dimensional bounding box corresponding to the detected object is located on the ground plane. In this way, once an object is detected, and based on this plane assumption, simple geometry is used to calculate the distance of a given object or obstacle from the vehicle.

[0003] However, these conventional approaches suffer when the actual road surface defining the actual ground plane is curved or otherwise non-flat. For example, a curve in the driving surface results in an inaccurate prediction - e.g., an overestimation or underestimation - of the distance relative to objects or obstacles in the environment when the assumption that the ground plane is flat is applied is not actually the case. In either case, inaccurate distance estimates have direct negative consequences on various operations of the vehicle, potentially compromising the safety, performance and reliability of lateral and longitudinal control or warning related driving characteristics. As an example, an underestimated distance may result in a failure to engage ACC and, even more critically, a failure to engage AEB functionality to prevent a potential collision. Conversely, an overestimated distance may result in a failure to activate the ACC or AEB functionality when it is not needed, causing potential discomfort or injury to the occupants, while also reducing the occupants' confidence in the vehicle's ability to perform safely.

[0004] Another drawback of conventional systems is the reliance on uniformity between the cameras used during training and the cameras used in deployment. For example, because deep neural networks (DNNs) can learn from the scale of objects and the surrounding environment, limitations arise when the image data used during deployment is generated by cameras with different parameters than those used in training. For example, the scale of objects in the training image data may be different from the scale of objects in the deployed image data, resulting in inaccurate predictions by the DNN of the distance to objects or obstacles. These inaccurate predictions can lead to similar issues as above regarding the accuracy and effectiveness of the vehicle's various driving tasks. Summary of the invention

[0005] Embodiments of the present disclosure relate to distance to obstacle calculations in autonomous machine applications. Systems and methods are disclosed that use a deep neural network (DNN) trained with sensor data (e.g., LIDAR data, RADAR data, SONAR data, image data, etc.) to accurately and robustly predict distances to objects or obstacles in an environment. For example, by using sensor data rather than just image data for training the DNN, the DNN's predictions are accurate and reliable even for curved or otherwise uneven driving surfaces.

[0006] In contrast to conventional systems, such as those described above, a DNN may be trained using one or more depth sensors (e.g., a LIDAR sensor, a RADAR sensor, a SONAR sensor, etc.) to predict the distance of an object or obstacle in an environment using image data generated by one or more cameras of a vehicle. Thus, by utilizing the depth sensor for ground truth generation during training, the DNN may accurately predict the distance to an object or obstacle in an environment using only image data in deployment. In particular, reliance on RADAR data to aid ground truth generation may help train the DNN to estimate objects at greater distances, such as more than 50 meters from the vehicle. Additionally, because embodiments are not limited to flat ground estimation (a shortcoming of conventional systems), the DNN may be able to robustly predict distances regardless of the topology of the driving surface.

[0007] The ground truth data for the encoding pipeline can use sensor data from one or more depth sensors - automatically, without manual annotation, in an embodiment - to encode ground truth data corresponding to the training image data in order to train the DNN to make accurate predictions from the image data alone. As a result, the training bottleneck caused by manual labeling can be removed and the training period can be reduced. Additionally, in some embodiments, a camera adaptation algorithm can be used to overcome the variance of the internal features of the camera model, thereby allowing the DNN to perform accurately regardless of the camera model.

[0008] In some embodiments, as a result of potential noise in the DNN's predictions, safety margin calculations may be performed during post-processing to ensure that the calculated distance falls within a safe range of allowed values. For example, the shape of the driving surface and / or data corresponding to the enclosing shape of the object or obstacle may be used to determine an upper and / or lower distance limit. In this way, when the DNN's prediction is outside the safe range, the distance value may be limited to the upper or lower distance limit. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] A system and method for distance based obstacle detection in autonomous machine applications is described in detail below with reference to the accompanying drawings, wherein:

[0010] Figure 1is a data flow diagram of a process for training one or more machine learning models to predict distances of objects and / or obstacles in an environment according to some embodiments of the present disclosure;

[0011] Figure 2 is a data flow diagram for ground truth data encoding using sensor data according to some embodiments of the present disclosure;

[0012] Figure 3A is a visualization of ground truth data generated by one or more laser radar (LIDAR) sensors according to some embodiments of the present disclosure;

[0013] Figure 3B is a visualization of ground truth data generated by one or more radar (RADAR) sensors according to some embodiments of the present disclosure;

[0014] Figure 4 is an illustration of various calculations used in a camera adaptation algorithm according to some embodiments of the present disclosure;

[0015] Figure 5A including visualization of ground truth masks and depth map predictions of one or more machine learning models based on varying sensor parameters according to some embodiments of the present disclosure;

[0016] Figure 5B including illustrations of distortion maps and histograms of sensors with varying parameters according to some embodiments of the present disclosure;

[0017] Figure 6 is a flow chart illustrating a method for training one or more machine learning models to predict distances of objects and / or obstacles in an environment according to some embodiments of the present disclosure;

[0018] Figure 7 is a data flow diagram of a process for predicting distances of objects and / or obstacles in an environment using one or more machine learning models according to some embodiments of the present disclosure;

[0019] Figures 8A-8B is a visualization of object detection and depth prediction based on the output of one or more machine learning models according to some embodiments of the present disclosure;

[0020] Fig. 9 is a flow chart illustrating a method for predicting distances of objects and / or obstacles in an environment using one or more machine learning models according to some embodiments of the present disclosure;

[0021] Fig. 10A is a diagram illustrating the calculation of a safety margin for defining a distance prediction of one or more machine learning models according to some embodiments of the present disclosure;

[0022] Fig. 10B is a graph illustrating a maximum upward profile for safety margin calculation according to some embodiments of the present disclosure;

[0023] Fig. 10C is an illustration of a computationally secure boundary according to some embodiments of the present disclosure;

[0024] Fig. 10D is a graph illustrating a maximum downward profile of a safety margin calculation according to some embodiments of the present disclosure;

[0025] Fig.10E is a diagram of calculating a lower safety margin according to some embodiments of the present disclosure;

[0026] Fig.10F is an illustration of a seat belt pattern according to some embodiments of the present disclosure;

[0027] Fig.11 is a flow chart illustrating a method of safety boundary determination using road shape according to some embodiments of the present disclosure;

[0028] Fig.12 is an illustration of calculating a safety boundary using an enclosing shape corresponding to an object according to some embodiments of the present disclosure;

[0029] Fig.13 is a flow chart illustrating a method of safety boundary determination using enclosing shape characteristics according to some embodiments of the present disclosure;

[0030] Fig.14A is an illustration of an example autonomous vehicle according to some embodiments of the present disclosure;

[0031] Fig. 14B According to some embodiments of the present disclosure Fig.14A Examples of autonomous vehicle camera positions and fields of view;

[0032] Fig. 14C According to some embodiments of the present disclosure Fig.14A a block diagram of an example system architecture for an example autonomous vehicle;

[0033] Fig.14D is one or more cloud-based servers and Fig.14A An example of a communication system between autonomous vehicles; and

[0034] Fig.15 is a block diagram of an example computing device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0035] Systems and methods are disclosed that relate to distance for obstacle detection in autonomous machine applications. Although the present disclosure may be described with respect to an example autonomous vehicle 1400 (alternatively referred to herein as “vehicle 1400 ,” “ego vehicle 1400 ,” or “autonomous vehicle 1400 ”), the examples herein may also be referred to as Figures 14A-14D Description, but this is not limiting. For example, the systems and methods described herein can be used by, but not limited to, non-autonomous vehicles, semi-autonomous vehicles (e.g., in one or more adaptive driver assistance systems (ADAS)), robots, warehouse vehicles, off-road vehicles, spacecraft, boats, shuttles, emergency vehicles, motorcycles, electric or motorized bicycles, aircraft, construction vehicles, underwater vessels, drones, and / or other vehicle types. In addition, although the present disclosure may be described with respect to autonomous driving or ADAS systems, this is not limiting. For example, the systems and methods described herein can be used in simulated environments (e.g., to test the accuracy of machine learning models during simulation), in robotics, aerial systems, boating systems, and / or other technical fields, such as for perception, world model management, path planning, obstacle avoidance, and / or other processes.

[0036] Train one or more machine learning models for distance prediction

[0037] Reference now Figure 1 , Figure 1 is a data flow diagram of a process 100 for training one or more machine learning models to predict the distance of objects and / or obstacles in an environment according to some embodiments of the present disclosure. Process 100 may include generating and / or receiving sensor data 102 from one or more sensors of vehicle 1400. In a deployment, sensor data 102 may be used by vehicle 1400 within process 100 to predict the depth and / or distance of one or more objects or obstacles in the environment (e.g., other vehicles, pedestrians, static objects, etc.). For example, the predicted distance may represent a value in the "z" direction, which may be referred to as the depth direction. Sensor data 102 may include, but is not limited to, sensor data 102 from any sensor of vehicle 1400 (and / or other vehicles or objects, such as robotic devices, VR systems, AR systems, etc., in some examples). For example, referring to Figures 14A-14C, the sensor data 102 may include data generated by, but not limited to, one or more global navigation satellite system (GNSS) sensors 1458 (e.g., one or more global positioning system sensors), one or more RADAR sensors 1460, one or more ultrasonic sensors 1462, one or more LIDAR sensors 1464, one or more inertial measurement unit (IMU) sensors 1466 (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetic compasses, one or more magnetometers, etc.), one or more microphones 1496, one or more stereo cameras 1468, one or more wide-angle cameras 1470 (e.g., fisheye cameras), one or more infrared cameras 1472, one or more surround cameras 1474 (e.g., 360 degree cameras), one or more long-range and / or mid-range cameras 1498, one or more speed sensors 1444 (e.g., for measuring the speed of the vehicle 1400), and / or other sensor types. While primary reference is made to sensor data 102 corresponding to LIDAR data, RADAR data, and image data, this is not limiting and the sensor data 102 may alternatively or additionally be generated by any sensor of the vehicle 1400, another vehicle, and / or another system (e.g., a virtual vehicle in a simulated environment).

[0038] In some examples, sensor data 102 may include sensor data generated by one or more forward-facing sensors, side-view sensors, and / or rear-view sensors. The sensor data 102 may be used to identify, detect, classify, and / or track the movement of objects around vehicle 1400 in the environment. In embodiments, any number of sensors may be used in conjunction with multiple fields of view (e.g., Fig. 14B field of view of the remote camera 1498, the front stereo camera 1468 and / or the front wide-angle camera 1470) and / or the sensory field (e.g., LIDAR sensor 1464, RADAR sensor 1460, etc.).

[0039] In some embodiments, one or more machine learning models 104 may be trained to predict one or more distances 106 and / or one or more object detections 116 using only image data. For example, process 100 may be used to train one or more machine learning models 104 using images as input data to predict one or more distances 106 (or depth maps that may be converted to distances) and / or obstacles to one or more objects in an environment. Additionally, in some embodiments, one or more machine learning models 104 may be trained to essentially compute one or more object detections 116 (however, in some embodiments, one or more object detections may be computed by an object detector (e.g., an object detection algorithm, a computer vision algorithm, a neural network, etc.). However, in order to more efficiently train one or more machine learning models 104, additional data from sensor data 102 - such as LIDAR data, RADAR data, SONAR data, etc. - may be used to generate ground truth data corresponding to an image (e.g., via ground truth encoding 110). In return, the ground truth data can be used to improve the accuracy of one or more machine learning models 104 in predicting one or more distances 106 and / or one or more object detections 116 by leveraging the additional accuracy of the supplemental sensor data 102 (e.g., LIDAR data, RADAR data, SONAR data, etc.).

[0040] With respect to input to one or more machine learning models 104, the sensor data 102 may include image data representing one or more images and / or image data representing a video (e.g., a snapshot of a video). Where the sensor data 102 includes image data, any type of image data format may be used, such as, but not limited to, compressed images such as Joint Photographic Experts Group (JPEG) or Luma / Chrominance (YUV) formats, compressed images as frames from a compressed video format such as H.264 / Advanced Video Coding (AVC) or H.265 / High Efficiency Video Coding (HEVC), raw images such as originating from Red Clear Blue (RCCB), Red Clear (RCCC), or other types of imaging sensors and / or other formats. Additionally, in some examples, sensor data 102 may be used within process 100 without any preprocessing (e.g., in a raw or captured format), while in other examples, sensor data 102 may be preprocessed (e.g., noise balancing, demodulation, scaling, cropping, enhancement, white balancing, tone curve adjustment, etc., such as using a sensor data preprocessor (not shown). As used herein, sensor data 102 may refer to unprocessed sensor data, preprocessed sensor data, or a combination thereof.

[0041] As a non-limiting example, to generate ground truth data 104 for training one or more machine learning models, the ground truth data 104 may be generated based on Figure 2 The ground truth encoding 110 is performed by a process of ground truth encoding 110 of the sensor data 102. For example, sensor data 102 - such as image data representing one or more images - can be used by the object detector 214 to detect objects and / or obstacles represented by the image data. For example, humans, animals, vehicles, signs, poles, traffic lights, buildings, spacecraft, ships and / or other types of objects and / or obstacles can be detected by the object detector 214. The output of the object detector 214 can be the location of a bounding shape (e.g., a bounding box, rectangle, square, circle, polygon, etc.) corresponding to the object or obstacle represented by the image data. Once the bounding shape location and size are known with respect to a particular image, additional sensor data 102 - such as LIDAR data and / or RADAR data, as non-limiting examples - can be used to determine the distance of the object or obstacle corresponding to the corresponding bounding shape. In this way, it may be difficult to accurately determine the distance of an object or obstacle using only image data - or another two-dimensional representation - the additional sensor data 102 can be used to increase the accuracy of the prediction of the distance relative to the object or obstacle within the image.

[0042] In some embodiments, ground truth encoding 110 can occur automatically without manual and / or human marking or annotation. For example, because the conversion of the world space output from one or more LIDAR sensors, RADAR sensors, SONAR sensors, etc. to the image space output of one or more cameras may be known, and because the position and size of the enclosing shape within the image space are known, the distance (e.g., one or more LIDAR distances 216, one or more RADAR distances 218, etc.) can be automatically associated with objects and / or obstacles within the image. As an example, one or more distances to one or more objects in world space are determined to correspond to the image space region associated with the enclosing shape of the object, and the one or more distances can be associated with the object for the purpose of ground truth encoding 110. In some examples, a single distance value can be associated with each object, while in other examples, the distance of the corresponding object can vary based on the varying distance output of the LIDAR sensor, RADAR sensor, SONAR sensor, etc.

[0043] In some embodiments, one or more LIDAR distances 216 determined from LIDAR data generated by one or more LIDAR sensors 1464 may be used for ground truth encoding 110 of distances. For example, and with reference to Figure 3A, enclosing shapes 304A-304E corresponding to objects 306A-306E, respectively, may be generated by object detector 214 and associated with image 302. In addition, LIDAR data—generated by Figure 3A The LIDAR points 310 in the visualization of - may be associated with the image 302. For example, as described herein, the transformation between the world space positions of the LIDAR data and the corresponding image space positions may be known or determined using intrinsic and / or extrinsic parameters of the LIDAR sensor 1465 and / or the camera generating the image 302 (e.g., after calibration). Thus, because this relationship between world space and image space is known, and because the LIDAR data and image data may be captured substantially simultaneously, the LIDAR data range predictions may be associated with various objects 306 (or their corresponding bounding shapes 304) in the image 302.

[0044] Although the LIDAR points are shown only within the bounding shape 304, this is not intended to be limiting and is for illustration purposes only. In some examples, the LIDAR points may be generated to correspond to the entire image 302, or to additional or alternative portions of the image 302 instead of the image 302. Figure 3A Visualization shown.

[0045] In some embodiments, a cropped bounding shape 308 having a size equal to or smaller than the bounding shape 304 corresponding to the object may be generated for each object 306. For example, because the bounding shape 304 output by an object detector (e.g., an object detection neural network, a computer vision algorithm, or another object detection algorithm) may include additional portions of the environment that are not part of the object 306 or obstacle. As such, and in an effort to improve the accuracy of the coordination of the depth values ​​of the LIDAR data of the pixels of the image 302 corresponding to the object 306 or obstacle, the cropped bounding shape 308 may be created within the bounding shape 304.

[0046] In some examples, the size of the cropped bounding shape 308 can be determined based on the distance of the object 306 from the reference location (e.g., from the ego vehicle, from a camera, from a LIDAR sensor, etc.), such that the amount of cropping changes as the object moves away from the reference location. For example, as the distance of the object 306 increases, the amount of cropping, percentage (e.g., percentage of the bounding shape 304) or ratio (ratio of the size of the cropped bounding shape 308 to the cropped shape 304, or vice versa) may decrease, and vice versa. In such examples, there may be a calculated change in the amount, percentage, or ratio of cropping according to the distance (e.g., using one or more equations, curves, relationships, functions, etc.), or there may be regions where a particular distance region corresponds to a certain amount, percentage, or ratio of cropping. For example, in a first distance range of 0-10 meters, the cropping may be 50%, at 10-20 meters, the cropping may be 40%, at 20-40 meters, the cropping may be 35%, and so on.

[0047] In some embodiments, the size of the cropped enclosing shape 308 may determine different sides or edges of the cropped enclosing shape 308 differently. For example, the bottom cropping of the enclosing shape 304 used to generate the corresponding cropped enclosing shape 308 may be a different amount, percentage, or ratio from the top cropping, left cropping, and / or right cropping, and the top cropping of the enclosing shape 304 used to generate the corresponding cropped enclosing shape 308 may be a different amount, percentage, or ratio from the bottom cropping, left cropping, and / or right cropping. For example, the bottom cropping may be a set amount, percentage, or ratio for each cropped enclosing shape 308, while the top cropping may change based on some factor or variable (e.g., distance from a reference location, type of object, etc.), or vice versa. As a non-limiting example, the bottom cropping may always be 10%, while the top cropping may be in a range between 10% and 20%, where the values ​​within the range are determined based on some function of the distance of the object 306 from the reference location.

[0048] In at least one embodiment, LIDAR point 310 used to determine the distance of object 306 may be LIDAR point 310 corresponding to cropped bounding shape 308. As a result, in such embodiments, the likelihood that a depth or distance determined to correspond to object 306 actually corresponds to object 306 is increased. In other embodiments, LIDAR point 310 used to determine the distance of an object may be LIDAR point 310 corresponding to bounding shape 304 (and cropped bounding shape 304 may not be used or generated in such embodiments). The distance associated with each object 306 (10.21 meters (m) for object 306A, 14.90 m for object 306B, 24.13 m for object 306C, 54.45 m for object 306D, and 58.86 m for object 306E) may be determined using one or more LIDAR points 310 associated with the corresponding bounding shape 304 and / or cropped bounding shape 308. For example, the distances associated with each LIDAR point 310 within the bounding shape 304 and / or the clipped bounding shape 308 may be averaged to generate a final distance value. As another example, the LIDAR point 310 closest to the centroid of the bounding shape 304 and / or the clipped bounding shape 308 may be used to determine the final distance value. In another example, a group or subset of LIDAR points 310—e.g., a subset within an area near the centroid of the bounding shape 304 and / or the clipped bounding shape 308—may be used to determine the final distance value for the object 306 (e.g., by averaging, weighting, and / or otherwise using the distance values ​​associated with each group or subset of LIDAR points 310 to calculate the final distance value).

[0049] Additionally, in some embodiments, to help reduce noise in the LIDAR points 310 projected into image space, a filtering algorithm may be applied to remove or filter out noisy LIDAR points 310. For example, but not limited to, a random sample consensus (RANSAC) algorithm may be applied to cluster related camera-to-LIDAR data points to filter out noisy LIDAR points 310. As a result of using a filtering algorithm (e.g., RANSAC), surviving LIDAR points 310 within a given bounding shape 304 and / or cropped bounding shape 308 may be interpreted as a common distance away from a camera or other reference location.

[0050] In some embodiments, one or more RADAR distances 218 determined from RADAR data generated by one or more RADAR sensors 1460 may be used for ground truth encoding 110 of distances. Figure 3B , enclosing shapes 304A-304E corresponding to objects 306A-306E, respectively, may be generated by object detector 214 and associated with image 302. Figure 3BThe RADAR data represented by the RADAR points 312 in the visualization of can be associated with the image 302. For example, as described herein, the transformation between the world space position of the RADAR data and the corresponding image space position can be known or determined using the intrinsic and / or extrinsic parameters of the RADAR sensor 1460 and / or the camera that produces the image 302 (e.g., after calibration). In some embodiments, the association between the RADAR points 312 and the object 306 or the corresponding enclosing shape 304 can be determined using RADAR target clustering and tracking. Therefore, because this relationship between world space and image space is known, and because the RADAR data and image data can be captured substantially simultaneously, the RADAR data distance prediction can be associated with various objects 306 (or their corresponding enclosing shapes 304) in the image 302.

[0051] Although RADAR points 312 are shown only within bounding shape 304, this is not intended to be limiting and is for illustration purposes only. In some examples, RADAR points may be generated to correspond to the entire image 302, or to additional or alternative portions of image 302 instead of the image 302. Figure 3B Visualization shown.

[0052] In some embodiments, similar to the Figure 3A As described, a clipping enclosing shape 308 ( Figure 3B In such an embodiment, and in an effort to improve the accuracy of the depth values ​​corresponding to the RADAR data of the pixels of the image 302 corresponding to the object 306 or obstacle, a clipping bounding shape 308 may be created within the bounding shape 304. Thus, in at least one embodiment, the RADAR point 312 used to determine the distance of the object 306 may be the RADAR point 312 corresponding to the clipping bounding shape 308.

[0053] The distance associated with each object 306 (e.g., 13.1 m for object 306A, 18.9 m for object 306B, 28.0 m for object 306C, 63.3 m for object 306D, and 58.6 m for object 306E) may be determined using one or more RADAR points 312 associated with the corresponding enclosing shape 304 and / or the clipped enclosing shape 308. For example, the distance associated with the enclosing shape 304 (e.g., Figure 3B The distances associated with each RADAR point 312 within the bounding shape 308 and / or the RADAR points 312 within the bounding shape 308 may be averaged to generate a final distance value. As another example, a single RADAR point 312 may be selected for use in calculating the final distance value. For example, Figure 3BAs shown, RADAR point 312A may be used for object 306A (as shown by cross-hatching), while RADAR point 312B may not be used. For example, a confidence level may be associated with the camera to RADAR point so that a higher confidence point may be selected (e.g., RADAR point 312A may be selected over RADAR point 312B). Any calculation may be used to determine the confidence level, such as, but not limited to, a distance from a centroid of the bounding shape 304 and / or the cropped bounding shape 308.

[0054] Once the final distance value is determined for each object 306 using LIDAR data and / or RADAR data (and / or SONAR data, ultrasound data, etc.), it can be determined which of the final distance values ​​used for each object 306. For example, for each object 306, it can be determined whether to use one or more LIDAR distances 216, one or more RADAR distances 218, and / or a combination thereof to generate a ground truth depth map 222. In the case where the distance of a particular object 306 is calculated from only one depth sensor modality (e.g., RADAR or LIDAR), the distance associated with the object 306 can be the distance from one depth sensor mode. In two or more modes, the distance of a particular object 306 has been calculated, and the noise threshold 220 can be used to determine one or more modalities for the distance value. In some non-limiting embodiments, the noise threshold 220 can be optimized as a hyperparameter. Although any number of depth sensor modalities can be used, in the example of using RADAR and LIDAR, a single modality can be selected on another model, where both have corresponding depth values ​​for the object. For example, one or more LIDAR distances 216 can be selected on one or more RADAR distances 218, and vice versa. In other examples, a modality can be selected below a threshold distance, and another can be selected beyond a threshold distance. In such an example, one or more LIDAR distances 216 can be used for a closer distance (e.g., within 40 meters of a camera or other reference position), and one or more RADAR distances 218 can be used for a farther distance (e.g., farther than 40 meters from a camera or other reference position). Using the threshold distance in this way can utilize the accuracy of various depth sensor modalities of different distance ranges. In at least one embodiment, one or more LIDAR distances 216 and one or more RADAR distances 218, both of which are used for an object 306, can be averaged or weighted to calculate a single combined distance value. For example, two distances can be averaged with equal weights, or one modality can be weighted greater than another. Where weighting is used, the determination of the weight of each modality may be constant (e.g., LIDAR 60%, RADAR 40%), or may vary based on some factor (e.g., distance (within 50 meters of the camera or other reference position, LIDAR weight 70%, RADAR weight 30%, when the camera or other reference position is beyond 50 meters, LIDAR weight 40%, RADAR weight 60%)). In this way, one or more depth sensor modalities may be used to determine which distance value of a particular object 306 is the final distance value, and may depend on various factors (e.g., the availability of data from the various depth sensor modalities, the distance of the object from the reference position, the noise of the data, etc.).

[0055] In some examples, one or more LIDAR distances 216 and / or one or more RADAR distances 218 may be further enhanced by applying a time domain state estimator (based on a motion model) on the object track. Using this approach, noise read from the LIDAR and / or RADAR may be filtered out. The state estimator may further model the covariance of the state, which may represent a measure of uncertainty in the ground truth depth value. For example, such a measure may be used in the training and evaluation of one or more machine learning models 104, for example, by weighting attenuation losses on high uncertainty samples.

[0056] Once one or more final distance values ​​are selected for the object 306, one or more pixels of the image 302 may be encoded with the one or more final depth values ​​to generate the ground truth depth map 222. In some non-limiting embodiments, to determine the one or more pixels for encoding the object 306, each pixel associated with the bounding shape 304 and / or the cropped bounding shape 308 may be encoded with the one or more final distance values. However, in such examples, where two or more bounding shapes 304 and / or the cropped bounding shapes 308 at least partially overlap (e.g., one bounding shape 304 occludes another), using each pixel of the bounding shape 304 and / or the cropped bounding shape 308 may result in one or more objects 306 not being adequately represented in the ground truth depth map 222. Therefore, in some embodiments, a shape - such as a circle or an ellipse - may be generated for each object. In some examples, the shape may be centered on the centroid of the bounding shape 304 and / or the cropped bounding shape 308. By generating a circular or elliptical shape, the potential for occlusion resulting in a lack of representation of an object 306 in the ground truth depth map 222 may be reduced, thereby increasing the likelihood that each object 306 is represented in the ground truth depth map 222. As a result, the ground truth depth map 222 can represent the ground truth distance encoded into an image (e.g., a depth map image). The ground truth depth map 222 (or depth map image) can then be used as ground truth for training one or more machine learning models 104 to predict the distance to an object using images generated by one or more cameras. In this way, one or more machine learning models 104 can be trained to predict - in deployment - depth maps corresponding to objects and / or obstacles depicted in images captured by the vehicle 1400 (and / or other vehicle types, robots, simulated vehicles, watercraft, aircraft, drones, etc.).

[0057] The ground truth encoding 110 for predictions of one or more object detections 116 may include labels or annotations of sensor data 102 (e.g., images, depth maps, point clouds, etc.) with bounding shapes and / or corresponding class labels (e.g., vehicles, pedestrians, buildings, airplanes, boats, street signs, etc.). Thus, the ground truth annotations or labels may be compared to the predictions of object detections of one or more machine learning models 104 using one or more loss functions 108 to update and optimize the one or more machine learning models 104 for predicting the locations of objects and / or obstacles.

[0058] With respect to automatically (e.g., for encoding a ground truth depth map 222) and / or manually generating ground truth annotations, in some examples annotations for training images may be generated within a drawing program (e.g., an annotation program), a computer-aided design (CAD) program, a labeling program, another type of program suitable for generating annotations, and / or may be manually drawn. In any example, the annotations may be synthetically generated (e.g., generated from a computer model or rendering), generated in real time (e.g., designed and generated from real-world data), machine automated (e.g., using feature analysis and learning to extract features from the data and then generate labels), human annotated (e.g., a labeler or annotation expert defines the location of the labels), and / or a combination thereof (e.g., a person formulates one or more rules or labeling conventions and a machine generates the annotations). In some examples, LIDAR data, RADAR data, image data, and / or other sensor data 102 may be used as input to one or more machine learning models 104 and / or used to generate ground truth data that may be generated in a virtual or simulated environment. For example, with respect to a virtual vehicle (e.g., a car, truck, watercraft, construction vehicle, airplane, drone, etc.), the virtual vehicle may include virtual sensors (e.g., virtual cameras, virtual LIDAR, virtual RADAR, virtual SONAR, etc.) capturing simulated or virtual data of a virtual or simulated environment. Thus, in some embodiments, simulated or virtual sensor data may be used in addition to or in lieu of real-world data being used as input to one or more machine learning models and / or for ground truth generation, and therefore included within sensor data 102.

[0059] Reference again Figure 1 , camera adaptation 112 may be performed in some embodiments to make the one or more machine learning models 104 invariant to underlying camera intrinsic features. For example, to account for potential challenges of similar objects at the same distance from a reference location (e.g., camera) appearing differently depending on camera parameters (e.g., field of view), a camera adaptation algorithm may be used to enable camera intrinsic invariance. If the variance of the camera intrinsic parameters is not accounted for, the performance of the one or more machine learning models 104 may be degraded for distance estimation solutions to objects or obstacles.

[0060] In some embodiments, camera adaptation 112 may include applying a scaling factor to camera-based image labels. As a non-limiting example, if a camera with a 60 degree field of view is used as a reference camera, a multiplier of 2x may be applied to labels for images of the exact same scene generated by a camera with a 120 degree field of view, because objects generated by that camera will appear half the size compared to those generated by the reference camera. Similarly, as another non-limiting example, if the same reference camera is used, a multiplier of negative 2x may be applied to labels for images of the exact same scene generated by a camera with a 30 degree field of view, because objects generated by that camera will appear twice the size compared to those generated by the reference camera.

[0061] In at least one embodiment, camera adaptation 112 includes generating scale and distortion maps as additional inputs to one or more machine learning models 104. This can allow camera model information to be available as input to learning - e.g. Figure 1 The dashed arrows shown in FIG. 1 are from camera adaptation 112 to one or more machine learning models 104. For example, referring to Figure 4 , Figure 4 400 is an illustration of various calculations used in a camera adaptation algorithm according to some embodiments of the present disclosure. Referring to illustration 400, x (e.g., x-axis), y (e.g., y-axis), and z (e.g., z-axis) represent 3D coordinates of a position in a camera coordinate system, while u (e.g., u-axis) and v (e.g., v-axis) represent 2D coordinates in a camera image plane. A position p represents a 2-vector [u, v] as a position in the image plane. In u o , v o The principal point at represents the location where the z-axis intersects the image plane. θ, φ, d represents another 3D location (x, y, z), where d is the depth (e.g., the location along the z-axis), θ is the angle between the z-axis and the vector [x, y, z] (or polar angle), and φ is the azimuth angle (or roll angle). In some cases, d can be represented by a radial distance r, such as a location where the coordinate system is a spherical coordinate system.

[0062] so, Figure 4 Diagram 400 represents a coordinate convention that allows a camera to be modeled as a function of C (a function that models or represents a camera) that maps 3D rays (θ, φ) (e.g., cast along object and / or feature directions) to 2D positions (u, v) on the image plane. If an object or feature is located in a 3D direction (θ, φ), then its image on the camera sensor will be located at pixels (u, v) = C(θ, φ), where C is a function that represents or models the camera. As a result, a 2-vector (3D direction) is taken as an input to generate a 2-vector (2D position on the sensor). Similarly, because C is invertible, there exists an inverse [θ, φ] = C -1 (u, v).

[0063] The local derivative of C can be used to calculate the local magnification factor m, as shown in the following equation (1):

[0064]

[0065] The inverse function C -1 It is divided into two functions, as shown in equations (2) and (3) below:

[0066]

[0067]

[0068] In some embodiments, the initial layers 104 of one or more machine learning models tasked with feature extraction, object detection (in embodiments where the feature is internal to the task of one or more machine learning models 104), and / or other tasks, may also be extension invariant and work well even without camera adaptation 112. As a result, the camera information determined using camera adaptation 112 may be injected deeper into the network (e.g., at one or more layers further into the architecture of one or more machine learning models, after feature extraction, object detection, and / or other layers), where the feature map size may be much smaller than earlier layers. The input feature maps of these deeper layers (e.g., convolutional layers) may be augmented with m(u, v) to enable these layers to have deep regression of the task to learn to adapt the camera model.

[0069] Ultimately, a single feature map, m(u, v), can be generated and provided to one or more machine learning models 104 as additional hints on how objects resolve dependencies through different cameras. This can enable a single machine learning model 104 to reliably predict distances from images obtained from different cameras with different camera parameters, such as different fields of view. During training, spatial augmentation (scaling) can then be applied to learn robust deep regression to use multiple cameras. Spatial augmentation not only transforms the image, but also transforms the camera model function C or its inverse. During inference, as described in more detail herein, the camera model can be used to compute a fixed (e.g., in a deployment, the camera used can be constant) magnified feature map, m(u, v), which can then be concatenated with the input feature map generated by one or more layers (e.g., a convolutional layer) of one or more machine learning models 104.

[0070] A ground truth encoding 110 with camera adaptation 112 is shown, as Figure 5A and 5B For example, Figure 5AA visualization of ground truth masks and depth map predictions of one or more machine learning models based on varying sensor parameters according to some embodiments of the present disclosure is included. The ground truth depth maps 502A, 502B, and 502C are Figure 2 1400, etc.) are visualized as example ground truth depth maps 222 of the image 506A, 506B, and 506C, respectively. As an example, image 506A may be captured using a 120 degree field of view camera, image 506B may be captured using a 60 degree field of view camera, and image 506C may be captured using a 30 degree field of view camera. Predicted depth maps 504A, 504B, and 504C correspond to predictions of one or more machine learning models 104 for images 506A, 506B, and 506C, respectively. Objects 508A, 508B, and 508C are all at approximately the same absolute distance from a reference location (e.g., a reference location of a camera, one or more other sensors, a vehicle 1400, etc.), but appear different sizes or dimensions in images 506A, 506B, and 506C due to different fields of view. However, as shown by the circles in each predicted depth map 504, objects 508 are all correctly predicted to be approximately the same absolute distance from the reference location. Random scaling augmentation may also be applied to image 506 , and because the camera model may be adjusted based on the augmentation, the predicted depth map 504 will still correctly identify object 508 .

[0071] Although not highlighted or used for clarity Figure 5A As indicated by the circles in , each other object in image 506 is also represented in the ground truth depth map 502 and in the predicted depth map 504 .

[0072] As an example of scaling and distortion graphs. Figure 5B An illustration of distortion maps and histograms for sensors with varying parameters according to some embodiments of the present disclosure is included. For example, distortion map 520A may represent a distortion map for a camera with a 30 degree field of view, distortion map 520B may represent a distortion map for a camera with a 60 degree field of view, and distortion map 520C may represent a distortion map for a camera with a 120 degree field of view. Associated therewith are scaling maps 522A, 522B, and 522C, respectively, corresponding to the amount of scaling of depth or distance values ​​through the field of view of the camera (e.g., as shown in image space). For example, with respect to distortion map 520A, the scaling factors from scaling map 522A are all less than 1.0 to account for the increased size of the object relative to the reference camera. As another example, with respect to distortion map 520C, the scaling factors from scaling map 522C include values ​​greater than 1.0 to account for the seemingly smaller size of the object captured with a camera with a 120 degree field of view, especially in the outer portions surrounding the field of view. Histograms 542A, 524B, and 524C correspond to distortion maps 520A, 520B, and 520C, respectively, and illustrate scaling changes corresponding to distortion map 520.

[0073] Reference again Figure 1 , one or more machine learning models 104 may be used as input to one or more images (or other data representations) represented by sensor data 102 to generate as output one or more distances 106 (e.g., represented as a depth map in image space) and / or object detections (e.g., locations of bounding shapes corresponding to objects and / or obstacles depicted in sensor data 102). In a non-limiting example, one or more machine learning models 104 may be used as input to images represented by preprocessed sensor data and / or sensor data 102, and may use the sensor data to regress one or more distances 106 corresponding to objects or obstacles depicted in the images.

[0074] In some non-limiting embodiments, one or more machine learning models 104 may be further trained to essentially predict the location of the bounding shape as one or more object detections 116 (in other embodiments, the bounding shapes may be generated using an external object detection algorithm or network). In some such examples, one or more machine learning models 104 may be trained to regress on the centroid of the bounding shape corresponding to each object, as well as on four bounding shape edge locations (e.g., four pixel distances from the centroid to the edge of the bounding shape). Thus, when predicting a bounding shape, one or more machine learning models 104 may therefore output a first channel corresponding to a mask channel, which includes confidences for pixels, where a higher confidence (e.g., 1) indicates the centroid of the bounding shape. In addition to the mask channel, additional channels (e.g., four additional channels) may be output by one or more machine learning models 104, which correspond to distances to the edges of the bounding shape (e.g., distances up from the centroid along a column of pixels, distances down from the centroid along a column of pixels, distances to the right from the centroid along a row of pixels, and distances to the left from the centroid along a row of pixels). In other embodiments, one or more machine learning models 104 may output other representations of the location of the enclosing shape, such as the location of the edges of the enclosing shape in the image and dimensions of the edges, the locations of the vertices of the enclosing shape in the image, and / or other output representations.

[0075] In examples where one or more machine learning models 104 are trained to predict bounding shapes, the ground truth encoding 110 may also include encoding the position of the bounding shape generated by an object detector (e.g., object detector 214) as ground truth data. In some embodiments, a class of objects or obstacles may also be encoded as ground truth and associated with each bounding shape. For example, where the object is a vehicle, a classification of vehicle classification, vehicle type, vehicle color, vehicle make, vehicle model, vehicle year, and / or other information may be associated with the bounding shape corresponding to the vehicle.

[0076] Although this article is about using neural networks and particularly convolutional neural networks as one or more machine learning models (e.g., as described in this article about Figure 7 Examples are described in more detail in the accompanying drawings, but this is not intended to be limiting. For example, but not limited to, one or more machine learning models 104 described herein may include any type of machine learning model, such as one or more machine learning models using linear regression, logistic regression, decision trees, support vector machines (SVM), naive Bayes, k-nearest neighbors (knn), k-means clustering, random forests, dimensionality reduction algorithms, gradient boosting algorithms, neural networks (e.g., autoencoders, convolutional, recurrent, perceptual, long / short term memory (LSTM), Hopfield, Boltzmann, deep belief, deconvolution, generative adversarial, liquid machines, etc.) and / or other types of machine learning models.

[0077] In some embodiments, one or more machine learning models 104 may include a convolutional layer structure, including layers such as described herein. For example, one or more machine learning models 104 may include a complete architecture for a task of generating one or more outputs 114. In other examples, an existing or generated one or more machine learning models 104 designed for object detection may be used, and additional layers - for example, convolutional layers such as described herein - may be inserted into the existing model (e.g., as a header). For example, a feature extractor layer may be used to generate a feature map corresponding to the sensor data 102, which is provided as an input to one or more machine learning models 104. The feature map may then be applied to a first layer stream or first header of one or more machine learning models 104 whose task is object detection (e.g., calculating one or more object detections 116), and / or may be applied to a second layer stream or second header of one or more machine learning models 104 whose task is distance estimation (e.g., calculating one or more distances 106). Thus, when one or more machine learning models 104 are designed to generate one or more distances 106 and one or more object detections 116, the one or more machine learning models 104 may include at least two layers (or two headers) at certain locations within the architecture of the one or more machine learning models 104.

[0078] One or more machine learning models 104 may use sensor data 102 (and / or pre-processed sensor data) as input. Sensor data 102 may include images representing image data generated by one or more cameras (e.g., Figures 14A-14C1. The sensor data 102 may include one or more cameras described herein. For example, the sensor data 102 may include image data representing a field of view of a camera. More specifically, the sensor data 102 may include individual images generated by a camera, wherein the image data representing one or more individual images may be input into one or more machine learning models 104 at each iteration.

[0079] The sensor data 102 may be input as a single image, or may be input using batches, such as mini-batches. For example, two or more images may be used as input together (e.g., simultaneously). The two or more images may come from two or more sensors (e.g., two or more cameras) that capture images simultaneously.

[0080] The sensor data 102 and / or pre-processed sensor data may be input to a feature extractor layer of one or more machine learning models, and then, in embodiments where object detection is inherent to the one or more machine learning models 104, the output of the feature extractor layer may be provided as input to an object detection layer of the one or more machine learning models 104. For example, after the feature extractor layer and / or the object detection layer, an additional layer of the one or more machine learning models 104 may regress the distance 106 corresponding to an object or obstacle depicted in the sensor data 102.

[0081] One or more layers may include an input layer. The input layer may hold values ​​associated with the sensor data 102 and / or pre-processed sensor data. For example, when the sensor data 102 is an image, the input layer may hold values ​​representing raw pixel values ​​of the image as a volume (e.g., width W, height H, and color channels C (e.g., RGB), such as 32×32x3) and / or a batch size B (e.g., using batch processing)

[0082] One or more layers 104 of one or more machine learning models may include a convolutional layer. A convolutional layer may compute the output of neurons connected to local regions in an input layer (e.g., an input layer), with each neuron computing a dot product between their weights and a small region they are connected to in the input volume. The result of a convolutional layer may be another volume, one of the dimensions of which is based on the number of filters applied (e.g., width, height, and number of filters, such as 32x32x12 if 12 is the number of filters).

[0083] One or more layers may include a rectified linear unit (Relu) layer. The Relu layer may apply an element-wise activation function, such as max(0, x), such as a zero threshold. The volume obtained by the Relu layer may be the same as the volume of the input to the Relu layer.

[0084] One or more layers may include pooling layers. Pooling layers may perform downsampling operations along spatial dimensions (e.g., height and width), which may result in a volume that is smaller than the input to the pooling layer (e.g., 16x16x12 from a 32x32x12 input volume). In some examples, one or more machine learning models 104 may not include any pooling layers. In such examples, strided convolutional layers may be used instead of pooling layers. In some examples, feature extractor layer 126 may include alternating convolutional layers and pooling layers.

[0085] One or more layers may include fully connected layers. Each neuron in a fully connected layer may be connected to each neuron in a previous volume. The fully connected layer may compute class scores, and the resulting volume may be 1x1x the number of classes. In some examples, one or more machine learning models may be used as a whole without fully connected layers to increase processing time and reduce computational resource requirements. In such examples, without using fully connected layers, one or more machine learning models 104 may be referred to as fully convolutional networks.

[0086] In some examples, one or more layers may include a deconvolution layer. However, the use of the term deconvolution may be misleading and is not intended to be limiting. For example, one or more deconvolution layers may alternatively be referred to as transposed convolution layers or partially strided convolution layers. One or more deconvolution layers may be used to perform upsampling on the output of an existing layer. For example, one or more deconvolution layers may be used to upsample to a spatial resolution that is equal to the spatial resolution of an input image (e.g., sensor data 102) to one or more machine learning models 104, or for upsampling to the input spatial resolution of the next layer.

[0087] Although input layers, convolutional layers, pooling layers, Relu layers, deconvolutional layers, and fully connected layers are discussed herein with respect to one or more machine learning models 104, this is not limiting. For example, additional or alternative layers, such as normalization layers, SoftMax layers, and / or other layer types may be used.

[0088] Different orders and numbers of layers of one or more machine learning models 104 may be used depending on the embodiment. In addition, some layers may include parameters (e.g., weights and / or biases) while other layers may not include, for example, Relu layers and pooling layers. In some examples, the parameters may be learned by one or more machine learning models 104 during training. In addition, some layers may include additional hyperparameters (e.g., learning rate, stride, epoch, kernel size, number of filters, type for pooling layers, etc.) - for example, one or more convolutional layers, one or more deconvolutional layers, and one or more pooling layers - while other layers may not, such as Relu layers. Various activation functions may be used, including but not limited to Relu, leaky Relu, sigmoid, hyperbolic tangent (tanh), exponential linear unit (ELU), etc. Parameters, hyperparameters and / or activation functions are not limited and may vary from embodiment to embodiment.

[0089] During training, sensor data 102—e.g., image data representing images captured by one or more cameras having one or more camera parameters—can be applied to one or more machine learning models 104. In some non-limiting embodiments, as described above herein, a scale and / or distortion map can be applied to one or more machine learning models 104 as another input, as indicated by the dashed line from camera adaptation 112 to the one or more machine learning models 104. The one or more machine learning models 104 can predict one or more distances 106 and / or one or more object detections 116 (e.g., in embodiments one or more machine learning models 104 are trained to predict an enclosing shape corresponding to an object or obstacle). The predictions can be compared to ground truth generated during ground truth encoding 110, examples of which refer to at least one embodiment of the present invention. Figure 2 As explained herein. In some examples, as described herein, the ground truth data may be augmented by camera adaptation 112, while in other embodiments, camera adaptation 112 may not be performed on the ground truth data (as shown by the dashed line). The loss function 108 may be used to compare the ground truth to the output 114 of one or more machine learning models 104.

[0090] For example, one or more machine learning models 104 may be trained using multiple iterations of training images until the value of the loss function 108 of the one or more machine learning models 104 is below a threshold loss value (e.g., an acceptable loss). The one or more loss functions 108 may be used to measure the error in the predictions of the one or more machine learning models 104 using ground truth data. In some non-limiting examples, a cross entropy loss function (e.g., binary cross entropy), an L1 loss function, a mean squared error loss function, a quadratic loss function, an L2 loss function, a mean absolute error loss function, an average bias loss function, a hinge loss function, and / or a negative log loss function may be used.

[0091] Reference now Figure 6 , each block of the method 600 described herein includes a computing process that can be performed using any combination of hardware, firmware, and / or software. For example, various functions can be performed by executing a processor stored in a memory. The method 600 can also be embodied as computer usable instructions stored on a computer storage medium. The method 600 can be provided by a stand-alone application, a service, or a hosted service (standalone or in combination with another hosted service), or a plug-in to another product, to name a few. In addition, by way of example with respect to Figure 1 The method 600 is described with reference to the process 100 of FIG. However, the method 600 may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to those described herein.

[0092] Figure 6 6 is a flowchart illustrating a method 600 for training one or more machine learning models to predict distances of objects and / or obstacles in an environment according to some embodiments of the present disclosure. At block B602, the method 600 includes receiving first data representing LIDAR information, second data representing RADAR information, and third data representing an image. For example, sensor data 102 may be received (and / or generated), wherein the sensor data 102 may include RADAR data, LIDAR data, SONAR data, image data representing one or more images, and / or other sensor data types.

[0093] At block B604, method 600 includes receiving fourth data representing a bounding shape corresponding to an object shown in the image. Figure 2 , the object detector 214 may generate data corresponding to the location of the object, as represented by an enclosing shape corresponding to the image.

[0094] At block B606, method 600 includes correlating depth information determined at least in part based on one or both of the LIDAR information or the RADAR information with an enclosing shape. For example, depth information from the LIDAR data, the RADAR data, and / or other sensor data types may be correlated (e.g., in an embodiment, automatically in an embodiment) with an enclosing shape corresponding to an object or obstacle depicted in the image.

[0095] At block B608, method 600 includes generating fifth data representing ground truth information, the fifth data being generated based at least in part on converting the depth information into a depth map. For example, the depth information corresponding to the enclosing shape may be used to generate ground truth depth map 222 ( Figure 2 ).

[0096] At block B610, method 600 includes training a neural network to compute a predicted depth map using the fifth data. For example, one or more machine learning models 104 may be trained using the ground truth depth map 222 as ground truth to generate one or more distances 106 corresponding to objects and / or obstacles depicted in the image.

[0097] One or more machine learning models for predicting distances

[0098] Reference now Figure 7 , Figure 7 is a data flow diagram of a process 700 for predicting the distance of objects and / or obstacles in an environment using one or more machine learning models according to some embodiments of the present disclosure. Sensor data 702 may include at least one of the following: Figure 1 and Figure 2 However, in some embodiments, the sensor data 702 applied to one or more machine learning models 104 in the deployment may be image data only. For example, using Figure 1 The process 100 may train one or more machine learning models 104 to accurately predict one or more distances 106 and / or one or more object detections 116 using only image data. In such embodiments, the image data may be acquired by one or more cameras (e.g., a monocular camera, in embodiments such as Fig. 14B The wide angle camera 1470 shown, multiple cameras, etc.) is generated.

[0099] In an embodiment, sensor data 102 may undergo camera adaptation 704. For example, similar to Figure 1In camera adaptation 112, at inference, the camera model may be used to compute a fixed magnification feature map, m(u, v), which may be used by one or more machine learning models 104. For example, in some embodiments, a scale and / or distortion map (such as those shown in the embodiment of FIG. 5) may be applied to one or more machine learning models 104 as additional inputs. However, because one or more of the same cameras may be used in a deployment instance (e.g., for vehicle 1400, the same camera may be used to generate image data), the scale and / or distortion map, etc. may be fixed throughout the deployment process. Thus, in some non-limiting embodiments, a fixed magnification feature map may be concatenated to the convolutional layer input feature map.

[0100] The sensor data 702 and / or the scaling and / or distortion maps generated from the camera adaptation 704 may be applied to one or more machine learning models 104. The one or more machine learning models 104 (hereinafter referred to as Figure 1 ) may use the sensor data 702 and / or the scaling and / or distortion map to generate an output 114. The one or more outputs 114 may include one or more distances 106 and / or one or more object detections 116.

[0101] One or more distances 106 may be calculated as depth or distance values ​​corresponding to pixels of the image. For example, for at least a pixel corresponding to an object or obstacle, a depth value may be calculated to generate a depth map corresponding to the distance of the object or obstacle depicted in the image. As described herein, the depth value may correspond to a z-direction, which may be interpreted as a distance from a reference position (e.g., from a camera) to an object or obstacle represented at least in part by a given pixel.

[0102] As described herein, one or more object detections 116 may be intrinsic to one or more machine learning models and / or may be computed by an object detector separate from one or more machine learning models 104. Where one or more machine learning models 104 are trained to generate one or more object detections 116, one or more machine learning models 104 may output data corresponding to the location of an enclosing shape of an object or obstacle depicted in an image. In a non-limiting embodiment, one or more machine learning models 104 may include multiple output channels corresponding to one or more object detections 116. For example, the output may correspond to a mask channel having a value indicating the confidence of a pixel corresponding to the centroid of the enclosing shape. Each pixel - or at least a pixel having a high confidence (e.g., 1, yes, etc.) for the centroid - may also include a digital (e.g., 4) output channel corresponding to the location of an edge of the enclosing shape corresponding to the centroid or the location of the pixel distance. For example, a first channel may include pixel distances along the top edge of the column of pixels that includes the predicted or regressed centroid, a second channel may include pixel distances along the right edge of the column of pixels that includes the predicted or regressed centroid, a third channel may include pixel distances along the left edge of the row of pixels that includes the predicted or regressed centroid, and a fourth channel may include pixel distances along the bottom edge of the column of pixels that includes the predicted or regressed centroid. In this way, this information can be used to generate one or more enclosing shapes for detecting objects or obstacles detected in each image. In other embodiments, one or more machine learning models 104 may output enclosing shape predictions as the locations of the vertices of the enclosing shape, or the locations of the centroid and size of the enclosing shape, etc.

[0103] In embodiments where one or more machine learning models 104 do not inherently predict object detection, an object detector 708 (e.g., similar to Figure 2 The object detector 214 of the present invention generates or calculates the object detection. In such an example, the position of the enclosing shape corresponding to the object can be calculated similarly to the description of the enclosing shape herein, such as the position of the vertex, the position of the center of mass, the distance to the edge, the pixel position of each pixel within the enclosing shape, or each pixel along the edge of the enclosing shape, etc.

[0104] The decoder 706 may use one or more outputs 114 and / or outputs of the object detector 708 to determine an association between depth values ​​from one or more distances 106 (e.g., from a predicted depth map) and an enclosing shape corresponding to an object. For example, where a single enclosing shape is calculated for an object, the distance to the object may be determined by the decoder 706 using distance values ​​corresponding to pixels of an image within the enclosing shape of the object. In some examples, where the distance values ​​vary across the pixels of the enclosing shape, the distance values ​​may be averaged, weighted, and / or a single distance value may be selected for the object. In a non-limiting embodiment, each enclosing shape proposal may be associated with a single pixel in the depth map (e.g., representing one or more distances 106). The single pixel may be a center pixel (e.g., a centroid pixel), or may be another pixel, such as a pixel having the highest confidence that it is associated with an object.

[0105] In some examples, using one or more machine learning models 104 or object detectors 708 for object detection, there may be multiple object detections (e.g., bounding shapes) generated for a single object. Each object detection of an object can be associated with a different pixel from a depth map, resulting in multiple potential locations of the object and potentially varying distance values ​​for the object. In order to consolidate multiple object detection proposals into a single object detection prediction in each physical object instance, the proposals can be clustered (e.g., using a density-based spatial clustering of applications with noise (DBSCAN) algorithm) into a single prediction cluster for each physical object instance. The final single object detection for each physical object instance can be obtained by forming an average of the individual bounding shapes and distance predictions within each cluster. As a result, a single bounding shape can be determined for each object detected, and a single depth value can be associated with the bounding shape of the object.

[0106] In some embodiments, each pixel within the final enclosing shape can be associated with a depth value, and the position of the pixel in world space can be determined, so that the vehicle 1400 can use the distance information to perform one or more operations in world space. The one or more operations may include updating a world model, performing path planning, determining one or more controls for navigating the vehicle 1400 according to the path, updating safety process information to ensure safe operation of the vehicle 1400 without collision, and / or for other operations.

[0107] Figures 8A-8B is a visualization of object detection and depth prediction based on the output of one or more machine learning models according to some embodiments of the present disclosure. For example, Figures 8A-8BIncluded are images 802A and 802B, which may be representations of image data (e.g., sensor data 702) applied to one or more machine learning models 104. Visualizations 804A and 804B, corresponding to images 802A and 802B, respectively, represent bounding shapes corresponding to objects (e.g., vehicles) in images 802A and 802B detected by one or more machine learning models 104 and / or object detector 708. Depth maps 806A and 806B, corresponding to images 802A and 802B, respectively, represent one or more distances 106 predicted by one or more machine learning models 104. In this way, decoder 706 may relate the positions of the bounding shapes within visualizations 804A and 804B to the distance values ​​represented in depth maps 806A and 806B, respectively. The result for vehicle 1400 may be the distance from vehicle 1400 (or a reference position thereof, such as a camera or another position of vehicle 1400) to each object having an associated bounding shape.

[0108] In some embodiments, due to noise and / or entropy in the training of one or more machine learning models 104, one or more machine learning models 104 may occasionally output incorrect distance values ​​at inference or deployment time. For example, where a small enclosing shape detected for a far object overlaps with a larger enclosing shape detected for a close object, the distances to the two objects may be incorrectly predicted to be the same. Thus, in some embodiments, a post-processing algorithm may be applied via the safety boundary 710 to ensure that one or more distances 106 calculated by one or more machine learning models 104 fall within a safe allowable range of values. The safe allowable band in which one or more distances 106 should lie - e.g., acceptable minimum and maximum distance estimates as safely allowed - may be obtained from visual cues in the sensor data 702. For example, useful cues may be road shapes and / or enclosing shapes corresponding to objects or obstacles (e.g., as predicted by one or more machine learning models 104 and / or object detectors 708). At least with reference herein to the safety boundary 710 may be a distance 106 calculated by one or more machine learning models 104. Figure 10A-13 The safety margin calculation is further described.

[0109] Reference now Fig. 9 , each block of the method 900 described herein includes a computing process that can be performed using any combination of hardware, firmware, and / or software. For example, various functions can be performed by a processor executing instructions stored in a memory. The method 900 can also be embodied as computer-usable instructions stored on a computer storage medium. The method 900 can be provided by a stand-alone application, a service, or a hosted service (standalone or in combination with another hosted service), or inserted into another product, to name a few. In addition, as an example, reference is made to Figure 7The method 900 is described with reference to the process 700 of FIG. However, the method 900 may additionally or alternatively be performed by any one system or any combination of systems, including but not limited to the systems described herein.

[0110] Fig. 9 is a flowchart illustrating a method 900 for predicting the distance of objects and / or obstacles in an environment using one or more machine learning models according to some embodiments of the present disclosure. At block B902, the method 900 includes applying first data representing an image of a field of view of an image sensor to a neural network that is trained at least in part based on second data representing ground truth information generated using at least one of a LIDAR sensor or a RADAR sensor. For example, the sensor data 702 (and / or data representing a scaling and / or distortion map from the camera adaptation 704) can be applied to one or more machine learning models 104. As described herein, the one or more machine learning models 104 can be trained using ground truth (in an embodiment, automatically, without manual labeling or annotation) generated by the LIDAR sensor and / or RADAR sensor.

[0111] At block B904, method 900 includes calculating, using a neural network and based at least in part on the first data, third data representing a depth value corresponding to the image. For example, one or more machine learning models 104 may calculate one or more distances 106 (or a depth map representation thereof).

[0112] At block B906, method 900 includes determining one or more pixels of the image corresponding to an enclosing shape of an object depicted in the image. For example, decoder 706 may determine a correlation between an enclosing shape predicted by one or more machine learning models 104 and / or object detector 708 and a depth value of one or more distances 106 predicted by one or more machine learning models 104.

[0113] At block B908, method 900 includes associating a depth value in the depth values ​​corresponding to the one or more pixels with an object.For example, for each object having an associated bounding shape, one or more distances 106 may be assigned to the object.

[0114] Safety margin calculation for limited distance values

[0115] Given the accuracy of the object detection methods (e.g., by one or more machine learning models 104, by object detector 708, etc.), a tight bounding shape around an object or obstacle in an image can be generated with good accuracy. Therefore, based on the camera calibration parameters, the path that the light needs to pass through in 3D, world space, can be calculated in order to create a pixel in the target location in the image space. The target location can include a location corresponding to the bounding shape, such as a location within the bounding shape, a location along the edge of the bounding shape, or in some embodiments, the bottom midpoint of the bounding shape (e.g., a point at the bottom, the lower edge of the bounding shape). Assume that the bottom midpoint of the bounding shape is located in the ground plane (or on the driving plane relative to the vehicle or driving environment), at which point the light can intersect the ground. If the road curvature or grade is known, the radial distance can be calculated directly. However, accurately predicting road curvature, especially using image data, is challenging.

[0116] Thus, in some embodiments, even in the absence of direct information about the actual road curvature or grade, a maximum upward rise curvature and a maximum downward rise curvature for the driving surface may be assumed - for example, guided by regulations regarding the grade of the road. The curvatures may be viewed as extreme boundary walls of the actual road curvature, such that these curvatures may be referred to as safety boundaries. Thus, the intersection of rays traced from the camera through these points of maximum curvature gives the minimum and maximum limits that the distance 106 may fall within in order to be considered safely allowable. To calculate the minimum and maximum road curvatures, the ray trace may be intersected with the road curvature trace (e.g., as estimated by a closed form equation, which in one embodiment may be approximated as a linear equation (e.g., as estimated by a closed form equation, which in one embodiment may be approximated as a linear equation (e.g., as estimated by a closed form equation, which in one embodiment may be approximated as a linear equation (e.g., as estimated by a closed form equation, as in one embodiment ... Fig. 10B and 10D As a result, one or more distances 106 of one or more machine learning models 104 may be clamped to a safely permissible range by ensuring that one or more distances 106 fall within a range of values ​​determined by a minimum value and a maximum value. For example, where distance 106 is less than a minimum, distance 106 may be updated or clamped to a minimum value, where distance 106 is greater than a maximum value, distance 106 may be updated or clamped to a maximum value. In 3D world space, in some embodiments, the physical boundary controlled by the curvature of the road may be bowl-shaped.

[0117] As an example, and referring to 10A, Fig. 10A1000 is a diagram of a safe boundary calculation for defining a distance prediction of one or more machine learning models according to some embodiments of the present disclosure. Diagram 1000 includes an upward curve 1002 representing a determined maximum upward curvature, a downward curve 1004 representing a determined maximum downward curvature, and a ground plane 1008. The upward curvature and the downward curvature help define a safe allowable band for determining a maximum value 1012 (e.g., a maximum distance value) and a minimum value 1012 (e.g., a minimum distance value). A ray 1006 can be projected from a camera to the enclosing shape of the object through a point corresponding to the enclosing shape of the object (e.g., a bottom center point). As ray 1006 is projected into world space, ray 1006 intersects with upward curve 1002 to define a minimum value 1012 and intersects with downward curve 1004 to define a maximum value 1010.

[0118] Reference now Fig. 10B , Fig. 10B is a diagram 1020 showing a maximum upward contour for safety margin calculation according to some embodiments of the present disclosure. For example, the diagram 1020 includes generating or defining Fig. 10A 1002 is an example of an upward curve 1002 used to define a minimum 1012. In some embodiments, as described herein, a smooth rising wall or upward curve 1002 that limits after a threshold may be more practical. This may be a result of the distance getting closer to the horizon. However, it is important to carefully tune the parameters of the upward curve 1002 because the minimum 1012 can provide more degrees of freedom for uncertainty if the upward curve 1002 bends upward too much. The minimum 1012 should also not be so tight as to reject accurate measurements at close distances. In some examples, for each smoothly rising upward curve 1002, a linear curve 1022 can be constructed by connecting the ends of the smooth upward curve 1002. In some non-limiting embodiments, this simple linear curve 1022 can be used as an upward curve 1002 that defines a safety boundary for the minimum 1012. As Fig. 10B , several potential choices for upward curve 1002 are shown. Upward curve 1002A represents an upward curve 1002 having a lesser slope than upward curve 1002B. Vertical wall 1024 may represent an extreme upward curve for a parameter setting.

[0119] Reference now Fig. 10C , Fig. 10Cis an illustration of a computationally safe boundary according to some embodiments of the present disclosure. In at least one embodiment, as described herein, a linear curve 1022 can be determined by connecting the ends of the upward curve 1002 (e.g., 1002A or 1002B) and can be used as the upward curve 1002 for calculating the minimum 1012. For example, in such an embodiment, there can be two parameters for controlling the structure of the linear curve 1022 - the tilt angle θ and the radial distance cap λ. The tilt angle θ can be written as a function of the boundary parameter D to simplify the equation. Let h be the height from the camera (e.g., from the center point on the camera or other reference position) to the ground plane 1008. It can be assumed that the wall rises linearly at an angle θ, where the angular tilt θ is given by the following equation (4):

[0120]

[0121] Thus, the tilt of the linear curve 1022 can be changed by the change D. A ray 1006 from the camera can intersect the ground plane 1008 at a point O at a radial distance d from the radial axis. The same ray can intersect the wall at a point P, and the radial distance of point P can be found using equations (5)-(9) below. The radial distance can be calculated by using the plane assumption to obtain the value of d. Here, the triangle formed by PAO=θ, and the triangle formed by POA=θ1.

[0122]

[0123] The following equations (6)-(7) can be observed by applying the sine rule to the triangular PAO:

[0124]

[0125]

[0126] Since λ is the maximum radial distance capped,

[0127] if

[0128] r=λ, otherwise (9)

[0129] Reference now Fig. 10D , Fig. 10D1 is a graph 1030 showing a maximum downward profile for safety margin calculation according to some embodiments of the present disclosure. The downward curve 1004 is used to define the maximum value 1012. Similar to the upward curve 1002, for each smooth downward rising wall or downward curve 1004, a simple linear curve 1032 can be generated that exhibits some flexibility on the maximum value 1012. In some examples, for each smooth rising downward curve 1004, the linear curve 1032 can be constructed by connecting the ends of the smooth downward curve 1004. In some non-limiting embodiments, this simple linear curve 1032 can be used as the downward curve 1004 that defines the safety margin of the maximum value 1010. Fig. 10D , several potential choices for downward curve 1004 are shown. Downward curve 1004A represents one example of downward curve 1004, however, additional downward curves 1004 with greater or lesser slopes may be considered without departing from the scope of the present disclosure. Vertical wall 1034 may represent an extreme downward curve for a parameter setting.

[0130] Reference now Fig.10E , Fig.10E is an illustration of a calculated lower safety margin according to some embodiments of the present disclosure. In at least one embodiment, as described herein, a linear curve 1032 can be determined by connecting the ends of downward curve 1004 (e.g., 1004A) and can be used as downward curve 1004 for the purpose of calculating maximum value 1010. For example, in such an embodiment, there can be two parameters that control the structure of linear curve 1032 - the tilt angle, θ, and the radial distance cap λ. The tilt angle θ can be written as a function of the boundary parameter D to simplify the equation. Let h be the height of the camera (e.g., from the center point on the camera or other reference position) to the ground plane 1008. It can be assumed that the wall rises linearly at an angle of θ, where the angular tilt θ is given by equation (4) described herein. In this way, the tilt of linear curve 1032 can be changed by changing D. Light ray 1006 from the camera can intersect the ground plane 1008 at a point O at a radial distance d from the radial axis. The same ray can intersect the wall at point P, and the radial distance to point P can be found using equations (10)-(13) described below in this article, equation (5). The radial distance can be calculated by using the plane assumption to obtain the value of d. Here, the triangle formed by PAO = θ, and the triangle formed by COA = θ1. The following equations (10)-(11) can be observed by applying the sine rule to the triangle PAO:

[0131]

[0132]

[0133] Since λ is the upper limit of the maximum radial distance,

[0134] if

[0135] r=λ, otherwise (13)

[0136] Reference now Fig.10F , Fig.10F 1040 . FIG. 1041 is a diagram showing a belt profile according to some embodiments of the present disclosure. For example, as the light moves along the plane, it may also be important to look at the belt 1040, which may be substantially the difference between the maximum value 1010 and the minimum value 1012. At close range, the belt 1040 should be tight and should increase as the obstacle or object moves further away.

[0137] Reference now Fig.11 , the method 1100 blocks described herein include computing processes that can be performed using any combination of hardware, firmware, and / or software. For example, various functions can be performed by a processor executing instructions stored in a memory. The method 1100 can also be embodied as computer usable instructions stored on a computer storage medium. The method 1100 can be provided by a stand-alone application, a service, or a hosted service (standalone or in combination with another hosted service), or inserted into another product, to name a few. In addition, by way of example, reference is made to Figures 10A-10F Method 1100 is described. Method 1100 can be performed by any one system or any combination of systems, including but not limited to the systems described herein.

[0138] Fig.111 is a flow chart illustrating a method 1100 for safety boundary determination using road shapes according to some embodiments of the present disclosure. At block B1102, the method 1100 includes receiving an image (or other sensor data 702) at one or more machine learning models 104. The one or more machine learning models 104 (and / or object detectors 708) may output an enclosing shape, which may be used at block B1104 to estimate a minimum value 1012 from the upward curve 1102, and used at block B1106 to estimate a maximum value 1010 from the downward curve 1104. The maximum value 1010 and the minimum value 1012 may define a safety boundary (e.g., a range of distance values ​​between the minimum value 1012 and the maximum value 1010 may be a safe allowable distance value) corresponding to a particular object at a particular object instance of the enclosing shape. At block B1102, the one or more machine learning models 104 may output one or more distances 106 as a predicted distance corresponding to the object instance represented by the enclosing shape. At block B1108, a comparison may be made between one or more distances 106 and a safety boundary defined by a minimum value 1012 and a maximum value 1012. If one or more distances 106 fall within the safety boundary (e.g., greater than the minimum value 1012 and less than the maximum value 1010), it may be determined that the one or more distances 106 are at a safety distance at block B1108 and may be passed to block B1112 to indicate to the system that the one or more distances 106 are acceptable. If one or more distances 106 fall outside the safety boundary (e.g., less than the minimum value 1012 or greater than the maximum value 1010), it may be determined that the one or more distances 106 are not at a safety distance at block B1108. When one or more distances 106 are outside the safety boundary, the one or more distances 106 may be limited to the safety boundary at block B1110. For example, in the case where one or more distances 106 are less than the minimum value 1012, the one or more distances 106 may be updated to the minimum value 1012. Similarly, where one or more of the distances 106 is greater than the maximum value 1010, the one or more distances 106 may be updated to the maximum value 1010. Once updated, the updated distances may be passed to block B 1112 to indicate to the system that the updated distances are acceptable.

[0139] Reference now Fig.12 , Fig.12 is an illustration of calculating a safety range using an enclosing shape corresponding to an object according to some embodiments of the present disclosure. For example, as described herein, another method of determining a safety boundary that can be used separately or in combination with a safety boundary from a road shape uses an enclosing shape of an object or obstacle. Fig.12The pinhole camera model can be represented by: Using the focal length f of the object 1204, the true height H, the enclosing shape height h and the projection function F, the distance d of the object can be calculated using equation (14), as follows:

[0140] d=F(f,H,h) (14)

[0141] In some embodiments, the distance d to the object may be inversely proportional to the height h of the enclosing shape, which is usually a pinhole camera model. Thus, the distance d may be calculated using the following equation (15), which may be referred to as a distance model:

[0142]

[0143] Object detection and estimated distance to objects can provide distances ({d0,d1,d2,…,d t}) and the height of the enclosing shape ({h0,h1,h2,…,h t}). Therefore, the true height H of the object can be calculated using, for example, a linear regression between d and 1 / h. After collecting enough samples, the value of d in equation (15) can be estimated from h. The safety lower limit or minimum value d L and the upper safety limit or maximum value d U It can be determined, for example, using equations (16) and (17):

[0144]

[0145]

[0146] where e is a predefined safety margin. In this way, the actual height H of the object can be estimated using modeling based on d and h data samples over time (eg, equation (15)).

[0147] The enclosing shape height h and focal length f can be replaced by the angle α between the rays at the middle top and middle bottom of the enclosing shape, as shown in equation (18) below:

[0148]

[0149] The inverse camera model can then be applied directly to the bounding shape to obtain the angle α.Thus, for any known camera model, the true object height H can be estimated using equation (18) based on samples of d and α over time.

[0150] Reference now Fig.13, each block of the method 1300 described herein includes a computing process that can be performed using any combination of hardware, firmware, and / or software. For example, various functions can be performed by a processor executing instructions stored in a memory. The method 1300 can also be embodied as computer-usable instructions stored on a computer storage medium. The method 1300 can be provided by a stand-alone application, a service, or a hosted service (standalone or in combination with another hosted service), or by a plug-in for another product, to name a few. In addition, by way of example, reference is made to Fig.12 Method 1300 is described. Method 1300 can be performed by any one system or any combination of systems, including but not limited to the systems described herein.

[0151] Fig.13 A flow chart illustrating a method 1300 for safety boundary determination using enclosing shape characteristics according to some embodiments of the present disclosure is shown. At block B1302, the method 1300 includes receiving an image (or other sensor data 702) at one or more machine learning models 104. The one or more machine learning models 104 (and / or object detectors 708) may output an enclosing shape, which may be used to calculate a distance d at block B1304, according to the distance model of equation (15) described herein. The distance d may then be used to calculate a safety boundary (e.g., a minimum value, d L and the maximum value d U ), for example, according to equations (16) and (17) described herein. At block B1302, one or more machine learning models 104 may output one or more distances 106 as predicted distances corresponding to the object instance represented by the enclosing shape. At block B1308, one or more distances 106 may be compared to the minimum value d L and the maximum value d U If one or more distances 106 fall within the safety boundaries (e.g., greater than a minimum value and less than a maximum value), then one or more distances 106 may be determined to be at a safe distance in block B 1308 and may be passed to block B 1312 to indicate to the system that one or more distances 106 are acceptable. Additionally, if one or more distances 106 are acceptable, the information may be passed back to the distance model to further train or update the distance model, as described herein with reference to Fig.12As described. If one or more distances 106 fall outside the safety boundary (e.g., less than the minimum value or greater than the maximum value), it can be determined that one or more distances 106 are not at the safety distance at box B1308. When one or more distances 106 are outside the safety boundary, one or more distances 106 can be limited to the safety boundary at box B3110. For example, when one or more distances 106 are less than the minimum value, one or more distances 106 can be updated to the minimum value. Similarly, when one or more distances 106 are greater than the maximum value, one or more distances 106 can be updated to the maximum value. Once updated, the updated distance can be passed to box B1312 to indicate to the system that the updated distance is acceptable.

[0152] Example Autonomous Vehicle

[0153] Fig.14A 1 is an illustration of an example autonomous vehicle 1400 according to some embodiments of the present disclosure. Autonomous vehicle 1400 (alternatively referred to herein as "vehicle 1400") may include, but is not limited to, a passenger vehicle, such as a car, a truck, a bus, an emergency vehicle, a shuttle, an electric or motorized bicycle, a motorcycle, a fire truck, a police car, an ambulance, a boat, an engineering vehicle, an underwater vehicle, a drone, and / or another type of vehicle (e.g., unmanned and / or capable of accommodating one or more passengers). Autonomous vehicles are generally described according to the automation levels defined by the National Highway Traffic Safety Administration (NHTSA), a division of the U.S. Department of Transportation, and the Society of Automotive Engineers (SAE) "Taxonomy and Definitions for Terms Related to Driving Automation Systems for On-Road Motor Vehicles" (Standard No. J3016-201806, issued on June 15, 2018, Standard No. J3016-201609, issued on September 30, 2016, and previous and future versions of the standard). The vehicle 1400 may be capable of implementing one or more functions consistent with autonomous driving levels 3-5. For example, depending on the embodiment, the vehicle 1400 may be capable of conditional automation (level 3), high automation (level 4), and / or full automation (level 5).

[0154] The vehicle 1400 may include components such as a chassis, a body, wheels (e.g., 2, 4, 6, 8, 18, etc.), tires, axles, and other components of the vehicle. The vehicle 1400 may include a propulsion system 1450, such as an internal combustion engine, a hybrid power plant, an all-electric engine, and / or another type of propulsion system. The propulsion system 1450 may be connected to a drive train of the vehicle 1400, which may include a transmission, to achieve propulsion of the vehicle 1400. The propulsion system 1450 may be controlled in response to receiving a signal from a throttle / accelerator 1452.

[0155] A steering system 1454, which may include a steering wheel, may be used to steer vehicle 1400 (e.g., along a desired path or route) when propulsion system 1450 is operating (e.g., when the vehicle is in motion). Steering system 1454 may receive signals from steering actuator 1456. For fully automated (Level 5) functionality, a steering wheel may be optional.

[0156] Brake sensor system 1446 may be used to operate vehicle brakes in response to receiving signals from brake actuator 1448 and / or brake sensors.

[0157] May include one or more system on chip (SoC) 1404 ( Fig. 14C ) and / or one or more controllers 1436 of one or more GPUs may provide signals (e.g., representing commands) to one or more components and / or systems of the vehicle 1400. For example, the one or more controllers may send signals to operate the vehicle brakes via one or more brake actuators 1448, to operate the steering system 1454 via one or more steering actuators 1456, and to operate the propulsion system 1450 via one or more throttles / accelerators 1452. The one or more controllers 1436 may include one or more onboard (e.g., integrated) computing devices (e.g., supercomputers) that process sensor signals and output operating commands (e.g., signals representing commands) to enable autonomous driving and / or assist a human driver in driving the vehicle 1400. The one or more controllers 1436 may include a first controller 1436 for autonomous driving functions, a second controller 1436 for functional safety functions, a third controller 1436 for artificial intelligence functions (e.g., computer vision), a fourth controller 1436 for infotainment functions, a fifth controller 1436 for redundancy in emergency situations, and / or other controllers. In some examples, a single controller 1436 may handle two or more of the above functions, two or more controllers 1436 may handle a single function, and / or any combination thereof.

[0158] The one or more controllers 1436 may provide signals for controlling one or more components and / or systems of the vehicle 1400 in response to sensor data (e.g., sensor input) received from one or more sensors. The sensor data may be received from, for example and without limitation, a global navigation satellite system sensor 1458 (e.g., a global positioning system sensor), a RADAR sensor 1460, an ultrasonic sensor 1462, a LIDAR sensor 1464, an inertial measurement unit (IMU) sensor 1466 (e.g., an accelerometer, a gyroscope, a magnetic compass, a magnetometer, etc.), a microphone 1496, a stereo camera 1468, a wide angle camera 1470 (e.g., a fisheye camera), an infrared camera 1472, a surround camera 1474 (e.g., a 360 degree camera), a long-range and / or mid-range camera 1498, a speed sensor 1444 (e.g., for measuring the velocity of the vehicle 1400), a vibration sensor 1442, a steering sensor 1440, a brake sensor (e.g., as part of a brake sensor system 1446), and / or other sensor types.

[0159] One or more of the controllers 1436 may receive input (e.g., represented by input data) from the instrument cluster 1432 of the vehicle 1400 and provide output (e.g., represented by output data, display data, etc.) via a human machine interface (HMI) display 1434, an audible annunciator, a speaker, and / or via other components of the vehicle 1400. These outputs may include information such as vehicle speed, velocity, time, map data (e.g., Fig. 14C The HMI display 1434 may include information such as the HD map 1422 of the vehicle 1400, location data (e.g., the location of the vehicle 1400 on the map), directions, locations of other vehicles (e.g., occupancy grid), information about objects and states of objects as sensed by the controller 1436, etc. For example, the HMI display 1434 may display information about the presence of one or more objects (e.g., street signs, warning signs, traffic light changes, etc.) and / or information about driving maneuvers that the vehicle has made, is making, or will make (e.g., changing lanes now, leaving 34B in two miles, etc.).

[0160] The vehicle 1400 further includes a network interface 1424 that can communicate via one or more networks using one or more wireless antennas 1426 and / or a modem. For example, the network interface 1424 may be capable of communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, etc. The one or more wireless antennas 1426 may also enable communication between objects in the environment (e.g., vehicles, mobile devices, etc.) using one or more local area networks such as Bluetooth, Bluetooth LE, Z-wave, ZigBee, etc. and / or one or more low power wide area networks (LPWANs) such as LoRaWAN, SigFox, etc.

[0161] Fig. 14B For use according to some embodiments of the present disclosure Fig.14A 1400. The cameras and respective fields of view are an example embodiment and are not intended to be limiting. For example, additional and / or replaceable cameras may be included and / or the cameras may be located at different locations on the vehicle 1400.

[0162] The camera type used for the camera may include, but is not limited to, a digital camera that may be suitable for use with components and / or systems of the vehicle 1400. The camera may operate at an automotive safety integrity level (ASIL) B and / or at another ASIL. The camera type may have any image capture rate, such as 60 frames per second (fps), 1420fps, 240fps, etc., depending on the embodiment. The camera may be capable of using a rolling shutter, a global shutter, another type of shutter, or a combination thereof. In some examples, the color filter array may include a red-white-white-white (RCCC) color filter array, a red-white-white-blue (RCCB) color filter array, a red-blue-green-white (RBGC) color filter array, a Foveon X3 color filter array, a Bayer sensor (RGGB) color filter array, a monochrome sensor color filter array, and / or another type of color filter array. In some embodiments, a clear pixel camera such as a camera with an RCCC, RCCB, and / or RBGC color filter array may be used in an effort to improve light sensitivity.

[0163] In some examples, one or more of the cameras can be used to perform advanced driver assistance system (ADAS) functions (e.g., as part of a redundant or fail-safe design). For example, a multi-function monocular camera can be installed to provide functions including lane departure warning, traffic sign assistance, and intelligent headlight control. One or more of the cameras (e.g., all of the cameras) can simultaneously record and provide image data (e.g., video).

[0164] One or more of the cameras may be mounted in a mounting assembly such as a custom designed (3-D printed) assembly to cut off stray light and reflections from within the car (e.g., reflections from the dashboard reflected in the windshield mirror) that may interfere with the camera's image data capture capabilities. With respect to the wing mirror mounting assembly, the wing mirror assembly may be custom 3-D printed so that the camera mounting plate matches the shape of the wing mirror. In some examples, one or more cameras may be integrated into the wing mirror. For side view cameras, one or more cameras may also be integrated into the four pillars at each corner of the cab.

[0165] A camera (e.g., a front-facing camera) having a field of view that includes a portion of the environment in front of the vehicle 1400 can be used for surround view to help identify the forward path and obstacles, as well as assist in providing information critical to generating an occupancy grid and / or determining a preferred vehicle path with the help of one or more controllers 1436 and / or control SoCs. The front-facing camera can be used to perform many of the same ADAS functions as LIDAR, including emergency braking, pedestrian detection, and collision avoidance. The front-facing camera can also be used for ADAS functions and systems, including lane departure warning ("LDW"), autonomous cruise control ("ACC"), and / or other functions such as traffic sign recognition.

[0166] A variety of cameras may be used in the front-facing configuration, including, for example, a monocular camera platform including a CMOS (complementary metal oxide semiconductor) color imager. Another example may be a wide-angle camera 1470, which may be used to sense objects (e.g., pedestrians, intersection traffic, or bicycles) entering the field of view from the periphery. Fig. 14B Only one wide-angle camera is shown, but there may be any number of wide-angle cameras 1470 on vehicle 1400. In addition, long-range cameras 1498 (e.g., a long-view stereo camera pair) may be used for depth-based object detection, especially for objects for which a neural network has not been trained. Long-range cameras 1498 may also be used for object detection and classification and basic object tracking.

[0167] One or more stereo cameras 1468 may also be included in the front configuration. The stereo camera 1468 may include an integrated control unit including an expandable processing unit that may provide a multi-core microprocessor and programmable logic (FPGA) with an integrated CAN or Ethernet interface on a single chip. Such a unit may be used to generate a 3-D map of the vehicle environment, including distance estimates for all points in the image. An alternative stereo camera 1468 may include a compact stereo vision sensor that may include two camera lenses (one on each side) and an image processing chip that may measure the distance from the vehicle to the target object and use the generated information (e.g., metadata) to activate autonomous emergency braking and lane departure warning functions. Other types of stereo cameras 1468 may be used in addition to or alternatively to those described herein.

[0168] A camera (e.g., a side view camera) having a field of view that includes portions of the environment to the sides of the vehicle 1400 can be used for surround viewing, providing information used to create and update an occupancy grid and generate side impact collision warnings. Fig. 14BThe four surround cameras 1474 shown in FIG. 14 can be placed on the vehicle 1400. The surround cameras 1474 can include a wide-angle camera 1470, a fisheye camera, a 360-degree camera, etc. For example, the four fisheye cameras can be placed in front, behind, and on the sides of the vehicle. In an alternative arrangement, the vehicle can use three surround cameras 1474 (e.g., left, right, and rear), and can utilize one or more other cameras (e.g., a forward-facing camera) as a fourth surround camera.

[0169] A camera having a field of view that includes a portion of the environment behind the vehicle 1400 (e.g., a rear view camera) can be used to assist with parking, surround view, rear collision warning, and creating and updating an occupancy grid. A variety of cameras can be used, including but not limited to cameras that are also suitable as front-facing cameras as described herein (e.g., long-range and / or mid-range cameras 1498, stereo cameras 1468, infrared cameras 1472, etc.).

[0170] Fig. 14C For use according to some embodiments of the present disclosure Fig.14A Block diagram of an example system architecture of an example autonomous vehicle 1400. It should be understood that this arrangement and other arrangements described herein are set forth merely as examples. Other arrangements and elements (e.g., machines, interfaces, functions, sequences, functional groupings, etc.) may be used in addition to or in place of those shown, and some elements may be omitted entirely. Further, many of the elements described herein are functional entities that may be implemented as discrete or distributed components or in combination with other components, and in any appropriate combination and location. The various functions described herein as being performed by an entity may be implemented by hardware, firmware, and / or software. For example, the various functions may be implemented by a processor executing instructions stored in a memory.

[0171] Fig. 14C Each of the components, features, and systems of vehicle 1400 is illustrated as being connected via bus 1402. Bus 1402 may include a controller area network (CAN) data interface (alternatively, referred to herein as a "CAN bus"). CAN may be a network inside vehicle 1400 that assists in controlling various features and functions of vehicle 1400, such as actuation of brakes, acceleration, braking, steering, windshield wipers, and the like. The CAN bus may be configured to have tens or even hundreds of nodes, each with its own unique identifier (e.g., CAN ID). The CAN bus may be read to find steering wheel angle, ground speed, engine speed per minute (RPM), button position, and / or other vehicle status indicators. The CAN bus may be ASIL B compliant.

[0172] Although bus 1402 is described herein as a CAN bus, this is not intended to be limiting. For example, in addition to or alternatively to the CAN bus, FlexRay and / or Ethernet can be used. In addition, although bus 1402 is represented by a single line, this is not intended to be limiting. For example, there can be any number of buses 1402, which may include one or more CAN buses, one or more FlexRay buses, one or more Ethernet buses, and / or one or more other types of buses using different protocols. In some examples, two or more buses 1402 can be used to perform different functions, and / or can be used for redundancy. For example, a first bus 1402 can be used for a collision avoidance function, and a second bus 1402 can be used for drive control. In any example, each bus 1402 can communicate with any component of the vehicle 1400, and two or more buses 1402 can communicate with the same component. In some examples, each SoC 1404, each controller 1436, and / or each computer within the vehicle may have access to the same input data (e.g., input from sensors of the vehicle 1400) and may be connected to a common bus such as a CAN bus.

[0173] The vehicle 1400 may include one or more controllers 1436, such as those described herein. Fig.14A Those controllers described. Controller 1436 can be used for a variety of functions. Controller 1436 can be coupled to any other different components and systems of vehicle 1400, and can be used for control of vehicle 1400, artificial intelligence of vehicle 1400, infotainment for vehicle 1400, etc.

[0174] The vehicle 1400 may include one or more system on chip (SoC) 1404. The SoC 1404 may include a CPU 1406, a GPU 1408, a processor 1410, a cache 1412, an accelerator 1414, a data store 1416, and / or other components and features not shown. The SoC 1404 may be used to control the vehicle 1400 in a variety of platforms and systems. For example, one or more SoCs 1404 may be combined with an HD map 1422 in a system (e.g., a system of the vehicle 1400), and the HD map may be downloaded from one or more servers (e.g., a server) via a network interface 1424. Fig.14D one or more servers 1478) to obtain map refreshes and / or updates.

[0175] CPU 1406 may include a CPU cluster or CPU complex (alternatively, referred to herein as "CCPLEX"). CPU 1406 may include multiple cores and / or L2 caches. For example, in some embodiments, CPU 1406 may include eight cores in a coherent multiprocessor configuration. In some embodiments, CPU 1406 may include four dual-core clusters, each of which has a dedicated L2 cache (e.g., 2MB L2 cache). CPU 1406 (e.g., CCPLEX) may be configured to support simultaneous cluster operations so that any combination of clusters of CPU 1406 can be active at any given time.

[0176] CPU 1406 may implement power management capabilities including one or more of the following features: each hardware block may be automatically clock gated when idle to save dynamic power; each core clock may be gated when the core is not actively executing instructions due to the execution of WFI / WFE instructions; each core may be independently power gated; each core cluster may be independently clock gated when all cores are clock gated or power gated; and / or each core cluster may be independently power gated when all cores are power gated. CPU 1406 may further implement an enhanced algorithm for managing power states, in which allowed power states and expected wake-up times are specified, and hardware / microcode determines the optimal power state to enter for the core, cluster, and CCPLEX. The processing core may support a simplified power state entry sequence in software, with the work being offloaded to the microcode.

[0177] GPU 1408 may include an integrated GPU (alternatively, referred to herein as an "iGPU"). GPU 1408 may be programmable and efficient for parallel workloads. In some examples, GPU 1408 may use an enhanced tensor instruction set. GPU 1408 may include one or more streaming microprocessors, each of which may include an L1 cache (e.g., an L1 cache with at least 96KB storage capacity), and two or more of these streaming microprocessors may share an L2 cache (e.g., an L2 cache with 512KB storage capacity). In some embodiments, GPU 1408 may include at least eight streaming microprocessors. GPU 1408 may use a computing application programming interface (API). In addition, GPU 1408 may use one or more parallel computing platforms and / or programming models (e.g., NVIDIA's CUDA).

[0178] In the case of automotive and embedded use, GPU 1408 can be power optimized to achieve optimal performance. For example, GPU 1408 can be manufactured on fin field effect transistors (FinFETs). However, this is not intended to be limiting, and GPU 1408 can be manufactured using other semiconductor manufacturing processes. Each streaming microprocessor can merge several mixed precision processing cores divided into multiple blocks. For example and without limitation, 64 PF32 cores and 32 PF64 cores can be divided into four processing blocks. In such an example, each processing block can be allocated 16 FP32 cores, 8 FP64 cores, 16 INT32 cores, two mixed precision NVIDIA tensor cores for deep learning matrix arithmetic, L0 instruction cache, warp scheduler, dispatch unit and / or 64KB register file. In addition, the streaming microprocessor may include independent parallel integer and floating point data paths to provide efficient execution of workloads using a mix of computation and addressing computations. The streaming microprocessor may include independent thread scheduling capabilities to allow for finer-grained synchronization and cooperation between parallel threads. The streaming microprocessor may include a combined L1 data cache and shared memory unit to improve performance while simplifying programming.

[0179] GPU 1408 can include high bandwidth memory (HBM) and / or a 16GB HBM2 memory subsystem that provides a peak memory bandwidth of approximately 900 GB / s in some examples. In some examples, synchronous graphics random access memory (SGRAM), such as fifth generation graphics double data rate synchronous random access memory (GDDR5), can be used in addition to or in lieu of HBM memory.

[0180] The GPU 1408 may include unified memory technology that includes access counters to allow memory pages to be more accurately migrated to the processor that accesses them most frequently, thereby improving the efficiency of memory ranges shared between processors. In some examples, address translation service (ATS) support may be used to allow the GPU 1408 to directly access the CPU 1406 page table. In such an example, when the GPU 1408 memory management unit (MMU) experiences a miss, an address translation request may be transmitted to the CPU 1406. In response, the CPU 1406 may look up the virtual-physical mapping for the address in its page table and transmit the translation back to the GPU 1408. In this way, unified memory technology may allow a single unified virtual address space to be used for memory of both the CPU 1406 and the GPU 1408, thereby simplifying GPU 1408 programming and porting applications to the GPU 1408.

[0181] In addition, GPU 1408 may include access counters that can track how often GPU 1408 accesses the memory of other processors. Access counters can help ensure that memory pages are moved to the physical memory of the processor that accesses them most frequently.

[0182] SoC 1404 may include any number of caches 1412, including those described herein. For example, cache 1412 may include an L3 cache available to both CPU 1406 and GPU 1408 (e.g., connected to both CPU 1406 and GPU 1408). Cache 1412 may include a write-back cache that may track the state of a line, for example, by using a cache coherence protocol (e.g., MEI, MESI, MSI, etc.). Depending on the embodiment, the L3 cache may include 4MB or more, although smaller cache sizes may also be used.

[0183] SoC 1404 may include one or more accelerators 1414 (e.g., hardware accelerators, software accelerators, or a combination thereof). For example, SoC 1404 may include a hardware acceleration cluster, which may include optimized hardware accelerators and / or large on-chip memory. The large on-chip memory (e.g., 4MB SRAM) may enable the hardware acceleration cluster to accelerate neural networks and other calculations. The hardware acceleration cluster may be used to supplement GPU 1408 and offload some tasks of GPU 1408 (e.g., free up more cycles of GPU 1408 for performing other tasks). As an example, accelerator 1414 may be used for targeted workloads (e.g., perception, convolutional neural networks (CNNs), etc.) that are sufficiently stable to easily control acceleration. When used herein, the term "CNN" may include all types of CNNs, including region-based or regional convolutional neural networks (RCNNs) and fast RCNNs (e.g., for object detection).

[0184] Accelerator 1414 (e.g., a hardware acceleration cluster) may include a deep learning accelerator (DLA). DLA may include one or more tensor processing units (TPUs) that may be configured to provide an additional 10 trillion operations per second for deep learning applications and reasoning. TPU may be an accelerator configured to perform image processing functions (e.g., for CNN, RCNN, etc.) and optimized for performing image processing functions. DLA may be further optimized for a specific set of neural network types and floating point operations and reasoning. The design of DLA may provide higher performance per millimeter than a general-purpose GPU, and far exceeds the performance of a CPU. TPU may perform several functions, including a single instance convolution function, support, for example, INT8, INT16, and FP16 data types for both features and weights, and post-processor functions.

[0185] The DLA can quickly and efficiently execute neural networks, particularly CNNs, on processed or unprocessed data for any of a wide variety of functions, such as, but not limited to: a CNN for object recognition and detection using data from a camera sensor; a CNN for distance estimation using data from a camera sensor; a CNN for emergency vehicle detection and identification and detection using data from a microphone; a CNN for facial recognition and vehicle owner identification using data from a camera sensor; and / or a CNN for safety and / or security-related events.

[0186] The DLA can perform any function of the GPU 1408, and by using an inference accelerator, for example, the designer can target any function to either the DLA or the GPU 1408. For example, the designer can focus the processing of CNNs and floating point operations on the DLA, and leave other functions to the GPU 1408 and / or other accelerators 1414.

[0187] The accelerator 1414 (e.g., a hardware acceleration cluster) may include a programmable vision accelerator (PVA), which may be alternatively referred to herein as a computer vision accelerator. The PVA may be designed and configured to accelerate computer vision algorithms for advanced driver assistance systems (ADAS), autonomous driving, and / or augmented reality (AR) and / or virtual reality (VR) applications. The PVA may provide a balance between performance and flexibility. For example, each PVA may include, for example and without limitation, any number of reduced instruction set computer (RISC) cores, direct memory access (DMA), and / or any number of vector processors.

[0188] The RISC core can interact with an image sensor (e.g., an image sensor of any camera described herein), an image signal processor, and the like. Each of these RISC cores can include any amount of memory. Depending on the embodiment, the RISC core can use any of a number of protocols. In some examples, the RISC core can execute a real-time operating system (RTOS). The RISC core can be implemented using one or more integrated circuit devices, application specific integrated circuits (ASICs), and / or storage devices. For example, the RISC core can include an instruction cache and / or a tightly coupled RAM.

[0189] The DMA may enable components of the PVA to access system memory independently of the CPU 1406. The DMA may support any number of features used to provide optimizations for the PVA, including, but not limited to, support for multi-dimensional addressing and / or circular addressing. In some examples, the DMA may support addressing in up to six or more dimensions, which may include block width, block height, block depth, horizontal block stepping, vertical block stepping, and / or depth stepping.

[0190] The vector processor can be a programmable processor that can be designed to efficiently and flexibly perform programming for computer vision algorithms and provide signal processing capabilities. In some examples, the PVA can include a PVA core and two vector processing subsystem partitions. The PVA core can include a processor subsystem, one or more DMA engines (e.g., two DMA engines), and / or other peripherals. The vector processing subsystem can operate as the main processing engine of the PVA, and can include a vector processing unit (VPU), an instruction cache, and / or a vector memory (e.g., VMEM). The VPU core can include a digital signal processor, such as, for example, a single instruction multiple data (SIMD), a very long instruction word (VLIW) digital signal processor. The combination of SIMD and VLIW can enhance throughput and rate.

[0191] Each of the vector processors may include an instruction cache and may be coupled to a dedicated memory. As a result, in some examples, each of the vector processors may be configured to execute independently of the other vector processors. In other examples, the vector processors included in a particular PVA may be configured to employ data parallelism. For example, in some embodiments, multiple vector processors included in a single PVA may execute the same computer vision algorithm, but on different regions of an image. In other examples, the vector processors included in a particular PVA may execute different computer vision algorithms simultaneously on the same image, or even execute different algorithms on sequence images or portions of an image. Among other things, any number of PVAs may be included in a hardware acceleration cluster, and any number of vector processors may be included in each of these PVAs. In addition, the PVA may include additional error correction code (ECC) memory to enhance overall system security.

[0192] The accelerator 1414 (e.g., a hardware acceleration cluster) may include an on-chip computer vision network and SRAM to provide high bandwidth, low latency SRAM for the accelerator 1414. In some examples, the on-chip memory may include at least 4MB of SRAM consisting of, for example and not limited to, eight field-configurable memory blocks that can be accessed by both the PVA and the DLA. Each pair of memory blocks may include an advanced peripheral bus (APB) interface, configuration circuitry, a controller, and a multiplexer. Any type of memory may be used. The PVA and DLA may access the memory via a backbone that provides high-speed memory access to the PVA and DLA. The backbone may include an on-chip computer vision network that interconnects the PVA and DLA to the memory (e.g., using APB).

[0193] The on-chip computer vision network may include an interface that determines that both the PVA and DLA provide ready and valid signals before transmitting any control signals / addresses / data. Such an interface may provide separate phases and separate channels for transmitting control signals / addresses / data, as well as burst communication for continuous data transmission. This type of interface may comply with ISO 26262 or IEC 61508 standards, but other standards and protocols may also be used.

[0194] In some examples, SoC 1404 may include a real-time ray tracing hardware accelerator such as described in U.S. Patent Application No. 16 / 101,232 filed on August 10, 2018. The real-time ray tracing hardware accelerator may be used to quickly and efficiently determine the position and range of objects (e.g., within a world model) in order to generate real-time visualization simulations for RADAR signal interpretation, for sound propagation synthesis and / or analysis, for SONAR system simulations, for general wave propagation simulations, for comparison with LIDAR data for the purpose of positioning and / or other functions, and / or for other uses.

[0195] The accelerator 1414 (e.g., a hardware accelerator cluster) has a wide range of uses in autonomous driving. The PVA can be a programmable vision accelerator that can be used for key processing stages in ADAS and autonomous vehicles. The capabilities of the PVA are a good match for algorithmic domains that require predictable processing, low power, and low latency. In other words, the PVA performs well on semi-dense or dense rule computations, and even on small data sets that require predictable runtimes with low latency and low power. Therefore, in the context of a platform for autonomous vehicles, the PVA is designed to run classic computer vision algorithms because they are efficient at object detection and integer math.

[0196] For example, according to one embodiment of the technology, PVA is used to perform computer stereo vision. In some examples, algorithms based on semi-global matching can be used, but this is not intended to be limiting. Many applications for level 3-5 autonomous driving require instant motion estimation / stereo matching (e.g., structure from motion, pedestrian recognition, lane detection, etc.). PVA can perform computer stereo vision functions on input from two monocular cameras.

[0197] In some examples, PVA can be used to perform dense optical flow. According to the process raw RADAR data (e.g., using 4D fast Fourier transform) to provide processed RADAR. In other examples, PVA is used for time-of-flight depth processing, which is for example by processing raw time-of-flight data to provide processed time-of-flight data.

[0198] DLA can be used to run any type of network to enhance control and driving safety, including, for example, a neural network that outputs a confidence measure for each object detection. Such confidence values ​​can be interpreted as probabilities, or as providing a relative "weight" of each detection compared to other detections. The confidence value enables the system to make further decisions about which detections should be considered true positive detections rather than false positive detections. For example, the system can set a threshold for confidence and only consider detections that exceed the threshold as true positive detections. In an automatic emergency braking (AEB) system, a false positive detection can cause the vehicle to automatically perform emergency braking, which is obviously undesirable. Therefore, only the most confident detections should be considered as triggers for AEB. DLA can run a neural network for regressing confidence values. The neural network may take as its input at least some subset of parameters, such as bounding box dimensions, a ground plane estimate obtained (e.g., from another subsystem), an inertial measurement unit (IMU) sensor 1466 output related to the orientation and distance of the vehicle 1400, a 3D position estimate of an object obtained from the neural network and / or other sensors (e.g., a LIDAR sensor 1464 or a RADAR sensor 1460), etc.

[0199] SoC 1404 may include one or more data stores 1416 (e.g., memory). Data store 1416 may be on-chip memory of SoC 1404 that may store neural networks to be executed on the GPU and / or DLA. In some examples, data store 1416 may be large enough to store multiple instances of a neural network for redundancy and safety. Data store 1412 may include an L2 or L3 cache 1412. References to data store 1416 may include references to memory associated with a PVA, DLA, and / or other accelerator 1414 as described herein.

[0200] SoC 1404 may include one or more processors 1410 (e.g., embedded processors). Processor 1410 may include a boot and power management processor, which may be a dedicated processor and subsystem for handling boot power and management functions and related safety implementations. The boot and power management processor may be part of the SoC 1404 boot sequence and may provide runtime power management services. The boot power and management processor may provide clock and voltage programming, auxiliary system low power state transitions, SoC 1404 thermal and temperature sensor management, and / or SoC 1404 power state management. Each temperature sensor may be implemented as a ring oscillator whose output frequency is proportional to the temperature, and SoC 1404 may use the ring oscillator to detect the temperature of CPU 1406, GPU 1408, and / or accelerator 1414. If it is determined that the temperature exceeds a threshold, the boot and power management processor may enter a temperature fault routine and place SoC 1404 in a lower power state and / or place vehicle 1400 in a driver safety parking mode (e.g., parking vehicle 1400 safely).

[0201] Processor 1410 may further include a set of embedded processors that may be used as an audio processing engine. The audio processing engine may be an audio subsystem that allows for full hardware support for multi-channel audio through multiple interfaces and a wide range of flexible audio I / O interfaces. In some examples, the audio processing engine is a dedicated processor core having a digital signal processor with dedicated RAM.

[0202] The processor 1410 may further include an always-on processor engine that may provide the necessary hardware features to support low-power sensor management and wake-up use cases. The always-on processor engine may include a processor core, tightly coupled RAM, supporting peripherals (e.g., timers and interrupt controllers), various I / O controller peripherals, and routing logic.

[0203] The processor 1410 may further include a safety cluster engine, which includes a dedicated processor subsystem that handles safety management of automotive applications. The safety cluster engine may include two or more processor cores, tightly coupled RAM, supporting peripherals (e.g., timers, interrupt controllers, etc.), and / or routing logic. In safety mode, the two or more cores may operate in lockstep mode and act as a single core with comparison logic to detect any differences between their operations.

[0204] Processor 1410 may further include a real-time camera engine, which may include a dedicated processor subsystem for handling real-time camera management.

[0205] Processor 1410 may further include a high dynamic range signal processor, which may include an image signal processor, which is a hardware engine that is part of the camera processing pipeline.

[0206] The processor 1410 may include a video image compositer, which may be a processing block (e.g., implemented on a microprocessor) that implements video post-processing functions required for the video playback application to generate a final image for the player window. The video image compositer may perform lens distortion correction for the wide-angle camera 1470, the surround camera 1474, and / or for an in-cab surveillance camera sensor. The in-cab surveillance camera sensor is preferably monitored by a neural network running on another instance of the advanced SoC, configured to recognize in-cab events and respond accordingly. The in-cab system may perform lip reading to activate mobile phone service and place a call, dictate an email, change a vehicle destination, activate or change the vehicle's infotainment system and settings, or provide voice-activated web surfing. Certain functions are only available to the driver when the vehicle is operating in autonomous mode and are disabled in other circumstances.

[0207] The video image compositer may include enhanced temporal noise reduction for both spatial and temporal noise reduction. For example, in the case of motion in the video, the noise reduction appropriately weights the spatial information and reduces the weight of information provided by adjacent frames. In the case where an image or portion of an image does not include motion, the temporal noise reduction performed by the video image compositer may use information from previous images to reduce noise in the current image.

[0208] The video image compositor may also be configured to perform stereoscopic rectification on the input stereoscopic footage frames. The video image compositor may further be used for user interface composition when the operating system desktop is in use and the GPU 1408 does not need to continuously render new surfaces. Even when the GPU 1408 is powered on and active for 3D rendering, the video image compositor may be used to offload the GPU 1408 to improve performance and responsiveness.

[0209] SoC 1404 may further include a mobile industry processor interface (MIPI) camera serial interface for receiving video and input from a camera, a high-speed interface, and / or a video input block that may be used for camera and related pixel input functions. SoC 1404 may further include an input / output controller that may be controlled by software and may be used to receive I / O signals that are not committed to a specific role.

[0210] SoC 1404 may further include a wide range of peripheral interfaces to enable communication with peripherals, audio codecs, power management and / or other devices. SoC 1404 may be used to process data from cameras (connected via Gigabit multimedia serial link and Ethernet), sensors (e.g., LIDAR sensor 1464, RADAR sensor 1460, etc., which may be connected via Ethernet), data from bus 1402 (e.g., speed of vehicle 1400, steering wheel position, etc.), data from GNSS sensor 1458 (connected via Ethernet or CAN bus). SoC 1404 may further include dedicated high-performance mass storage controllers, which may include their own DMA engines, and which may be used to free up CPU 1406 from routine data management tasks.

[0211] SoC 1404 can be an end-to-end platform with a flexible architecture that spans automation levels 3-5, providing a comprehensive functional safety architecture that leverages and efficiently uses computer vision and ADAS technologies to achieve diversity and redundancy, together with deep learning tools to provide a platform for a flexible and reliable driving software stack. SoC 1404 can be faster, more reliable, and even more energy efficient and space efficient than conventional systems. For example, when combined with CPU 1406, GPU 1408, and data storage 1416, accelerator 1414 can provide a fast and efficient platform for level 3-5 autonomous vehicles.

[0212] The technology thus provides capabilities and functionality that cannot be achieved by conventional systems. For example, computer vision algorithms can be executed on CPUs, which can be configured using high-level programming languages ​​such as the C programming language to execute a wide variety of processing algorithms across a wide variety of visual data. However, CPUs often fail to meet the performance requirements of many computer vision applications, such as those related to, for example, execution time and power consumption. In particular, many CPUs are unable to execute complex object detection algorithms in real time, which is a requirement for in-vehicle ADAS applications and a requirement for practical Level 3-5 autonomous vehicles.

[0213] In contrast to conventional systems, by providing a CPU complex, a GPU complex, and a hardware acceleration cluster, the techniques described herein allow multiple neural networks to be executed simultaneously and / or sequentially, and the results to be combined together to achieve Level 3-5 autonomous driving functions. For example, a CNN executed on a DLA or dGPU (e.g., GPU 1420) may include text and word recognition, allowing the supercomputer to read and understand traffic signs, including signs for which a neural network has not been specifically trained. The DLA may further include a neural network capable of recognizing, interpreting, and providing semantic understanding of the signs, and passing that semantic understanding to a path planning module running on the CPU complex.

[0214] As another example, as required for Level 3, 4, or 5 driving, multiple neural networks may be running simultaneously. For example, a warning sign consisting of "Caution: Flashing Lights Indicate Icing Conditions" along with electric lights may be interpreted by several neural networks independently or collectively. The sign itself may be recognized as a traffic sign by a deployed first neural network (e.g., a trained neural network), and the text "Flashing Lights Indicate Icing Conditions" may be interpreted by a deployed second neural network that informs the vehicle's path planning software (preferably executing on a CPU complex) that icing conditions exist when the flashing lights are detected. The flashing lights may be identified by operating a deployed third neural network over multiple frames that informs the vehicle's path planning software of the presence (or absence) of the flashing lights. All three neural networks may be running simultaneously, for example within a DLA and / or on GPU 1408.

[0215] In some examples, a CNN for facial recognition and owner recognition can use data from the camera sensor to identify the presence of an authorized driver and / or owner of the vehicle 1400. The always-on sensor processing engine can be used to unlock the vehicle and turn on the lights when the owner approaches the driver's door, and in security mode, disable the vehicle when the owner leaves the vehicle. In this way, the SoC 1404 provides security against theft and / or carjacking.

[0216] In another example, a CNN for emergency vehicle detection and identification can use data from microphone 1496 to detect and identify emergency vehicle sirens. In contrast to conventional systems that use general classifiers to detect sirens and manually extract features, SoC 1404 uses CNN to classify environmental and urban sounds and to classify visual data. In a preferred embodiment, the CNN running on the DLA is trained to identify the relative closing rate of emergency vehicles (e.g., by using the Doppler effect). The CNN can also be trained to identify emergency vehicles specific to the local area in which the vehicle is operating, as identified by the GNSS sensor 1458. Thus, for example, when operating in Europe, the CNN will seek to detect European sirens, and when in the United States, the CNN will seek to identify only North American sirens. Once an emergency vehicle is detected, with the assistance of the ultrasonic sensor 1462, the control program can be used to execute emergency vehicle safety routines to slow the vehicle, drive to the side of the road, stop the vehicle, and / or idle the vehicle until the emergency vehicle passes.

[0217] The vehicle may include a CPU 1418 (e.g., a discrete CPU or dCPU) that may be coupled to the SoC 1404 via a high-speed interconnect (e.g., PCIe). The CPU 1418 may include, for example, an X86 processor. The CPU 1418 may be used to perform any of a variety of functions, including, for example, arbitrating potentially inconsistent results between ADAS sensors and the SoC 1404, and / or monitoring the status and health of the controller 1436 and / or the infotainment SoC 1430.

[0218] The vehicle 1400 may include a GPU 1420 (e.g., a discrete GPU or dGPU) that may be coupled to the SoC 1404 via a high-speed interconnect (e.g., NVIDIA's NVLINK). The GPU 1420 may provide additional artificial intelligence functionality, for example, by executing redundant and / or different neural networks, and may be used to train and / or update the neural network based at least in part on input from sensors of the vehicle 1400 (e.g., sensor data).

[0219] The vehicle 1400 may further include a network interface 1424, which may include one or more wireless antennas 1426 (e.g., one or more wireless antennas for different communication protocols, such as cellular antennas, Bluetooth antennas, etc.). The network interface 1424 can be used to enable wireless connections to the cloud (e.g., with a server 1478 and / or other network devices), to other vehicles, and / or to computing devices (e.g., a passenger's client device) via the Internet. In order to communicate with other vehicles, a direct link can be established between the two vehicles, and / or an indirect link can be established (e.g., across a network and through the Internet). The direct link can be provided using a vehicle-to-vehicle communication link. The vehicle-to-vehicle communication link can provide the vehicle 1400 with information about vehicles approaching the vehicle 1400 (e.g., vehicles in front of, to the side of, and / or behind the vehicle 1400). This functionality can be part of the cooperative adaptive cruise control functionality of the vehicle 1400.

[0220] The network interface 1424 may include a SoC that provides modulation and demodulation functions and enables the controller 1436 to communicate over a wireless network. The network interface 1424 may include a radio frequency front end for up-conversion from baseband to radio frequency and down-conversion from radio frequency to baseband. The frequency conversion may be performed by a known process and / or may be performed using a super-heterodyne process. In some examples, the radio frequency front end function may be provided by a separate chip. The network interface may include a wireless function for communicating via LTE, WCDMA, UMTS, GSM, CDMA2000, Bluetooth, Bluetooth LE, Wi-Fi, Z-wave, ZigBee, LoRaWAN, and / or other wireless protocols.

[0221] The vehicle 1400 may further include data storage 1428, which may include off-chip storage (e.g., outside the SoC 1404). The data storage 1428 may include one or more storage elements, including RAM, SRAM, DRAM, VRAM, flash memory, hard disk, and / or other components and / or devices that can store at least one bit of data.

[0222] The vehicle 1400 may further include a GNSS sensor 1458. The GNSS sensor 1458 (e.g., GPS and / or assisted GPS sensor) is used to assist in mapping, perception, occupancy grid generation, and / or path planning functions. Any number of GNSS sensors 1458 may be used, including, for example and without limitation, GPS using a USB connector with an Ethernet to serial (RS-232) bridge.

[0223] The vehicle 1400 may further include a RADAR sensor 1460. The RADAR sensor 1460 may be used by the vehicle 1400 for remote vehicle detection even in darkness and / or inclement weather conditions. The RADAR functional safety level may be ASILB. The RADAR sensor 1460 may use CAN and / or bus 1402 (e.g., to transmit data generated by the RADAR sensor 1460) for control and access to object tracking data, accessing Ethernet in some examples to access raw data. A variety of RADAR sensor types may be used. For example and without limitation, the RADAR sensor 1460 may be suitable for front, rear, and side RADAR use. In some examples, a pulse Doppler RADAR sensor is used.

[0224] The RADAR sensor 1460 may include different configurations, such as long-range with a narrow field of view, short-range with a wide field of view, short-range side coverage, and the like. In some examples, the long-range RADAR may be used for adaptive cruise control functions. The long-range RADAR system may provide a wide field of view (e.g., within a range of 250m) achieved by two or more independent scans. The RADAR sensor 1460 may help distinguish between static and moving objects and may be used by the ADAS system for emergency braking assistance and forward collision warnings. The long-range RADAR sensor may include a single-station multimode RADAR with multiple (e.g., six or more) fixed RADAR antennas and high-speed CAN and FlexRay interfaces. In an example with six antennas, the central four antennas may create a focused beam pattern designed to record the surroundings of the vehicle 1400 at a higher rate with minimal traffic interference from adjacent lanes. The other two antennas may expand the field of view, making it possible to quickly detect vehicles entering or leaving the lane of the vehicle 1400.

[0225] As an example, a medium-range RADAR system may include a range of up to 1460m (front) or 80m (rear) and a field of view of up to 42 degrees (front) or 1450 degrees (rear). A short-range RADAR system may include, but is not limited to, a RADAR sensor designed to be mounted on both ends of a rear bumper. When mounted on both ends of a rear bumper, such a RADAR sensor system may create two beams that continuously monitor the blind spots behind and beside the vehicle.

[0226] Short-range RADAR systems can be used in ADAS systems for blind spot detection and / or lane change assistance.

[0227] The vehicle 1400 may further include ultrasonic sensors 1462. The ultrasonic sensors 1462, which may be placed on the front, rear, and / or sides of the vehicle 1400, may be used for parking assistance and / or creating and updating an occupancy grid. A variety of ultrasonic sensors 1462 may be used, and different ultrasonic sensors 1462 may be used for different detection ranges (e.g., 2.5 m, 4 m). The ultrasonic sensors 1462 may operate at a functional safety level of ASIL B.

[0228] The vehicle 1400 may include a LIDAR sensor 1464. The LIDAR sensor 1464 may be used for object and pedestrian detection, emergency braking, collision avoidance, and / or other functions. The LIDAR sensor 1464 may be ASIL B for functional safety level. In some examples, the vehicle 1400 may include multiple LIDAR sensors 1464 (e.g., two, four, six, etc.) that may use Ethernet (e.g., to provide data to a Gigabit Ethernet switch).

[0229] In some examples, the LIDAR sensor 1464 may be able to provide a list of objects and their distances for a 360-degree field of view. Commercially available LIDAR sensors 1464 may have, for example, an advertised range of approximately 1400m, an accuracy of 2cm-3cm, and support for 1400Mbps Ethernet connections. In some examples, one or more non-protruding LIDAR sensors 1464 may be used. In such examples, the LIDAR sensor 1464 may be implemented as a small device that can be embedded in the front, back, side, and / or corner of the vehicle 1400. In such an example, the LIDAR sensor 1464 may provide a field of view of up to 1420 degrees horizontally and 35 degrees vertically, with a range of 200m, even for low reflectivity objects. The front-mounted LIDAR sensor 1464 may be configured for a horizontal field of view between 45 and 135 degrees.

[0230] In some examples, LIDAR technologies such as 3D flash LIDAR may also be used. 3D flash LIDAR uses flashes of laser as an emission source to illuminate the vehicle's surroundings up to about 200m. The flash LIDAR unit includes a receiver that records the laser pulse transmission time and reflected light on each pixel, which in turn corresponds to the range from the vehicle to the object. Flash LIDAR can allow highly accurate and distortion-free images of the surrounding environment to be generated with each laser flash. In some examples, four flash LIDAR sensors may be deployed, one on each side of the vehicle 1400. Available 3D flash LIDAR systems include solid-state 3D staring array LIDAR cameras (e.g., non-scanning LIDAR devices) with no moving parts other than fans. The flash LIDAR device can use 5 nanosecond Class I (eye-safe) laser pulses per frame and can capture the reflected laser light in the form of a 3D range point cloud and co-registered intensity data. By using flash LIDAR, and because flash LIDAR is a solid-state device with no moving parts, the LIDAR sensor 1464 may be less susceptible to motion blur, vibration, and / or shock.

[0231] The vehicle may further include an IMU sensor 1466. In some examples, the IMU sensor 1466 may be located at the center of the rear axle of the vehicle 1400. The IMU sensor 1466 may include, for example and without limitation, an accelerometer, a magnetometer, a gyroscope, a magnetic compass, and / or other sensor types. In some examples, for example, in a six-axis application, the IMU sensor 1466 may include an accelerometer and a gyroscope, while in a nine-axis application, the IMU sensor 1466 may include an accelerometer, a gyroscope, and a magnetometer.

[0232] In some embodiments, the IMU sensor 1466 can be implemented as a miniature high-performance GPS-assisted inertial navigation system (GPS / INS) that combines a micro-electromechanical system (MEMS) inertial sensor, a high-sensitivity GPS receiver, and an advanced Kalman filter algorithm to provide estimates of position, velocity, and attitude. Thus, in some examples, the IMU sensor 1466 can enable the vehicle 1400 to estimate heading by directly observing and correlating velocity changes from the GPS to the IMU sensor 1466 without the need for input from a magnetic sensor. In some examples, the IMU sensor 1466 and the GNSS sensor 1458 can be combined into a single integrated unit.

[0233] The vehicle may include microphones 1496 positioned in and / or around the vehicle 1400. The microphones 1496 may be used for, among other things, emergency vehicle detection and identification.

[0234] The vehicle may further include any number of camera types, including stereo cameras 1468, wide-angle cameras 1470, infrared cameras 1472, surround cameras 1474, long-range and / or mid-range cameras 1498, and / or other camera types. These cameras can be used to capture image data around the entire periphery of the vehicle 1400. The type of camera used depends on the embodiment and the requirements of the vehicle 1400, and any combination of camera types can be used to provide the necessary coverage around the vehicle 1400. In addition, the number of cameras can vary depending on the embodiment. For example, the vehicle may include six cameras, seven cameras, ten cameras, twelve cameras, and / or another number of cameras. As an example and not limitation, the cameras can support Gigabit Multimedia Serial Link (GMSL) and / or Gigabit Ethernet. Each of the cameras described herein may be described in detail with respect to Fig.14A and Fig. 14B Described in more detail.

[0235] The vehicle 1400 may further include a vibration sensor 1442. The vibration sensor 1442 may measure vibrations of components of the vehicle, such as an axle. For example, changes in vibration may indicate changes in the road surface. In another example, when two or more vibration sensors 1442 are used, the difference between the vibrations may be used to determine friction or slip of the road surface (e.g., when there is a vibration difference between a powered drive shaft and a freely rotating shaft).

[0236] The vehicle 1400 may include an ADAS system 1438. In some examples, the ADAS system 1438 may include a SoC. The ADAS system 1438 may include autonomous / adaptive / automatic cruise control (ACC), cooperative adaptive cruise control (CACC), forward collision warning (FCW), automatic emergency braking (AEB), lane departure warning (LDW), lane keeping assist (LKA), blind spot warning (BSW), rear cross traffic warning (RCTW), collision warning system (CWS), lane centering (LC), and / or other features and functions.

[0237] The ACC system may use a RADAR sensor 1460, a LIDAR sensor 1464, and / or a camera. The ACC system may include a longitudinal ACC and / or a lateral ACC. The longitudinal ACC monitors and controls the distance to the vehicle immediately in front of the vehicle 1400, and automatically adjusts the vehicle speed to maintain a safe distance from the vehicle in front. The lateral ACC performs distance keeping and suggests that the vehicle 1400 change lanes when necessary. The lateral ACC is related to other ADAS applications such as LCA and CWS.

[0238] CACC uses information from other vehicles, which can be received from other vehicles indirectly via a wireless link or through a network connection (e.g., through the Internet) via a network interface 1424 and / or a wireless antenna 1426. A direct link can be provided by a vehicle-to-vehicle (V2V) communication link, while an indirect link can be an infrastructure-to-vehicle (I2V) communication link. Typically, the V2V communication concept provides information about the vehicle immediately ahead (e.g., the vehicle immediately ahead of the vehicle 1400 and in the same lane as it), while the I2V communication concept provides information about traffic farther ahead. The CACC system may include either or both of the I2V and V2V information sources. Given information about the vehicle ahead of the vehicle 1400, CACC can be more reliable, and it is possible to improve the smoothness of traffic flow and reduce road congestion.

[0239] The FCW system is designed to alert the driver to hazards so that the driver can take corrective action. The FCW system uses a front camera and / or RADAR sensor 1460 coupled to a dedicated processor, DSP, FPGA and / or ASIC, which is electrically coupled to driver feedback such as a display, speaker and / or vibrating components. The FCW system can provide warnings in the form of, for example, sound, visual warnings, vibrations and / or rapid brake pulses.

[0240] The AEB system detects an impending front collision with another vehicle or other object and can automatically apply the brakes if the driver does not take corrective action within specified time or distance parameters. The AEB system can use a front camera and / or RADAR sensor 1460 coupled to a dedicated processor, DSP, FPGA and / or ASIC. When the AEB system detects a hazard, it typically first alerts the driver to take corrective action to avoid the collision, and if the driver does not take corrective action, the AEB system can automatically apply the brakes in an effort to prevent or at least mitigate the effects of the predicted collision. The AEB system may include technologies such as dynamic brake support and / or collision approach braking.

[0241] The LDW system provides visual, audible, and / or tactile warnings, such as steering wheel or seat vibrations, to alert the driver when the vehicle 1400 crosses a lane marking. When the driver indicates an intention to leave the lane, by activating a turn signal, the LDW system is not activated. The LDW system may use a front-facing camera coupled to a dedicated processor, DSP, FPGA, and / or ASIC that is electrically coupled to driver feedback such as a display, speaker, and / or vibrating component.

[0242] The LKA system is a variation of the LDW system. If the vehicle 1400 begins to leave the lane, the LKA system provides steering input or braking to correct the vehicle 1400.

[0243] The BSW system detects and warns the driver of vehicles in the car's blind spot. The BSW system can provide visual, auditory and / or tactile alerts to indicate that it is unsafe to merge or change lanes. The system can provide additional warnings when the driver uses a turn signal. The BSW system can use a rear-facing camera and / or RADAR sensor 1460 coupled to a dedicated processor, DSP, FPGA and / or ASIC, which is electrically coupled to driver feedback such as a display, speaker and / or vibration components.

[0244] The RCTW system may provide visual, audible, and / or tactile notifications when an object is detected outside the range of the rear camera while the vehicle 1400 is in reverse. Some RCTW systems include AEB to ensure that the vehicle brakes are applied to avoid a crash. The RCTW system may use one or more rear RADAR sensors 1460 coupled to a dedicated processor, DSP, FPGA, and / or ASIC that is electrically coupled to driver feedback such as a display, speaker, and / or vibrating component.

[0245] Conventional ADAS systems may be prone to false positive results, which may annoy and distract the driver, but are typically not catastrophic because the ADAS system alerts the driver and allows the driver to decide whether the safety condition actually exists and take action accordingly. However, in the autonomous vehicle 1400, in the case of conflicting results, the vehicle 1400 itself must decide whether to pay attention to the results from the main computer or the auxiliary computer (e.g., the first controller 1436 or the second controller 1436). For example, in some embodiments, the ADAS system 1438 can be a backup and / or auxiliary computer for providing perception information to the backup computer rationality module. The backup computer rationality monitor can run redundant and diverse software on hardware components to detect faults in perception and dynamic driving tasks. The output from the ADAS system 1438 can be provided to the supervisory MCU. If the outputs from the main computer and the auxiliary computer conflict, the supervisory MCU must determine how to coordinate the conflict to ensure safe operation.

[0246] In some examples, the master computer can be configured to provide a confidence score to the supervisory MCU, indicating the master computer's confidence in the selected result. If the confidence score exceeds a threshold, the supervisory MCU can follow the direction of the master computer, regardless of whether the auxiliary computer provides conflicting or inconsistent results. In the case where the confidence score does not meet the threshold and the master computer and the auxiliary computer indicate different results (e.g., conflicts), the supervisory MCU can arbitrate between these computers to determine the appropriate result.

[0247] The supervisory MCU may be configured to run a neural network that is trained and configured to determine conditions under which the auxiliary computer provides a false alarm based on outputs from the primary computer and the auxiliary computer. Thus, the neural network in the supervisory MCU may learn when the output of the auxiliary computer may be trusted and when it may not. For example, when the auxiliary computer is a RADAR-based FCW system, the neural network in the supervisory MCU may learn when the FCW system is identifying a metal object that is not actually dangerous, such as a drainage grate or manhole cover that triggers an alarm. Similarly, when the auxiliary computer is a camera-based LDW system, the neural network in the supervisory MCU may learn to ignore the LDW when a cyclist or pedestrian is present and lane departure is actually the safest strategy. In an embodiment that includes a neural network running on the supervisory MCU, the supervisory MCU may include at least one of a DLA or GPU suitable for running the neural network with associated memory. In a preferred embodiment, the supervisory MCU may include and / or be included as a component of the SoC 1404.

[0248] In other examples, the ADAS system 1438 may include an auxiliary computer that uses traditional computer vision rules to perform ADAS functions. In this way, the auxiliary computer can use classic computer vision rules (if-then), and the presence of a neural network in the supervisory MCU can improve reliability, safety, and performance. For example, diverse implementations and intentional non-identity make the entire system more fault-tolerant, especially for failures caused by software (or software-hardware interface) functions. For example, if there is a software vulnerability or error in the software running on the main computer and the non-identical software code running on the auxiliary computer provides the same overall result, the supervisory MCU can be more confident that the overall result is correct and that the vulnerability in the software or hardware on the main computer does not cause a substantial error.

[0249] In some examples, the output of the ADAS system 1438 can be fed to the perception block of the main computer and / or the dynamic driving task block of the main computer. For example, if the ADAS system 1438 indicates a forward collision warning due to an object immediately ahead, the perception block can use this information in identifying the object. In other examples, the auxiliary computer can have its own neural network that is trained and thus reduces the risk of false positives as described herein.

[0250] The vehicle 1400 may further include an infotainment SoC 1430 (e.g., an in-vehicle infotainment system (IVI)). Although illustrated and described as an SoC, the infotainment system may not be an SoC and may include two or more discrete components. The infotainment SoC 1430 may include a combination of hardware and software that may be used to provide audio (e.g., music, personal digital assistant, navigation instructions, news, radio, etc.), video (e.g., TV, movies, streaming, etc.), phone (e.g., hands-free calling), network connectivity (e.g., LTE, WiFi, etc.), and / or information services (e.g., navigation system, rear parking assistance, radio data system, vehicle-related information such as fuel level, total distance covered, brake fuel level, oil level, door open / closed, air filter information, etc.) to the vehicle 1400. For example, the infotainment SoC 1430 may include a radio, a disc player, a navigation system, a video player, USB and Bluetooth connectivity, an onboard computer, onboard entertainment, WiFi, steering wheel audio controls, hands-free voice controls, a head-up display (HUD), an HMI display 1434, a telematics device, a control panel (e.g., for controlling and / or interacting with various components, features, and / or systems), and / or other components. The infotainment SoC 1430 may further be used to provide information (e.g., visual and / or auditory) to a user of the vehicle, such as information from an ADAS system 1438, autonomous driving information such as planned vehicle maneuvers, trajectories, surrounding environment information (e.g., intersection information, vehicle information, road information, etc.), and / or other information.

[0251] The infotainment SoC 1430 may include GPU functionality. The infotainment SoC 1430 may communicate with other devices, systems, and / or components of the vehicle 1400 via a bus 1402 (e.g., a CAN bus, Ethernet, etc.). In some examples, the infotainment SoC 1430 may be coupled to a supervisory MCU so that in the event of a failure of a master controller 1436 (e.g., a primary and / or backup computer of the vehicle 1400), the GPU of the infotainment system may perform some self-driving functions. In such an example, the infotainment SoC 1430 may place the vehicle 1400 in a driver-safe parking mode as described herein.

[0252] The vehicle 1400 may further include an instrument cluster 1432 (e.g., a digital instrument panel, an electronic instrument cluster, a digital instrument panel, etc.). The instrument cluster 1432 may include a controller and / or a supercomputer (e.g., a separate controller or a supercomputer). The instrument cluster 1432 may include a set of instruments, such as a speedometer, a fuel level, an oil pressure, a tachometer, an odometer, a turn indicator, a shift position indicator, a seat belt warning light, a parking brake warning light, an engine fault light, an airbag (SRS) system information, a lighting control, a safety system control, navigation information, and the like. In some examples, information may be displayed and / or shared between the infotainment SoC 1430 and the instrument cluster 1432. In other words, the instrument cluster 1432 may be included as part of the infotainment SoC 1430, or vice versa.

[0253] Fig.14D For a cloud-based server and Fig.14A 1476. System 1476 may include a server 1478, a network 1490, and a vehicle including vehicle 1400. Server 1478 may include multiple GPUs 1484(A)-1484(H) (collectively referred to herein as GPUs 1484), PCIe switches 1482(A)-1482(H) (collectively referred to herein as PCIe switches 1482), and / or CPUs 1480(A)-1480(B) (collectively referred to herein as CPUs 1480). GPUs 1484, CPUs 1480, and PCIe switches may be interconnected with a high-speed interconnect and / or PCIe connection 1486 such as, for example and without limitation, an NVLink interface 1488 developed by NVIDIA. In some examples, GPUs 1484 are connected via NVLink and / or NVSwitch SoCs, and GPUs 1484 and PCIe switches 1482 are connected via PCIe interconnects. Although eight GPUs 1484, two CPUs 1480, and two PCIe switches are illustrated, this is not intended to be limiting. Depending on the embodiment, each of the servers 1478 may include any number of GPUs 1484, CPUs 1480, and / or PCIe switches. For example, each of the servers 1478 may include eight, sixteen, thirty-two, and / or more GPUs 1484.

[0254] Server 1478 may receive image data over network 1490 and from a vehicle, the image data representing images showing unexpected or changed road conditions, such as recently begun road work. Server 1478 may transmit neural network 1492, updated neural network 1492, and / or map information 1494, including information about traffic and road conditions, over network 1490 and to the vehicle. Updates to map information 1494 may include updates to HD map 1422, such as information about construction sites, potholes, curves, flooding, or other obstacles. In some examples, neural network 1492, updated neural network 1492, and / or map information 1494 may have been generated from new training and / or data received from any number of vehicles in the environment and / or based at least in part on experience of training performed at a data center (e.g., using server 1478 and / or other servers).

[0255] Server 1478 can be used to train one or more machine learning models (e.g., neural networks) based at least in part on training data. The training data can be generated by the vehicle, and / or can be generated in simulation (e.g., using a game engine). In some examples, the training data is labeled (e.g., where the neural network benefits from supervised learning) and / or undergoes other preprocessing, while in other examples, the training data is not labeled and / or preprocessed (e.g., where the neural network does not require supervised learning). Once one or more machine learning models are trained, the one or more machine learning models can be used by the vehicle (e.g., transmitted to the vehicle via network 1490), and / or the one or more machine learning models can be used by server 1478 to remotely monitor the vehicle.

[0256] In some examples, server 1478 can receive data from the vehicle and apply the data to the latest real-time neural network for real-time intelligent reasoning. Server 1478 may include a deep learning supercomputer and / or a dedicated AI computer powered by GPU 1484, such as DGX and DGX Station machines developed by NVIDIA. However, in some examples, server 1478 may include a deep learning infrastructure of a data center powered only by CPUs.

[0257] The deep learning infrastructure of server 1478 may be capable of rapid real-time inference, and may use this capability to assess and verify the health of the processors, software, and / or associated hardware in vehicle 1400. For example, the deep learning infrastructure may receive periodic updates from vehicle 1400, such as a sequence of images and / or objects located in the sequence of images that vehicle 1400 has located (e.g., via computer vision and / or other machine learning object classification techniques). The deep learning infrastructure may run its own neural network to identify objects and compare them to the objects identified by vehicle 1400, and if the results do not match and the infrastructure concludes that the AI ​​in vehicle 1400 has failed, then server 1478 may transmit a signal to vehicle 1400 instructing the fail-safe computer of vehicle 1400 to take control, notify passengers, and complete a safe parking maneuver.

[0258] For reasoning, server 1478 may include GPU 1484 and one or more programmable reasoning accelerators (e.g., NVIDIA's TensorRT 3). The combination of GPU-powered servers and reasoning acceleration can make real-time responses possible. In other examples, such as when performance is not so important, CPU, FPGA, and other processor-powered servers can be used for reasoning.

[0259] Example computing device

[0260] Fig.15 1 is a block diagram of an example computing device 1500 suitable for implementing some embodiments of the present disclosure. The computing device 1500 may include a bus 1502 that directly or indirectly couples the following devices: a memory 1504, one or more central processing units (CPUs) 1506, one or more graphics processing units (GPUs) 1508, a communication interface 1510, an input / output (I / O) port 1512, an input / output component 1514, a power supply 1516, and one or more presentation components 1518 (e.g., a display).

[0261] although Fig.15 The various blocks of are shown as being connected via bus 1502 having wires, but this is not intended to be limiting and is merely for clarity. For example, in some embodiments, presentation components 1518 such as a display device may be considered I / O components 1514 (e.g., if the display is a touch screen). As another example, CPU 1506 and / or GPU 1508 may include memory (e.g., memory 1504 may represent a storage device in addition to the memory of GPU 1508, CPU 1506, and / or other components). In other words, Fig.15The computing devices in the description are merely illustrative. No distinction is made between categories such as "workstations," "servers," "laptops," "desktops," "tablets," "client devices," "mobile devices," "handheld devices," "game consoles," "electronic control units (ECUs)," "virtual reality systems," "automotive computing devices," and / or other device or system types, as all of these are considered Fig.15 In some embodiments, the present invention relates to Fig.15 One or more of the components described may be used by the vehicle 1400 as described herein. For example, the CPU 1506, GPU 1508, and / or other components may be similar to or may perform the functionality of one or more components of the vehicle 1400 described herein.

[0262] The bus 1502 may represent one or more buses, such as an address bus, a data bus, a control bus, or a combination thereof. The bus 1502 may include one or more bus types, such as an Industry Standard Architecture (ISA) bus, an Extended Industry Standard Architecture (EISA) bus, a Video Electronics Standards Association (VESA) bus, a Peripheral Component Interconnect (PCI) bus, a Peripheral Component Interconnect Express (PCIe) bus, and / or another type of bus.

[0263] Memory 1504 may include any of a variety of computer-readable media. Computer-readable media may be any available media that can be accessed by computing device 1500. Computer-readable media may include volatile and nonvolatile media and removable and non-removable media. By way of example and not limitation, computer-readable media may include computer storage media and communication media.

[0264] Computer storage media may include volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storing information such as computer-readable instructions, data structures, program modules, and / or other data types. For example, memory 1504 may store computer-readable instructions (e.g., representing programs and / or program elements, such as an operating system). Computer storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other storage technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by computing device 1500. As used herein, computer storage media does not include the signals themselves.

[0265] Communication media may contain computer readable instructions, data structures, program modules, and / or other data types in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transport medium. The term "modulated data signal" may refer to a signal that has one or more of its characteristics set or changed in such a way that information is encoded into the signal. By way of example and not limitation, communication media may include wired media such as a wired network or a direct wired connection, and wireless media such as sound, RF, infrared, and other wireless media. Any combination of the above should also be included within the scope of computer readable media.

[0266] The CPU 1506 may be configured to execute computer-readable instructions to control one or more components of the computing device 1500 to perform one or more of the methods and / or processes described herein. Each of the CPUs 1506 may include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) capable of simultaneously processing a large number of software threads. The CPU 1506 may include any type of processor, and may include different types of processors, depending on the type of computing device 1500 implemented (e.g., a processor with fewer cores for mobile devices and a processor with more cores for servers). For example, depending on the type of computing device 1500, the processor may be an ARM processor implemented using reduced instruction set computing (RISC) or an x86 processor implemented using complex instruction set computing (CISC). In addition to one or more microprocessors or supplementary coprocessors such as mathematical coprocessors, the computing device 1500 may also include one or more CPUs 1506.

[0267] GPU 1508 can be used by computing device 1500 to render graphics (e.g., 3D graphics). GPU 1508 can include hundreds or thousands of cores capable of processing hundreds or thousands of software threads simultaneously. GPU 1508 can generate pixel data for outputting an image in response to a rendering command (e.g., a rendering command from CPU 1506 received via a host interface). GPU 1508 can include a graphics memory such as a display memory for storing pixel data. Display memory can be included as part of memory 1504. GPU 1508 can include two or more GPUs operating in parallel (e.g., via a link). When combined together, each GPU 1508 can generate pixel data for different parts of an output image or for different output images (e.g., a first GPU for a first image, a second GPU for a second image). Each GPU can include its own memory, or can share memory with other GPUs.

[0268] In examples where computing device 1500 does not include GPU 1508 , CPU 1506 may be used to render graphics.

[0269] The communication interface 1510 may include one or more receivers, transmitters, and / or transceivers that enable the computing device 1500 to communicate with other computing devices via an electronic communication network, including wired and / or wireless communications. The communication interface 1510 may include components and functionality that enable communication over any of a number of different networks, such as a wireless network (e.g., Wi-Fi, Z-wave, Bluetooth, Bluetooth LE, ZigBee, etc.), a wired network (e.g., communicating over Ethernet), a low power wide area network (e.g., LoRaWAN, SigFox, etc.), and / or the Internet.

[0270] I / O ports 1512 can enable computing device 1500 to be logically coupled to other devices including I / O components 1514, presentation components 1518, and / or other components, some of which can be built into (e.g., integrated into) computing device 1500. Illustrative I / O components 1514 include microphones, mice, keyboards, joysticks, game pads, game controllers, satellite dishes, scanners, printers, wireless devices, and the like. I / O components 1514 can provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by a user. In some instances, the input can be transmitted to an appropriate network element for further processing. The NUI can implement any combination of voice recognition, stylus recognition, facial recognition, biometric recognition, gesture recognition on and adjacent to the screen, air gestures, head and eye tracking, and touch recognition associated with the display of computing device 1500 (as described in more detail below). Computing device 1500 may include a depth camera such as a stereo camera system, an infrared camera system, an RGB camera system, touch screen technology, and combinations of these for gesture detection and recognition. Additionally, computing device 1500 may include an accelerometer or gyroscope to enable motion detection (e.g., as part of an inertial measurement unit (IMU)). In some examples, the output of the accelerometer or gyroscope may be used by computing device 1500 to render immersive augmented reality or virtual reality.

[0271] The power supply 1516 may include a hardwired power supply, a battery power supply, or a combination thereof. The power supply 1516 may provide power to the computing device 1500 to enable the components of the computing device 1500 to operate.

[0272] The presentation component 1518 may include a display (e.g., a monitor, a touch screen, a television screen, a head-up display (HUD), other display types, or a combination thereof), a speaker, and / or other presentation components. The presentation component 1518 may receive data from other components (e.g., GPU 1508, CPU 1506, etc.) and output the data (e.g., as an image, video, sound, etc.).

[0273] The present disclosure may be described in the general context of machine-usable instructions or computer codes executed by a computer or other machine such as a personal digital assistant or other handheld device, including computer-executable instructions such as program modules. Typically, program modules including routines, programs, objects, components, data structures, etc. refer to codes that perform specific tasks or implement specific abstract data types. The present disclosure may be practiced in a variety of system configurations, including handheld devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. The present disclosure may also be practiced in a distributed computing environment in which tasks are performed by remote processing devices linked through a communication network.

[0274] As used herein, the description of "and / or" about two or more elements should be interpreted as referring to only one element or a combination of elements. For example, "element A, element B and / or element C" may include only element A, only element B, only element C, element A and element B, element A and element C, element B and element C, or elements A, B and C. In addition, "at least one of element A or element B" may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B. Further, "at least one of element A and element B" may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B.

[0275] The subject matter of the present disclosure is described in detail herein to meet statutory requirements. However, the description itself is not intended to limit the scope of the present disclosure. On the contrary, the inventors have contemplated that the claimed subject matter may also be embodied in other ways to include steps different from the steps described herein in conjunction with other current or future technologies or combinations of similar steps. Moreover, although the terms "step" and / or "block" may be used herein to imply different elements of the method employed, these terms should not be interpreted as implying any particular order among or between the various steps disclosed herein, unless the order of the steps is explicitly described.

Claims

1. A method for obstacle distance calculation in autonomous machine applications, include: determining a first curve representing an upper boundary of the curvature of the road; determining a second curve representing a lower boundary of the curvature of the road; receiving data representing a bounding shape corresponding to the object; casting a ray from a camera of the vehicle to a point of the bounding shape; determining a first intersection point between the ray and the first curve is a minimum distance of the object from the vehicle; determining a second intersection point between the ray and the second curve is a maximum distance of the object from the vehicle; and generating a depth prediction about the object using the minimum distance and the maximum distance as safety margins, Wherein, determining the first curve includes: setting a maximum range of the first curve; generating an initial first curve from the ground plane at the vehicle to the maximum range; and generating the first curve as a linear curve extending from the ground plane at the vehicle to the intersection of the initial first curve and the maximum range.

2. The method according to claim 1, in, The initial first curve and the second curve are determined based at least in part on automotive regulations for a road class.

3. The method according to claim 2, in, Determining the second curve includes: setting a maximum range of the second curve; generating an initial second curve from the ground plane at the vehicle to the maximum range, generating the initial second curve based at least in part on the automobile regulations for road grades; and generating the second curve as a linear curve extending from the ground plane at the vehicle to the intersection of the initial second curve and the maximum range.

4. The method according to claim 1, in, The point of the enclosing shape is located at the bottom edge of the enclosing shape.

5. The method according to claim 1, in, The point of the enclosing shape is located at the center of the bottom edge of the enclosing shape.

6. The method according to claim 1, in, The ray represents a path of the ray from the camera to a world space corresponding to at least one pixel of the bounding shape.

7. The method according to claim 1, in, The first intersection point and the second intersection point are estimated using one or more closed form equations.

8. The method according to claim 1, in, The points of the enclosing shape are on a ground plane such that the points of the enclosing shape represent the current position of the vehicle on the ground plane.

9. The method according to claim 1, further comprising: include: receiving additional data representing at least one distance value associated with the object predicted by the neural network; comparing the at least one distance value to the maximum distance value and the minimum distance value; When the at least one distance value is greater than the maximum distance value, setting the final distance value of the object to the maximum distance value; And when the at least one distance value is less than the minimum distance value, setting the final distance value of the object to the minimum distance value.

10. A system for obstacle distance calculation in autonomous machine applications, include: one or more cameras for generating first data representing an image of the vehicle's surroundings; A computing device, comprising one or more processing devices and one or more storage devices, the one or more storage devices being communicatively coupled to the one or more processing devices, having program instructions stored thereon, which, when executed by the processing devices, result in the instantiation of: a distance determiner for calculating one or more distance values ​​corresponding to an object in the environment; an object detector for generating an enclosing shape corresponding to the object; and a safety boundary determiner for: generating a first curve representing an upward boundary of the road and a second curve representing a downward boundary of the curvature of the road; projecting a ray from the camera through a point of the enclosing shape; and when the one or more distance values ​​are smaller than the distance at a first intersection of the ray and the first curve, setting a minimum distance at the first intersection, and when the one or more distance values ​​are larger than the distance at a second intersection of the ray and the second curve, setting a maximum distance at the second intersection, Wherein, generating the first curve includes: generating a first initial curve, which extends from the ground plane at the vehicle to a first vertical wall located at a first predetermined distance with a first slope; the first curve is a linear curve extending from the ground plane at the vehicle to a first intersection point of the first initial curve and the first vertical wall.

11. The system according to claim 10, in, The first curve and the second curve are determined based at least in part on automotive regulations for a road class.

12. The system according to claim 10, in, The second curve is a linear curve.

13. The system according to claim 10, in, Generating the second curve includes: generating a second initial curve extending from the ground plane at the vehicle to a second vertical wall located at a second predetermined distance with a second slope, the second curve being another linear curve extending from the ground plane at the vehicle to a second intersection point of the second initial curve and the second vertical wall.

14. A method for obstacle distance calculation in autonomous machine applications, include: receiving first data representing a distance between an ego vehicle and an object in an environment; receiving second data representing at least one position of a pixel along a lower edge of an enclosing shape corresponding to the object depicted in an image captured by a camera of the ego vehicle; generating an upper boundary curve extending upward from a ground plane and a lower boundary curve extending downward from the ground plane; determining a first intersection point of a ray with the upper boundary curve and a second intersection point of the ray with the lower boundary curve, the ray extending from the camera through a corresponding position represented by the pixel in world space; and adjusting the distance to a defined distance when the distance is less than a first distance represented by the first intersection point or when the distance is greater than a second distance represented by the second intersection point, Among them, generating the upper boundary curve includes: setting the maximum range of the upper boundary curve; generating an initial first curve from the ground plane at the vehicle to the maximum range; and generating the upper boundary curve as a linear curve extending from the ground plane at the vehicle to the intersection of the initial first curve and the maximum range.

15. A method for obstacle distance calculation in autonomous machine applications, include: receiving first data representing a distance between an ego vehicle and an object in an environment; receiving second data representing at least one position of a pixel along a lower edge of an enclosing shape corresponding to the object depicted in an image captured by a camera of the ego vehicle; generating an upper boundary curve extending upward from a ground plane and a lower boundary curve extending downward from the ground plane; determining a first intersection point of a ray with the upper boundary curve and a second intersection point of the ray with the lower boundary curve, the ray extending from the camera through a corresponding position represented by the pixel in world space; and adjusting the distance to a defined distance when the distance is less than a first distance represented by the first intersection point or when the distance is greater than a second distance represented by the second intersection point, Wherein, generating the upper boundary curve includes: generating a first initial curve, which extends from the ground plane at the vehicle to a first vertical wall located at a first predetermined distance with a first slope; the upper boundary curve is a linear curve extending from the ground plane at the vehicle to a first intersection point of the first initial curve and the first vertical wall.

16. The method according to claim 14 or 15, in, The upper boundary curve represents the determined maximum upward gradient of the road, and the lower boundary curve represents the determined maximum downward gradient of the road.

17. The method according to claim 16, in, The determined maximum upward grade and the determined maximum downward grade are based at least in part on automotive regulations for road classes.

18. The method according to claim 14 or 15, in, The corresponding position represented by the pixel in world space is determined using at least one of an intrinsic parameter of the camera or an extrinsic parameter of the camera.

19. The method according to claim 14 or 15, in, The first data is generated by at least one neural network trained to predict distances corresponding to objects in a field of view of the camera.

Citation Information

Patent Citations

  • Method for programmable timeouts of tree traversal mechanisms in hardware

    US10885698B2

  • Method and system to annotate objects and determine distances to objects in an image

    US20180136332A1