Dale Phurrough
5c70a2015f
fix python test runner wildcard handling
...
* fix opencv/opencv#19402
4 years ago
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
6 years ago
Alexander Alekhin
019de554a0
python(test): don't write bytecode
...
Tests are usually lauched from source directory, so additional unnecessary
files should be eliminated.
Alternative ways (command line):
- python -B ...
- PYTHONDONTWRITEBYTECODE=1 python ...
7 years ago
Alexander Alekhin
3ee8079f35
python(test): add tests filter
...
Usage example (bash):
$ OPENCV_PYTEST_FILTER=test_digits python test.py -v
7 years ago
Alexander Alekhin
7791839f22
python(test): tests filtering
7 years ago
Alexander Alekhin
2f94637899
python(test): refactor test.py, move test code outside from test.py
7 years ago
Alexander Alekhin
936234d5b1
python(test): enable pylint checks for tests
7 years ago
Peter Würtz
a4c70aebd0
Expose UMat OpenCL handles and buffer information to python
8 years ago
Peter Würtz
c659f94dca
Expose more UMat constructors to python
8 years ago
Maksim Shabunin
70bc268c1a
Fixed problem with nonfree python test: could not find local test images
9 years ago
Vitaly Tuzov
96903dc4ad
Test data necessary for python samples added to test package.
...
Test launch script updated to run new tests as well.
9 years ago
Vitaly Tuzov
d29eb2938c
Calibration test temporary disabled
9 years ago
Vladislav Sovrasov
22b028b64b
Fix warnings in python3
9 years ago
Vladislav Sovrasov
0c6e09f060
Changes in facedetect test
9 years ago
Vladislav Sovrasov
cb7cc81653
Add dft python test, fix platform depended result in morphology test
9 years ago
Vladislav Sovrasov
aaa43dc84f
Add morphology python test, fix python3 compabtibility in kmeans test
9 years ago
Vladislav Sovrasov
56571561b4
Add k-means python test, fix loading images in calibration test
9 years ago
Vladislav Sovrasov
5625d79508
Fix loading images in python tests
9 years ago
Vladislav Sovrasov
ab4d375349
Add new tests on python
9 years ago
Vitaly Tuzov
e0f426f78b
Backport of new python tests from master branch(PR https://github.com/Itseez/opencv/pull/6025 ).
...
At the moment tests requre samples/data copied to source location from master branch.
9 years ago
Nikolay Polyarniy
46e08d34dd
T-API python support implemented:
...
- cv2.UMat implemented - python thin wrapper for UMat
- no implicit copy from GPU to Host done, resulting UMat can be passed to next function without overhead
- cv2.UMat.get() - to fetch data to Host
- new tests covers: ORB, BFMatcher, goodFeaturesToTrack, calcOpticalFlowPyrLK
9 years ago
Maksim Shabunin
e94dfcee0d
Add python test for inheritance structure generation
10 years ago
Maksim Shabunin
3212dd5465
Python test: new options provide local test data paths
10 years ago
Maksim Shabunin
84379140ba
Python test: added options to provide local data path
10 years ago
Vadim Pisarevsky
80a985c894
fixed path to the checkerboard image
10 years ago
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
10 years ago
Vadim Pisarevsky
c422bdc3f8
fixed some more compile errors and test failures
10 years ago
Michael Pratt
e9ccadebed
Support Python 2 and 3 in test script
...
Add Python 3 support to the Python test.py script.
The print function is used in place of the print statement.
The urlopen function has been moved to urllib.request in Python 3, so
attempt to import it from either location.
TestCase.assert_() has been deprecated in place of
TestCase.assertTrue().
The tests all pass in both Python 2 and 3.
10 years ago
Mike Maraya
95550c2582
test.py: Check if camera_calibration.tar.gz file exists before downloading it, opencv bug #3782
11 years ago
Alexander Alekhin
3a8af7d691
fix python tests
11 years ago
Kirill Kornyakov
aef347e7b3
Removed references to opencv.itseez.com
12 years ago
Andrey Kamaev
f886651cf0
Drop old python samples and tests
12 years ago
Roman Donchenko
57d4c86b2b
Fixed the shebang lines on the Python scripts.
...
Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.
12 years ago
Vadim Pisarevsky
f8b61e4eca
fixed hopefully last warnings in the doc builder
12 years ago
Vadim Pisarevsky
44157c421f
fixed python test failures (modified stereo correspondence test to use cv2.* stuff), fixed docs
12 years ago
Vadim Pisarevsky
abd9675a99
fixed bugs #1718 , #2375 ; attached the new tests to test.py.
12 years ago
marina.kolpakova
285d6320be
add #/usr/bin/env python to all python files
12 years ago
Vadim Pisarevsky
ae10ecd264
fixed 2 test failures (test_DrawChessboardCorners & Core_Array.expressions)
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Evgeny Talanin
19313923cc
Use github pat to get data for in python tests (files from code.opencv.org are received truncated sometimes)
13 years ago
Evgeny Talanin
064d022a4b
Set correct path to repo in python tests (changed after migration to git)
13 years ago
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
13 years ago
Andrey Kamaev
8f7e5811b6
Fixed 2 failing python tests
13 years ago
Ilya Lysenkov
4a7efa548f
Added points comparison in test_remap
13 years ago
Ilya Lysenkov
159022844e
Restored and improved the test_remap Python test
13 years ago
Alexander Shishkov
d95127c279
#1672
...
updated some more links
13 years ago
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
13 years ago
Vadim Pisarevsky
e2e4ee2f53
disable implicit numpy array use in old-style Python bindings because of hard-to-fix memory leaks (ticket #1177 )
14 years ago
Vadim Pisarevsky
569b1ad582
embeded cv Python module into cv2.
14 years ago