Anatoly Orlov 2be805ce29 kalman.py was broken totally
1. Following condition is True on each iteration becuase -1 % 0xFF is 255 not -1

code = cv2.waitKey(100) % 0x100
if code != -1:
   break

this were resetting point position on each cycle not on key press as intended

2. Previous small bug were masking serious bug with matrix operation on matrices of incorrect size.
   As the result on 2nd iteration of internal cycle program has crushed.

   I have fixed it too, matrix operation was taken from examples/cpp/kalman.cpp where it looks like
   randn( processNoise, Scalar(0), Scalar::all(sqrt(KF.processNoiseCov.at<float>(0, 0))));
   which is something totally different from previous code here.

   Example behave as it should now, i.e. point moving by circle trajectory as in C++ example.
2016-03-29 18:27:35 +03:00
2016-01-13 20:19:19 +08:00
2016-02-18 11:28:41 +01:00
2016-01-20 13:07:46 +03:00
2016-03-29 18:27:35 +03:00
2015-09-24 09:32:38 -04:00
2014-02-26 17:46:52 +08:00
2016-01-18 10:11:01 +05:30
2016-02-08 11:04:19 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read before starting work on a pull request: https://github.com/Itseez/opencv/wiki/How_to_contribute

Summary of guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.
Description
No description provided
Readme 422 MiB
Languages
C++ 83.4%
Cuda 5.9%
C 3.8%
Java 2.4%
CMake 2.2%
Other 2.1%