Alexander Alekhin
0e40c8a031
fix pylint warnings
...
pylint 1.8.3
5 years ago
luz.paz
57ccf14952
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
backporting of commit: 32aba5e64b
5 years ago
luz.paz
32aba5e64b
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
5 years ago
tribta
e8283f94ed
Fix Python code, for the tutorial_laplace_operator, to get the same result between the Cpp, Java and Python
6 years ago
SchultzC
1e6e18ff05
Changed to integer division
6 years ago
SchultzC
3833d86f0f
Merge pull request #14733 from SchultzC:3.4
...
* cast positional arguments to int
* Changed to integer division based
* removed white space
* removed white space
6 years ago
SchultzC
edb3337ead
Remove divide by 1000
...
because t = (time.time() - t) will return seconds, dividing by 1000 to obtain seconds will be incorrect.
6 years ago
mehlukas
6bff0e24f8
Merge pull request #14314 from mehlukas:3.4-opticalflow
...
Extend optical flow tutorial (#14314 )
* extend python optical flow tutorial with cpp example code and add it to general tutorial directory
* remove unused parameters, fix comparison between signed and unsigned int
* fix hsv range problem
* switch to samples::findFile for sample file location
* switch to command line parameter for path
* remove old tutorial as in 14393
* minor fixes
6 years ago
mehlukas
47c45e5bd3
Merge pull request #14393 from mehlukas:3.4-meanshift
...
Extend meanshift tutorial (#14393 )
* copy original tutorial and python code
* add cpp code, fix python code
* add camshift cpp code, fix bug in meanshift code
* add description to ToC page
* fix shadowing previous local declaration
* fix grammar: with -> within
* docs: remove content of old py_meanshift tutorial, add link
* docs: replace meanshift tutorial subpage in Python tutorials
* switch to ref to fix wrong breadcrumb navigation
* switch to cmdline for path as in #14314
* Apply suggestions from code review
* order programming languages alphabetically
6 years ago
Pedro Ferreira da Costa
9cef78b685
Merge pull request #14109 from PedroFerreiradaCosta:adding_python_version_to_anisotropic_tutorial
...
* Created python version of the code for the anisotropic image segmentation tutorial. Created python/cpp toggles for the markdown file.
* fix doxygen warnings
6 years ago
Alexander Alekhin
742f22c09b
photo: move TonemapDurand to opencv_contrib
6 years ago
Alexander Alekhin
c371df4aa2
samples: use findFile() in "python"
6 years ago
catree
4bea70a64a
Update background subtraction tutorial with Java and Python codes.
6 years ago
Suleyman TURKMEN
8eb987e393
Update findContours parameter type
6 years ago
jsxyhelu
7828854c9d
Merge pull request #12206 from jsxyhelu/3.4
...
find innercircle of contour by using pointPolygonTest: (#12206 )
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
6 years ago
catree
41b95cae38
Add Java and Python code for ML tutorials.
6 years ago
catree
c9fe6f1afe
Add Java and Python code for the following tutorials:
...
- Changing the contrast and brightness of an image!
- Operations with images
6 years ago
catree
481af5c469
Add Java and Python code for AKAZE local features matching tutorial. Fix incorrect uses of Mat.mul() in Java code.
...
Uniform Lowe's ratio test in the code.
7 years ago
catree
7469981d1a
Add Java and Python code for Image Segmentation with Distance Transform and Watershed Algorithm tutorial. Use more Pythonic code.
7 years ago
catree
a11ef2650e
Add Java and Python code for the following imgproc tutorials: Finding contours in your image, Convex Hull, Creating Bounding boxes and circles for contours, Creating Bounding rotated boxes and ellipses for contours, Image Moments, Point Polygon Test.
7 years ago
catree
afa5b0cc93
Add Java and Python code for cascade classifier and HDR tutorials.
7 years ago
Alexander Alekhin
dcb9bc2544
python: eliminate pylint warnings
...
Tested with:
- pylint 1.9.1
7 years ago
catree
ade21f142e
Add Java and Python code for the following features2d tutorials: Harris corner detector, Shi-Tomasi corner detector, Creating your own corner detector, Detecting corners location in subpixels, Feature Detection, Feature Description, Feature Matching with FLANN, Features2D + Homography to find a known object. Use Lowe's ratio test to filter the matches.
7 years ago
catree
4c1c3147d9
Add Java and Python code for the following imgproc tutorials: Affine Transformations, Histogram Equalization, Histogram Calculation, Histogram Comparison, Back Projection.
7 years ago
catree
9f6108ae7a
Add Java and Python code for the following imgproc tutorials: Canny, Remap, threshold and threshold inRange. Use HSV colorspace instead of RGB for inRange threshold tutorial.
7 years ago
catree
9fc0cabdf5
Add Java and Python code for trackbar tutorial.
7 years ago
catree
7e3490959a
Add Java and Python code for morphology tutorials.
7 years ago
cclauss
8a79b167b8
Define execfile, file, long, raw_input, xrange for Python 3
7 years ago
cclauss
05c1a3d160
print() is a function in Python 3
7 years ago
Jozef Mlich
7a472d85ef
Merge pull request #10663 from jmlich:master
...
* hogsvm compatibility with python3
7 years ago
Alexander Alekhin
5560db73bf
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'
7 years ago
tribta
9a2317e063
Tutorial Hough Lines
7 years ago
tribta
d99ced6ec8
Tutorial Hough Circles
7 years ago
tribta
9ff33dacfc
Tutorial Make Border
7 years ago
tribta
a6f5e1f0ca
Tutorial Filter2D
7 years ago
tribta
08515281b9
Tutorial Image Pyramids
7 years ago
tribta
f7d85bfed8
Tutorial Sobel Derivatives
7 years ago
tribta
3250f11f0c
Tutorial Laplace Operator
7 years ago
tribta
d068e27420
Tutorial Morph Lines Detection
7 years ago
tribta
18bc4db75c
Tutorial Hit-or-Miss
7 years ago
tribta
bc18fb481f
Tutorial Smoothing Images
7 years ago
tribta
45afd29b72
Tutorial Mask Operations on Matrices
7 years ago
tribta
954e2f9b9c
Tutorial Discrete Fourier Transform
7 years ago
tribta
13317bdfda
Tutorial Basic Geometric Drawing
7 years ago
tribta
c4c1e94088
Tutorial Adding Images
7 years ago
Alexander Alekhin
d195f2775a
cmake: change Pylint integration
7 years ago
tribta
b7fa6d84bc
Using Pylint Tool to Test the python tutorial codes
...
* Adding CMake script to check if pylint is installed
* Adding Pylint config file (to choose the tests that are enabled)
* Adding CMake script to samples/python/tutorial_code
Testing: bad-indentation, mixed-indentation, unnecessary-semicolon, unused-variable
7 years ago
tribta
7c65f7ef11
Fixing Bad identations (line 18 to 96)
...
Adding _ to the unused variables for clarity (line 77)
8 years ago
tribta
d53a5210a8
Improving codes of the tutorial: mat_mask_oprations
...
*Fixing typos;
*Making codes more similar to the main one, in C++;
*Adding Grayscale option to the Python and Java codes;
*Fixing python identation, whitespaces and redundancies.
8 years ago