amir.tulegenov
cbb230fdfc
fix getDefaultName()
4 years ago
Tomoaki Teshima
5d1540f4fc
remove danger race condition
4 years ago
Smirnov Alexey
fdd5c26eb8
Fix optional move constructor
4 years ago
Zhuo Zhang
a5a421a9f1
Merge pull request #19522 from zchrissirhcz:3.4-fix-android-find-zlib-shared-since-ndk19
...
* fix find zlib.so instead of zlib.a when NDK >= 19
On Android platform, `libopencv_imgcodecs.a` is built, expected to
depend on `libz.so`. However, since Android NDK r19, NDK's `libz.a`
is found instead of `libz.so`, leading to link error
(not found libz.a) on machines without same NDK version & direcotry.
Since Android NDK-r19, toolchain pieces are installed to
`$NDK/toolchains/llvm/prebuilt/<host-tag>/...`, including `libz.so`.
Also installed to old paths (`<NDK>/platforms` and `<NDK>/sysroot`)
in NDK r19, r20, r21, but since NDK 22, old paths are removed.
- https://github.com/android/ndk/wiki/Changelog-r19
- https://github.com/android/ndk/wiki/Changelog-r22
With this commit, `libz.so` can be correctly found in NDK<19 and NDK>=19.
`ZLIB_LIBRARIES` is also simplified as `z`, by appending match (regex)
patterns for new toolchain installation directory's libz.so's paths.
* simplify libz.so match pattern for abbreviation
4 years ago
Zhuo Zhang
743099f9f9
Merge pull request #19521 from zchrissirhcz:3.4-fix-core-module-android-arm64-build
...
* fix core module android arm64 build
* fix core module android build when neon is off
When building for Android ARM platform, cmake with
`-D CV_DISABLE_OPTIMIZATION=ON`, the expected behavior is
not using ARM NEON, using naive computation instead.
This commit fix the un-expected compile error for neon intrinsincs.
4 years ago
Alexander Alekhin
ad66b070a7
Merge pull request #19501 from komakai:android-ndk22
4 years ago
Alexander Alekhin
6f6dd227f8
Merge pull request #19523 from the-sparrow:master
4 years ago
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
4 years ago
Alexander Alekhin
cceec84139
Merge pull request #19520 from WeiChungChang:refine
4 years ago
the-sparrow
3d5f9e8b14
fix the spell error
4 years ago
Giles Payne
2cb48e034e
Build for NDK 22
4 years ago
Qoo
c909693d45
refine
4 years ago
Alexander Alekhin
e5d78960c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
4 years ago
Alexander Alekhin
fba70f7991
Merge pull request #19515 from zchrissirhcz:3.4-fix-mislinked-zlib-in-vcpkg-by-adjust-link-order
4 years ago
Zhuo Zhang
84a290097b
fix link order: put zlib after png/tiff/openexr
...
Previous link dependency: imgcodecs --> zlib --> libpng
this can generate imgcodecs shared lib, until Visual Studio integrated
with vcpkg, which will additionally specify LIBPATH, pointing to vcpkg
installed zlib (if any), which links the wrong zlib.
Fixed link dependency: imgcodecs --> libpng --> zlib
in this fixed case, symbols in zlib referenced in libpng will be found
in the build-from-source static zlib, instead of the vcpkg one.
related discussion:
- https://github.com/microsoft/vcpkg/issues/16165
- https://github.com/opencv/opencv/issues/17051
- https://github.com/opencv/opencv/issues/10576
MSVC linking order reference pages:
- https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?view=msvc-160
for link order
- https://docs.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-160
LIB environment variable, for library file searching
- https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-160
LIBPATH option, for library file searching
4 years ago
Anatoliy Talamanov
ba8d20e9ae
Merge pull request #19425 from TolyaTalamanov:at/async-infer
...
[G-API] Implement async infer
* Implement async infer
* Fix typo
4 years ago
Alexander Alekhin
767127c92e
Merge pull request #19505 from alalek:hotfix_19456
4 years ago
Alexander Alekhin
65b5d34aee
cmake: use INTERFACE_COMPILE_DEFINITIONS with definition
4 years ago
Francesco Petrogalli
6ee23c9b85
Merge pull request #19486 from fpetrogalli:dotprod_fast-3.4
...
* [hal][neon] Optimize the v_dotprod_fast intrinsics for aarch64.
On Armv8 in AArch64 execution mode, we can skip the sequence
v<op>_<ty>(vget_high_<ty>(x), vget_high_<ty>(y))
in favour of
v<op>_high_<ty>(x, y)
This has better changes for recent compilers to use less data movement
operations and better register allocation. See for example:
https://godbolt.org/z/bPq7vd
* [hal][neon] Fix build failure on armv7.
* [hal][neon] Address review comments in PR.
PR: https://github.com/opencv/opencv/pull/19486
* [hal][neon] Define macro to check for the AArch64 execution state of Armv8.
* [hal][neon] Fix macro definition for AArch64.
The fix is needed to prevent warnings when building for Armv7.
4 years ago
Alexander Alekhin
cac5b0fe5a
Merge pull request #19494 from derbosper:js-build-config-fix
4 years ago
Tsukasa Sugiura
107f233626
Merge pull request #19484 from UnaNancyOwen:fix_highlevelapi
...
* [dnn] fix high level api for python
* [dnn] add test_textdetection_model_db
* [dnn] fix textdetection test only check type and shape
4 years ago
Cuntian Liu
0677f3e21c
Merge pull request #19452 from ctuu:patch-1
...
* fix: findCUDNN script
* Update FindCUDNN.cmake
4 years ago
Alexander Alekhin
93783df42a
Merge pull request #19439 from raaldrid:Exif_support_for_PNG_issue_16579
4 years ago
Dmitry Budnikov
1162cef978
Merge pull request #19495 from dbudniko:gapi_media_frame_size
...
Add Media Frame size function and corresponding tests
* add media frame size and tests
* Address comments from Ruslan and Asya
4 years ago
Mieszko Boczkowski
a3fb64d1cd
Pass custom config file path as absolute
4 years ago
Alexander Alekhin
7079e7ea5e
Merge pull request #19480 from vrabaud:3.4
4 years ago
Alexander Alekhin
4f39f8a8d0
Merge pull request #19488 from asmorkalov:as/nonfree_check
4 years ago
Alexander Alekhin
27bada6737
Merge pull request #19471 from sturkmen72:patch-5
4 years ago
Rachel A
650836d700
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
4 years ago
Anatoliy Talamanov
c527b3cefd
Merge pull request #19319 from TolyaTalamanov:at/introduce-gopaque-garray-for-python
...
[G-API] Introduce GOpaque and GArray for python
* Introduce GOpaque and GArray for python
* Fix ctor
* Avoid code duplication by using macros
* gapi: move Python-specific files to misc/python
* Fix windows build
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Alexander Smorkalov
3b9aebee11
Not not test stitiching with SURF, if NONFREE is disabled
4 years ago
Vincent Rabaud
847b16fb76
Disable thread sanitization when CV_USE_GLOBAL_WORKERS_COND_VAR is not set.
...
This fixes #19463
4 years ago
Ilya Churaev
8fa013309e
Merge pull request #19479 from ilyachur:remove_v0_multiply
...
* Switched to v1 Multiply
* Apply changes only for new OV
4 years ago
Anna Khakimova
7ab3a80d0a
Merge pull request #19233 from anna-khakimova:ak/simd_absdiffc
...
GAPI: SIMD optimization for AbsDiffC kernel
* SIMD optimization for AbsDiffC kernel
* Applied comments
* Applying comments and refactoring: Remove new univ intrinsics.
* Performance experiment
* Applied comments.Step2
* Applied comments. Step3
4 years ago
Alexander Alekhin
e5518ee657
Merge pull request #19422 from alalek:js_tutorial_intelligent_scissors_note
4 years ago
Suleyman TURKMEN
2387813428
Update imageSegmentation.cpp, imageSegmentation.py
4 years ago
Alexander Alekhin
0c31c0756c
Merge pull request #19468 from hmaarrfk:fix_apple_check
4 years ago
Mark Harfouche
7405075ede
CHange import order to avoid apple check error
4 years ago
Alexander Alekhin
6b474c4051
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
4 years ago
Alexander Alekhin
a9c954e821
Merge pull request #19467 from alalek:hotfix_19411
4 years ago
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
4 years ago
Alexander Alekhin
f46b1252c4
Merge pull request #19466 from alalek:hotfix_19259
4 years ago
Alexander Alekhin
e6959055b5
core(cuda.hpp): fix GpuMatND compilation with GCC < 5
4 years ago
Polina Smolnikova
0be18f5cb0
Merge pull request #19407 from rayonnant14:issue_19363
...
QRCodeDetector::decodeMulti() fixed invalid usage fixedType()
* fixed invalid usage fixedType()
changed default barcode type to CV_8UC1
added tests
added assert in case multi channel straight barcode input
* deleted extra wrap into OutputArray
* fix warnings
* objdetect(qr): remove unnecessary checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Namgoo Lee
7ea21c4b3c
Merge pull request #19259 from nglee:dev_gpumatnd1
...
Minimal implementation of GpuMatND
* GpuMatND - minimal implementation
* GpuMatND - createGpuMatHeader
* GpuMatND - GpuData, offset, getDevicePtr(), license
* reviews
* reviews
4 years ago
Alexander Alekhin
9d227641c9
Merge pull request #19411 from crackwitz:highgui-pollkey
4 years ago
Alexander Alekhin
2a2e4e78bf
Merge pull request #19451 from alalek:cmake_mkl_tbb_oneapi_workaround
4 years ago
Anna Khakimova
fb3b297369
Merge pull request #18466 from anna-khakimova:ak/simd_addw_bitwise
...
GAPI: SIMD optimization for AddWeighted kernel.
* Add, sub, absdiff kernels optimization
* AddW kernel
* And, or kernels
* AddWeighted refactoring and SIMD opt for AbsDiffC kernel
* Remove simd opt of AbsDiffC kernel
* Refactoring
* Applied comments
* Refactoring.Step2
* Applied comments.Step2
4 years ago
Alexander Alekhin
050327a1e2
Merge pull request #19456 from alalek:fixup_19447
4 years ago
Alexander Alekhin
4f08bb5046
Merge pull request #19428 from alalek:dnn_drop_misbehaved_clamp
4 years ago