The present disclosure relates, in general, to object detection and tracking methods and apparatus.
Vehicle safety is deemed enhanced by computer and sensor based systems, which detect objects, such as vehicles, pedestrians, as well as stationary poles, and signs which may be in the path of a moving vehicle and could result in a collision.
Autonomous driverless vehicles are also being proposed. Such autonomous vehicles require a current view of surrounding objects, such as vehicles, poles, pedestrians, etc., which may be moving or stationary relative to the moving vehicle.
In order to implement the vehicle based collision and based warning accurately, and in order to avoidance systems as well as to implement autonomous driverless vehicles, facial resignation, etc., object detection and tracking methods have been proposed.
The present disclosure describes a method and an apparatus for tracking an object across a plurality of sequential image frames, where certain of the image frames contain motion blur.
The method and apparatus for detecting and tracking objects includes and performs the steps of receiving a video sequence including a plurality of sequential video frames from an image recording device, and selecting a clear target object image in one video frame. At least one normal template and a plurality of blur templates are created from the clear target object.
Next, a plurality of bounding boxes are generated in the next subsequent image frame around the location of the target object in the preceding frame and defining potential object tracking positions. For each bounding box in a subsequent image frame, a reconstruction error is generated showing one bounding box that has a maximum probability that it is the object tracking result.
The method and apparatus create the first normal template of an unblurred object in the target box, and create the different blur templates of the target box by convolving the target box with different kernels. After the method and apparatus generate the plurality of bounding boxes in the next frame about the target in the preceding frame, a gradient histogram is calculated for each bounding box in each sequential frame. The distance of the target candidate from each normal and blur templates are calculated. The method and apparatus measure a sum of weighted distance and a loss function.
Next, the method and apparatus divide the templates into separate groups of normal templates; blur templates toward the same direction of motion, and trivial templates. The method and apparatus use a structured sparsity-inducing norm which combines the L1 norm and the sum of L1/L2 norms over groups of variables. When the loss function and the sum of the L1 norm+L1/L2 mixed norm are combined into a non-smooth convex optimization problem, the method and apparatus solve the non-smooth convex optimization problem to derive an observation likelihood from a reconstruction error of the location of the object being tracked in the current image frame.
The various features, advantages and other uses of the blur object tracking method and apparatus will become more apparent by referring to the following detailed description and drawing in which:
Referring now to the drawing, and to
The presently disclosed object tracking method and apparatus uses blur templates to detect a direction of movement of an object being tracked through a sequential series of images of which may contain blurred images. The method and apparatus uniquely utilize gradient information by calculating gradient histograms for each template. The sum of weighted distance is used to measure a loss function. Group Lasso is imposed on the L1+L1/L2 mixed norms resulting in a non-smooth convex optimization problem, which can be solved to determine the observation likelihood from the reconstruction error of an object position over multiple sequential frames even, when the object image is blurred.
The apparatus, which can be mounted, for example, on a moving vehicle 80, includes an image sensor camera 82. By way of example, the camera 82 may be a high definition video camera with a resolution of 1024 pixels per frame.
The camera 82, in addition to possibly being a high definition camera 82, for example, can also be a big-picture/macro-view (normal or wide angle) or a telephoto camera. Two types of cameras, one having normal video output and the other providing the big-picture/macro-view normal or wide angle or telephoto output, may be employed on the vehicle 80. This would enable one camera to produce a big-picture/macro view, while the other camera could zoom in on parts of the target.
The apparatus, using the camera 82 and the control system described hereafter and shown in
The method can be implemented by the apparatus which includes a computing device 100 shown in a block diagram form in
The computing device 100 can also include secondary, additional, or external storage 114, for example, a memory card, flash drive, or other forms of computer readable medium. The installed applications 112 can be stored in whole or in part in the secondary storage 114 and loaded into the memory 104 as needed for processing.
The computing device 100 can be mounted on the vehicle 80 or situated remote from the vehicle 80. In the latter case, remote communication will be used between the camera 82 and the computing device 100.
The computing device 100 receives an input in the form of sequential video frame image data 116 from the image sensor or camera 82 mounted on the vehicle 80. The video image data 116 may be stored in the memory 104 and/or the secondary storage 114.
Using a high definition output 116 from the camera 82, the target will have a reasonable size, as shown in
In
In order to model the blur degradations, blur templates are incorporated into the appearance space. The appearance of the tracking target yεd is represented by templates T=[Ta, Tb, I],
Where To=[t1, . . . , tn
The first normal template t1 is obtained from the unblurred object patch of the target in the first frame, which is usually selected manually or by detection algorithms, other templates are shifted from it. Given a blur free patch of the target image, different blurred versions of the target can be modeled as convolving the normal target template with different kernels. In this framework, ti,j=t1ki,j is the (i;j)th blur template, where ki,j is a Gaussian kernel that represents a 2D motion toward direction θi with magnitude lj, where .θiεΘ={θ1, . . . , θn
To use the estimated motion information from the sparse representation to guide the particle sampling process, estimated motion information from different sources are integrated into the proposal distribution, which is a combination of the first-order Markov transition p(xt|xt-1), the second-order Markov transition .p(xt|xt-1, xt-2), and qi(xt|xt-1,yt-1) the based on the blur motion estimation along direction θi.
Incorporating blur templates into the appearance space allows for a more expressive appearance space to model blur degradations. However, with the augmented template space, ambiguity also increases, and some background might be well represented by some blur templates, especially when only grayscale information is used. In order to make the tracking algorithm more robust, based on the observation that though motion blur significantly changes the statistics of the gradients of the templates, the blur templates in the same direction have much more similar gradient histograms than blur templates of different directions, it is proposed to use the combination of the reconstruction error and a weighted sum of distances between the target candidate and each of the non-trivial templates as loss function.
For each template Tab=[Ta, Tb], its gradient histogram is calculated by letting each pixel vote for a gradient histogram channel, to get, H=[h1, h2, . . . , hn
is used as the loss function.
For the augmented template set with blur templates of different directions, since the motion blur of the target is always toward one direction at any time t, there is a natural group structure among the templates. The representation of the target candidate should not only be sparse, but also should have group structure, i.e., the coefficients should also be sparse at the group level. In our tracking framework, we divide the templates into ng=nθ+d+1 groups G={G1, G2, . . . , Gn
Combining the loss function (2) and the l1+l1/l2 mixed norm results in the following non-smooth convex optimization problem:
where cG
Once the optimization problem Eq. (3) is solved, the observation likelihood can be derived from the reconstruction error of y as p(yt|xt)∝exp{−α∥TabcT−y∥22} where α is a constant used to control the shape of the Gaussian kernel.
Refer now to
The CPU 102 executes program instructions to follow the method described above to track an object across multiple sequential image frames where one or more of the image frames may include blurred motion of the object.
In step 150,
Next, in step 160, the CPU 102 generates, for the next and for each subsequent image frame, such as the subsequent image frame shown in
In step 164, which can contain numerous sub-steps described hereafter, the CPU 102 generates for each bounding box 163A, 163B, and 163C in the second sequential image frame 162 shown in
Thus, for the subsequent image frame 162 shown in
In step 168, for each bounding box 163A, 163B, and 163C, the CPU 102 calculates a gradient histogram h. Then, in step 170, the CPU 102, calculates a gradient histogram and the distance g from the target candidate bounding box histogram and the histograms of the normal and blur templates.
In step 172, the CPU 102 measures the sum of the weighted distance and loss function. Next in step 174, the CPU 102 divides the templates into groups of normal, blurred toward the same direction, and trivial template groups.
In step 176, the CPU 102 employs group sparsity on the coefficients of the each group of templates.
In step 178, the CPU 102 combines the reconstruction error of the loss function and the L1+L1/L2 mixed norm into a non-smooth convex optimization problem and solves the problem. In step 180, the output of the solved problem enables an observation likelihood from the reconstruction error that one bounding box which has a maximum probability is the object tracking result of the location of the target objector patch in the current image frame.
This bounding box defining the target object location in the second image shown in
This process is then repeated for each subsequent image thereby tracking the object across all of the sequential series of images despite any motion blur which may appear in any or all of the images.
Although the above object tracking method and apparatus for tracking an object over multiple blurred images has been described in conjunction with detecting an object relative to a moving vehicle, it will be understood that the present method and apparatus may be employed in other object tracking applications, such as facial recognition of pedestrians on a public street via a stationary camera, tracking any objects, besides vehicles, etc.
The above described blur tracker with group lasso object tracking method and apparatus provides a robust object detection despite multiple blurred recorded images from an image sensor or camera. The method and apparatus is computationally efficient, thereby allowing high-speed computation between sequential frames.
Number | Name | Date | Kind |
---|---|---|---|
20050069173 | Morisada | Mar 2005 | A1 |
20080240497 | Porikli | Oct 2008 | A1 |
20100177194 | Huang | Jul 2010 | A1 |
20110096180 | McCloskey | Apr 2011 | A1 |
20120099765 | Zheng | Apr 2012 | A1 |
20140307917 | Mei | Oct 2014 | A1 |
20140334720 | Shibata | Nov 2014 | A1 |
20150178943 | Li | Jun 2015 | A1 |
Entry |
---|
Wu et al (“Blurred target tracking by blur-driven tracker”, 2011). |
Wang et al., “Online Object Tracking with Sparse Prototypes”, undated, 12 pages. |
Mei et al., “Robust Visual Tracking and Vehicle Classification via Sparse Representation”, undated, 14 pages. |
Wu et al., “Blurred Target Tracking by Blur-driven Tracker”, undated, 8 pages. |
Roth et al., “The Group-Lasso for Generalized Linear Models: Uniqueness of Solutions and Efficient Algorithms”, undated, 8 pages. |
Number | Date | Country | |
---|---|---|---|
20160125249 A1 | May 2016 | US |