Alexander Alekhin
0fb4f2cc9c
imgproc: add src.empty() checks in filter operations
5 years ago
Alexander Alekhin
83e1d79403
core: update CPUs detection
...
- cache value, evaluate once
- better support for MINGW
- anything in 'cv' namespace
- test: dump number of active threads
5 years ago
Alexander Alekhin
198b5096aa
Merge pull request #16754 from alalek:issue_16752
...
* core(test): FP16 norm test
* core: norm()-FP16 disable OpenCL
* core(norm): fix 16f32f local buffer size
5 years ago
Alexander Alekhin
a55cc07548
ts(gtest): dump exception message from EXPECT_NO_THROW()
5 years ago
Alexander Alekhin
124bf8339f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
5 years ago
Alexander Alekhin
29d214474f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
5 years ago
Alexander Alekhin
ac30620344
ts: move message about misused 'optional' under the configuration parameter
5 years ago
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
5 years ago
Brian Wignall
659ffaddb4
Fix spelling typos
5 years ago
Tatsuro Shibamura
971ae00942
Merge pull request #16027 from shibayan:arm64-windows10
...
* Support ARM64 Windows 10 platform
* Fixed detection issue for ARM64 Windows 10
* Try enabling ARM NEON intrin
* build: disable NEON with MSVC compiler
* samples(directx): gdi32 dependency
5 years ago
Alexander Alekhin
5ee7abbe3c
Merge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels
...
dnn(eltwise): fix handling of different number of channels
* dnn(test): reproducer for Eltwise layer issue from PR16063
* dnn(eltwise): rework support for inputs with different channels
* dnn(eltwise): get rid of finalize(), variableChannels
* dnn(eltwise): update input sorting by number of channels
- do not swap inputs if number of channels are same after truncation
* dnn(test): skip "shortcut" with batch size 2 on MYRIAD targets
5 years ago
Lubov Batanina
7523c777c5
Merge pull request #15537 from l-bat:ngraph
...
* Support nGraph
* Fix resize
5 years ago
Alexander Alekhin
5639f5a296
ts: count skipped tests via SkipTestException
...
- apply tag 'skip_other'
5 years ago
Alexander Alekhin
f4d55d512f
imgproc: fix bit-exact GaussianBlur() / sepFilter2D() ( #15855 )
...
* imgproc: fix bit-exact GaussianBlur() / sepFilter2D()
- avoid kernels with bad approximation
- GaussiabBlur - apply error-diffusion approximation for kernel (8-bit fraction)
* java(test): update features2d ref data
* test: update test_facedetect
5 years ago
Alexander Alekhin
79f792ad05
ts: do not block reporting of launched "DISABLED_" tests
...
If tests are run through GTest option `--gtest_also_run_disabled_tests`
5 years ago
Alexander Alekhin
6a7d1c15d3
core(ipp): skip huge input in flip()
...
- IPP/SSE4.2 works well
5 years ago
Alexander Alekhin
bdf23ce855
ts: eliminate -Warray-bounds warning
5 years ago
Alexander Alekhin
60488ffbbd
gapi(test): disable memory consumption check in valgrind runs
5 years ago
Alexander Alekhin
654d0c29ad
ts: fix callback function signature
...
detected by UBSAN
5 years ago
Alexander Alekhin
29dbeb253c
build: fix build with ICC
5 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
5 years ago
Alexander Alekhin
bc95c609ff
ts: runtime check for misused 'optional' test data files
5 years ago
Alexander Alekhin
894f208de3
dnn(test): replace SkipTestException with tags
6 years ago
Alexander Alekhin
2b2633c11f
videoio(gstreamer): port changes from 14834
6 years ago
Alexander Alekhin
13a782c039
test: fix usage of findDataFile()
...
misused 'optional' mode
6 years ago
Ahmed Ashour
1aca1d582e
Fix some typos
6 years ago
Alexander Alekhin
b958498074
java(test): test package filtering
...
Usage example:
- run.py -a -t java --package=calib3d
6 years ago
Alexander Alekhin
cd4926778e
ts: fix perf calibation
...
properly handle "check" mode with:
"--perf_min_samples=1 --perf_force_samples=1"
6 years ago
Alexander Alekhin
38c0278be3
ts: silence zero memory usage messages
6 years ago
Alexander Alekhin
7d2190a5d4
ts: +ENV{OPENCV_TEST_REQUIRE_DATA}
...
similar to '--test_require_data' parameter
6 years ago
Alexander Alekhin
52f16e0f55
tests: workaround for DYLD_LIBRARY_PATH on Apple MacOSX
6 years ago
Alexander Alekhin
64fd1c95a5
ts: flush stdout/stderr before test launch
6 years ago
Alexander Alekhin
b38de57f9a
ts: test tags for flexible/reliable tests filtering
...
- added functionality to collect memory usage of OpenCL sybsystem
- memory usage of fastMalloc() (disabled by default):
* It is not accurate sometimes - external memory profiler is required.
- specify common `CV_TEST_TAG_` macros
- added applyTestTag() function
- write memory usage / enabled tags into Google Tests output file (.xml)
6 years ago
Vitaly Tuzov
00c9ab8c23
Merge pull request #13317 from terfendail:norm_wintr
...
* Added performance tests for hal::norm functions
* Added sum of absolute differences intrinsic
* norm implementation updated to use wide universal intrinsics
* improve and fix v_reduce_sad on VSX
6 years ago
Vadim Pisarevsky
8f15a609af
mostly removed obsolete C API from calib3d (at least at the interface level) ( #13081 )
6 years ago
tompollok
2da56d5af6
refactoring catching all exceptions as const ref
6 years ago
Vadim Pisarevsky
0f622206e4
completely new C++ persistence implementation ( #13011 )
...
* integrated the new C++ persistence; removed old persistence; most of OpenCV compiles fine! the tests have not been run yet
* fixed multiple bugs in the new C++ persistence
* fixed raw size of the parsed empty sequences
* [temporarily] excluded obsolete applications traincascade and createsamples from build
* fixed several compiler warnings and multiple test failures
* undo changes in cocoa window rendering (that was fixed in another PR)
* fixed more compile warnings and the remaining test failures (hopefully)
* trying to fix the last little warning
6 years ago
Hamdi Sahloul
2faa4cd933
TS/CUDA: Show device ID in case of multiple devices
6 years ago
Hamdi Sahloul
1059735bfb
Merge pull request #12667 from cv3d:fix/ts_report
...
TS: fix Python v2/v3 compatibility (#12667 )
* TS: fix Python2.7 compatibility
* TS: fix Python3 compatibility
* py3: use integer division '/' => '//' instead of cast
6 years ago
Hamdi Sahloul
1a81a97e9f
Utilize the currently running Python executable
...
especially if it matches the module being tested
6 years ago
Hamdi Sahloul
ef5579dc86
Merge pull request #12310 from cv3d:chunks/enum_interface
...
* Cleanup macros and enable expansion of `__VA_ARGS__` for Visual Studio
* Macros for enum-arguments backwards compatibility
* Convert struct Param to enum struct
* Enabled ParamType.type for enum types
* Enabled `cv.read` and `cv.write` for enum types
* Rename unnamed enum to AAKAZE.DescriptorType
* Rename unnamed enum to AccessFlag
* Rename unnamed enum to AgastFeatureDetector.DetectorType
* Convert struct DrawMatchesFlags to enum struct
* Rename unnamed enum to FastFeatureDetector.DetectorType
* Rename unnamed enum to Formatter.FormatType
* Rename unnamed enum to HOGDescriptor.HistogramNormType
* Rename unnamed enum to DescriptorMatcher.MatcherType
* Rename unnamed enum to KAZE.DiffusivityType
* Rename unnamed enum to ORB.ScoreType
* Rename unnamed enum to UMatData.MemoryFlag
* Rename unnamed enum to _InputArray.KindFlag
* Rename unnamed enum to _OutputArray.DepthMask
* Convert normType enums to static const NormTypes
* Avoid conflicts with ElemType
* Rename unnamed enum to DescriptorStorageFormat
6 years ago
Alexander Alekhin
5fb0f34e8a
Merge pull request #12570 from alalek:drop_usrtype1
...
* core: drop usage of CV_USRTYPE1 in OpenCV
avoid OpenCV crashes due size change CV_ELEM_SIZE(CV_USRTYPE1): 8 -> 2
* ! fix persistence internal types
6 years ago
Alexander Alekhin
ec9c53eeff
ts: update valgrind test filter
...
- DNN: avoid very large models
- build filter per module
- fixed longTestFilter
6 years ago
Alexander Alekhin
aa1c86f95e
ts: flush stdout/stderr before and after test code run
6 years ago
Vitaly Tuzov
1f88a1af9c
testlog_parser updated to handle output of latest GTest as well
6 years ago
Alexander Alekhin
6fc855865f
dnn(test): fix failures of 32-bit builders
6 years ago
Vadim Pisarevsky
6d7f5871db
added basic support for CV_16F (the new datatype etc.) ( #12463 )
...
* added basic support for CV_16F (the new datatype etc.). CV_USRTYPE1 is now equal to CV_16F, which may break some [rarely used] functionality. We'll see
* fixed just introduced bug in norm; reverted errorneous changes in Torch importer (need to find a better solution)
* addressed some issues found during the PR review
* restored the patch to fix some perf test failures
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago