Alexander Alekhin [Mon, 31 Jan 2022 12:53:45 +0000 (12:53 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 31 Jan 2022 12:46:14 +0000 (12:46 +0000)]
Merge pull request #21540 from alalek:dnn_support_outputs_registration_3.4
Alexander Alekhin [Sat, 29 Jan 2022 19:58:46 +0000 (19:58 +0000)]
dnn(test): fix outputs handling in ONNX conformance
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
Alexander Alekhin [Sat, 29 Jan 2022 19:11:58 +0000 (19:11 +0000)]
dnn: support outputs registration under new names
- fixed ONNX importer
Vincent Rabaud [Fri, 28 Jan 2022 15:35:47 +0000 (16:35 +0100)]
Merge pull request #21527 from vrabaud:3.4_msan
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
Alexander Alekhin [Fri, 28 Jan 2022 15:31:43 +0000 (15:31 +0000)]
Merge pull request #21521 from alalek:dnn_ignore_denormals
Zihao Mu [Fri, 28 Jan 2022 14:55:01 +0000 (22:55 +0800)]
Merge pull request #21518 from zihaomu:resize_onnx_opset13
Add resize layer compatible with ONNX opset13 version
Alexander Alekhin [Fri, 28 Jan 2022 13:11:22 +0000 (13:11 +0000)]
Merge pull request #21533 from alexgiving:atrutnev/tolerance_for_divc_kernel
Aleksei Trutnev [Fri, 28 Jan 2022 14:12:20 +0000 (17:12 +0300)]
tolerance for divc
Alexander Alekhin [Fri, 28 Jan 2022 12:52:25 +0000 (12:52 +0000)]
Merge pull request #21528 from sturkmen72:patch-5
Suleyman TURKMEN [Thu, 27 Jan 2022 19:40:39 +0000 (22:40 +0300)]
Update window.cpp
Trutnev Aleksei [Thu, 27 Jan 2022 12:27:41 +0000 (15:27 +0300)]
Merge pull request #21475 from alexgiving:atrutnev/fix_tests
GAPI: Replace resize perf test to imgproc
* resize + test configs
* fluid kernel "add"
* Add fluid core
Alexander Alekhin [Thu, 27 Jan 2022 10:16:13 +0000 (10:16 +0000)]
Merge pull request #21489 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix-backport
Alexander Alekhin [Thu, 27 Jan 2022 10:15:21 +0000 (10:15 +0000)]
Merge pull request #21525 from VadimLevin:dev/vlevin/pysubmodules-refcounter-fix
Vadim Levin [Thu, 27 Jan 2022 09:04:56 +0000 (12:04 +0300)]
fix: wrong reference counter after module initialization
Vadim Levin [Tue, 18 Jan 2022 21:07:50 +0000 (00:07 +0300)]
fix: submodules creation and registration
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
- Add Python 2 and Python 3 reference counting handling
Alexander Alekhin [Wed, 26 Jan 2022 17:51:52 +0000 (17:51 +0000)]
Merge pull request #21517 from alalek:cmake_dont_force_werror
Alexander Alekhin [Wed, 26 Jan 2022 17:37:51 +0000 (17:37 +0000)]
Merge pull request #21499 from sturkmen72:update_documentation
Alexander Alekhin [Wed, 26 Jan 2022 15:18:07 +0000 (15:18 +0000)]
Merge pull request #21490 from rogday:optional_outputs
Anatoliy Talamanov [Wed, 26 Jan 2022 14:01:13 +0000 (17:01 +0300)]
Merge pull request #20832 from TolyaTalamanov:at/python-gstreamer-source
G-API: Wrap GStreamerSource
* Wrap GStreamerSource into python
* Fixed test skipping when can't make Gst-src
* Wrapped GStreamerPipeline class, added dummy test for it
* Fix no_gst testing
* Changed wrap for GStreamerPipeline::getStreamingSource() : now python-specific in-class method GStreamerPipeline::get_streaming_source()
* Added accuracy tests vs OCV:VideoCapture(Gstreamer)
* Add skipping when can't use VideoCapture(GSTREAMER);
Add better handling of GStreamer backend unavailable;
Changed video to avoid terminations
* Applying comments
* back to a separate get_streaming_source function, with comment
Co-authored-by: OrestChura <orest.chura@intel.com>
Alexander Alekhin [Wed, 26 Jan 2022 05:00:47 +0000 (05:00 +0000)]
dnn: apply hint to ignore denormals processing
Alexander Alekhin [Wed, 26 Jan 2022 08:52:27 +0000 (08:52 +0000)]
Merge pull request #21506 from alalek:core_fp_denormals
Alexander Alekhin [Mon, 24 Jan 2022 05:39:45 +0000 (05:39 +0000)]
core(parallel): propagate FP denormals mode
Alexander Alekhin [Tue, 11 Jan 2022 03:06:43 +0000 (03:06 +0000)]
core: FP denormals hints support
Alexander Alekhin [Wed, 26 Jan 2022 04:34:51 +0000 (04:34 +0000)]
cmake: don't force -Werror=...
- improve compatibility with further compiler versions
- warnings are not errors by default
Alexander Alekhin [Tue, 25 Jan 2022 18:44:26 +0000 (18:44 +0000)]
Merge pull request #21514 from pkubaj:patch-1
Alexander Alekhin [Tue, 25 Jan 2022 15:00:54 +0000 (15:00 +0000)]
Merge pull request #21441 from alexgiving:atrutnev/split3_simd_fluid
Aleksei Trutnev [Tue, 25 Jan 2022 15:13:30 +0000 (18:13 +0300)]
Dynamic Dispatching for split3
Alexander Alekhin [Tue, 25 Jan 2022 13:42:49 +0000 (13:42 +0000)]
Merge pull request #21512 from vrabaud:3.4_ub_drawing
pkubaj [Tue, 25 Jan 2022 13:35:22 +0000 (13:35 +0000)]
Fix VSX detection on FreeBSD
hwcap should actually be long.
Vincent Rabaud [Tue, 25 Jan 2022 10:37:39 +0000 (11:37 +0100)]
Fix undefined behavior in line drawing.
Left shift of negative values is undefined.
Sergey Ivanov [Mon, 24 Jan 2022 14:05:26 +0000 (17:05 +0300)]
Merge pull request #21232 from sivanov-work:vpl_gpu_remote_infer
G-API: oneVPL DX11 inference
* Draft GPU infer
* Fix incorrect subresource_id for array of textures
* Fix for TheOneSurface in different Frames
* Turn on VPP param configuration
* Add cropIn params
* Remove infer sync sample
* Remove comments
* Remove DX11AllocResource extra init
* Add condition for NV12 processing in giebackend
* Add VPP frames pool param configurable
* -M Remove extra WARN & INFOs, Fix custom MAC
* Remove global vars from example, Fix some comments, Disable blobParam due to OV issue
* Conflict resolving
* Revert back pointer cast for cv::any
Alexander Alekhin [Mon, 24 Jan 2022 14:04:14 +0000 (14:04 +0000)]
Merge pull request #21501 from sturkmen72:update_samples
Alexander Alekhin [Mon, 24 Jan 2022 12:35:54 +0000 (12:35 +0000)]
Merge pull request #21505 from georgthegreat:patch-1
Yuriy Chernyshov [Mon, 24 Jan 2022 08:23:34 +0000 (11:23 +0300)]
Disable -Wreturn-type-c-linkage under clang-cl
clang-cl defines both __clang__ and _MSC_VER, yet uses `#pragma GCC` to disable certain diagnostics.
At the time `-Wreturn-type-c-linkage` was reported by clang-cl.
This PR fixes this behavior by reordering defines.
Suleyman TURKMEN [Sat, 22 Jan 2022 08:27:01 +0000 (11:27 +0300)]
Update python samples
David Fan [Sun, 23 Jan 2022 14:02:14 +0000 (09:02 -0500)]
Merge pull request #21500 from Kanaderu:fix-gst-audio-win
videoio: added explicit gst-audio dependency for windows
* Update detect_gstreamer.cmake
videoio: added explicit gst-audio dependency for win32
* Fixed whitespace
Alexander Alekhin [Sun, 23 Jan 2022 14:00:55 +0000 (14:00 +0000)]
Merge pull request #21497 from alalek:fix_build_gcc12_3.4
Suleyman TURKMEN [Fri, 14 Jan 2022 20:42:37 +0000 (23:42 +0300)]
Update imgcodecs.hpp
Alexander Alekhin [Sat, 22 Jan 2022 11:48:44 +0000 (11:48 +0000)]
build: fix GCC12 compilation
Alexander Alekhin [Fri, 21 Jan 2022 20:19:50 +0000 (20:19 +0000)]
Merge pull request #21437 from alalek:dnn_api_explicit_const_4.x
Alexander Alekhin [Fri, 21 Jan 2022 20:04:58 +0000 (20:04 +0000)]
Merge pull request #21429 from alalek:dnn_api_explicit_const_3.4
Alexander Alekhin [Wed, 12 Jan 2022 03:46:13 +0000 (03:46 +0000)]
dnn: fix API - explicit ctors, const methods
Smirnov Egor [Fri, 21 Jan 2022 09:31:46 +0000 (12:31 +0300)]
add optional outputs support and fix graph links
Alexander Alekhin [Thu, 20 Jan 2022 20:00:28 +0000 (20:00 +0000)]
Merge pull request #21453 from sturkmen72:bigtiff
Alexander Alekhin [Thu, 20 Jan 2022 19:56:17 +0000 (19:56 +0000)]
Merge pull request #21349 from alalek:cmake_link_no_undefined
Alexander Alekhin [Thu, 20 Jan 2022 14:37:08 +0000 (14:37 +0000)]
Merge pull request #21483 from alalek:cmake_highgui_opengl_update_3.4
Alexander Alekhin [Thu, 20 Jan 2022 10:08:00 +0000 (10:08 +0000)]
Merge pull request #21478 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix
Alexander Alekhin [Sun, 26 Dec 2021 09:47:25 +0000 (09:47 +0000)]
cmake(link): add '-Wl,--no-undefined'
- avoid missing of necessary library dependencies
Alexander Alekhin [Thu, 20 Jan 2022 02:27:57 +0000 (02:27 +0000)]
cmake(highgui): update handling of OpenGL libraries
Alexander Alekhin [Wed, 19 Jan 2022 19:29:58 +0000 (19:29 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Vadim Levin [Tue, 18 Jan 2022 21:07:50 +0000 (00:07 +0300)]
fix: submodules creation and registration
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
Maxim Pashchenkov [Wed, 19 Jan 2022 11:40:36 +0000 (14:40 +0300)]
Merge pull request #21362 from mpashchenkov:mp/ocv-gapi-suppress-warn
G-API: Suppress ngraph warnings for MSVS2015 (4268)
* 4268 are suppressed
* 1900-->>1910 (v140)
* Two more warnings from ngraph include
Alexander Alekhin [Wed, 19 Jan 2022 11:27:06 +0000 (11:27 +0000)]
Merge pull request #21468 from VadimLevin:dev/vlevin/handle-pymodule-add-object-result
Alexander Alekhin [Wed, 19 Jan 2022 11:26:42 +0000 (11:26 +0000)]
Merge pull request #21454 from sturkmen72:update_templates
Alexander Alekhin [Tue, 18 Jan 2022 15:50:11 +0000 (15:50 +0000)]
Merge pull request #21357 from rogday:model_diag
Tsukasa Sugiura [Tue, 18 Jan 2022 15:47:36 +0000 (00:47 +0900)]
Merge pull request #21369 from UnaNancyOwen:fix_uwp
Fix support objdetect module for UWP
* Fix support objdetect module for UWP
* Fix define module for objdetect
* Remove conditional compilation from public headers
* Add StsNotImplemented for FaceDetectorYN/FaceRecognizerSF
* Fix typo error message
* Fix error message
* coding style, eliminate warnings
Alexander Alekhin [Tue, 18 Jan 2022 11:06:00 +0000 (11:06 +0000)]
Merge pull request #21470 from alalek:winpack_dldt_fix_21469
Alexander Alekhin [Tue, 18 Jan 2022 09:55:13 +0000 (09:55 +0000)]
Merge pull request #21467 from alalek:issue_21448
Vadim Levin [Tue, 18 Jan 2022 06:44:45 +0000 (09:44 +0300)]
fix: handle possible PyModule_AddObject failure
Comment from Python documentation:
Unlike other functions that steal references, `PyModule_AddObject()` only
decrements the reference count of value on success.
This means that its return value must be checked, and calling code must
`Py_DECREF()` value manually on error.
Alexander Alekhin [Tue, 18 Jan 2022 08:15:12 +0000 (08:15 +0000)]
build(winpack_dldt): repair build with MSVS 2019 (16.11.9)
Alexander Alekhin [Tue, 18 Jan 2022 04:53:44 +0000 (04:53 +0000)]
core(persistence): avoid NULL pointer dereference
Alexey Smirnov [Mon, 17 Jan 2022 22:56:01 +0000 (01:56 +0300)]
Merge pull request #20785 from smirnov-alexey:as/oak_backend
GAPI: Add OAK backend
* Initial tests and cmake integration
* Add a public header and change tests
* Stub initial empty template for the OAK backend
* WIP
* WIP
* WIP
* WIP
* Runtime dai hang debug
* Refactoring
* Fix hang and debug frame data
* Fix frame size
* Fix data size issue
* Move test code to sample
* tmp refactoring
* WIP: Code refactoring except for the backend
* WIP: Add non-camera sample
* Fix samples
* Backend refactoring wip
* Backend rework wip
* Backend rework wip
* Remove mat encoder
* Fix namespace
* Minor backend fixes
* Fix hetero sample and refactor backend
* Change linking logic in the backend
* Fix oak sample
* Fix working with ins/outs in OAK island
* Trying to fix nv12 problem
* Make both samples work
* Small refactoring
* Remove meta args
* WIP refactoring kernel API
* Change in/out args API for kernels
* Fix build
* Fix cmake warning
* Partially address review comments
* Partially address review comments
* Address remaining comments
* Add memory ownership
* Change pointer-to-pointer to reference-to-pointer
* Remove unnecessary reference wrappers
* Apply review comments
* Check that graph contains only one OAK island
* Minor refactoring
* Address review comments
Alexander Alekhin [Mon, 17 Jan 2022 22:26:59 +0000 (22:26 +0000)]
Merge pull request #21361 from alalek:sample_fix_tracking
rogday [Mon, 17 Jan 2022 21:03:43 +0000 (00:03 +0300)]
fix model diagnostic tool
Alexander Alekhin [Wed, 12 Jan 2022 03:46:13 +0000 (03:46 +0000)]
dnn: fix API - explicit ctors, const methods
Alexander Alekhin [Sun, 16 Jan 2022 15:55:27 +0000 (15:55 +0000)]
Merge pull request #21451 from sturkmen72:update_imreadmulti_doc
Suleyman TURKMEN [Sat, 15 Jan 2022 01:43:20 +0000 (04:43 +0300)]
bigtiff images reading
Suleyman TURKMEN [Sat, 15 Jan 2022 02:49:38 +0000 (05:49 +0300)]
Update PULL_REQUEST_TEMPLATE.md and ISSUE_TEMPLATE.md
Suleyman TURKMEN [Fri, 14 Jan 2022 20:36:53 +0000 (23:36 +0300)]
Update imgcodecs.hpp
Anna Khakimova [Fri, 14 Jan 2022 12:48:52 +0000 (15:48 +0300)]
Merge pull request #21144 from anna-khakimova:ak/resize_simd_v2
GAPI Fluid: Resize Linear U8C3 - reworking horizontal pass.
* Reworked horizontal pass
* Fixed valgrind issue and removed unnesesary snippet
Lukas Yoder [Thu, 13 Jan 2022 20:22:36 +0000 (15:22 -0500)]
Merge pull request #20363 from SentToDevNull:master
Updated To Modern Version of Aravis USB 3 Vision Protocol Library
* updated aravis backend to support aravis-0.8
* bugfix for aravis-0.8 support
Alexander Alekhin [Thu, 13 Jan 2022 17:46:04 +0000 (17:46 +0000)]
Merge pull request #21440 from mshabunin:fix-kw-2022-01
Maksim Shabunin [Wed, 12 Jan 2022 21:13:59 +0000 (00:13 +0300)]
Fixed issues found by static analysis
Dmitry Budnikov [Wed, 12 Jan 2022 17:38:14 +0000 (20:38 +0300)]
Merge pull request #21424 from dbudniko:dbudniko/media_frame_adapter_enabling
Adapt remote inference to operate with NV12 blobs
* Media Frame Adapter support
* address comments
Alexander Alekhin [Wed, 12 Jan 2022 13:26:10 +0000 (13:26 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 12 Jan 2022 13:11:45 +0000 (13:11 +0000)]
Merge pull request #21426 from alalek:dnn_simd_unaligned_weights_fix
Alexander Alekhin [Wed, 12 Jan 2022 12:43:09 +0000 (12:43 +0000)]
Merge pull request #21422 from alexgiving:atrutnev/wrong_destination_size_deduction_resize
Alexander Alekhin [Wed, 12 Jan 2022 04:14:48 +0000 (04:14 +0000)]
dnn: don't use aligned load without alignment checks
- weights are unaligned in dasiamprn sample (comes from numpy)
Aleksei Trutnev [Tue, 11 Jan 2022 22:11:46 +0000 (01:11 +0300)]
fix rounding
cudawarped [Tue, 11 Jan 2022 20:57:25 +0000 (20:57 +0000)]
Merge pull request #21374 from cudawarped:fix_cuda_event_flags
Allow cv::cuda::Event to accept combinations of flags
Alexander Alekhin [Tue, 11 Jan 2022 18:27:17 +0000 (18:27 +0000)]
Merge pull request #21421 from vrabaud:3.4size_t
Harvey [Tue, 11 Jan 2022 16:51:50 +0000 (00:51 +0800)]
Merge pull request #21400 from Harvey-Huang:master
tiff need check TIFFTAG_SAMPLEFORMAT, should not always use unsigned.
Alexander Alekhin [Tue, 11 Jan 2022 15:41:50 +0000 (15:41 +0000)]
Merge pull request #21413 from berak:patch-1
Vincent Rabaud [Tue, 11 Jan 2022 11:01:47 +0000 (12:01 +0100)]
Fix a potential UBSAN error.
We only use that value as uint64_t below anyway.
Alexander Alekhin [Mon, 10 Jan 2022 17:35:38 +0000 (17:35 +0000)]
Merge pull request #21409 from sturkmen72:patch-3
Suleyman TURKMEN [Fri, 7 Jan 2022 13:51:21 +0000 (16:51 +0300)]
Update documentation
Alexander Alekhin [Mon, 10 Jan 2022 15:22:09 +0000 (15:22 +0000)]
Merge pull request #21416 from alalek:videoio_msmf_sourcereadercb_dtor_message_info
h6197627 [Mon, 10 Jan 2022 11:51:07 +0000 (13:51 +0200)]
Merge pull request #21405 from h6197627:3.4
* Use c++ namespaces explicitly
* Add root cv c++ namespace
Alexander Alekhin [Mon, 10 Jan 2022 09:16:01 +0000 (12:16 +0300)]
videoio(msmf): use info message in SourceReaderCB destructor
Alexander Alekhin [Sun, 9 Jan 2022 21:01:28 +0000 (21:01 +0000)]
Merge pull request #21412 from crackwitz:kmeans-N-ge-K-message
berak [Sun, 9 Jan 2022 11:26:24 +0000 (12:26 +0100)]
Update stitching_detailed.py
resolves: #21406
use constructors consistently
Christoph Rackwitz [Sat, 8 Jan 2022 22:42:21 +0000 (23:42 +0100)]
kmeans: assertion "There can't be more clusters than elements"
Alexander Alekhin [Thu, 6 Jan 2022 11:34:48 +0000 (11:34 +0000)]
Merge pull request #21398 from thegrizzlylabs:fix-catalyst-arch
Alexander Alekhin [Thu, 6 Jan 2022 08:44:04 +0000 (08:44 +0000)]
Merge pull request #21394 from vrabaud:3.4_doc
Guillaume Gigaud [Wed, 5 Jan 2022 14:27:21 +0000 (15:27 +0100)]
apple/build_xcframework.py: fix incorrect catalyst archs
Vincent Rabaud [Wed, 5 Jan 2022 12:42:55 +0000 (13:42 +0100)]
Remove unnecessary use of ref-capture in code example.
Alexander Alekhin [Tue, 4 Jan 2022 14:33:28 +0000 (14:33 +0000)]
Merge pull request #21378 from sturkmen72:fix_legacy_constants
Alexander Alekhin [Tue, 4 Jan 2022 13:21:25 +0000 (13:21 +0000)]
Merge pull request #21382 from stal12:CCL_fix_4conn
Alexander Alekhin [Tue, 4 Jan 2022 13:08:10 +0000 (13:08 +0000)]
Merge pull request #21375 from JoeHowse:3.4-umatusageflags-docs