Commit Graph

191 Commits

Author SHA1 Message Date
Vadim Pisarevsky
2013118971 new/improved Python samples by Alexander Mordvintsev 2012-08-06 16:35:35 +04:00
Alexander Mordvintesv
d9dc02541a Added descriptions to PlaneTracker samples 2012-08-05 10:20:42 +03:00
Alexander Mordvintesv
353c69e017 created PlaneTracker (int plane_tracker.py), which implements multitarget planar tracking
rewritten feature_homography.py using it
added plane_ar.py - simple augmented reality sample
2012-08-03 22:17:11 +03:00
Alexander Mordvintesv
ffa8c32348 work on feature_homography.py: multiple targets 2012-08-01 21:41:03 +03:00
Philipp Wagner
40e65b9603 facerec_demo.py: Updated contact mail address. 2012-07-30 19:31:49 +02:00
Alexander Mordvintsev
72a4f1924d feature_homography.py:
building descriptor index on target capture
simple AR experiment (work in progress)
2012-07-30 12:39:41 +04:00
Philipp Wagner
c0a4105467 facerec_demo.py: Shortened code. Final version. 2012-07-30 02:24:39 +02:00
Philipp Wagner
4a7e29b3f4 facerec_demo.py: Reworked demo to remove all matplotlib dependencies. 2012-07-30 02:18:27 +02:00
Philipp Wagner
508a029dae Moved the facerec_demo.py to the wrong directory. Now moved to the python2 folder. 2012-07-30 01:18:58 +02:00
Alexander Mordvintesv
f8facadc67 print description in mosse.py 2012-07-29 17:24:47 +03:00
Alexander Mordvintesv
f6191cc5bb added MOSSE sample 2012-07-29 17:21:49 +03:00
Alexander Mordvintesv
0f9bbf85e5 spelling corrections, added aero images as a more impressive example for
ASIFT
2012-07-29 16:26:22 +03:00
Alexander Mordvintesv
88a9f8f919 spelling corrections, added aero images as a more impressive example for
ASIFT
2012-07-29 16:15:44 +03:00
Alexander Mordvintsev
ea96047f78 small doc fix 2012-07-16 14:17:39 +00:00
Alexander Mordvintsev
200357fdf4 window name changed 2012-07-16 14:16:36 +00:00
Alexander Mordvintsev
ad7a6ec41f correct unknown feature report in find_obj.py 2012-07-16 12:31:56 +00:00
Alexander Mordvintsev
3ce5b01543 added asift.py sample 2012-07-16 12:29:49 +00:00
Alexander Mordvintsev
99e404fe86 moving data used by sample into a separate folder
small fix in find_obj.py
2012-07-16 11:46:05 +00:00
Alexander Mordvintsev
8610ff1b4d find_obj.py allows to select detector and matcher and explore matching pairs 2012-07-16 11:31:43 +00:00
Alexander Mordvintsev
7bbc42127e refactored find_obj.py sample:
- handle bad matching case
- use BFMatcher and FlannBasedMatcher (and thus fixing a bug: L2^2 metric was used for flann)
2012-07-13 20:27:54 +00:00
Alexander Mordvintsev
65e2350606 work on digits_video.py 2012-07-12 11:51:27 +00:00
Alexander Mordvintsev
84281d284e mdot function in common.py 2012-07-11 05:07:00 +00:00
Alexander Mordvintsev
d9478252e9 show detected keypoints in feature_homography.py 2012-07-09 12:19:59 +00:00
Alexander Mordvintsev
a2c3c1800a new feature_homography.py sample 2012-07-06 15:42:42 +00:00
Alexander Mordvintsev
1543b46383 HoG and Hellinger-metric preprocess for digit recognition
line breaks in fitline.py description
2012-07-02 13:49:36 +00:00
Alexander Mordvintsev
83ccdbd0ce refactored digits_adjust.py (dataset preprocess in cloud) 2012-07-02 07:49:46 +00:00
Alexander Mordvintsev
6977a89525 descriptions for watershed.py and video.py 2012-07-02 04:44:31 +00:00
Alexander Mordvintsev
d015bf6f5e fitline.py sample added 2012-07-02 03:51:47 +00:00
Alexander Mordvintsev
c6685bc9a7 improved recognition accuracy by better region normalization 2012-06-27 13:22:06 +00:00
Alexander Mordvintsev
60dd599aea discard digit's internal contours in digits_video.py 2012-06-27 12:42:21 +00:00
Alexander Mordvintsev
981564ffe9 work on digits_video.py 2012-06-27 10:09:45 +00:00
Alexander Mordvintsev
c71c82a8f1 work on digits_video.py 2012-06-27 09:46:04 +00:00
Alexander Mordvintsev
b987154ebc digits_video.py prints warning if trained classifier (should be created by digits.py) not found 2012-06-27 08:29:22 +00:00
Alexander Mordvintsev
6dffc5332d digits_video.py (VERY IMMATURE)
digits.py now saves the resulting SVM classifier for use in digits_video.py
2012-06-27 05:59:16 +00:00
Alexander Mordvintsev
13b30d7428 digits_adjust.py sample added 2012-06-27 05:51:24 +00:00
Alexander Mordvintsev
d636e1128b removed ANN digits recognition
added deskew for SVN and KNearest recognition sample
2012-06-27 04:29:15 +00:00
Alexander Mordvintsev
d49c697fda added comments to contours.py and edge.py samples 2012-06-25 10:58:34 +00:00
Alexander Mordvintsev
a3220a446f added comment to letter_recog.py sample (adopted from c++ version) 2012-06-25 10:52:45 +00:00
Alexander Mordvintsev
e0df3e27ac added digits2.py sample (work in progress) 2012-06-18 14:42:43 +00:00
Alexander Mordvintsev
3b55e0d4e9 added kmeans.py sample 2012-06-18 11:48:04 +00:00
Alexander Mordvintsev
a98d6b6217 exposed parallelized SVM prediction to python (predict_all) 2012-06-14 10:02:49 +00:00
Alexander Mordvintsev
02e3afae3a fixed find_obj.py (use detectAndCompute) 2012-06-12 06:31:51 +00:00
Alexander Mordvintsev
889df76ea7 added lappyr.py sample 2012-06-10 08:38:25 +00:00
Alexander Mordvintsev
455349a0eb comments for digits.py sample 2012-06-06 05:52:28 +00:00
Alexander Mordvintsev
3cfa6949d7 work on added digits.py sample (neural network for handwritten digit recognition) 2012-06-01 13:27:56 +00:00
Alexander Mordvintsev
a61b730238 compatibility corrections 2012-05-28 09:25:08 +00:00
Alexander Mordvintsev
e0c1fb5f76 updated video_threaded.py sample:
- switch btw threaded and non-threaded mode
- performance counters
- description
2012-05-28 08:51:50 +00:00
Alexander Mordvintsev
6116049225 video_threaded.py sample now uses multiprocessing module's ThreadPool 2012-05-25 14:38:39 +00:00
Alexander Mordvintsev
eb28bef2db added video_threaded.py sample 2012-05-24 15:40:55 +00:00
Alexander Mordvintsev
ddf7fde3b2 fixed gaussian_mix.py sample 2012-05-22 09:11:09 +00:00
Alexander Mordvintsev
cef18937a2 made video_dmtx.py description visible in demo.py 2012-05-22 08:45:10 +00:00
Alexander Mordvintsev
f4f41df756 removed derivLambda param for LK-tracker
linetype -> lineType
2012-05-22 08:43:42 +00:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Alexander Mordvintsev
5ee7596cbc fixed EM sample 2012-04-04 12:06:36 +00:00
Vadim Pisarevsky
33bc089506 fixed HOGDescriptor::detect and HOGDescriptor::detectMultiScale signatures (ticket #1304) 2012-03-29 17:18:38 +00:00
Gary Bradski
ad2ee1d572 import as cv not cv2. Fixed 2012-03-21 05:13:02 +00:00
Gary Bradski
c47c1adc94 remove some unneeded imports 2012-03-15 03:50:31 +00:00
Gary Bradski
dfaabd88fc added cv2.destroyAllWindows() 2012-03-15 03:45:15 +00:00
Gary Bradski
41d2a3c832 Examples of using histograms in python 2012-03-14 23:33:16 +00:00
Gary Bradski
9164ccbaaf added 0xFF & in front of every waitKey so that it works on linux 2012-03-14 21:46:34 +00:00
Vadim Pisarevsky
191e969243 fixed angle check in squares.py (thanks to Abid Rahman) 2012-03-12 16:45:17 +00:00
Alexander Mordvintsev
58174f6ada Added GIL-release code into python wrappers
Added gabor_threads.py sample
2012-03-07 11:09:27 +00:00
Alexander Mordvintsev
2727a425e4 fixed distrans.py sample (distanceTransform -> distanceTransformWithLabels) 2012-03-06 13:22:55 +00:00
Gary Bradski
778b51a6a1 Adding python example of mouse interaction and use of correlation on an image 2012-02-11 03:47:40 +00:00
Alexander Mordvintsev
39268013d5 frame size specification for video sources in video.py 2011-09-22 12:32:37 +00:00
Alexander Mordvintsev
cd9d695f9d fix in RectSelector 2011-09-20 11:49:24 +00:00
Alexander Mordvintsev
a869838807 RectSelector in common.py 2011-09-19 06:28:39 +00:00
Alexander Mordvintsev
028c44531f wrapped FlannBasedMatcher (and extended DescriptorMatcher wrapper)
updated feature_homography.py sample to use new features
2011-09-15 11:10:06 +00:00
Alexander Mordvintsev
d50cc51070 handling Ptr<> arguments and return values in Python wrappers
partially wrapped features2d framework
added feature_homography.py sample
2011-09-07 09:38:22 +00:00
Alexander Mordvintsev
700ef09a23 opt_flow.py sample fixed 2011-09-02 11:54:02 +00:00
Alexander Mordvintsev
fa7e45897f obj_detect.py sample removed 2011-09-01 07:25:13 +00:00
Alexander Mordvintsev
e61f4c4a4b lk_homography.py sample added 2011-08-31 12:33:25 +00:00
Alexander Mordvintsev
785428546b lk_track.py description 2011-08-30 09:34:06 +00:00
Alexander Mordvintsev
6abb46254d mser.py sample added 2011-08-27 19:29:03 +00:00
Alexander Mordvintsev
02788eb32e camshift.py description 2011-08-27 13:43:32 +00:00
Vadim Pisarevsky
df1b04c302 removed irrelevant pyc file 2011-08-26 12:23:19 +00:00
Vadim Pisarevsky
ae83fe7645 added hybrid (feature-based & meanshift-based) tracker (by Pushkar) 2011-08-26 12:22:19 +00:00
Alexander Mordvintsev
fc771363d3 all video processing samples use camera as default source (and fallback to synth in case of capture error) 2011-08-22 13:36:21 +00:00
Vadim Pisarevsky
628447c251 replaced non-available in MacOSX' numpy deg2rad in motempl.py 2011-08-22 10:22:27 +00:00
Vadim Pisarevsky
8dacbeb157 fixed 2 bugs in python samples (crash in camshift and running samples from within the demo) 2011-08-22 10:10:17 +00:00
Alexander Mordvintsev
fd69c8b34a running demos with enter key 2011-08-21 13:24:49 +00:00
Alexander Mordvintsev
67cbcd2fa6 work on demo.py: sample running 2011-08-21 07:54:54 +00:00
Alexander Mordvintsev
0de8ed1099 demo description url parsing 2011-08-21 07:19:27 +00:00
Alexander Mordvintsev
5b00763bb0 work on demo.py shell 2011-08-20 19:54:03 +00:00
Alexander Mordvintsev
b3ae2c181a added flann matching to find_obj.py 2011-08-17 02:00:52 +00:00
Alexander Mordvintsev
5bc5d9a47e camshift.py sample
small cleaning
2011-08-15 01:36:41 +00:00
Alexander Mordvintsev
a0af870719 added CV_OUT to CvANN_MLP::predict
python cv2 MLP sample done
2011-08-14 04:32:27 +00:00
Alexander Mordvintsev
622bd42224 work on MLP sample in letter_recog.py (in progress...) 2011-08-14 02:26:47 +00:00
Alexander Mordvintsev
d2da81401f work on camshift.py 2011-08-13 08:54:11 +00:00
Alexander Mordvintsev
8c06a275f7 use default HOG people detector
minor cleaning
2011-08-13 08:52:58 +00:00
Alexander Mordvintsev
d80a41a543 comment 2011-08-12 03:23:44 +00:00
Alexander Mordvintsev
d7a2081230 peopledetect.py sample added (TODO: use builtin svm data instead of people_hog.txt)
some old cv api use cleaning
2011-08-12 03:05:31 +00:00
Alexander Mordvintsev
6fdbf15aed updated lt_track.py sample
- continuous feature detection
- track verification by reverse tracking
2011-08-06 09:56:42 +00:00
Vadim Pisarevsky
16ba62dcd5 added COLOR_... enumeration to imgproc.hpp and EVENT_... enumeration to highgui.hpp 2011-07-18 13:05:34 +00:00
Alexander Mordvintsev
af99bee344 adjust cosine threshold in squares.py 2011-07-17 19:23:24 +00:00
Alexander Mordvintsev
ae5dd1d748 math.pi -> np.pi
squares.py sample added
2011-07-16 18:29:51 +00:00
Vadim Pisarevsky
f2e1a64c1b fixed "import cv" in the new python samples. corrected Python bindings to match the documentation and vice versa (NOTE: in cv2.stereoCalibrate the parameter ordering has been changed) 2011-07-16 09:35:56 +00:00
Vadim Pisarevsky
386f147597 a few minor fixes in Python samples 2011-07-13 06:19:21 +00:00
Alexander Mordvintsev
3511bf81de help message printing 2011-07-11 09:59:23 +00:00
Alexander Mordvintsev
c053532be1 sobel -> Sobel 2011-07-11 09:46:36 +00:00