MULTI-SENSOR OBJECT TRACKING

- Five AI Limited

A computer-implemented method of tracking detected objects across multiple image sensors having overlapping fields of view, the method comprising: receiving, for a first image sensor of the multiple image sensors, a first detected object region in a first 2D image plane; receiving, for a second image sensor of the multiple image sensors, a second detected object region in a second 2D image plane, the second detected object region synchronous with the first detected object region; computing, for at least two edge sections of the first detected object region, (i) an outward projection of each edge section into 3D space and (ii) an outward projection into 3D space of a corresponding edge section of the second detected object region; identifying at least four reference points in 3D space, by determining an intersection between the outward projection of each edge section of the first detected object region with the outward projection of the corresponding edge section of the second detected object region; calculating a first extent of overlap in the first 2D image plane between the first detected object region and a first inferred object region defined by the at least four reference points projected into the first image plane; calculating a second extent of overlap in the second 2D image plane between the second detected object region and a second inferred object region defined by the at least four reference points projected into the second image plane; and generating based on the first extent of overlap and the second extent of overlap an object tracking output indicating whether the first detected object region and the second detected object region correspond to the same object.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
TECHNICAL FIELD

The present disclosure relates to object tracking across multiple image sensors.

BACKGROUND

Object detection is an important area of computer vision, with applications in autonomous vehicles and other robotic systems, among numerous others. Object detection can be applied to ‘conventional’ 2D images (such as RGB images) as well as other sensor modalities (e.g., 3D images, such as RGBD images, lidar data, radar data etc.). Herein, unless otherwise indicated, a 2D image refers to an image with one or more colour channels but no explicit depth information (e.g. no explicit depth channel). Examples of 2D images without explicit depth information include RGB, CMY, grayscale and monochromatic images.

The term 2D object detection is used herein to refer to any method of detecting an object region in a 2D image. One example of 2D object detection is 2D bounding box, where the object region has the form of a 2D bounding box, which is typically aligned with the horizontal (x) and vertical (y) image axes. A bounding box detector is used to fit 2D bounding boxes to objects it detects in a 2D image, indicating an approximate location and extent of the object in the image plane. Another example is segmentation, which detects an approximate outline of an object in the image (xy) plane. In this case, the detected object region has the form of a detected segmentation mask. Current state of the art performance has been achieved using machine learning (ML) models, in particular convolutional neural networks (CNNs) trained on large image datasets.

Herein, “tracking” refers, in broad terms, to the problem of partitioning sensor data (from one or more sensors) into “tracks”, where a track is a set of observations produced by the same object (target). For example, one form of tracking takes a set of object detections and partition that set by track identifier (ID), associating any two object detections with a common track ID when they are determined to correspond to the same object (the association problem). In some cases, tracking may be combined with filtering, where object detections are assigned to tracks and filtered to produce a set of filtered observations associated with each track with reduced uncertainty compared with the original ‘raw’ object detections.

Two or more object detections generated by the same object are said to be associated. Broadly speaking, two classes of tracking are considered herein: single-sensor tracking to determine associations between object detections from the same sensor generated at different times (involving temporal associations) and multi-sensor tracking to determine associations between object detections from different sensors (involving spatial associations between sensors). The simplest form of multi-sensor tracking considers only synchronous object detections corresponding to the same point in time) from different sensors with overlapping fields of view. A more general multi-sensor tracking problem concerns object detection across multiple image sensors that are not necessarily synchronous.

One use case considered herein is a system of multiple image sensors deployed on an autonomous vehicle (AV) or other sensor-equipped vehicle (the ego vehicle), such as front, back and side cameras arranged to provide a wide-angle (e.g. full 360-degree) view of the ego vehicle's surroundings. In this case, multi-sensor tracking allows vehicles or other agents to be tracked between front, side and rear views of the ego vehicle. For an AV that is required to process and respond to images from those sensors in real-time, multi-sensor tracking across those sensors needs to be performed in real-time, using a limited set of on-board computing resources that have to be shared with other expensive parts of the AV stack, such as prediction and motion planning.

Multi-sensor tracking may, for example, be an initial step in a sensor fusion pipeline that fuses (merges) the outputs from multiple sensors in a way that reduces overall uncertainty in the outputs, e.g., using some existing fusion method (such as Kalman filtering) that utilizes known associations between object detections.

Multi-sensor tracking is generally a simpler problem when explicit depth information is available. For example, if an object detection derived from an image sensor provides a 3D object location in a frame of reference of the sensor, it is relatively straightforward to determine whether synchronous object detections from two such image sensors correspond to the same object provided the relative transformation between the sensors is known. In principle, any association between those detections could be determined by determining the 3D object to a common frame of reference based on e.g. the relative sensor poses (positions and orientations), and determining whether or not those 3D locations coincide in the common frame of reference.

On the other hand, obtaining explicit depth information robustly, and with sufficient accuracy, generally requires either expensive processing or additional sensor hardware. For example, stereo imaging techniques can be used to derive a depth channel (D) from a pair of images captured from a stereo pair of image sensors based on measured pixel disparity between the images. Such depth information could be used for 3D object detection, which in turn could support multi-sensor tracking across multiple pairs of stereo image sensors. However, significant computation resources are required to derive the depth channel, and that overhead scales with the number of stereo sensor pairs. An AV might be equipped with multiple stereo image sensor pairs, but that does not necessarily mean that it is feasible to have all of those sensor pairs operating in stereo at all times, because of the required processing overhead and the competition for limited on-board processing resources with other components of the AV stack (such as prediction, planning etc.). Another option is to augment RGB camera images with a depth channel from another sensor modality, such as lidar. However, in addition to the hardware requirements (every image sensor needs to be registered with a lidar sensor), there is also a processing overhead required to augment each RGB image with lidar depth, which again scales with the number of image sensors. Such processing is not necessarily feasible for all image sensors at all times, even if the required lidar hardware is available. So-called ‘mono depth detection’ uses computer vision processing (such as a trained CNN) to infer a depth channel from only a single 2D (e.g. RGB) image using visual clues in the 2D image. Whilst mono depth detectors can generally be implemented efficiently at runtime, they are not necessarily robust.

SUMMARY

A robust multi-sensor object tracking mechanism is provided herein that does not require explicit depth information, and which can therefore be applied to 2D object detections (with no explicit depth dimension), such as 2D bounding boxes, to track detected objects across image sensors with reduced processing overhead and/or reduced hardware requirements. Associations between 2D object detections from different image sensors with partially overlapping fields of view are determined by projecting the 2D object detections from their respective image planes into 3D space, and computing intersections of the resulting 3D projections. Inferred object regions are then determined in both image regions, based on a projection of the intersections from 3D space back into both image planes. If 2D object detections have been captured from the same object, generally the inferred object region in each image plane will be closely aligned with the original 2D object detection in that image plane, and thus exhibit a high degree of overlap in area. If the 2D object detections have been captured from different objects, generally the overlap in at least one of the image planes is generally reduced. Certain edge cases are also addressed. The techniques assume the object detections are synchronous, meaning they have either been captured substantially simultaneously, or interpolated/extrapolated to substantially the same point in time.

According to one aspect of the present disclosure, there is provided a computer-implemented method of tracking detected objects across multiple image sensors having overlapping fields of view, the method comprising: receiving, for a first image sensor of the multiple image sensors, a first detected object region in a first 2D image plane; receiving, for a second image sensor of the multiple image sensors, a second detected object region in a second 2D image plane, the second detected object region synchronous with the first detected object region; computing, for at least two edge sections of the first detected object region, (i) an outward projection of each edge section into 3D space and (ii) an outward projection into 3D space of a corresponding edge section of the second detected object region; identifying at least four reference points in 3D space, by determining an intersection between the outward projection of each edge section of the first detected object region with the outward projection of the corresponding edge section of the second detected object region; calculating a first extent of overlap in the first 2D image plane between the first detected object region and a first inferred object region defined by the at least four reference points projected into the first image plane; calculating a second extent of overlap in the second 2D image plane between the second detected object region and a second inferred object region defined by the at least four reference points projected into the second image plane; and generating based on the first extent of overlap and the second extent of overlap an object tracking output indicating whether the first detected object region and the second detected object region correspond to the same object.

In embodiments, the method may comprise receiving at least one first image captured by the first image sensor; determining the first detected object region using object detection applied to the at least one first image; receiving at least one second image captured by the second image sensor; determining the second detected object region using object detection applied to the at least one second image.

The first detected object region may be determined by filtering multiple first images captured by the first image sensor, and the second detected object region is determined by filtering multiple second images captured by the second image sensor.

The first and second detected object regions may be first and second detected 2D bounding boxes respectively, with the at least two edge sections comprising two mutually perpendicular bounding box edges.

In some embodiments, only the two mutually perpendicular bounding box edges are used in generating the object tracking output for tracking objects when the image sensors are mutually aligned in a dimension perpendicular to those edges.

The first inferred object region may be determined as a first box (e.g. a first box of maximum area) that is fully contained within a first quadrilateral defined in the first 2D image plane by the first inward projection of the at least four reference points. The second inferred object region may be determined as a second box (e.g. a second box of maximum area) that is fully contained within a second quadrilateral defined in the second 2D image plane by the second inward projection of the at least four reference points.

The first extent of overlap may be calculated as an intersection over union between the first detected 2D bounding box and the first box of maximum area. The second extent of overlap may be calculated as an intersection over union between the second detected 2D bounding box and the second box of maximum area.

The method may comprise determining an association score as a lowest extent of overlap out of the first extent of overlap and the second extent of overlap, the object tracking output comprising or being derived from the association score.

A first reference point and a second reference point of the at least four reference points may denote a first intersection of the outward projection of a first of the edge sections of the first detected object region with the outward projection of the corresponding edge section of the second detected object region.

A third reference point and a fourth reference point of the at least four reference points may denote a second intersection of the outward projection of a second of the edge sections of the first detected object region with the outward projection of the corresponding edge section of the second detected object region.

If the outward projection of a second of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, (alternative) third and fourth reference points may be used, which denote an intersection of the outward projection of one of the edge sections of the first detected object region with the outward projection of an opposite edge section of the second detected object region.

If the outward projection of a first of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, and the outward projection of a second of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, the at least four reference points may (instead) be determined based on an intersection of the outward projection of one of the edge sections of the first detected object region with the outward projection of an opposite edge section of the second detected object region and a distance parameter.

The first detected object region may belong to a first object track having a first track identifier, and the second detected object region may belong to a second object track having a second track identifier. If the first detected object region and the second detected object region are determined to correspond to the same object, the object tracking output may comprise a mapping between the first track identifier and the second track identifier.

For example, each object track may have an age defined as the oldest object detection belonging to that track, and the method may comprise replacing the newer of the first track identifier and the second track identifier with the older of the first track identifier and the second track identifier.

The method may comprise applying sensor fusion processing to the first object track and the second object track based on the object tracking output.

A further aspect provides a computer system comprising one or more computers configured to carry out the method or any embodiment thereof.

A further aspect provides computer program for programming a computer system to implement the method or any embodiment thereof.

BRIEF DESCRIPTION OF FIGURES

Illustrative embodiments will now be described, by way of example only, with reference to the following schematic figures, in which:

FIG. 1 is a schematic plan view of a multi-sensor arrangement.

FIG. 2 is a schematic block diagram of a multi-sensor object tracking pipeline.

FIG. 3 is a schematic perspective view of two frustum object fields of view obtained by projecting, into 3D space, 2D bounding boxes from different cameras, where the 2D boxes belong to the same object.

FIG. 4 is a diagram showing the field of view of a first detection from the left camera partially intersecting with the field of view of a second object detection from the right camera, in the case the first and second object detections do not correspond to the same object.

FIG. 5 is a perspective view of two nearby objects captured in images from left and right cameras.

FIG. 6 is a diagram showing a 2D bounding box for the same object in the image planes of the left and right cameras.

FIG. 7 is a top-down view of the projection surfaces through the vertices of 2D bounding boxes, in the image planes, into a common 3D space.

FIG. 8 is a perspective view of intersecting projection surfaces in 3D space obtained from the projection of 2D bounding boxes from different image planes.

FIG. 9 is a diagram showing left and right image planes, with inferred object regions determined by projecting intersecting object fields of view into the left and right image planes

DETAILED DESCRIPTION

The described embodiments consider a multi-sensor tracking context summarized in FIG. 1. Multi-sensor object tracking is implemented using a geometry-based sensor-to-sensor association algorithm applied to 2D images to determine associations between synchronous object detections across multiple spatially-separated image sensors with partially overlapping fields of view, by considering the intersection of the camera fields of view in 3D. This, in turn, can support subsequent processing to fuse object detections from different sensors belonging to the same object.

In some embodiments, the sensor-to-sensor association algorithm is combined with single-sensor tracking and filtering applied to each sensor individually, with the intent of associating 2D detected tracks made in two cameras when those tracks are determined to have been produced by the same object. by considering the intersection of the camera field of views in 3D. This, in turn, allows those tracks to be fused, e.g. by applying an additional stage of filtering to a set of (two or more) 2D tracks from different cameras that are determined to be associated.

In other embodiments, the camera-to-camera association algorithm is run on ‘raw’ object detections from the different cameras, without the initial single-sensor tracking and filtering.

FIG. 1 shows a schematic plan view of a multi-sensor arrangement, with at least a first (left) image sensor (camera) 102 and a second (right) image sensor 104. Although only two image sensors are depicted, the described techniques can be used to implement multi-object tracking across multiple image sensors. The first and second image sensors 102, 104 have first and second fields of view 103, 105 respectively. The sensors 102, 104 are spatially separated, with relative positions and orientations such that their fields of view 103, 105 partially overlap in space, with reference numeral 106 denoting the region of overlap.

By way of example, five objects A-E are depicted within the sensor fields of view 102, 104. Object A is located fully within the first sensor's field of view 103 outside of the overlap region 106, and is therefore only visible to the first sensor 102. Likewise, Object E is located fully within the second sensor's field of view 105 outside of the overlap region 106, and is therefore only visible to the second sensor 104. Object C lies entirely within the overlap region 106, and is therefore fully visible to both sensors 102, 104. Object B is located fully within the first sensor's field of view 103 and only partially in the overlap region 106, and is therefore fully visible to the first sensor 102 and only partially visible to the second sensor 104. Object D is located fully within the second sensor's field of view 105 and only partially in the overlap region 106, and is therefore fully visible to the second sensor 104 and only partially visible to the first sensor 102.

In the example of FIG. 1, the image sensors 102, 104 are mounted on a mobile system, which is a sensor-equipped vehicle 100 (the ego vehicle) in this example. The ego vehicle 100 may, for example, be an autonomous vehicle, or a vehicle used for data collection that is not necessarily autonomous. In any event, the description applies equally to other forms of mobile system. In this example, the left image sensor 102 is a front-facing camera on the ego vehicle 100, and the right image sensor 104 is a side-facing camera. A relative transform between the two cameras is assumed to be known. The relative transform captures the relationship between the cameras' respective frames of reference, and is straightforward to service when the cameras' relative positions and orientations are known.

Thus, in the depicted example, object A is only seen by the front camera 102, object B is fully seen by the front camera 102 and partially by the side camera 104, object C is wholly seen by both cameras 102, 104, object D is partially seen by the front camera 102 and wholly seen by the side camera 104, and object E is seen only by the side camera 104.

Camera-to-Camera Association

In more detail, an object detector and tracking algorithm is run on each camera to generate detections. The algorithm will associate detections of the same objects observed by both images, while being robust to the fact that neither camera may completely see the object, and excluding any geometrically impossible associations. Whilst a tracker is usually run on each camera to track the detections over time, and noted, the association algorithm can be applied on either raw detections or tracked detections.

FIG. 2 shows a schematic block diagram of an object tracking pipeline 200, which receives images captured from left and right cameras 102,104 and processes those images to track objects as they move between the images captured by the different cameras. The pipeline 200 can be implemented in an online context or an offline context. In an online context, images are received and processed in real time. Online tracking may be implemented, for example, within a control stack of an autonomous vehicle or mobile robot. In this context, objects such as vehicles, pedestrians or other agents may be tracked between cameras for the purpose of supporting higher level processing such as motion planning and prediction. In an offline context, the processing is not required to be performed in real time, and this allows a greater range of processing within the stack, such as the use of future observations when filtering observations, or even processing of observations in reverse-order (e.g. performing both forward and backwards passes). In the offline use case, images may be collected from the left and right cameras 102, 104, and stored for later use. Hence, images may be received by the pipeline 200 in real time from the cameras themselves or from persistent storage.

The pipeline 200 is shown to comprise a first object detector 210 that receives and processes first images captured by the left camera 205 and a second object detector 212 that receives and processes images captured by the right camera 206. Whilst separate object detectors are shown, in some implementations a single object detector could be used to process both sets of images (for example in an offline context). Each 2D object detection processes each image independently, in order to detect a set of 2D object regions. In the present example, the detected object regions are image axis-aligned 2D bounding boxes 220, 222 denoting the location and approximate extent of objects detected in the image. For each image processed by one of the object detectors, the output is a set of 2D bounding boxes 220, 222 for that image 205, 206.

The first and second bounding box detectors 210, 212 are shown having outputs connected to first and second single-camera trackers 230, 232 respectively. Whilst two single-object detectors 210, 212 are depicted, in some implementations a single tracker may be used at this stage to process the outputs for both the left and right cameras 102, 104. It is assumed that the first and second cameras 102, 104 generate respective streams of images captured at regular intervals. Each image (frame) is time stamped, hence each set of 2D bounding boxes 220, 222 is associated with a time stamp. Each single-camera tracker 230, 232 tracks the detections from a single camera, in the sense of determining associations between bounding boxes detected from images captured by the same camera at different times. This may also involve filtering over time in order to reduce the uncertainty in the single camera detections captured over time. A known tracking/filtering method, such as multi-hypothesis tracking, may be used in this context. The output of each single-camera tracker 230, 232 is a set of object tracks 240, 242, where each track is a set of time stamped 2D bounding boxes (possibly filtered/refined) that have been determined to correspond to the same object. A track is therefore provided per detected unique object over some time interval, and each track is associated with a unique track identifier. Two sets of object tracks 240, 242 are provided, for the left and right cameras 102, 104 respectively.

The single-camera trackers 230, 232 are shown having respective outputs each connected to a multi-camera tracking system 201. The multi-camera tracking system tracks objects between the left and right cameras 102, 104 in the sense of determining when two objects tracks from different cameras correspond to the same object.

The following description assumes that the cameras 102, 104 are synchronised with each other, and that the multi-camera tracking system 201 receives and processes synchronous sets of 2D object detections form the different cameras 102, 104. With non-synchronized cameras, synchronous object detections can be derived via interpolation or extrapolation in time.

A camera-to-camera association component 250 is shown, which updates a set of track ID mappings 260 whenever the single-camera trackers update their outputs. In a typical application, the tracker outputs are updated per frame, hence the track ID mappings 260 are also updated per frame. Although the ultimate aim is to associate different tracks (time sequences of object detections), the camera-to-camera association component 250 uses only the most recent observations to update the track ID mappings 260. If two of the most recent detections from different cameras are determined to be associated, the tracks to which those detections belong are associated as a result. The association processing assumes that any two of the most recent observations from the different cameras are synchronous in that they correspond to the same point in time. As explained in further detail below, those 2D detections are projected into a common 3D space. Because only a single point in time is considered, this only requires the relative transformation between the cameras to be known (it does not require the absolute locations of those cameras in the world to be known). If the cameras are in a fixed arrangement, that known transformation 255 will be fixed and can be stored for use in every update.

In any given update step, when two observations from different cameras are determined to be associated, the respective track IDs 270 of the respective object tracks to which they belong are determined, and those track IDs 270 are associated with each other in a set of stored track ID mappings 260. Specifically, the more recent of the two track IDs is mapped to the older of the two track IDs for the reasons explained below.

A camera fusion component 290 of the multi-camera tracking system is shown to receive the original object tracks 240, 242 from the left and right cameras 102, 104, and the role of this component is to fuse those tracks when they correspond to the same object. To this end, the camera fusion component 290 calls a tracking interface component 280 on the received track IDs 270, in order to identify based on the track ID mappings 260 when two tracks from different cameras are mapped to each other. The sensor fusion processing can be performed using known techniques, such as Kalman filtering, utilising the knowledge of the associations between object tracks from the different cameras. The output is a set of fused output tracks 295, generally having a lower level of uncertainty than the single-camera tracks.

The camera-to-camera association component 250 and the tracking interface 280 form part of the multi-camera tracking system 201.

The core of the association algorithm is determining whether two 2D object detections from different cameras have fields of view that intersect. The field of view of an object detection is determined by projecting the object detection from the image plane of its sensor into 3D space (in general, the object field of view is a subset of the sensor field of view).

In the following examples, the 2D object detections are represented as rectangular bounding boxes, aligned with the image axes.

The starting point for this is to make sure that detections in the overlap region 106 of the two cameras 102, 104 are given at the same time. If the inputs are tracks and not raw detections, we can be robust to the two camera images not being taken at the same time; in this case, a prediction (e.g. made by using a Kalman filter) can be used to extrapolate the bounding boxes to the target time. For an ‘offline’ (non-real time implementation) the association for tracks can be performed a few frames behind, in which case the bounding box can be interpolated. Alternatively, if the cameras 102, 104 are synchronized with sufficient accuracy, sufficiently synchronous object detections can be obtained without the need to interpolate or extrapolate the detections.

To determine an object field of view, an object bounding box is projected into 3D space. Geometrically speaking, the 2D bounding box in image space can be represented by a pyramid in 3D. This is because the depth of the object is not known a-priori (without running some other algorithm, which would have the drawbacks noted above).

If the same object is seen by two cameras, then these pyramids should intersect somewhere in 3D space.

FIG. 3 shows a schematic perspective view of two pyramid object fields of view 302, 304 from different cameras belonging to the same object, which intersect in 3D space. Each pyramid 302, 304 is obtained by projecting a 2D bounding box (not shown) into 3D space from the image plane of the applicable camera. This assumes the relative transformation between the cameras is known so that the 2D bounding boxes from those cameras can be projected into the same 3D coordinate system.

The calculation of the intersection of two pyramids in 3D space can be simplified by making certain assumptions about the arrangement of the cameras.

A first assumption that the cameras are mounted side-by-side (vertically aligned) With this setup, only the triangular surfaces representing the left and right sides of the object detection need to be considered.

It is useful to introduce some nomenclature in this context: a detection from the left camera 102 has two triangular surfaces for the left and right sides of the detection. The left surface is called the “left-left” surface. The right one is “left-right”. The right camera 104 also has two detection surfaces, referred to as “right-right” and “right-left” respectively.

If, instead, the cameras were mounted on top of each other (horizontally aligned), only the top and bottom planes of the detection “pyramid” would need to be considered. Whilst the following description assumes a side-by-side setup, the description applies equally to cameras mounted on top of each other, with ‘top and bottom’ substituted for ‘left and right’.

It is useful to consider the way that two of these surfaces can intersect in 3D space. In general, there are three possibilities: no intersection; the surfaces intersect, and the intersection is described by a line segment in 3D space; or the surfaces intersect, and the intersection is described by another triangular plane.

The last option is a special edge case which only occurs when the cameras are the exact same, or one camera is between the other camera and the object. For spatially separated cameras which do not observe each other, this can never arise. Hence in general, the planes are determined to intersect, the intersection will take the form of a line segment in 3D, which in turn gives an estimate of the depth of the object. The goal of the association algorithm it to obtain two line segments representing the left and right sides of the object in 3D space.

To deduce if two fields of view overlap, the following triangular surface intersections are considered: left-left with right-left (LLRL), and left-right with right-right (LRRR). If the former produces an intersection, it can be deduced that both cameras can see the left side of the object. If the latter produces an intersection, it can be deduced that both cameras can see the right side of the object.

FIG. 6 shows two 2D bounding boxes for the same object in the image planes of the left and right cameras. The images are labelled IL (610) and IR (615) for the images captured by the left and right cameras 102, 104 respectively. In both images, a 2D bounding box is shown for an object within the field of view of the camera. The points labelled P1, P2 P3 and P4 represent the four vertices of the 2D bounding box 620 for an object in the image plane of the left camera 610. The labels Q1, Q2, Q3 and Q4 represent the four vertices of the 2D bounding box 625 for the same object in the image plane of the right camera 615.

FIG. 7 shows a top-down view of the projected surfaces corresponding to the edges of the 2D bounding boxes 620, 625 into a common 3D space (in the top-down view, these surfaces have the appearance of lines, but they are 2D triangular surfaces in 3D space). When an object exists within the overlap region of the fields of view 702, 704 of the left and right cameras, the projections from the cameras through the vertices of the 2D bounding boxes will intersect in the common 3D space. In the top-down view, two projection surfaces are visible for the two sides of each of the two 2D bounding boxes 620, 625. The projection surface through the left side of the bounding box in the left image 722 intersects with the projection surface through the left side of the bounding box in the right image 732, with the intersection between those surfaces forming a line segment (the intersection line is vertical, and therefore has the appearance of a point in the top-down view). In the top-down view, this line of intersection shows the left side of the object 740. Similarly, the right side of the object 740 is shown by the line of intersection between the projection surface through the right side of the bounding box in the left image 724 and the projection surface through the right side of the bounding box in the right image 734. One line of intersection exists in front of the object and another line of intersection exists behind the object. The line of intersection in front of the object, labelled R1, R2 710, 715, is the intersection between the LLRL sides of the pyramids of the left and right cameras 102, 104 and is always present if the cameras are seeing the same object. The line of intersection behind the object is between the LLRR sides of the pyramids of the left and right cameras 102,104.

FIG. 8 shows a perspective view of the intersection of the projection surfaces in 3D space from the projection of the two 2D bounding boxes 620, 625. The projection surfaces in the figure are projections into 3D space through the vertices of the two bounding boxes 620, 625 in the left and right image planes. The left-left projection surface (projected out though P1 and P2, i.e. left bounding box's left side) and right-left projection surface (projected out through Q1 and Q2, i.e. the right bounding boxes left side) intersect to form a first line segment between two reference points labelled X1, Y1; this is the LLRL intersection. The left-right projection surface (projected out through P3 and P4, i.e. the left bounding box's right side) and right-right projection surface (projected out through Q3 and Q4, i.e. right bounding box's right side) intersect to form a second line segment between the points X2 and Y2; this is the LRRR intersection. These four reference points X1, Y1, X2 and Y2 can, in principle, be connected to form a quadrilateral 820 in 3D space (although the quadrilateral 820 does not need to be calculated in 3D space; only the reference points are needed).

In certain edge cases, one or more additional reference points are determined as follows. A third line segment 810 between points R1 (710) and R2 (715) is defined as the intersection between the triangular regions defined by the left-right projection surface through P3 and P4 and the right-left projection surface through Q1 and Q2. This third line segment 810 between R1 and R2 710, 715 is the LRRL intersection.

FIG. 9 shows the 2D bounding boxes 620, 625 from the original images 610, 615 and reprojected quadrilaterals 910, 915 from the intersection of the projection surfaces in 3D space The reprojected quadrilaterals 910, 915 are determined by projecting the reference points X1, Y1, X2 and Y2 back into each image, and joining the projected reference points with line segments (the reprojected quadrilaterals 910, 915 are, mathematically, a projection of the quadrilateral 820 shown in FIG. 8). A quadrilateral is formed in 3D space, as in FIG. 8, is reprojected into the image planes of the left and right cameras. From the projections, inferred object regions are calculated in each image for comparison with the original detected object regions (the original bounding boxes 610, 615 in this example). The inferred object regions are determined as 2D bounding boxes 920, 925 and are constructed by finding the largest box, with maximum area, that fits fully within the reprojected quadrilaterals 910, 915 for the images from the left and right cameras. The original 2D bounding boxes 620, 625 found using 2D object detection are also included within the image planes.

Finally, an extent of overlap is calculated between the original 2D bounding box in the image plane and the largest box that fits within the reprojected quadrilateral, e.g. as an Intersection-Over-Union. This is done in both image planes, resulting in two overlap values. These overlap values are used in determining associations between boxes, in the manner described below.

A common edge case is that one camera doesn't see one side of the object, because the object is not entirely within the camera's field of view (see objects B and D in FIG. 1). This may, for example, result in the presence of an LLRL intersection, but no LRRR intersection. Hence, the intersection of the left-right plane and the right-left plane (LRRL) is also considered. From the schematic of FIG. 3, it is evident that the intersection of these two planes will be a line segment in front of the actual object. In the event only one of the LLRL and LRRR intersections is present, the LRRL intersection is used as a stand-in for the missing intersection. It is important to note that, if the cameras are viewing the same object, the LRRL intersection will always be present.

A rarer edge case occurs when neither camera sees the full object, i.e. the left camera only sees the left side and the right camera only sees the right side. In this case, the LRRL intersection will still be present if the cameras are observing the same object. However, it will not be possible to triangulate both the left and right sides of the object. To deal with this rarer edge case, a heuristic is used. Given a camera setup where the fields of view point away (i.e. a “convex” setup), the depth of the LRRL intersection will be an underestimate of the depth. A tuneable parameter “d” is therefore introduced, which is an estimate of how far away the real object's depth is from this intersection point. This parameter can be set, taking into account the likely size of the object (e.g. a few meters if the object is a vehicle), and tuned through routine experimentation.

Using the parameter d, the vertices of the object are determined as follows:

    • The top left point of the object is the point “d” metres behind the top of the LRRL intersection in the direction of the top line of the right camera's left triangular surface.
    • The bottom left point of the object is the point “d” metres behind the top of the LRRL intersection in the direction of the bottom line of the right camera's left triangular surface.
    • The top right point of the object is the point “d” metres behind the top of the LRRL intersection in the direction of the top line of the left camera's right triangular surface.
    • The bottom right point of the object is the point “d” metres behind the top of the LRRL intersection in the direction of the bottom line of the left camera's right triangular surface.

When the possible edge cases are accounted for in the manner described above, the end-result of the association algorithm will be either a successful triangulated 4 points in 3D space representing the top left, bottom left, top right and bottom right corners of a rectangular object, or a conclusive determination that the fields of view do not intersect at all.

If there are no overlaps between the surfaces, then it can be concluded with confidence that the objects do not associate. If these surfaces do overlap, it does not guarantee they belong to the same object. Following the above logic, if intersections are present, the algorithm will have computed two line segments representing the left and right side of the object. To determine an association score, four reference points defined by the intersections (in this case, the two end points of each line segment) are projected into each image plane to form an arbitrary quadrilateral. The largest aligned box that fits entirely within this quadrilateral is then computed. Finally, the intersection over union (IOU) of this box with the original detection box made in that image is computed. We do this projection for each image that is viewing the object, and the smaller of the two IOUs is used as the association score. A high association score therefore required a high degree of overlap in both images. If this IOU is above some threshold, we consider the objects to (potentially) be associated. Sometimes a high degree of overlap will occur in one image when the boxes have been generated by different objects. However, a high degree of overlap will generally only occur in both images if the boxes have been generated by the same object.

The final step is to use these association scores to determine the global associations. To do this, a N×M matrix is determined for the images, where N is the number of tracks in the left image, and M is the number of tracks in the right image. The matrix is populated with the association scores between each track, calculated using the above method. Optimal associations between the tracks in the left image and the tracks in the right image are then computed. Simply taking the maximum association score for each box could result in a box in, say, the left image being associated multiple boxes in the right image. Hence, the problem can be phrased as one of determining an optimal set of associations based on a set of association scores, subject to the constraint that every element should be associated with at most one box. The association problem is, in turn, a linear assignment problem, which can be solved using methods such as the Hungarian algorithm.

Using geometry to deduce whether two objects associate in this manner is robust. Two objects that are sufficiently spatially separated will never be associated. When there is no intersection of any of the planes, this is easy to see. However, the algorithm is constructed in a way that means there may be cases with field-of-view intersections, but resulting in an association score of zero.

FIG. 4 is a diagram that represents such a case, which shows the field of view 402 of a first detection from the left camera partially intersecting with the field of view 404 of a second object detection form the right camera.

In these edge cases, the left side of the object viewed by the right image will be more to the right of the right side of the object in the right image. If when projecting into the image we observe that the “right” side is to the left of the “left” side, the IOU is set to zero automatically.

FIG. 5 shows a perspective view of two nearby objects captured in respective images from left and right cameras. The views of those objects are captured in both images. To simplify the explanation, the objects are shown as cuboid in nature. When some portion of the first object visible in the left image 502 is projected into 3D space, it will necessarily intersect with a projection of a corresponding portion of the same object captured in the right image 504. These will intersect at the corresponding part of the object in 3D space 510.

However, taking the second object in the right image 506, when a similar part of the second object is projected into 3D space 520, it will not fully intersect with the projection from the first object in the first image. This is because the two objects are not the same.

When multiple portions of the object are projected into 3D space from both images, a large extent of intersection will only occur in respect of the same object captured in the different images.

In this respect, it is important to consider the intersection of the 2D triangular surfaces (i.e. it is not simply the projection of the corner points of the boxes that are considered, but the full projection of the left and right sides).

Track ID Remapping

The above association works on the output of a tracking output for a pair of cameras.

In one implementation, each object tracked in each camera is assigned a unique Track ID to identify it, and all observed detections belonging to the track have this Track ID attached. Once two tracks have been associated with the above method, it is useful for them to share the same Track ID going forward, so the observed detections for two different tracks of the same object can be fused into the same track in a subsequent stage of sensor fusion processing.

To do this, a memory of mappings is stored from a track's original Track ID to a new Track ID that it is to be reassigned to. This mapping is updated whenever a set of detections for a pair of cameras is received, and the association method is run. The mapping is updated based on the association result. Then, as new detections of objects are produced by the cameras, if a previous detection of the same object (belonging to the same track) is observed, its initial Track ID is overwritten using the stored mapping, so its new Track ID is consistent with past associations.

The update step of the mapping involves the following stages.

1. Prune Old Mappings

If a mapping from one Track ID to another has not been accessed for a time period greater than a set threshold, then the mapping is removed.

2. Self Mapping

If a Track ID for the current frame has no existing mapping stored, then add a mapping from itself to itself.

3. Update Mapping Based on Associations

If two objects from different cameras are associated in the current frame, it is useful to map their Track IDs to the same value. Rather than starting a new Track ID, both tracks are instead assigned to one of the two existing Track IDs, in order to create a single continuous track. Therefore, a mapping is created from each of the two Track IDs to whichever Track ID has existed in the stored mapping the longest. The oldest track ID is used, in favour of the more recent Track ID, to ensure continuity.

4. Sever Duplicate Mappings

An edge case may be encountered where two detections from the same camera, in the same frame, have a mapping to the same Track ID. Evidently the same object can't appear twice at the same time in the same camera, so this represents a tracking error. One instance where this can happen is if a tracker changes its decision about which two tracks between two cameras are associated between two frames, caused by a misassociation for one of those frames. When duplicate mappings are identified, the shortest lived mapping is served.

On a lookup of the mapping for a particular Track ID, it's possible that it may be mapped to a Track ID that is in turn mapped to yet another Track ID, and so on. This happens when an object travels across the field-of-view of three or more cameras over time. When looking up the new Track ID for a detection from the mapping, this has to be accounted for by following a chain of mappings until the end of the chain.

The result of storing these mappings, and reassigning Track IDs based upon them, is that, as a single object traverses through the field-of-view of multiple cameras, it maintains the same Track ID throughout.

The system of FIG. 2 is implemented in a computer system, which may be localized or distributed, in an offboard and/or onboard setting. One example of a distributed arrangement is one in which the system is partly implemented on board a vehicle(s) and partly in a backend system. 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. 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).

Claims

1. A computer-implemented method of tracking detected objects across multiple image sensors having overlapping fields of view, the method comprising:

receiving, for a first image sensor of the multiple image sensors, a first detected object region in a first 2D image plane;
receiving, for a second image sensor of the multiple image sensors, a second detected object region in a second 2D image plane, the second detected object region synchronous with the first detected object region;
computing, for at least two edge sections of the first detected object region, (i) an outward projection of each edge section into 3D space and (ii) an outward projection into 3D space of a corresponding edge section of the second detected object region;
identifying at least four reference points in 3D space, by determining an intersection between the outward projection of each edge section of the first detected object region with the outward projection of the corresponding edge section of the second detected object region;
calculating a first extent of overlap in the first 2D image plane between the first detected object region and a first inferred object region defined by the at least four reference points projected into the first image plane;
calculating a second extent of overlap in the second 2D image plane between the second detected object region and a second inferred object region defined by the at least four reference points projected into the second image plane; and
generating based on the first extent of overlap and the second extent of overlap an object tracking output indicating whether the first detected object region and the second detected object region correspond to a same object.

2. The method of claim 1, comprising:

receiving at least one first image captured by the first image sensor;
determining the first detected object region using object detection applied to the at least one first image;
receiving at least one second image captured by the second image sensor; and
determining the second detected object region using object detection applied to the at least one second image.

3. The method of claim 2, wherein the first detected object region is determined by filtering multiple first images captured by the first image sensor, and the second detected object region is determined by filtering multiple second images captured by the second image sensor.

4. The method of claim 1, wherein the first and second detected object regions are first and second detected 2D bounding boxes respectively, the at least two edge sections comprising two mutually perpendicular bounding box edges.

5. The method of claim 4, wherein only the two mutually perpendicular bounding box edges are used in generating the object tracking output for tracking objects when the image sensors are mutually aligned in a dimension perpendicular to those edges.

6. The method of claim 4, wherein the first inferred object region is determined as a first box of maximum area that is fully contained within a first quadrilateral defined in the first 2D image plane by a first inward projection of the at least four reference points;

wherein the second inferred object region is determined as a second box of maximum area that is fully contained within a second quadrilateral defined in the second 2D image plane by a second inward projection of the at least four reference points.

7. The method of claim 6, wherein the first extent of overlap is calculated as an intersection over union between the first detected 2D bounding box and the first box of maximum area;

wherein the second extent of overlap is calculated as an intersection over union between the second detected 2D bounding box and the second box of maximum area.

8. The method of claim 7, comprising determining an association score as a lowest extent of overlap out of the first extent of overlap and the second extent of overlap, the object tracking output comprising or being derived from the association score.

9. The method of claim 1, wherein a first reference point and a second reference point of the at least four reference points denote a first intersection of the outward projection of a first of the edge sections of the first detected object region with the outward projection of the corresponding edge section of the second detected object region.

10. The method of claim 9, wherein a third reference point and a fourth reference point of the at least four reference points denote a second intersection of the outward projection of a second of the edge sections of the first detected object region with the outward projection of the corresponding edge section of the second detected object region.

11. The method of claim 9, wherein if the outward projection of a second of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, third and fourth reference points are used, which denote an intersection of the outward projection of one of the edge sections of the first detected object region with the outward projection of an opposite edge section of the second detected object region.

12. The method of claim 1, wherein if the outward projection of a first of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, and the outward projection of a second of the edge sections of the first detected object region is determined not to intersect with the outward projection of the corresponding edge section of the second detected object region, the at least four reference points are determined based on an intersection of the outward projection of one of the edge sections of the first detected object region with the outward projection of an opposite edge section of the second detected object region and a distance parameter.

13. The method of claim 1, wherein the first detected object region belongs to a first object track having a first track identifier, and the second detected object region belongs to a second object track having a second track identifier, wherein if the first detected object region and the second detected object region are determined to correspond to the same object, the object tracking output comprises a mapping between the first track identifier and the second track identifier.

14. The method of claim 13, wherein each object track has an age defined as an oldest object detection belonging to that track, and the method comprises replacing a newer track identifier of the first track identifier and the second track identifier with an older track identifier of the first track identifier and the second track identifier.

15. The method of claim 13, comprising applying sensor fusion processing to the first object track and the second object track based on the object tracking output.

16. A computer system for tracking detected objects across multiple image sensors having overlapping fields of view, the computer system comprising:

at least one memory storing computer-readable instructions; and
at least one processor coupled to the at least one memory and configured to execute the computer-readable instructions, which upon execution cause the at least one processor to perform operations including:
receiving, for a first image sensor of the multiple image sensors, a first detected object region in a first 2D image plane:
receiving. for a second image sensor of the multiple image sensors, a second detected object region in a second 2D image plane, the second detected object region synchronous with the first detected object region:
computing, for at least two edge sections of the first detected object region. (i) an outward projection of each edge section into 3D space and (ii) an outward projection into 3D space of a corresponding edge section of the second detected object region:
identifying at least four reference points in 3D space, by determining an intersection between the outward projection of each edge section of the first detected object region with the outward projection of the corresponding edge section of the second detected object region;
calculating a first extent of overlap in the first 2D image plane between the first detected object region and a first inferred object region defined by the at least four reference points projected into the first image plane;
calculating a second extent of overlap in the second 2D image plane between the second detected object region and a second inferred object region defined by the at least four reference points projected into the second image plane; and
generating based on the first extent of overlap and the second extent of overlap an object tracking output indicating whether the first detected object region and the second detected object region correspond to a same object.

17. A non-transitory computer readable medium embodying computer program instructions, the computer program instructions configured so as, when executed on one or more hardware processors, to implement operations comprising:

receiving, for a first image sensor of the multiple image sensors, a first detected object region in a first 2D image plane;
receiving, for a second image sensor of the multiple image sensors, a second detected object region in a second 2D image plane, the second detected object region synchronous with the first detected object region:
computing, for at least two edge sections of the first detected object region. (i) an outward projection of each edge section into 3D space and (ii) an outward projection into 3D space of a corresponding edge section of the second detected object region:
identifying at least four reference points in 3D space, by determining an intersection between the outward projection of each edge section of the first detected object region with the outward projection of the corresponding edge section of the second detected object region;
calculating a first extent of overlap in the first 2D image plane between the first detected object region and a first inferred object region defined by the at least four reference points projected into the first image plane;
calculating a second extent of overlap in the second 2D image plane between the second detected object region and a second inferred object region defined by the at least four reference points projected into the second image plane; and
generating based on the first extent of overlap and the second extent of overlap an object tracking output indicating whether the first detected object region and the second detected object region correspond to a same object.
Patent History
Publication number: 20260378073
Type: Application
Filed: Feb 21, 2024
Publication Date: Nov 26, 2026
Applicant: Five AI Limited (Cambridge)
Inventors: Andrew Lawson (Cambridge), David Pickup (Cambridge)
Application Number: 19/158,411
Classifications
International Classification: G06T 7/292 (20170101); G06T 7/246 (20170101);