Alexander Alekhin
0595ab3eef
ocl: fix usage of invalid OpenCL cache on mixed 64/32-bit platforms
...
Observed during launch of 32/64-bit applications on Windows.
Added '32-bit' prefix for 32-bit OpenCL devices. No prefix on 64-bit configurations.
7 years ago
Alexander Alekhin
ac58405a71
calib3d: fix fisheye stereoRectify test
...
- don't write into testdata directory
- check matrices instead of result images
7 years ago
Alexander Alekhin
9bf6ec6fe1
Revert "Adapted estimateNewCameraMatrix to make it work with pincushion-like distortion."
...
This reverts commit 5384a2205a
.
7 years ago
Alexander Alekhin
22c0bb7dc9
cmake: fix WITH_VTK usage
...
'WITH_' variables is intended to enable CMake scripts with some autodetection logic.
'WITH_' can be off, but components is really enabled via command-line options
with proper variables setup (including 'HAVE_').
7 years ago
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
7 years ago
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
7 years ago
elenagvo
73ac5321f5
fix threshold HAL
7 years ago
catree
2e56a47f8c
Allow to use 3 points in SolvePnP if SOLVEPNP_ITERATIVE and useExtrinsicGuess==true. Add bibtex citations for P3P. Update SolvPnP tests.
7 years ago
elenagvo
762138e77e
define adaptiveMethod and thresholdType for HAL
7 years ago
Roman Cattaneo
d381e499ea
Fixes Issue #10181
...
This PR fixes incorrect division by zero handling in template
specialization of `Div_SIMD` for type `double`.
7 years ago
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
7 years ago
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
7 years ago
LaurentBerger
a44573c43b
Add ReLU and LeakyReLU activation function in ml module
7 years ago
Alexander Alekhin
486cfd1040
ts: detailed message
7 years ago
Pavel Rojtberg
3c795a0dab
add test_algorithm_rw using AKAZE
7 years ago
Pavel Rojtberg
6fbf0758bc
Python: wrap Algorithm::read and Algorithm::write
7 years ago
Wu Zhiwen
1f465a0ef9
dnn(ocl4dnn): fuseLayer() use umat_input/outputBlobs for OpenCL target
...
Also, fix bug when use OPENCL target but no OpenCL runtime
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
7 years ago
Li Peng
a47fbd2610
Add ocl accuracy test for a few dnn nets
...
They are alexnet, mobilenet-ssd, resnet50, squeezeNet_v1_1,
yolo and fast_neural_style.
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Dmitry Kurtaev
99ed085752
Update PriorBox layer
7 years ago
elenagvo
c95bc0c7fd
add HAL for threshold
7 years ago
elenagvo
11ddb9332c
add HAL for adaptiveThreshold
7 years ago
LaurentBerger
606a5fd537
Try to solve issue 10166
7 years ago
Vadim Pisarevsky
ec076bfba3
Update imgproc.hpp
...
rewrote the added note in perhaps a cleaner way
7 years ago
Alexander Alekhin
92b35e6758
ocl: fix null pointer access crash
7 years ago
Alexander Alekhin
c38620e966
ocl: update OpenCL runtime loader
...
- fix compilation on Apple (undefined 'oclpath')
- don't warn on OPENCV_OPENCL_RUNTIME=disabled
7 years ago
Alexander Alekhin
b6abf0d3f9
ocl: drop obsolete cache directories after upgrade of OpenCL driver
...
Entries with the same platform name, the same device name and with different driver versions
are assumed obsolete.
7 years ago
Alexander Alekhin
cbf2b51e40
bindings(py): fix handling of 'isalgorithm'
7 years ago
Alexander Alekhin
13f374660f
dnn(ocl4dnn): drop unused batch_size_ in pooling
7 years ago
Alexander Alekhin
e34b64c979
dnn(ocl4dnn): refactor pooling OpenCL calls
7 years ago
Li Peng
636d6368ee
use OutputArrayOfArrays in net forward interface
...
It allows umat buffers used in net forward interface
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Wu, Zhiwen
04edc8fe3a
cleanup ocl4dnn spatial convolution kernels
...
remove unused macros and half definition macros,
also remove unused ocl::Queue
Signed-off-by: Li Peng <peng.li@intel.com>
7 years ago
Alexander Alekhin
559235ac74
videoio(ffmpeg): more workarounds for sws_scale() crash
...
Prevents access data after the end of input buffer near 4K page boundaries
7 years ago
Maksim Shabunin
6f48dc2482
Fixed GStreamer pipeline building on Ubuntu 17
7 years ago
Alexander Nesterov
8082011546
Update videoio tests
7 years ago
Maksim Shabunin
7628c143f4
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests
7 years ago
elenagvo
5d0a8d2aaf
fix the parameters order
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
Alexander Alekhin
b29893b938
dnn: autogenerated files
7 years ago
Alexander Alekhin
1c88a566e0
dnn: rename caffe protobuf package
7 years ago
Alexander Alekhin
3f37be5a30
core: fix compilation of intrinsic code
7 years ago
Alexander Alekhin
9db5cbf9a4
dnn: sync output/internals blobs back
7 years ago
Alexander Alekhin
8e6280fc8e
ocl: binary program cache
7 years ago
Maksim Shabunin
e57f22a386
Fixed allocSingleton
7 years ago
Maksim Shabunin
12662e064b
align singleton malloc
7 years ago
Maksim Shabunin
1c46034166
Other buffers
7 years ago
Maksim Shabunin
2178c5e95e
init ABtoXZ
7 years ago
Maksim Shabunin
b3018ba89e
LUV tables
7 years ago
Maksim Shabunin
e75056a084
static init
7 years ago
Maksim Shabunin
51fc891a5c
cvtColor: fixed tables init, moved some tables to heap
7 years ago