Commit Graph

83 Commits

Author SHA1 Message Date
Aleksandar Atanasov cf0df733da Fix houghcircles.py when no circles found
In the C++ equivalent of this example a check is made whether the vector (here in Python we have a list) actually has any circles in it that is whether the Hough circles function has managed to find any in the given image. This check is missing for the Python example and if no circles are found the application breaks.
2016-06-02 10:58:46 +02:00
Maksim Shabunin 36477fdefa Merge pull request #6344 from anatolix:kalmanpyfix 2016-04-12 15:55:55 +00:00
Fraser Harris 0634808bf3 Added description of the AR model 2016-03-31 17:57:55 -07:00
Anatoly Orlov 1740218ee0 small platform compatability fix for ESC key 2016-03-29 20:02:35 +03:00
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
Vladislav Sovrasov 1f8fd5382c Replace of some synthetic scenes in python samples 2016-03-24 20:05:26 +03:00
Vladislav Sovrasov 87fc75c6d7 Improvements in tests, bugfix in digits_video sample 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov 54c07ba0ff Add 2 new tests, bugfixed in old tests 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov 86868176a2 Fix py3 comatibility 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov e90dc20361 Update letter_recog sample to current version of opencv interfaces 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov d579f08093 Fix mouse control in asift and find_obj samples 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov 3a51cae208 Fix rectangle selection in some of python samples 2016-03-03 11:06:21 +03:00
Vladislav Sovrasov ab4d375349 Add new tests on python 2016-03-03 11:06:20 +03:00
BinMatrix c7481c55f7 Fix the mouse bug and the problem of collapse 2016-01-13 19:04:17 +08:00
Alexander Alekhin 613b289325 python: add launch script for winpack python demo 2015-12-18 15:59:02 +03:00
Alexander Alekhin a8e2922467 rename samples/{python2 -> python} 2015-12-18 11:00:32 +03:00
Andrey Kamaev f886651cf0 Drop old python samples and tests 2013-04-12 19:37:40 +04:00
marina.kolpakova 285d6320be add #/usr/bin/env python to all python files 2012-11-23 22:57:22 +04:00
OpenCV Buildbot 04384a71e4 Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
Andrey Kamaev 639bbec44a svn repository web references are replaced with links to git 2012-08-24 15:59:43 +04:00
Gary Bradski a4de511eb7 Added cv.DestroyAllWindows() to file close 2012-03-18 23:21:54 +00:00
Gary Bradski 5878ab6a0f added destroyAllWindows at end 2012-03-18 23:12:55 +00:00
Gary Bradski 8a48b8dffd added destroy all windows 2012-03-18 23:07:39 +00:00
Gary Bradski c29f0dfdfa added destroy all windows 2012-03-18 23:01:31 +00:00
Alexander Shishkov be63ce723f #1672
updated links in cheatsheet
renamed directory for Mat tutorial 
changed links from willow docs to opencv.itseez.com, from Trac to current Redmine
2012-03-11 14:35:46 +00:00
Alexander Shishkov f3be34934e minor changes in chessboard.py sample #1492 2012-02-17 08:48:06 +00:00
Alexander Shishkov a6602dd75c fixed #1492 2012-02-17 08:42:58 +00:00
Vadim Pisarevsky 569b1ad582 embeded cv Python module into cv2. 2011-07-12 12:56:03 +00:00
Vadim Pisarevsky 3c8cff3d7e fixed ellipse orientation in fitellipse.py 2011-06-14 09:23:29 +00:00
Ethan Rublee 89b5f40ce3 Reverting the boost::python bindings, moving dev to out of trunk. 2011-05-24 22:01:41 +00:00
Ethan Rublee 44e9fdaa2d Initial pass at some boost python bindings. 2011-05-23 17:26:58 +00:00
James Bowman a2e158aeb8 datamatrix sample 2010-05-13 18:02:02 +00:00
Vadim Pisarevsky 127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00