Uploaded by MackDiesel2010 on Apr 26, 2010
In this commercial, the basketballs are isolated in the HSV colorspace. Ball centroids are output and marked with red circles, however position is lost / degraded due to the basketballs are out of the camera's field of view, briefly covered by the British people throwing them, or one of the bloke's round heads being recognized instead of the basketball. During these instances, the position is erroneously recorded as in the top-left corner (0,0).
The goal of using the Kalman Filter is to estimate the position(s) of the basketballs in such a way that their changes in position are averaged, and thus less affected by these outlier (bad) measurements. However, the source video was a bad choice, because of how often the basketballs leave the FOV, and the thresholding picking out a chap's head over the basketball.
The Kalman Filter state transition matrix accounts for position, velocity, and acceleration of the x and y components of the tracked objects:
[1 1/6.3 .5*(1/6.3)^2 0 0 0;
0 1 1/6.3 0 0 0;
0 0 1 0 0 0;
0 0 0 1 1/6.3 .5*(1/6.3)^2;
0 0 0 0 1 1/6.3;
0 0 0 0 0 1]
with states [x x' x'' y y' y'']' for the two components of position and their time derivatives. Note 6.3 = Frames per second (FPS) for a sample rate of 1/6.3.
Because of the rapid changes in motion of this video, such a simple model does not suffice for spot-on tracking, and therefore the green, filtered position markers appear to lag quite a bit, and are still somewhat highly affected by bad measurements as described above. To keep the filtered estimates closer to the actual position, the process noise covariances should be increased, and the measurement noise should be lowered. However, to better demonstrate the averaging effect of the Kalman filter, I kept a process vs measurement covariance ratio (wk/vk) of 2:1.
Changing the variances for individual states, such as more weight on position vs velocity and acceleration has no noticeable effect for this example, since the framerate is so low (6.3 FPS). A better video would have made for an even better demonstration.
-
0 likes, 0 dislikes
1:45
plebes gone wildby jgbronson12305 views
0:33
Passive Wireless Surveillance Networkby USNA2010EE57 views
5:36
Markov chainsby TheJmayberry1,046 views
6:42
Uncovering the Neural Mechanisms of Object Recognitionby CMUHSS475 views
3:49
WalMart - Product Recognition and Ranking by Visual Impact for Eyetracking Studiesby shopperlabs250 views
1:08
Toy car racing :)by NeonEnzo68,598 views
2:04
Hand Stabbing Projectby MackDiesel2010611 views
0:55
Awareness Test! Moonwalking Bear Advert!by puremage0001,423,740 views
2:59
yan2 umbrella dance.mp4by anaiyayan296 views
0:52
Nike Kids - Jr Mercurial Vapor VI FG (Youth) 7683993by ZapposGear2,735 views
0:31
Chevy Aveo Commercial - small LARGE!!!by chrisleithauto5,973 views
2:46
audiopadby sekundo17,271 views
1:03
gyro simple serial demo using a MEMS IMUby loopfuzz998 views
0:59
CAMSHIFT Embedded Kalman Filter Theoryby SuperBdboy692 views
0:58
HUD + video + Kalman filterby heroineworshipper5,186 views
2:05
Visual Object Net ++ Tutorialby Xtremehoon956 views
2:10
How to Build a Lego Basketball Hoopby LegoMasters3422,711 views
1:03
Aircraft in Blender with Matlab databy colquin1,537 views
4:31
IROS 2007 Multi-cue 3D Object Recognition in Knowledge-based Vision-guided Humanoid Robot Systemby aki92656736 views
6:55
Units, Measurements and Theory of Errors - Concept Builder 1by IITJEE2,552 views
- Loading more suggestions...
Link to this comment:
All Comments (0)