Alexander Alekhin
270cc3bcbc
videoio: add routines to query information about backends API
...
into cv::videoio_registry namespace
6 years ago
Alexander Alekhin
dcb9bc2544
python: eliminate pylint warnings
...
Tested with:
- pylint 1.9.1
7 years ago
Dan Mašek
8c1d8eccdd
Merge pull request #11207 from dan-masek:add_redirect_error
...
* Add Python support for error message handlers.
* Move the static variable to the only function that uses it.
* Remove the optional param (user data), since this can already be handled by closures.
* Correct the help string.
* python: added redirectError test
7 years ago
Pavel Rojtberg
2d674fc151
persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX ( #10636 )
...
* persistence: replace arbitrary limit of cn to 4 by CV_CN_MAX
* python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
* fixup! python: added persistence test, remove temp files
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Alexander Alekhin
5560db73bf
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'
7 years ago
Pavel Rojtberg
3c795a0dab
add test_algorithm_rw using AKAZE
7 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
Deric Crago
a0d7cf89f2
Fixed 'boundary' spelling
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
Alexander Alekhin
15a6586062
python: stitching simple test
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
Alexander Alekhin
a2b6b595c2
shape: force column-based vector
8 years ago
StevenPuttemans
6d34d6b47e
update samples: waitKey() usage
...
Original commit is a5f19f7dd6
8 years ago
Maksim Shabunin
b8bce55270
Several chessboard detector improvements:
...
- fixed uninitialized memory access and memory leaks
- extracted several code blocks to separate functions
- updated part of algorithm to use cv::Mat instead of CvMat and IplImage
8 years ago
Vladislav Sovrasov
ae28345ca5
Make test_texture_flow.py more robust
8 years ago
will hunt
ac2d79fd67
MSER: all test passed.
...
1. if a component's variation is a global minimum than it should be a local minimum
2. for the small image with invert and blur, the MSERs number should be 20
8 years ago
Alexander Alekhin
bb5e25ba7c
migration: github.com/opencv/opencv
8 years ago
Alexander Alekhin
ddc0b42bc3
migration: github.com/opencv/opencv
8 years ago
Maksim Shabunin
70bc268c1a
Fixed problem with nonfree python test: could not find local test images
9 years ago
Vitaly Tuzov
34b3d31f54
Fix for nonlocal data requirement in test2.py
9 years ago
Vitaly Tuzov
64f02aa72d
Backport of setRNGSeed implementation and python test randomness fix
9 years ago
Vladislav Sovrasov
a490b64e9b
Add function setRNGSeed and seed setup in python tests
9 years ago
Vitaly Tuzov
ea3746bd15
Made texture flow python test less strict to fix it on AARCH64
9 years ago
Vitaly Tuzov
24361733e4
Fixed face detection python test
9 years ago
Vladislav Sovrasov
fd61978795
Add goodfeatures python test and cleanup in test directory
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
Vladislav Sovrasov
e2434ab7c3
Use AKAZE detector instead of ORB in feature_homography test
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
e4fed417d2
Add segmentation and object tracking python tests
9 years ago
Vladislav Sovrasov
0c6e09f060
Changes in facedetect test
9 years ago
Vladislav Sovrasov
87fc75c6d7
Improvements in tests, bugfix in digits_video sample
9 years ago
Vladislav Sovrasov
4e3a6328ba
Fixes in calibration and camshift tests
9 years ago
Vladislav Sovrasov
54c07ba0ff
Add 2 new tests, bugfixed in old tests
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
25b4d8a1b5
Added images necessary for tests
9 years ago
Vitaly Tuzov
aaa30dc5b6
Make some tests less strict due to improvement of related algorithms in master branch
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
Roman Donchenko
7d28541bbe
test2.py: fail if a downloaded image can't be decoded
...
(cherry picked from commit 56f17e4921
)
9 years ago
Roman Donchenko
08ad3b500b
test2.py: switch from urllib to urllib2
...
urllib2 raises an exception if an HTTP request produces an error code,
making the test fail earlier.
9 years ago