Alexander Alekhin
e526c4bfe4
core(test): remove verbose messages
6 years ago
Maksim Shabunin
c473718bc2
Check for empty Mat in compare, operator= and RNG::fill, fixed related tests
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
6 years ago
Dmitry Kurtaev
f38808a39f
Add Java overloads for each default argument ( #11940 )
...
* Add Java overloads for each default argument
* Add "fisheye_" prefix for cv::fisheye:: functions and enums
6 years ago
Li Peng
f0cadaa6e3
enable concat layer fuse for OCL target
...
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
Vadim Pisarevsky
f058b5fb1e
Wide univ intrinsics ( #11953 )
...
* core:OE-27 prepare universal intrinsics to expand (#11022 )
* core:OE-27 prepare universal intrinsics to expand (#11022 )
* core: Add universal intrinsics for AVX2
* updated implementation of wide univ. intrinsics; converted several OpenCV HAL functions: sqrt, invsqrt, magnitude, phase, exp to the wide universal intrinsics.
* converted log to universal intrinsics; cleaned up the code a bit; added v_lut_deinterleave intrinsics.
* core: Add universal intrinsics for AVX2
* fixed multiple compile errors
* fixed many more compile errors and hopefully some test failures
* fixed some more compile errors
* temporarily disabled IPP to debug exp & log; hopefully fixed Doxygen complains
* fixed some more compile errors
* fixed v_store(short*, v_float16&) signatures
* trying to fix the test failures on Linux
* fixed some issues found by alalek
* restored IPP optimization after the patch with AVX wide intrinsics has been properly tested
* restored IPP optimization after the patch with AVX wide intrinsics has been properly tested
6 years ago
Alexander Alekhin
b0ee5d9023
core: CV_NODISCARD macro with semantic of [[nodiscard]] attr
...
[[nodiscard]] is defined in C++17.
There is fallback alias for modern GCC / Clang compilers.
6 years ago
Kuang Fangjun
84f2f37680
remove a useless statement.
6 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
6 years ago
Maksim Shabunin
53eb27f508
AVI container: use C++ streams for file operations, check some operations for overflow
6 years ago
Alexander Nesterov
dee5f9a67b
Update qrcode algorithm: fix seg. fault with kmeans
6 years ago
Kuang Fangjun
2b6aa50b81
avoid negative index.
6 years ago
Alexander Alekhin
3c74fde349
core: eliminate 'if' logic from Matx::inv()/solve()
...
- 'if' logic is moved into templates.
- removed unnecessary cv::Mat objects creation.
- fixed inv() test (invA * A == eye)
- added more Matx tests to cover all defined template specializations
6 years ago
Dmitry Kurtaev
6eb8faea85
Enable TensorFlow networks tests for different backends and targets
6 years ago
Dmitry Kurtaev
de6f0a537d
Fix fully-connected layer in case of number of rows less than 4
6 years ago
catree
4dc7e617a4
Add overloaded cv::PCACompute() that returns also the eigenvalues. Useful for Java and Python OpenCV where PCA is not available.
6 years ago
Alexander Alekhin
0155851929
imgproc(getPerspectiveTransform): add configuration parameter
6 years ago
Alexander Alekhin
71c6cb9c22
imgproc(getPerspectiveTransform): solve(DECOMP_SVD -> LU)
6 years ago
Alexander Alekhin
2170811e48
imgproc(perf): update getPerspectiveTransform perf test
...
Function is very fast, so 0.000 ms results are useless.
1000 runs requires 25ms on i7-6700K.
6 years ago
Alexander Alekhin
5385086fef
core: solve(): add check for passed 'method' values
6 years ago
Dmitry Kurtaev
dcc1beb1f8
Clip kernel for OpenCL PriorBox layer
6 years ago
Alexander Nesterov
e38ea3a888
Update detect QRCode algorithm
6 years ago
Alexander Alekhin
33b7028be2
core: use "explicit" for Matx() ctor
6 years ago
Vitaly Tuzov
850a8577b2
Fixed unreachable code warnings for Matx::solve()
6 years ago
Vitaly Tuzov
d0a3686812
Merge pull request #11904 from terfendail/matx_solve_fix
...
Fixed Matx::solve function for non-square matrixes (#11904 )
6 years ago
Alexander Alekhin
2508f7f971
dnn(ocl): fix wrong usage of stalled .getMat() pointers
...
Temporary object lifetime must be greater than pointer usage.
6 years ago
Dmitry Kurtaev
8b5f061dae
Replace std::vector<char> to std::vector<uchar> for Java bindings of dnn importers
6 years ago
Li Peng
4c5a86828a
Fix gemmlike convolution input reading
...
use vload3 for half3 or float3 input vector reading,
also check read position to see if it exceed input width
Signed-off-by: Li Peng <peng.li@intel.com>
6 years ago
berak
a7b502f04a
dnn: preserve name, type strings for ShuffleLayer
6 years ago
catree
d7bd662c95
Add a note in the documentation about Mat::ones and mat::eye. With multi-channels type (e.g. CV_8UC3), only the first channel is treated.
6 years ago
Alexander Alekhin
452fa3011c
dnn(test): drop CV_ENUM for DNNBackend / DNNTarget
6 years ago
Dmitry Kurtaev
d57e5406f0
Add readNet* functions which parse models from byte arrays
6 years ago
Alexander Alekhin
b6255ab9e7
dnn(ocl4dnn): fix args for 'max_pool_forward' kernel
6 years ago
Alexander Alekhin
e2b5d11290
dnn: allow to use external protobuf
...
"custom layers" feature will not work properly in these builds.
6 years ago
Alexander Alekhin
52b151dceb
dnn(test): use checkMyriadTarget() in Test_Caffe_layers.Conv_Elu test
6 years ago
Dmitry Kurtaev
362d4f5395
Replace convertFp16 from dnn::Net::setInput()
6 years ago
asciian
61d8719b8d
Reading net from std::ifstream
...
Remove some assertions
Replace std::ifstream to std::istream
Add test for new importer
Remove constructor to load file
Rename cfgStream and darknetModelStream to ifile
Add error notification to inform pathname to user
Use FileStorage instead of std::istream
Use FileNode instead of FileStorage
Fix typo
6 years ago
berak
45677819e8
core: fix autobuffer usage in opengl.cpp
6 years ago
berak
e14b2ba43c
objdetect: validate input in qrcode
6 years ago
Alexander Alekhin
81325a3fa0
highgui(gtk): use recursive cv::Mutex for 'window_mutex' variable
6 years ago
Alexander Alekhin
aa0c6ddb4c
highgui: fix GTK issues with external UI thread
6 years ago
Alexander Alekhin
fc59498b2b
cuda: fix build
...
use cv::AutoBuffer::data() to get data pointer
6 years ago
Alexander Alekhin
06fc77610b
core(hal): eliminate build warnings
6 years ago
Dmitry Kurtaev
019c2f2115
Enable more deep learning tests
6 years ago
Alexander Alekhin
4bc080dc50
fix function signatures, drop invalid casts
6 years ago
Alexander Alekhin
c7fc563dc0
calib3d: chessboard detector - replace OpenCV C API
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Alexander Alekhin
135ea264ef
core: align cv::AutoBuffer API with std::vector/std::array
...
- added .data() methods
- added operator[] (int i)
- extend checks support to generic and debug-only cases
- deprecate existed operator* ()
6 years ago
Dmitry Kurtaev
f25a01bb5a
Disable fusion to output layers
6 years ago
Dmitry Kurtaev
36288eebe7
Nearest neighbor resize from Keras
6 years ago