Howdy Kwabena and Ibrahim ( and all users) ,
I’m pretty new to this Kalman filter I’ve just discovered. I read abit about among some discussions there and elsewhere after few searches.
you seemed to talk a bit about this in other posts and so I was wondering if it’d already exist in the python library (because I didn’t found it in the help http://docs.openmv.io/library/index.html )
it seems to be a nice way to smooth curves ( so here to smooth some detected blob trajectories for example ) with less input datas than classic average filters and with better accuracy .
(here a screenshot of a python example I found showing difference between average filters and a Kalman one : )
is this something that could be added in the OpenMV python library ( or maye it already exist and as I’m an absolute noob I missed it ) ?
( in fact my goal is to smooth a target trajectory and then define an anticipation vector/position … so I was studying some ‘PID’ cases , and thaught maybe a Kalman filter before could help getting better smoothing curve ? Did you already tried to make PID effect and/or Kalman one maybe ? )
Edit : just to add some examples with Opencv and Kalman filter :