yellow point -observation (detection)
blue point- predicted value (prediction phase)
pink point- estimated value (after measurement update)
initial state x = first detection location (blob center)
Pictures from 1 to 4 represent first frames.
1.As you can see in the result (pic 5) . It took more than (10 values) for both (predicated and estimated state) to get closer to the measurement values ( center of blob from detection)
2. The first prediction for (x,y) was (0,0) although Kalman filter has the initial state x .Is there any problem ?