Want a kalman filter project paper object tracking with a ma
Want a (kalman filter project paper \'object tracking\' with a matlab code).
Solution
Here is the basic program for detecting and tracking moving object from a video. This program first loads the video \"singleball.mp4\" into workspace and then by using kalman filtering and blob analysis, the moving ball is tracked. You can see the red marker moves along with the ball during the video.
Matlab Program for Object Tracking:
videoReader = vision.VideoFileReader(\'singleball.mp4\');
 videoPlayer = vision.VideoPlayer(\'Position\',[100,100,500,400]);
 foregroundDetector = vision.ForegroundDetector(\'NumTrainingFrames\',10,\'InitialVariance\',0.05);
  blobAnalyzer = vision.BlobAnalysis(\'AreaOutputPort\',false,\'MinimumBlobArea\',70);
  kalmanFilter = []; isTrackInitialized = false;
 while ~isDone(videoReader)
 colorImage = step(videoReader);
foregroundMask = step(foregroundDetector, rgb2gray(colorImage));
 detectedLocation = step(blobAnalyzer,foregroundMask);
 isObjectDetected = size(detectedLocation, 1) > 0;
if ~isTrackInitialized
 if isObjectDetected
 kalmanFilter = configureKalmanFilter(\'ConstantAcceleration\',detectedLocation(1,:), [1 1 1]*1e5, [25, 10, 10], 25);
 isTrackInitialized = true;
 end
 label = \'\'; circle = zeros(0,3);
 else
 if isObjectDetected
 predict(kalmanFilter);
 trackedLocation = correct(kalmanFilter, detectedLocation(1,:));
 label = \'Corrected\';
 else
 trackedLocation = predict(kalmanFilter);
 label = \'Predicted\';
 end
 circle = [trackedLocation, 5];
 end
colorImage = insertObjectAnnotation(colorImage,\'circle\',circle,label,\'Color\',\'red\');
  step(videoPlayer,colorImage);
 end
 release(videoPlayer);
 release(videoReader);
Coming to the project paper, there are numerous number of articles and research papers available on internet. For example u can refer the links below.
http://www.ijcsmc.com/docs/papers/April2013/V2I4201376.pdf
http://file.scirp.org/pdf/IIM_2013032920521334.pdf

