Detecting objects in point clouds
The method optimizes object detection in point clouds by using 2D image-based machine learning to estimate bounding box positions within point clouds, addressing computational and sparse data challenges, enabling efficient and accurate real-time detection for autonomous vehicles.
Patent Information
- Application Number
- PCT/EP2024/057074
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2024-03-15
- Publication Date
- 2024-09-26
AI Technical Summary
Current object detection techniques in point clouds, particularly for autonomous vehicles, are computationally expensive due to the use of neural networks and struggle with sparse data, making real-time detection challenging, especially for distant objects in lidar and radar point clouds.
A method that involves detecting objects in a 2D image corresponding to the point cloud, using machine learning models to estimate the position and dimensions of a bounding box, and then optimizing this location within the point cloud using geometric techniques to minimize distance errors, thereby reducing computational overhead and handling sparse data effectively.
This approach allows for lightweight, real-time object detection in point clouds without the need for expensive neural network processing on point cloud data, enhancing the capability to detect objects accurately and efficiently, even in sparse and noisy data conditions.
Smart Images

Figure EP2024057074_26092024_PF_FP
Abstract
Description
[0001] Detecting Objects in Point Clouds
[0002] Technical Field
[0003] The present disclosure relates to methods and systems for detecting objects in point clouds, including but not limited to point clouds captured by sensor-equipped vehicles, mobile robots (e.g. autonomous vehicles) etc.
[0004] Background
[0005] Techniques for perceiving 3D objects in sensor data have numerous and varied applications. Computer vision refers broadly to the interpretation of images by computers. The term “perception” herein encompasses a broader range of sensor modalities, and includes techniques for extracting object information from sensor data of a single modality or multiple modalities (such as image, stereo depth, mono depth, lidar and / or radar).
[0006] A perception system is a vital component of an autonomous vehicle. An autonomous vehicle (AV) is a vehicle which is equipped with sensors and control systems which enable it to operate without a human controlling its behaviour. An autonomous vehicle is equipped with sensors which enable it to perceive its physical environment, such sensors including for example cameras, radar and lidar. Autonomous vehicles are equipped with suitably programmed computers which are capable of processing data received from the sensors and making safe and predictable decisions based on the context which has been perceived by the sensors. An autonomous vehicle may be fully autonomous (in that it is designed to operate with no human supervision or intervention, at least in certain circumstances) or semi -autonomous. Semi- autonomous systems require varying levels of human oversight and intervention, such systems including Advanced Driver Assist Systems and level three Autonomous Driving Systems.
[0007] Such vehicles must not only perform complex manoeuvres among people and other vehicles, but they must often do so while guaranteeing stringent constraints on the probability of adverse events occurring, such as collision with other agents in the environments. In order for an AV to plan safely, it is crucial that it is able to observe its environment accurately and reliably. This includes the need for accurate and reliable detection of road structure in the vicinity of the vehicle.
[0008] The requirement to support real-time planning restricts the class of perception techniques that may be used on an autonomous vehicle. A given perception technique may be unsuitable for this purpose because it is non-causal (requiring knowledge of the future) or non-real time (cannot feasibly be implemented in real-time on-board an AV given the constraints of its on-board computer system). The computers controlling the AV, which are referred to herein as an AV “stack”, may need to detect objects in the vicinity of the AV from the data received from the sensors, in order to make the aforementioned safe and predictable decisions. This may for example include detecting objects in point clouds.
[0009] A point cloud is a set of data points, each data point representing a location in space. Sensors such as lidar and radar scanners may return point clouds, and point clouds may also be derived from stereo cameras or cameras with depth sensors. Whilst point clouds may represent the data points in 3D space, in some applications point clouds captured or derived from the sensors may represent the data points in 2D space, for example in the form of a bird’s eye view (BEV) of the vicinity of the AV. Object detection in this context may be amodal - i.e. the point cloud may represent only a part of the object (e.g. the sides of the object facing the sensor), with the task being to predict the size and location of the object (e.g. using a 3D bounding box) based on the parts of the object present in the point cloud.
[0010] Machine learning based object detectors that operate on point cloud data have recently been developed. An example of such object detectors are PointNets, which are neural network based frameworks (see C. R. Qi, H. Su, K. Mo, and L. J. Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. Proc. Computer Vision and Pattern Recognition (CVPR), IEEE, 2017 and C. R. Qi, L. Yi, H. Su, and I.. J. Guibas. Pointnet+ + : Deep hierarchical feature learning on point sets in a metric space. arXiv preprint arXiv: 1706.02413, 2017.)
[0011] However, techniques that operate on point cloud data tend to be computationally expensive, for example due to the large 3D search space and the expensive cost of performing 3D convolution operations. This may be a particular issue in lidar point clouds, which typically are both dense and very large. These issues render such techniques unsuitable for online (i.e. real time) object detection in an AV context.
[0012] One recent background technique that attempts to address some of these issues is Frustum PointNets (C. R. Qi, ffl. Liu, C. Wu, H. Su and L. J. Guibas, "Frustum PointNets for 3D Object Detection from RGB-D Data, " 2018 IEEE / CVF Conference on Computer Vision and Pattern Recognition, 2018, pp. 918-927') . Frustum PointNets employ a three step process. In a first “Frustum Proposal” step, an object detector is applied to a 2D image corresponding to the 3D point cloud, to generate a 2D bounding box around an object in the image. This 2D bounding box is projected from the image plane out into the point cloud, forming a frustum. Points not falling in the frustum are then discarded. In a second “3D Instance Segmentation” phase, a first PointNet is applied to segment the points in the frustum, so as to discard foreground occluding points and background clutter unlikely to form part of the object. In a third “Amodal 3D Box Estimation” step, a second PointNet is applied to estimate the centre of the object, before a third PointNet is then applied to estimate the position, size and orientation of the bounding box. Whilst Frustum PointNets leverage 2D image data to reduce the search space for the 3D object detection using the frustum, the technique still involves applying computationally expensive machine learning models to 3D point cloud data to estimate the position of the object (two stages of PointNet processing performing segmentation and box estimation respectively). Furthermore, there is a significant overhead in generating the relevant 3D training data (if the PointNet detectors were to be trained on bespoke training sets) and training the models used in parts of the processing pipeline that operate on 3D point cloud data.
[0013] Furthermore, sparseness of data in the point cloud may also reduce the effectiveness of techniques such as those discussed above. In the context of lidar, the point cloud data tends to become more sparse and noisy as the distance from the AV increases, rendering the detection of distant objects more difficult. Radar point clouds, on the other hand, tend to be inherently sparse making object detection difficult regardless of distance.
[0014] It is an aim of the present disclosure to address the issues outlined above, and any other issues that would be apparent to the skilled reader from the disclosure herein. It is a further aim of the present disclosure to provide a computationally lightweight method for detecting objects in point cloud data, which avoids the expensive application of neural networks or other machine learning models to point cloud data and / or which accurately handles sparse point cloud data.
[0015] Summary
[0016] According to a first aspect of the disclosure, there is provided a computer-implemented object detection method, comprising: receiving a point cloud and a 2D image having an image plane located at a known location in the point cloud; applying one or more machine learning models to the 2D image to determine a position of a detected object in the 2D image and to determine estimated dimensions and orientation of at least two sides of a bounding box corresponding to the detected object in the point cloud; and generating an initial estimated location of the at least two sides of the bounding box in the point cloud based at least in part on the estimated dimensions and orientation; optimising the initial estimated location of the at least two sides of the bounding box with respect to the point cloud to determine a detected location of the bounding box corresponding to the detected object.
[0017] Herein, the point cloud may be a point cloud that has been arrived at in one of several ways. For example, the point cloud may be derived from stereo imagery captured by two or more cameras. However, generating point cloud data from such sources may be relatively computationally expensive, so it is envisaged that the point cloud data may instead be captured using suitable lidar or radar scanning equipment.
[0018] The 2D image in this context may relate to an image that is suitable for processing using a 2D machine learning model (i.e. a 2D CNN).
[0019] The method may comprise selecting a subset of points in the point cloud based on the position of the detected object in the 2D image. The method may comprise optimising the initial estimated location with respect to the subset of points. The method may comprise generating the initial estimated location based on the subset of points.
[0020] Selecting the subset of points in the point cloud may comprise projecting a frustum into the point cloud from a 2D image bounding box around the detected object in the 2D image, and selecting points of the point cloud falling within the frustum as the subset of points. Selecting the subset of points may comprise: generating an instance mask corresponding to the detected object in the 2D image; projecting points of the point cloud into the image plane, and selecting points coinciding with the instance mask in the image plane as the subset of points.
[0021] Determining the initial estimated position based on the subset of points of the point cloud may comprise calculating a centroid of the subset of points and determining the initial estimated position based on the centroid.
[0022] The point cloud may be a 3D point cloud. Each point in the point cloud may represent a position in 3D space. The sides of the bounding box may be faces of a 3D bounding box.
[0023] The point cloud may be a 2D point cloud, which may be in a bird’s eye view (BEV) space. The bounding box may be a 2D bounding box.
[0024] The method may comprise capturing the 2D image using a camera. The method may comprise capturing the point cloud using a sensor. The sensor may be a lidar sensor or a radar sensor. The method may comprise capturing stereo images using a pair of cameras. The method may comprise generating the point cloud from the stereo images. The camera, sensor and / or pair of cameras may be located on an autonomous vehicle.
[0025] The method may comprise providing the detected location of the bounding box to a planning system of an autonomous vehicle.
[0026] The method may comprise detecting the object in the 2D image using a convolutional neural network (CNN). The method may comprise determining a 2D bounding box representing the position of the object in the 2D image. The method may include applying a first machine learning model to determine the position of the object in the 2D image and a second machine learning model to determine the estimated dimensions and orientation. The method may include applying a single machine learning model to determine the position of the object in the 2D image and the estimated dimensions and orientation.
[0027] The estimated orientation may comprise a yaw angle. The estimated orientation may comprise two or more of a yaw angle, pitch angle and roll angle. The estimated orientation may comprise one or more of height, width and length of the detected object.
[0028] The at least two sides of the bounding box may represent vertical faces of the detected object that are most proximate to the image plane (and consequently the autonomous vehicle). The method may comprise determining the detected location of the bounding box by determining the position of the remaining sides of the bounding box from the optimised estimated position of the two sides.
[0029] The method may comprise detecting the object in a first and second 2D images having respective first and second image planes, and applying the machine learning model to the first and second 2D images and respective positions of the detected object in the first and second 2D images to provide respective first and second estimated dimensions and orientations of the detected object in the point cloud. The method may comprise generating first and second estimated locations of the at least two sides of the bounding box based on the first and second estimated dimensions and orientations. The method may comprise generating the initial estimated location based on the first and second estimated locations.
[0030] Optimising the initial estimated location of the at least two sides of the bounding box with respect to the point cloud may comprise minimising an LI norm between the sides and the points of the point cloud. The method may comprise iteratively optimising the initial estimated location. A number of iterations carried out may be restricted to a predetermined number, for example 10 or 5 or 3. Optimising the initial estimated location of the at least two sides of the bounding box with respect to the point cloud may not comprise using machine learning.
[0031] According to a second aspect of the disclosure, there is provided a runtime stack for an autonomous vehicle, the runtime stack comprising: a perception subsystem configured to carry out the method of the first aspect; a prediction system configured to predict future behaviour of external agents based on the detected location of the bounding box; a planner configured to make autonomous driving decisions based on outputs of the prediction system; a controller configured to execute the decisions taken by the planner by providing control signals to an on-board actor system of the autonomous vehicle.
[0032] According to a third aspect of the disclosure there is provided an autonomous vehicle comprising the runtime stack of the second aspect.
[0033] Further aspects provide a computer system comprising one or more computers configured to implement the method of the first aspect or any embodiment thereof, and executable program instructions for programming a computer system to implement the same.
[0034] Brief Description of Figures
[0035] For a better understanding of the present disclosure, and to show how embodiments of the same may be carried into effect, reference is made by way of example only to the following figures in which:
[0036] Figure l is a highly schematic block diagram of an AV runtime stack.
[0037] Figure 2 is a block diagram of a perception system on board an autonomous vehicle.
[0038] Figure 3 is a schematic flow diagram of an object detection method of the disclosure.
[0039] Figure 4 is an illustration of fitting faces of a 3D bounding box to a point cloud.
[0040] Figure 5 is an illustration of fitting faces of a 2D bounding box to a bird’s eye view point cloud. Figure 6 is an illustration of a multi-camera system.
[0041] Detailed Description
[0042] In overview, examples of the disclosure provide a lightweight method for detecting objects in point cloud data. The method involves detecting an object in a 2D image corresponding to the point cloud (i.e. representing the same scene as the point cloud and with an image plane having a known location in the frame of reference of the point cloud). From the object detection in the 2D image, a trained machine learning model predicts the location in the point cloud of one or more sides of a bounding box corresponding to the detected object. The position of the sides is then optimised or refined with respect to the points of the point cloud, for example by minimising a measure of distance between the points and the sides, to arrive at a final bounding box location. Accordingly, the application of machine learning models directly to point cloud data is avoided, reducing computational overhead and making the technique suitable for online processing at runtime in an AV stack. Furthermore, leveraging the information present in the 2D image supplements the information available in sparse point clouds.
[0043] To provide relevant context to the described embodiments, details of an example form of AV stack will now be described.
[0044] Figure 1 shows a highly schematic block diagram of an AV runtime stack 100. The run time stack 100 is shown to comprise a perception (sub-)system 102, a prediction (sub-)system 104, a planning (sub-)system (planner) 106 and a control (sub-)system (controller) 108. As noted, the term (sub-)stack may also be used to describe the aforementioned components 102-108.
[0045] In a real -world context, the perception system 102 receives sensor outputs from an on-board sensor system 110 of the AV, and uses those sensor outputs to detect external agents and measure their physical state, such as their position, velocity, acceleration etc. The on-board sensor system 110 can take different forms but generally comprises a variety of sensors such as image capture devices (cameras / optical sensors), lidar and / or radar unit(s), satellite-positioning sensor(s) (GPS etc.), motion / inertial sensor(s) (accelerometers, gyroscopes etc.) etc. The onboard sensor system 110 thus provides rich sensor data from which it is possible to extract detailed information about the surrounding environment, and the state of the AV and any external actors (vehicles, pedestrians, cyclists etc.) within that environment. The sensor outputs typically comprise sensor data of multiple sensor modalities such as stereo images from one or more stereo optical sensors, lidar, radar etc. Sensor data of multiple sensor modalities may be combined using filters, fusion components etc.
[0046] The perception system 102 typically comprises multiple perception components which cooperate to interpret the sensor outputs and thereby provide perception outputs to the prediction system 104.
[0047] In a simulation context, depending on the nature of the testing - and depending, in particular, on where the stack 100 is “sliced” for the purpose of testing (see below) - it may or may not be necessary to model the on-board sensor system 100. With higher-level slicing, simulated sensor data is not required therefore complex sensor modelling is not required.
[0048] The perception outputs from the perception system 102 are used by the prediction system 104 to predict future behaviour of external actors (agents), such as other vehicles in the vicinity of the AV.
[0049] Predictions computed by the prediction system 104 are provided to the planner 106, which uses the predictions to make autonomous driving decisions to be executed by the AV in a given driving scenario. The inputs received by the planner 106 would typically indicate a drivable area and would also capture predicted movements of any external agents (obstacles, from the AV’s perspective) within the drivable area. The driveable area can be determined using perception outputs from the perception system 102 in combination with map information, such as an HD (high definition) map.
[0050] A core function of the planner 106 is the planning of trajectories for the AV (ego trajectories), taking into account predicted agent motion. This may be referred to as trajectory planning. A trajectory is planned in order to carry out a desired goal within a scenario. The goal could for example be to enter a roundabout and leave it at a desired exit; to overtake a vehicle in front; or to stay in a current lane at a target speed (lane following). The goal may, for example, be determined by an autonomous route planner (not shown).
[0051] The controller 108 executes the decisions taken by the planner 106 by providing suitable control signals to an on-board actor system 112 of the AV. In particular, the planner 106 plans trajectories for the AV and the controller 108 generates control signals to implement the planned trajectories. Typically, the planner 106 will plan into the future, such that a planned trajectory may only be partially implemented at the control level before a new trajectory is planned by the planner 106. The actor system 112 includes “primary” vehicle systems, such as braking, acceleration and steering systems, as well as secondary systems (e.g. signalling, wipers, headlights etc.).
[0052] Figure 2 shows a highly-schematic block diagram of an autonomous vehicle 200, which is shown to comprise an instance of a trained perception component 102, having an input connected to at least one sensor 202 of the vehicle 200 and an output connected to an autonomous vehicle controller 204.
[0053] In use, the (instance of the) perception component 102 of the autonomous vehicle 200 interprets structure within perception inputs captured by the at least one sensor 202, in real time, in accordance with its training, and the autonomous vehicle controller 204 controls the speed and direction of the vehicle based on the results, with no or limited input from any human driver.
[0054] Although only one sensor 202 is shown in Figure 2, the autonomous vehicle 200 could be equipped with multiple sensors. For example, a pair of image capture devices (optical sensors) could be arranged to provide a stereoscopic view, and the road structure detection methods can be applied to the images captured from each of the image capture devices. Other sensor modalities such as LiDAR, RADAR etc. may alternatively or additionally be provided on the AV 200.
[0055] As will be appreciated, this is a highly simplified description of certain autonomous vehicle functions. The general principles of autonomous vehicles are known, therefore are not described in further detail. Moreover, the techniques described herein can be implemented off-board, that is in a computer system such as a simulator which is to execute path planning for modelling or experimental purposes. In that case, the sensory data may be taken from computer programs running as part of a simulation stack. In either context, the perception component 102 may operate on sensor data to identify objects. In a simulation context, a simulated agent may use the perception component 102 to navigate a simulated environment, and agent behaviour may be logged and used e.g. to flag safety issues, or as a basis for redesigning or retraining component(s) which have been simulated.
[0056] An example of the object detection method according to the present disclosure will now be discussed in relation to Figures 3 and 4.
[0057] Figure 3 illustrates the inputs to the method, which take the form of a 2D image 310 and a point cloud 320.
[0058] In this example, the point cloud 320 is a 3D point cloud, in which each point in the cloud represents a position in 3D space. The point cloud 320 may be generated by suitable sensors, for example a lidar or radar sensor disposed on the AV. In other examples, the point cloud 320 may be constructed from processing stereo image data.
[0059] It will be appreciated that any suitable pre-processing may be applied to the point cloud 320, and thus the techniques discussed herein need not be applied to a raw point cloud. For example, the point cloud may be discretized, converted to a voxel representation or the like.
[0060] The 2D image 310 is an image that depicts a part of the scene depicted in the point cloud 320. For example, the 2D image 310 is captured at the same time as the point cloud 320 by the AV. The 2D image 310 is for example an RGB image, having red, green and blue colour channels.
[0061] It is primarily envisaged that the techniques herein will be applied in circumstances where RGB- D images captured by cameras with depth sensors are not available, and indeed one advantage of the present techniques is the use of 2D image data. However, the disclosure does not exclude the use of such RGB-D images. For example, the point cloud 320 may be constructed from RGB-D images. In examples where the point cloud 320 is constructed from stereo images or RGB-D camera imagery, the 2D image 310 may be one of the images from which the point cloud 320 is constructed. In other examples, the depth channel of an RGB-D image may not be used, such that RGB-D image is effectively treated as a 2D image.
[0062] As illustrated in Figure 4, the position of the image plane 315 of the 2D image 310 is known in the point cloud 320. That is to say, in whatever frame of reference the point cloud uses (e.g. xyz coordinates with the AV at the origin), the location of plane of the image in the same frame of reference can be established.
[0063] The 2D image 310 is provided as input to an object detector 330, which detects an object (e.g. another vehicle, a pedestrian, road infrastructure) in the 2D image 310. The object detector 330 may for example be a suitably trained convolutional neural network (CNN). The object detector 330 returns a location in the image of the detected object. This may for example take the form of a 2D bounding box 335, for example represented by locations of two diagonal corners or all four corners of the box.
[0064] The object detector 330 may be limited to returning detections of only specific types of objects. For example, the object detector 330 may be specifically a vehicle detector or a pedestrian detector, or any other suitable object-specific detector. Alternatively, the object detector 330 may be configured to detect a variety of different types of objects in the 2D image 310 and return a label indicating a type of the object (e.g. vehicle, pedestrian, etc). In some examples, the method involves only applying the techniques discussed hereinbelow to specific types of detected objects.
[0065] The 2D image 310 and the location of the detected object are then provided as input to the orientation and dimension estimator 340. In some examples, this may involve cropping the 2D image 310 so as to only provide the portion of the 2D image within the 2D bounding box 335. The orientation and dimension estimator 340 is configured to generate an estimate of the dimensions of the detected object, in three dimensions. This may for example take the form of a width, length and height of the object. The orientation and dimension estimator 340 also returns an estimated orientation of the object. For example, the orientation may be in terms of angles of yaw, pitch and roll with respect to the camera 305.
[0066] In an AV context, other vehicles on the road surface are unlikely to be substantially rotated in the pitch and roll axes, unless the environment involves large elevation changes. Accordingly, it may be that only a subset of yaw, pitch and roll (e.g. solely yaw) are output by the orientation estimator.
[0067] The orientation and dimension estimator 340 comprises a trained machine learning model (e.g. a CNN) configured to generate the estimate of the dimensions and orientation of the detected object. In some examples, instead of a single model, the orientation and dimension estimator 340 comprises more than one trained machine learning model - e.g. one model to predict the dimensions and another to predict the orientation.
[0068] The orientation and dimension estimator 340 is trained with suitable images labelled with the dimensions and orientation of objects detected therein. It will be appreciated that collections of 3D point cloud data annotated with 3D bounding boxes already exist, accompanied with corresponding 2D images. The dimensions of the object are represented by the bounding box, and the orientation with respect to the location of the camera can be straightforwardly determined using simple geometry. Accordingly, suitable training data can be readily derived. International Patent Application Publication WO2021 / 013792A1, the contents of which are incorporated herein by reference in their entirety, discloses suitable techniques for generating 3D and 2D annotations from which dimensions and orientation for use as training data can be readily derived.
[0069] In some examples, one machine learning model (e.g. a CNN) is configured to carry out the functions of the object detector 330 and the orientation and dimension estimator 340. For example, a single model may comprise one layer to outputting the location of the bounding box 335 and either another layer outputting both the dimensions and orientation or separate layers for the dimensions and orientation. Of the six faces of the 3D bounding box encompassing the object, at most three will be visible to the camera in the 2D image 310 and the sensor that has captured the point cloud 320. In the example of detecting other vehicles (also referred to herein as challenger vehicles to distinguish from the ego AV vehicle), these faces will be two adjacent faces in the vertical plane, and the horizontal plane representing the top surface of the vehicle. In many circumstances, only the two vertical faces 321, 322 will be visible on the basis that the ego and challenger are on the same relatively flat road surface, or the relative viewing angles will mean that very little of the top surface will be captured in either the 2D image 310 or point cloud 320.
[0070] Given that it is straightforward to determine the dimensions and locations of the other faces of the box from the position and dimensions of two faces 321, 322, and in the context of detecting other vehicles only those two faces 321, 322 are likely to be well represented in the image 310 and point cloud 320, the task may be that of fitting the two faces to the points of the point cloud 320. Accordingly, in this example it is sufficient to determine the location of the two adjacent vertical faces 321, 322, which form an “L” shape as shown in Figure 4. However, in other examples (e.g. where the detected objects are likely to be in a different vertical planes to the ego vehicle), 3 faces may be fitted to the points.
[0071] The orientation and dimension estimator 340 gives approximate dimensions and orientation of the object, but does not provide an estimation of distance from the camera 305. Accordingly, in order to fit the faces to the points, an initial location estimator 360 is used to generate an estimated initial location of the (at least) two faces of the 3D bounding box corresponding to the object in the 3D point cloud.
[0072] In one example, the point cloud 320 is segmented using a frustum generator 350. The frustum generator 350 takes the 2D bounding box 335 detected in the image plane 315 and projects the 2D bounding box 335 away from the camera 305 into the point cloud 320. All points in the point cloud 320 not falling within the frustum 355 are discarded, leaving only the points within the bounds of the frustum 355. This effectively amounts to selecting a subset of the points in the point cloud 320, which are more likely to form points of the detected object. It will be appreciated that the step of projecting the frustum 355 may be implemented by instead projecting backward from the frustum into the image plane 315. That is to say, the points of the point cloud 320 may be projected back towards the camera 305 into the image plane 315. Those points whose projection falls within the 2D bounding box 335 of the image plane 315 are necessarily equivalent to those in the frustrum 355.
[0073] The initial location estimator 360 then calculates the centroid of the points within the frustum 355. The two faces 321, 322 are then positioned based on the centroid and orientated and sized according to the estimation made by the orientation and dimension estimator 340.
[0074] For example, the centroid of the points may be taken directly as an initial guess of the centre of the 3D bounding box, with the two faces 321, 322 orientated and sized in relation to that centre. However, given that the points in the cloud are representative only of the faces of the object visible to the camera, the faces may be positioned to take this into account. For example, the initial guess of the centre of the bounding box may be placed further away from the camera 305 (e.g. by some fixed offset or by an amount based on the estimated dimensions of the object) in order to compensate for the fact that the points are not representative of the entirety of the object.
[0075] However, in other examples depth data (e.g. from an RGB-D camera capturing the 2D image, if available) may be used to make an initial estimate of the distance of the faces from the location of the camera 305. For example, a mean depth of pixels falling within the bounding box on the 2D image 310 may be used as an estimate of the initial position of the centre of the 3D bounding box.
[0076] In some examples, the 2D bounding box 335 may be supplemented by or replaced by a suitable instance mask. This may be provided by an image segmentation network or other suitable image segmentation technique. For example, the selected subset of points in the point cloud 320 may be those coinciding with the instance mask in the image plane 315. In other examples, the centroid estimation (or any alternative technique for estimating the initial distance estimate from the camera) may be based on points coinciding with the mask, which consequently have a high likelihood of forming part of the detected object. In some examples, the mask may be applied conservatively - i.e. the confidence threshold of the segmentation network may be tuned so that only regions of the image that the network has high confidence in forming part of the object are used for the initial distance estimation. Once the initial position has been estimated, the location estimation optimiser 370 adjusts the position of the faces 321, 322 to optimise their fit to the points of the point cloud 320 (or more particularly the selected subset of points of the cloud 320).
[0077] In one example, the location estimation optimiser 370 minimises the LI norm of errors between the selected subset of points of the cloud 320 and the faces 321, 322. The LI norm is effectively the sum of the absolute distances (i.e. not squared) between the points and the faces 321, 322.
[0078] The optimiser 370 may iteratively optimise the position. It has been found that a relatively small number of iterations (e.g. 3 or less) can provide sufficiently acceptable results. Accordingly, in some examples the number of iterations is restricted, to ensure the execution time of the method remains inside predetermined bounds. However, in other examples such as those where available compute power / time is less restricted, the iterations may terminate when the error reaches a predetermined acceptable level.
[0079] The LI norm is just one example of a metric that can be minimised by the optimiser. In another example, the optimiser 370 may adjust the position of the faces 321, 322 to minimise the perpendicular distance or perpendicular distance squared between the faces and the points.
[0080] In still further examples, the two faces 321, 322 may be represented as a point cloud (e.g. by regularly spaced points representing each face). The task then may be to register the point cloud representing the faces with the captured point cloud 320. A variety of suitable point cloud registration techniques may be applied to accomplish this. For example, the iterative closest point algorithm (or a variant thereof) may be used to optimise the position of the two faces 321, 322 with respect to the points.
[0081] Importantly, these techniques can be carried out without the need of machine learning, using relatively simple and efficient techniques based on the geometry of the point cloud 320 and the faces 321, 322.
[0082] Once an optimal alignment has been found, the position of the 3D bounding box is determined from the position of the two faces 321, 322. The position of the 3D bounding box may then be output, as shown by reference numeral 380 of Figure 3, for example represented by the xyz locations of each vertex of the box.
[0083] These techniques effectively insert the faces of the bounding box into the point cloud and adjust its position for an optimal fit to the points of the point cloud that are likely to represent the corresponding surfaces of the detected object. However, it will be understood that the techniques need not literally involve the insertion of the faces into the point cloud. Instead, the faces and point cloud are represented in the same frame of reference (e.g. a common coordinate system).
[0084] For simplicity, the discussion in relation to Figures 3 and 4 assume that only one object is detected in the 2D image 310. However, it will be understood that the techniques apply similarly to situations in which a plurality of objects are detected in the image, wherein the process discussed above is applied to each object detected in the 2D image 310 to locate the corresponding object in the point cloud 320.
[0085] Figure 5 illustrates another example 400 of the disclosure. In the example of Figure 5, the techniques discussed with respect to Figure 3 and 4 are applied to 2D point clouds. In contrast to 3D point clouds, 2D point clouds lack the height component, and thus correspond to a bird’s eye view (BEV) of the environment. Radar scanning may generate such 2D point clouds.
[0086] As before, the position of the image plane 420 is known in the frame of reference of the 2D point cloud 410. Given the 2D nature of the point cloud 410, the image plane 420 in the BEV is a line. Again, the boundaries 435 of the detected location of the object in the image may be projected outwards into the point cloud 410 and used to limit the search space. The faces of Figure 3 and 4 are instead adjacent sides 431,432 of a 2D bounding box. An initial estimate of the position of the sides is derived in a similar manner (e.g. from the centroid of the points within the lines), and their position is similarly optimised using a suitable fitting algorithm.
[0087] Figure 6 illustrates another example of the disclosure 600. In this example, two cameras 605a, b are each providing respective images 610a, 610b of the target object in the point cloud 650. The techniques discussed above are applied to the respective images 610a, 610b, to generate respective initial estimates of the position of the two sides of bounding box 631a, 632a, 631b, 632b in the point cloud 650.
[0088] These different initial estimates derived from different viewpoints can then be taken into account to provide an improved estimate to be input to the optimiser. For example, the position of the two estimates may be averaged. In another example, one of the two estimates that appears more accurate (e.g. by virtue of corresponding to a bounding box encapsulating more of the points) may be selected.
[0089] Each of the techniques discussed herein can be incorporated into AV runtime stack 100 discussed above in relation to Figure 1, and more particularly the perception system 102 thereof.
[0090] Advantageously, the techniques discussed herein provide a means of detecting objects in point cloud data without applying CNNs to point cloud data. Instead, predictions based on 2D images allow estimation of the position in the point cloud, whereupon lightweight geometric techniques can be used to refine the position of the object. The techniques herein may also avoid the additional computational overhead involved in estimating stereo-depth by processing images generated by a stereo-camera system. This renders the techniques suitable for use at runtime in an AV. The reduction of computational overhead in the context of an AV at runtime also results in reduced consumption of power. The techniques are advantageously applicable to 2D and 3D point cloud data.
[0091] References herein to components, functions, modules and the like, denote functional components of a computer system which may be implemented at the hardware level in various ways. A computer system comprises execution hardware which may be configured to execute the method / algorithmic steps disclosed herein and / or to implement a model trained using the present techniques. The term execution hardware encompasses any form / combination of hardware configured to execute the relevant method / algorithmic steps. The execution hardware may take the form of one or more processors, which may be programmable or non-programmable, or a combination of programmable and non-programmable hardware may be used. Examples of suitable programmable processors include general purpose processors based on an instruction set architecture, such as CPUs, GPUs / accelerator processors etc. Such general-purpose processors typically execute computer readable instructions held in memory coupled to or internal to the processor and carry out the relevant steps in accordance with those instructions. Other forms of programmable processors include field programmable gate arrays (FPGAs) having a circuit configuration programmable through circuit description code. Examples of non-programmable processors include application specific integrated circuits (ASICs). Code, instructions etc. may be stored as appropriate on transitory or non-transitory media (examples of the latter including solid state, magnetic and optical storage device(s) and the like). The subsystems 102-108 of the runtime stack Figure 1 may be implemented in programmable or dedicated processor(s), or a combination of both, on-board a vehicle or in an off-board computer system in the context of testing and the like. The various components of Figure 2, such as the simulator 202 and the test oracle 252 may be similarly implemented in programmable and / or dedicated hardware.
Claims
Claims1. A computer-implemented object detection method, comprising: receiving a point cloud and a 2D image having an image plane located at a known location in the point cloud; applying one or more machine learning models to the 2D image to determine a position of a detected object in the 2D image and to determine estimated dimensions and orientation of at least two sides of a bounding box corresponding to the detected object in the point cloud; and generating an initial estimated location of the at least two sides of the bounding box in the point cloud based at least in part on the estimated dimensions and orientation; optimising the initial estimated location of the at least two sides of the bounding box with respect to the point cloud to determine a detected location of the bounding box corresponding to the detected object.
2. The method of claim 1, comprising selecting a subset of points in the point cloud based on the position of the detected object in the 2D image.
3. The method of claim 2, comprising optimising the initial estimated location with respect to the subset of points.
4. The method of claim 2 or 3, comprising generating the initial estimated location based on the subset of points.
5. The method of any of claims 2 to 4, wherein selecting the subset of points in the point cloud comprises projecting a frustum into the point cloud from a 2D image bounding box around the detected object in the 2D image, and selecting points of the point cloud falling within the frustum as the subset of points.
6. The method of any of claims 2 to 4, wherein selecting the subset of points comprises generating an instance mask corresponding to the detected object in the 2D image; projecting points of the point cloud into the image plane, and selecting points coinciding with the instance mask in the image plane as the subset of points.
7. The method of any of claims 2 to 6, wherein determining the initial estimated position based on the subset of points of the point cloud comprises calculating a centroid of the subset of points and determining the initial estimated position based on the centroid.
8. The method of any preceding claim, wherein the point cloud is a 3D point cloud and the sides of the bounding box are faces of a 3D bounding box.
9. The method of any of any of claims 1 to 7, wherein the point cloud is a 2D point cloud and the bounding box is a 2D bounding box.
10. The method of any preceding claim, comprising applying a single machine learning model to determine the position of the object in the 2D image and the estimated dimensions and orientation.
11. The method of any preceding claim, wherein: the estimated orientation comprises a yaw angle and optionally a pitch angle and roll angle; the estimated orientation comprises one or more of height, width and length of the detected object.
12. The method of any preceding claim, comprising: detecting the object in first and second 2D images having respective first and second image planes, and applying the machine learning model to the first and second 2D images and respective positions of the detected object in the first and second 2D images to providerespective first and second estimated dimensions and orientations of the detected object in the point cloud; generating first and second estimated locations of the at least two sides of the bounding box based on the first and second estimated dimensions and orientation; and generating the initial estimated location based on the first and second estimated locations.
13. The method of any preceding claim, wherein optimising the initial estimated location of the at least two sides of the bounding box with respect to the point cloud comprises minimising an LI norm between the sides and the points of the point cloud.
14. A runtime stack for an autonomous vehicle, the runtime stack comprising: a perception subsystem configured to carry out the method of any preceding claim; a prediction system configured to predict future behaviour of external agents based on the detected location of the bounding box; a planner configured to make autonomous driving decisions based on outputs of the prediction system; a controller configured to execute the decisions taken by the planner by providing control signals to an on-board actor system of the autonomous vehicle.
15. An autonomous vehicle comprising the runtime stack of claim 14.
16. A computer system comprising one or more computers configured to implement the method of any of claims 1 to 13.
Citation Information
Patent Citations
Structure annotation
WO2021013792A1
Method and system for generating a bird's eye view bounding box associated with an object
US20220012466A1
Cited By
Point cloud segmentation method and device, and storage medium
CN119919427A
