Alexander Alekhin
5b16b190c1
Merge pull request #19543 from alalek:hotfix_19439
2021-02-16 16:05:09 +00:00
Alexander Alekhin
0885a79c28
imgcodecs(test): don't include png.h
2021-02-16 13:26:51 +00:00
Alexander Alekhin
20d5d1c4c2
Merge pull request #19470 from alalek:core_parallel_plugins
2021-02-16 11:12:05 +00:00
Alexander Alekhin
6d3502833f
core: include version.hpp in cvdef.h, fix precomp.hpp usage
2021-02-16 11:10:45 +00:00
Qoo
bc8727786b
save allocation of memory for fake image
2021-02-15 20:14:07 -05:00
Alexander Alekhin
928d5ae315
Merge pull request #19528 from smirnov-alexey:as/gapi_optional_fix
2021-02-15 23:00:11 +03:00
Dmitry Budnikov
0cdbdfdf9f
Merge pull request #19516 from dbudniko:dbudniko/gapi_render_frame_cpu
...
Render Frame NV12 on CPU
* render frame on CPU
* doxygen fix
* address review from Alexey
* comment fixes
* Address comments from Ruslan
* remove NV12 specific
* mat clone and more renaming
* misprint fix
2021-02-15 19:57:22 +00:00
Amir Tulegenov
47426a8ae5
Merge pull request #19392 from amirtu:OCV-165_finalize_goodFeaturesToTrack_returns_also_corner_value_PR
...
* goodFeaturesToTrack returns also corner value
(cherry picked from commit 4a8f06755c
)
* Added response to GFTT Detector keypoints
(cherry picked from commit b88fb40c6e
)
* Moved corner values to another optional variable to preserve backward compatibility
(cherry picked from commit 6137383d32
)
* Removed corners valus from perf tests and better unit tests for corners values
(cherry picked from commit f3d0ef21a7
)
* Fixed detector gftt call
(cherry picked from commit be2975553b
)
* Restored test_cornerEigenValsVecs
(cherry picked from commit ea3e11811f
)
* scaling fixed;
mineigen calculation rolled back;
gftt function overload added (with quality parameter);
perf tests were added for the new api function;
external bindings were added for the function (with different alias);
fixed issues with composition of the output array of the new function (e.g. as requested in comments) ;
added sanity checks in the perf tests;
removed C API changes.
* minor change to GFTTDetector::detect
* substitute ts->printf with EXPECT_LE
* avoid re-allocations
Co-authored-by: Anas <anas.el.amraoui@live.com>
Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai>
2021-02-15 19:55:57 +00:00
Alexander Alekhin
cc73c36e32
core(parallel): plugins support
2021-02-15 17:07:36 +00:00
Alexander Alekhin
5a06d679cf
Merge pull request #19532 from amirtu:OCV-166_getDefaultName_overload
2021-02-15 15:33:54 +00:00
Alexander Alekhin
76cc034df2
Merge pull request #19519 from alalek:issue_19485
2021-02-15 15:15:27 +00:00
amir.tulegenov
cbb230fdfc
fix getDefaultName()
2021-02-15 19:21:53 +06:00
Tomoaki Teshima
5d1540f4fc
remove danger race condition
2021-02-15 21:01:41 +09:00
Smirnov Alexey
fdd5c26eb8
Fix optional move constructor
2021-02-15 00:20:08 +03:00
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.
2021-02-14 21:37:11 +03:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Qoo
c909693d45
refine
2021-02-12 20:53:09 -05:00
Alexander Alekhin
e5d78960c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-12 21:34:49 +00:00
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
2021-02-12 22:19:35 +08:00
Anatoliy Talamanov
ba8d20e9ae
Merge pull request #19425 from TolyaTalamanov:at/async-infer
...
[G-API] Implement async infer
* Implement async infer
* Fix typo
2021-02-12 12:28:37 +00:00
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.
2021-02-11 13:24:09 +00:00
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
2021-02-10 19:42:00 +00:00
Alexander Alekhin
93783df42a
Merge pull request #19439 from raaldrid:Exif_support_for_PNG_issue_16579
2021-02-10 19:35:31 +00:00
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
2021-02-10 19:23:54 +00:00
Alexander Alekhin
7079e7ea5e
Merge pull request #19480 from vrabaud:3.4
2021-02-09 22:48:59 +00:00
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
2021-02-09 10:35:27 -08:00
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>
2021-02-09 13:55:16 +00:00
Alexander Smorkalov
3b9aebee11
Not not test stitiching with SURF, if NONFREE is disabled
2021-02-09 16:54:06 +03:00
Vincent Rabaud
847b16fb76
Disable thread sanitization when CV_USE_GLOBAL_WORKERS_COND_VAR is not set.
...
This fixes #19463
2021-02-09 14:12:39 +01:00
Ilya Churaev
8fa013309e
Merge pull request #19479 from ilyachur:remove_v0_multiply
...
* Switched to v1 Multiply
* Apply changes only for new OV
2021-02-09 09:46:28 +00:00
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
2021-02-08 13:02:35 +00:00
Mark Harfouche
7405075ede
CHange import order to avoid apple check error
2021-02-05 23:24:56 -05:00
Alexander Alekhin
6b474c4051
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-06 00:44:11 +00:00
Alexander Alekhin
a9c954e821
Merge pull request #19467 from alalek:hotfix_19411
2021-02-06 00:42:26 +00:00
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
2021-02-05 23:51:52 +00:00
Alexander Alekhin
e6959055b5
core(cuda.hpp): fix GpuMatND compilation with GCC < 5
2021-02-05 22:42:56 +00:00
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>
2021-02-05 21:24:27 +00:00
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
2021-02-05 20:30:37 +00:00
Alexander Alekhin
9d227641c9
Merge pull request #19411 from crackwitz:highgui-pollkey
2021-02-05 20:18:53 +00:00
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
2021-02-05 14:21:42 +00:00
Alexander Alekhin
4f08bb5046
Merge pull request #19428 from alalek:dnn_drop_misbehaved_clamp
2021-02-04 11:57:19 +00:00
Jebastin Nadar
09d2ca17cf
Merge pull request #19449 from SamFC10:tf-leakyrelu
...
* add LeakyRelu to tf-importer
* fix whitespace error
* added test for leakyrelu
2021-02-04 08:50:08 +00:00
Alexander Alekhin
83aa711346
dnn: rename clamp() => normalize_axis()
2021-02-04 08:13:55 +00:00
Alexander Alekhin
863ecded30
Merge pull request #19440 from paroj:pyexcept
2021-02-03 11:08:24 +00:00
Alexander Alekhin
3e34cec96b
Merge pull request #19408 from crackwitz:ogl-wndprop-vsync
2021-02-03 09:56:57 +00:00
Alexander Alekhin
6ca46afa63
Merge pull request #19286 from diablodale:add-cuda-stream-constructor
2021-02-03 09:55:02 +00:00
Alexander Alekhin
0a86ddc36c
Merge pull request #19435 from l-bat:lb/onnx_normalize
2021-02-03 09:16:06 +00:00
Christoph Rackwitz
ab0e1c573a
highgui: expose VSYNC window property for OpenGL on W32
...
property getter/setter code conditional on HAVE_OPENGL
getter: return -1 upon specific OpenGL errors
2021-02-03 09:53:13 +01:00
Christoph Rackwitz
26da491053
implementation of pollKey, companion to waitKey
...
w32 backend: implemented
other backends: stubbed or fallback to waitKey
documentation: cross-linked and more precise in some places
2021-02-02 22:24:54 +01:00
Pavel Rojtberg
6c1a433c4c
python: also catch general c++ exceptions
...
they might be thrown from third-party code (notably Ogre in the ovis
module).
While Linux is kind enough to print them, they cause instant termination
on Windows.
Arguably, they do not origin from OpenCV itself, but still this helps
understanding what went wrong when calling an OpenCV function.
2021-02-02 21:16:01 +01:00
Alexander Smorkalov
0016c25b58
Guard non-free usage in stitching as contrib can be built without it.
2021-02-02 13:24:59 +03:00
LaurentBerger
94e1126678
Merge pull request #19423 from LaurentBerger:houg_acc
...
Return accumulator value in HoughLines algorithm
* try to solve #17050
use cv_wrap_as
add python test
parameters
* review
* move wrapper to imgproc/bindings.hpp
2021-02-01 21:22:10 +00:00
Liubov Batanina
68eb54dc13
Added ONNX NormalizeL2 subgraph
2021-02-01 12:44:48 +03:00
Liangda-w
b08d67c4e1
Merge pull request #19419 from Liangda-w:patch-1
...
* Fix error in documentation for RGB->HSV convertion
* Update colors.markdown
2021-02-01 09:17:54 +00:00
Alexander Alekhin
2b787eb4b8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-31 17:44:15 +00:00
Alexander Alekhin
5ab4623c2a
Merge pull request #19430 from alalek:fixup_19216
2021-01-31 17:41:24 +00:00
Alexander Alekhin
cdf73f2e05
Merge pull request #19427 from alalek:issue_19426
2021-01-31 14:24:37 +00:00
Alexander Alekhin
30bef20e22
js: fix SIMD build
2021-01-31 00:12:51 +00:00
Alexander Alekhin
b9dfffc237
Merge pull request #19057 from sl-sergei:changes_for_cuda_1d
2021-01-30 11:39:43 +00:00
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
2021-01-30 11:32:27 +00:00
Sergey Slashchinin
e2949c7d0a
Align 3.4 branch with master
2021-01-29 23:48:08 +03:00
Maxim Pashchenkov
e250bae356
Merge pull request #18943 from mpashchenkov:mp/onnx-padding
...
G-API: ONNX. Support for networks with three dimensional input.
* Padding without tests
* Removed padding
* Some small fixes
* Added wstring_convert
* Alignment fix, m b
* Small fixes
* Moved include from onnx.hpp
2021-01-29 14:53:42 +00:00
Olivier Le Doeuff
4c7f56263e
Merge pull request #19370 from OlivierLDff:patch-dshow-convertrgb
...
VideoCapture/DSHOW : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL/WIDTH/HEIGHT.
* 🐛 cap_dshow : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL
* 🐛 cap_dshow : fix g_VI.setConvertRGB not being called with correct boolean value on first property set.
* ✅ cap_dshow : Test CAP_PROP_CONVERT_RGB persistence
* 🚨 Fix cast from bool to double
* 🚨 Fix trailing whitespace
2021-01-29 10:18:09 +00:00
Maksim Shabunin
694fe3e7d2
core, gapi: supported build with oneTBB 2021
2021-01-29 02:38:05 +03:00
Dale Phurrough
34c3f0f495
add cuda::Stream constructor with cuda flags
2021-01-28 16:14:01 +01:00
Alexander Alekhin
e705414bea
videoio(plugins): support VideoCaptureParameters, CAPTURE_API_VERSION=1
...
- example: ffmpeg
2021-01-28 06:09:23 +00:00
MaximMilashchenko
467870415b
Merge pull request #19394 from MaximMilashchenko:params
...
add video capture parameters
* add parameters
* videoio: revert unnecessary massive changes
* videoio: support capture parameters in backends API
- add tests
- FFmpeg backend sample code
- StaticBackend API is done
- support through PluginBackend API will be added later
Co-authored-by: Milashchenko <maksim.milashchenko@intel.com>
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-01-27 22:07:43 +00:00
Alexander Alekhin
37c12db366
Merge pull request #19365 from alalek:parallel_api
2021-01-27 18:12:15 +00:00
Alexander Alekhin
b73bf03bfc
core: parallel backends API
...
- allow to replace parallel_for() backend
2021-01-27 14:15:33 +00:00
Alexander Alekhin
ca9cbab532
Merge pull request #19403 from diablodale:fix_19402_python_test_filter_34
2021-01-26 19:23:12 +00:00
Dale Phurrough
5c70a2015f
fix python test runner wildcard handling
...
* fix opencv/opencv#19402
2021-01-26 19:05:40 +01:00
Alexander Alekhin
e85b41f9be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-25 22:42:13 +00:00
Alexander Alekhin
573812d0ff
Merge pull request #19373 from l-bat:lb/tf_matmul_shared
2021-01-25 22:08:24 +00:00
Liubov Batanina
c12930cdde
Merge pull request #19372 from l-bat:lb/onnx_pads_calc
...
* Fixed bug with constant Div
* Supported constant mul and div for inputs with different shapes
2021-01-25 22:07:50 +00:00
Alexander Alekhin
857f339914
Merge pull request #19385 from alalek:ocl_isOpenCLActivated_update
2021-01-25 13:54:00 +00:00
Alexander Alekhin
b1ffe7a153
Merge pull request #19390 from tomoaki0705:fixCudaLegacyCalib3d
2021-01-25 13:32:43 +00:00
Alexander Alekhin
62b60b11bb
Merge pull request #19344 from VadimLevin:dev/vlevin/generic-sequence-conversion
2021-01-25 08:22:57 +00:00
Tomoaki Teshima
96e0902f39
fix peaky test failure
...
* follow the review comment
2021-01-25 17:14:37 +09:00
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
2021-01-25 08:08:38 +03:00
Alexander Alekhin
8e5e1b62aa
Merge pull request #19380 from alalek:python_fix_rect_conversion
2021-01-24 22:19:28 +00:00
Orest Chura
e982ad2284
Merge pull request #19337 from OrestChura:oc/fLine_fCont_perftests
...
[G-API]: Performance tests for fitLine and findContours
* Perf.Test for findContours(H)
* Perf.Test for fitLine(2D.3D;Mat,vector<Point2i/2f/2d/3i/3f/3d>)
* Reducing the template specializations number
* Applying comments
2021-01-24 15:41:04 +00:00
Alexander Alekhin
fb0abdeb4f
Merge pull request #19383 from tomoaki0705:fixWrongIndex
2021-01-24 15:23:34 +00:00
Tomoaki Teshima
3cfe7b9af9
fix wrong index
2021-01-24 20:29:52 +09:00
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
2021-01-24 01:25:17 +00:00
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
2021-01-23 16:01:07 +01:00
Alexander Alekhin
7825abd540
python: handle errors in Rect conversions
2021-01-23 03:07:38 +00:00
Alexander Alekhin
cd59516433
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-22 21:29:21 +00:00
Alexander Alekhin
413febf657
Merge pull request #19334 from alalek:fix_19134
2021-01-22 20:05:58 +00:00
Alexander Alekhin
1a3a25f825
Merge pull request #19364 from asmorkalov:as/capture_buffer_safety_test
2021-01-22 19:18:14 +00:00
Liubov Batanina
38a49f92ab
Added shared weights for MatMul
2021-01-22 16:47:02 +03:00
Alexander Smorkalov
b4e941d431
VideoCapture test to ensure that cv::VideoCapture does not share output buffers between frames.
2021-01-22 16:42:48 +03:00
Sergei Slashchinin
ea41f89b40
Merge pull request #19058 from sl-sergei:cuda_1d
...
Conv1D and Pool1D for CUDA backend
* CUDA-independent changes
* Add Conv1D and Pool1D for CUDA backend
* CUDA-independent changes
* Fix typo
* fix comment
* Update fix
* make changes more correct for pooling layer
* Minor fixes for review
* Split skip blocks
2021-01-21 22:16:56 +00:00
Alexander Alekhin
7a790d0d35
Merge pull request #19355 from alalek:fixup_19050
2021-01-20 22:46:05 +00:00
Alexander Alekhin
1d5589296e
gapi: fix build warning
2021-01-19 22:10:05 +00:00
Maksim Shabunin
e4e10e54df
Updated more links to forum.opencv.org
2021-01-19 22:03:22 +03:00
Maksim Shabunin
f65d75f5c8
Updated more links to forum.opencv.org
2021-01-19 21:55:45 +03:00
Alexander Alekhin
d93790717d
Merge pull request #19340 from tomoaki0705:fixStitchingExposure
2021-01-18 20:35:41 +00:00
Alexander Alekhin
5e5f47321b
Merge pull request #19320 from alalek:videoio_plugins_api_split_capture_write
...
videoio(plugins): split capture and writer APIs
2021-01-18 23:14:57 +03:00
Alexander Alekhin
6ce9bb6f7a
Merge pull request #19312 from VadimLevin:dev/vlevin/clear-msg-for-failed-overload-resolution
2021-01-18 20:14:10 +00:00
Vadim Levin
a0bdb78a99
feat: add overload resolution exception for Python bindings
2021-01-18 16:29:17 +03:00