opencv/samples/python
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
..
_coverage.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
_doc.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
_run_winpack_demo_python27.cmd python: add launch script for winpack python demo 2015-12-18 15:59:02 +03:00
.gitignore rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
asift.py Fix mouse control in asift and find_obj samples 2016-03-03 11:06:21 +03:00
browse.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
calibrate.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
camshift.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
CMakeLists.txt rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
coherence.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
color_histogram.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
common.py Fix rectangle selection in some of python samples 2016-03-03 11:06:21 +03:00
contours.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
deconvolution.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
demo.py Add new tests on python 2016-03-03 11:06:20 +03:00
dft.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
digits_adjust.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
digits_video.py Improvements in tests, bugfix in digits_video sample 2016-03-03 11:06:21 +03:00
digits.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
distrans.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
edge.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
facedetect.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
feature_homography.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
find_obj.py Fix py3 comatibility 2016-03-03 11:06:21 +03:00
fitline.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
floodfill.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
gabor_threads.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
gaussian_mix.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
grabcut.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
hist.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
houghcircles.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
houghlines.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
inpaint.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
kalman.py kalman.py was broken totally 2016-03-29 18:27:35 +03:00
kmeans.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
lappyr.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
letter_recog.py Add 2 new tests, bugfixed in old tests 2016-03-03 11:06:21 +03:00
lk_homography.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
lk_track.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
logpolar.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
morphology.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
mosse.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
mouse_and_match.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
mser.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
opencv_version.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
opt_flow.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
peopledetect.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
plane_ar.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
plane_tracker.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
squares.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
stereo_match.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
texture_flow.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
tst_scene_render.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
turing.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
video_threaded.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
video_v4l2.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
video.py Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
watershed.py rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00