Vincent Rabaud
ffd010767f
Only use fma functions when CV_FMA3 is set.
...
In practice, processors offering AVX2/AVX512 also FMA, that is why it got unnoticed.
3 years ago
Alexander Alekhin
c1d61c88e9
dnn(cmake): don't hijack OpenCL options with Tengine
3 years ago
APrigarina
8e72e1ed88
add test case for QR detect fix
3 years ago
cpengu
66dd871288
Update qrcode.cpp
...
Fixed issue #20880 , QRDetect::searchHorizontalLines() boundary condition will skip the matched qrcode near the end
3 years ago
Alexander Alekhin
d484939c02
Merge pull request #20999 from alalek:dnn_replace_deprecated_calls
...
dnn(protobuf): replace deprecated calls
* dnn: replace deprecated ByteSize() => ByteSizeLong()
* dnn: replace deprecated calls, use GetRepeatedFieldRef
3 years ago
Alexander Alekhin
b3e16c6423
videoio(dshow): eliminate build warnings from MSVC-Clang
3 years ago
Souriya Trinh
30d6766db4
Add conventional Bayer naming.
3 years ago
Alexander Alekhin
0ee61d178f
highgui: drop invalid cvGetWindowImageRect
...
- return type is C++ template
- removal from 'extern "C"' scope broke ABI anyway, so this symbols is removed completelly
3 years ago
Alexander Alekhin
a49cda6523
core: eliminate Winvalid-noreturn in base.hpp
3 years ago
Alexander Alekhin
d612c72405
build: fix MSVC-Clang warnings about unused parameters in stubs
3 years ago
Alexander Alekhin
75e2ba5af3
core(simd): fix compilation with MSVC-Clang
3 years ago
Alexander Alekhin
1726bb6c0d
build(icc): fix nodiscard attribute handling
3 years ago
Noah Stier
84a81579ba
tvl1 cuda optflow optimization
3 years ago
berak
a6f5717567
resolves #20913
...
imgproc: remove asserts for circles_ in HoughCircles
3 years ago
AleksandrPanov
d21622bef4
fix findMinEnclosingTriangle and add tests
3 years ago
Harvey
ce68291d83
32bit rgb bmp file should not copy data as rgba
3 years ago
Zhuo Zhang
7da51787b9
Merge pull request #20900 from zchrissirhcz:3.4-hwfeatures-support-qnx
...
* fix: correctly check neon flags for QNX platform
* refactor: change __QNXNTO__ to __QNX__
3 years ago
rogday
b3f966e2ca
Merge pull request #20883 from rogday:eltwise_refactoring
...
* backport elementwise_layers refactor
* keep NULL
3 years ago
Michel Promonet
9a9e457dd6
Allow to set av_log_set_level to reduce ffmpeg level below AV_LOG_ERROR
3 years ago
Alexander Alekhin
b5fcb06a76
core(SIMD): update int64 SSE constructor
3 years ago
Sergiu Deitsch
f8f9f3c438
fixed AVX compile error
...
Some older compilers do not allow to pass a `const int` as an immediate. Use an unnamed enum instead.
3 years ago
Wehzie
f9e747dbc6
Fixed typo in CV_Error message
...
Error was "Input parameters must be a matrices!", but "matrices" is plural and doesn't allow the unspecific article "a".
3 years ago
Nicholas Ho
bd0732b1d0
Merge pull request #20740 from Nicholas-Ho-arm:3.4_SymmColumnVec_32f8u
...
* Add SymmColumnVec_32f8u
* Fix double to float warnings
3 years ago
Alexander Alekhin
982503e9a8
core: ensure 'int' result from CV_POPCNT_U64(x)
3 years ago
Stanislaw Halik
3d93675ff9
fix link error on shared libs with -MT
3 years ago
Smirnov Egor
238dbffb48
change asserts for Sum
3 years ago
Smirnov Egor
a9d7b6eab7
fix const - input and remove unimplemented function
3 years ago
Alexander Alekhin
b1cf550123
release: OpenCV 3.4.16
3 years ago
Alexander Alekhin
4985311d46
core(tls): avoid destruction of TlsAbstraction singleton
3 years ago
Jonas Vautherin
9537a909f7
Merge pull request #20801 from JonasVautherin:fix-gst-error-handling
...
* Fix gst error handling
* Use the return value instead of the error, which gives no guarantee of being NULL in case of error
* Test err pointer before accessing it
* Remove unreachable code
* videoio(gstreamer): restore check in writer code
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Alexander Alekhin
8c2dd5fb9a
dnn(ocl4dnn): cleanup dead code, improve logging
3 years ago
Alexander Alekhin
27545dcc86
core: add __NetBSD__ build fix in parallel.cpp
3 years ago
Alexander Alekhin
724e04e979
dnn(ocl4dnn): add extra checks to convolution layer
...
- prevent running code over unsupported/non-tested configurations
- prevent integer div by zero
3 years ago
Alexander Panov
dfc94c58f0
Merge pull request #20823 from AleksandrPanov:fix_orb_integer_overflow
...
Fix ORB integer overflow
* set size_t step to fix integer overflow in ptr0 offset
* added issue_537 test
* minor fix tags, points
* added size_t_step and offset to remove mixed unsigned and signed operations
* features2d: update ORB checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Oliver Kuckertz
a3d7811f24
Merge pull request #20725 from mologie:fix-dnn-tf-on-arm
...
* dnn: fix unaligned memory access crash on armv7
The getTensorContent function would return a Mat pointing to some
member of a Protobuf-encoded message. Protobuf does not make any
alignment guarantees, which results in a crash on armv7 when loading
models while bit 2 is set in /proc/cpu/alignment (or the relevant
kernel feature for alignment compatibility is disabled). Any read
attempt from the previously unaligned data member would send SIGBUS.
As workaround, this commit makes an aligned copy via existing clone
functionality in getTensorContent. The unsafe copy=false option is
removed. Unfortunately, a rather crude hack in PReLUSubgraph in fact
writes(!) to the Protobuf message. We limit ourselves to fixing the
alignment issues in this commit, and add getTensorContentRefUnaligned
to cover the write case with a safe memcpy. A FIXME marks the issue.
* dnn: reduce amount of .clone() calls
* dnn: update FIXME comment
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Alexander Alekhin
755e0143fb
Merge pull request #20815 from alalek:fix_20649_revert_19859
...
features2d: repair SimpleBlobDetector
* features2d: revert code change by PR #19859
Reverted commit 76860933f0
* features2d: check SimpleBlobDetector parameters consistency
3 years ago
Alexander Alekhin
646924fce8
dnn(pytest/test_input_3d): reload model between switching targets
3 years ago
Alexander Alekhin
ebef84e9ea
pre: OpenCV 3.4.16 (version++)
3 years ago
keroiber
f11f2bfb56
Merge pull request #20743 from keroiber:prefix_js_function_bindings_with_namespace
...
* Prefix global javascript functions with sub-namespaces
* js: handle 'namespace_prefix_override', update filtering
- avoid functions override with same name but different namespace
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years ago
Alexander Alekhin
d20c9bde7e
core(TLS): force TlsAbstraction initialization before main()
3 years ago
Alexander Alekhin
62414e3073
core(parallel): suppress TSAN warning
3 years ago
Jonas Vautherin
de5b6386e0
Fix gst_initializer
...
Use the return value of gst_init_check instead of testing the error pointer
3 years ago
Jannik Bamberger
ef53a9229f
Automatically set the correct OpenCV version in build.gradle
...
Automatically sets the correct OpenCV version in the CMAKE example contained in the build.gradle
file of the Android SDK.
3 years ago
Suleyman TURKMEN
259c39a63a
additional changes
3 years ago
Alexander Alekhin
f977d10a19
dnn(ocl): fix conv DWCONV workgroup
3 years ago
Tomoaki Teshima
1e74f5850b
suppress GaussianBlur to generate empty images
...
* sharp Gaussian kernel causes over flow and ends up in blank image
3 years ago
Suleyman TURKMEN
9b76872708
restore LSD
3 years ago
Alexander Alekhin
846317ef37
dnn(ocl): fix conv BASIC workgroup
3 years ago
Cavendish-Koo
2f83c3b689
fix the bug of HoughlinesSDIV
3 years ago