Tracking through kalman filter
I want to implement Kalman filter in my work of video processing , i am studying about it from different sources but it take me towards question that if i don't know that where my object come in frame mean i don't know about its angle (location in frame) then is it possible that Kalman filter automatically detect its measurements e.g location (as i already applied algorithms for specific object detection , so i only want that detected object tracking) and then track it in other frames ?
Other thing which come to my mind is that two objects (which i want to detect) come in the same frame and in the same measurements to is kalman filter take them as two different objects for tracking ?
confused question. can you try to clean it up a bit ? ;)
@berak you still tracking me :P actually i only want to save one frame of object , in video , my object takes 60/70 frames to go through from the eye of live cam , so i want to save only one frame of one object
hey, we both' ve come a long way, no ? (+1 for the nice pun, btw)
but no fear, just trying to help you.
I am trying to track a vehicle and there may be 2 different vehicle's in one frame may b 3 etc , if i put a seprate tracker for each then isn't it computationaly expensive for video processing ?
no fear, that's pretty cheap. if your measurement vec is x,y, the whole prediction is a few 2x2 matrix /vector multiplications.
If you are trying to find the location of an object to track, then you need to detect a moving object first. There is backgroundSubtractionMOG followed by findContours(), and other potential solutions
@Will Stewart I mentioned in thread that i applied algorithm for object detection and i am detecting it
Are you then determining it's location by the general centroid of the main contour, if there is a main contour? What are you getting in return that signifies an object?
I am simply getting
1
for my required object when it appear in front of camera/in frame and then that frame proceed for further functionalities . otherwise my application ignores the frame which don't have that object