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.
7 years ago
Kuang Fangjun
84f2f37680
remove a useless statement.
7 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
7 years ago
Maksim Shabunin
53eb27f508
AVI container: use C++ streams for file operations, check some operations for overflow
7 years ago
Alexander Nesterov
dee5f9a67b
Update qrcode algorithm: fix seg. fault with kmeans
7 years ago
Kuang Fangjun
2b6aa50b81
avoid negative index.
7 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
7 years ago
Dmitry Kurtaev
6eb8faea85
Enable TensorFlow networks tests for different backends and targets
7 years ago
Dmitry Kurtaev
de6f0a537d
Fix fully-connected layer in case of number of rows less than 4
7 years ago
catree
4dc7e617a4
Add overloaded cv::PCACompute() that returns also the eigenvalues. Useful for Java and Python OpenCV where PCA is not available.
7 years ago
Alexander Alekhin
0155851929
imgproc(getPerspectiveTransform): add configuration parameter
7 years ago
Alexander Alekhin
71c6cb9c22
imgproc(getPerspectiveTransform): solve(DECOMP_SVD -> LU)
7 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.
7 years ago
Alexander Alekhin
5385086fef
core: solve(): add check for passed 'method' values
7 years ago
Dmitry Kurtaev
dcc1beb1f8
Clip kernel for OpenCL PriorBox layer
7 years ago
Alexander Nesterov
e38ea3a888
Update detect QRCode algorithm
7 years ago
Alexander Alekhin
33b7028be2
core: use "explicit" for Matx() ctor
7 years ago
Vitaly Tuzov
850a8577b2
Fixed unreachable code warnings for Matx::solve()
7 years ago
Vitaly Tuzov
d0a3686812
Merge pull request #11904 from terfendail/matx_solve_fix
...
Fixed Matx::solve function for non-square matrixes (#11904 )
7 years ago
Alexander Alekhin
2508f7f971
dnn(ocl): fix wrong usage of stalled .getMat() pointers
...
Temporary object lifetime must be greater than pointer usage.
7 years ago
Dmitry Kurtaev
8b5f061dae
Replace std::vector<char> to std::vector<uchar> for Java bindings of dnn importers
7 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>
7 years ago
berak
a7b502f04a
dnn: preserve name, type strings for ShuffleLayer
7 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.
7 years ago
Alexander Alekhin
452fa3011c
dnn(test): drop CV_ENUM for DNNBackend / DNNTarget
7 years ago
Dmitry Kurtaev
d57e5406f0
Add readNet* functions which parse models from byte arrays
7 years ago
Alexander Alekhin
b6255ab9e7
dnn(ocl4dnn): fix args for 'max_pool_forward' kernel
7 years ago
Alexander Alekhin
e2b5d11290
dnn: allow to use external protobuf
...
"custom layers" feature will not work properly in these builds.
7 years ago
Alexander Alekhin
52b151dceb
dnn(test): use checkMyriadTarget() in Test_Caffe_layers.Conv_Elu test
7 years ago
Dmitry Kurtaev
362d4f5395
Replace convertFp16 from dnn::Net::setInput()
7 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
7 years ago
berak
45677819e8
core: fix autobuffer usage in opengl.cpp
7 years ago
berak
e14b2ba43c
objdetect: validate input in qrcode
7 years ago
Alexander Alekhin
81325a3fa0
highgui(gtk): use recursive cv::Mutex for 'window_mutex' variable
7 years ago
Alexander Alekhin
aa0c6ddb4c
highgui: fix GTK issues with external UI thread
7 years ago
Alexander Alekhin
fc59498b2b
cuda: fix build
...
use cv::AutoBuffer::data() to get data pointer
7 years ago
Alexander Alekhin
06fc77610b
core(hal): eliminate build warnings
7 years ago
Dmitry Kurtaev
019c2f2115
Enable more deep learning tests
7 years ago
Alexander Alekhin
4bc080dc50
fix function signatures, drop invalid casts
7 years ago
Alexander Alekhin
c7fc563dc0
calib3d: chessboard detector - replace OpenCV C API
7 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 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* ()
7 years ago
Dmitry Kurtaev
f25a01bb5a
Disable fusion to output layers
7 years ago
Dmitry Kurtaev
36288eebe7
Nearest neighbor resize from Keras
7 years ago
Alexander Alekhin
f545aee66d
videoio(VFW): lower priority (after DSHOW)
7 years ago
Alexander Alekhin
b3578710cf
videoio(MSMF): fix 32-bit build crash
7 years ago
ilovezfs
0c4328fbf3
Python 3.7 compatability
...
The result of PyUnicode_AsUTF8() is now of type const char * rather of
char *.
7 years ago
Dmitry Kurtaev
7ed5d85f25
Add Reshape layer tests
7 years ago
Alexander Alekhin
5557474467
imgcodecs(sunras): avoid buffer overrun
...
`src_pitch` may be large than data `step`
7 years ago
Alexander Alekhin
2dbaba077a
videoio(msmf): avoid using of C++11 code
...
build fails with MSVS 2012 without additional flags
7 years ago