Unable to use KalmanFilter in Java on Android

asked 2013-05-12 22:00:27 -0600

Hugo Feng gravatar image

updated 2013-05-13 01:59:27 -0600

I'm trying to implement kalman filter in java on Android. However, I cannot find a way to specify the transition matrix, because there seems to be no setters or members in that class, and the documents are just simply copied from the python/c++ documentation.

I'm using OpenCV4Android 2.4.2 from NVPACK.

What should I do to implement Kalman Filter on Android ? I'm stuck here on my project and would be much appreciate if anyone could help.

edit retag flag offensive close merge delete



Did you find a solution for this? the wrapper makes no sense. I've tried running it without the transition matrix, and the filter does nothing to my values..

Vlad gravatar imageVlad ( 2014-02-17 18:39:42 -0600 )edit

No, unfortunately I didn't. As far as I know, this function in Android version is somewhat incomplete. ref: https://groups.google.com/d/msg/android-opencv/0MNilmUBuHc/iVJAJFS2KJgJ

Hugo Feng gravatar imageHugo Feng ( 2014-04-05 10:29:01 -0600 )edit

I ended up writing a little wrapper for native Kalman filter.. so i'll have to whole functionality. it took about 10 minutes so i guess for now, that's the way to go.

Vlad gravatar imageVlad ( 2014-08-03 11:15:51 -0600 )edit