macrobomaster / cv-yolov7

Custom yolov7 model with opencv
GNU General Public License v3.0
5 stars 3 forks source link

10 past frames for kalman filter prediction for better result #21

Closed Bill-Haoyu-Lin closed 1 year ago

Bill-Haoyu-Lin commented 1 year ago

10 past frame for kalman filter prediction for better result. We need to include time of fly for bullet in our consideration, current 1 iteration prediction is not far-sight enough for our use. We need to make prediction better in accuracy as well as time.

Allen-ENGI commented 1 year ago

Have tried another way to do the prediction, by collecting the locations of the past ten frames and predicting the next location. Passed some simple tests but not sure it will fully work though

Bill-Haoyu-Lin commented 1 year ago

Good prediction result, need to make it converge faster. For both Kalman filter and new prediction result. image

Allen-ENGI commented 1 year ago

After testing, using 10 past frames is not as efficient and accurate as using the Kalman Filter algorithm. We shall prefer to use the Kalman Filter for further development.