opencv/samples
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
..
android android samples: force setVisibility (see #5812) 2015-12-16 14:31:49 +03:00
cpp Merge pull request #6300 from berak:fix_akaze_sample 2016-03-21 14:01:17 +00:00
data Changes in facedetect test 2016-03-03 11:06:21 +03:00
directx fixed not initialized nv12_cpu_copy surface, remove odd code 2015-08-01 02:10:05 +03:00
gpu gpu samples: fix REMOVE_ITEM error 2015-12-31 02:24:54 +03:00
hal Using find_package to import custom HAL library 2016-03-24 17:05:54 +03:00
java Change SURF to ORB in Java-Sbt sample to remove dependency on external non-free modules 2015-09-03 17:16:59 +03:00
opencl warning fix (MSVS2015) 2015-12-12 15:23:31 +03:00
opengl used proper method 2015-08-17 01:44:50 +03:00
python kalman.py was broken totally 2016-03-29 18:27:35 +03:00
tapi Feature #3957 2015-12-17 18:19:39 +03:00
va_intel changed device detection procedure, added resizing surface to bigger size 2015-09-23 17:35:49 +03:00
winrt Updated sample to showcase highgui WinRT usage 2015-06-26 23:41:39 +03:00
winrt_universal Adding backslash in macro-based paths 2015-05-29 09:36:42 +03:00
wp8 Adding backslash in macro-based paths 2015-05-29 09:36:42 +03:00
CMakeLists.txt change links from samples/python2 to samples/python 2015-12-18 11:00:30 +03:00