impossible to set transition matrix for kalman filter in python (Bug #3106)
Description
Mat transitionMatrix; //!< state transition matrix (A)
Mat processNoiseCov; //!< process noise covariance matrix (Q)
Mat measurementNoiseCov;//!< measurement noise covariance matrix (R)
all those are public members in the c++ api, but not accessible from python or java.
but to get the extended kalman functionality, it is nessecary at least to be able to set them.
looking at the generator scripts, it seems, that member vars are ignored, so a simple setter function would do the trick(for both python and java):
CV_WRAP void setTransitionMatrix( const Mat& transition ) { transitionMatrix = transition; }
Associated revisions
Merge pull request #3106 from LeszekSwirski:fix-gemm-buf-allocate
History
Updated by Juan Carlos Niebles over 10 years ago
I've written the interface and revived the old kalman.py example.
See the following pull request:
https://github.com/Itseez/opencv/pull/3233
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4590