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
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
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 [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
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
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 [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 [Wed, 12 Jan 2022 03:46:13 +0000 (03:46 +0000)]
dnn: fix API - explicit ctors, const methods
Alexander Alekhin [Thu, 20 Jan 2022 20:00:28 +0000 (20:00 +0000)]
Merge pull request #21453 from sturkmen72:bigtiff
Alexander Alekhin [Wed, 19 Jan 2022 19:29:58 +0000 (19:29 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
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 [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
Alexander Alekhin [Tue, 4 Jan 2022 12:49:15 +0000 (12:49 +0000)]
copyright: 2022
Alexander Alekhin [Tue, 4 Jan 2022 12:48:27 +0000 (12:48 +0000)]
copyright: 2022
Stefano Allegretti [Mon, 3 Jan 2022 17:15:09 +0000 (18:15 +0100)]
Fix #21366
Suleyman TURKMEN [Sun, 2 Jan 2022 18:41:26 +0000 (21:41 +0300)]
fix legacy constants
Joe Howse [Fri, 31 Dec 2021 17:49:33 +0000 (13:49 -0400)]
Doc warnings about experimental UMatUsageFlags
Alexander Alekhin [Thu, 30 Dec 2021 14:04:52 +0000 (14:04 +0000)]
Merge pull request #21356 from alalek:core_ocl_option_to_abort_on_kernel_build_error
Alexander Alekhin [Tue, 28 Dec 2021 18:02:52 +0000 (18:02 +0000)]
dnn(ocl): fix fp16 kernel compilation
Alexander Alekhin [Wed, 29 Dec 2021 15:22:13 +0000 (15:22 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Trutnev Aleksei [Wed, 29 Dec 2021 15:13:43 +0000 (18:13 +0300)]
Merge pull request #21157 from alexgiving:atrutnev/move_resize
GAPI: Move Resize kernel from core to imgproc
* Move Resize kernel from core to imgproc
* Applied style comments
* Adding backward compatibility
* Applied Asya PR
Alexander Alekhin [Wed, 29 Dec 2021 15:11:18 +0000 (15:11 +0000)]
Merge pull request #21360 from alalek:core_ocl_option_to_abort_on_kernel_build_error_3.4
Alexander Alekhin [Wed, 29 Dec 2021 00:44:56 +0000 (00:44 +0000)]
samples(python): update tracker.py
Alexander Alekhin [Tue, 28 Dec 2021 12:43:42 +0000 (12:43 +0000)]
core(ocl): add option to abort on OpenCL kernel build failure
- exceptions are catched by fallback CPU path
- OPENCV_OPENCL_ABORT_ON_BUILD_ERROR (disabled by default)
Alexander Alekhin [Tue, 28 Dec 2021 17:59:48 +0000 (17:59 +0000)]
Merge pull request #21354 from alalek:samples_python_3.10
Alexander Alekhin [Tue, 28 Dec 2021 12:20:41 +0000 (12:20 +0000)]
Merge pull request #21318 from alexgiving:atrutnev/move_GKernelPackage
Alexander Alekhin [Tue, 28 Dec 2021 11:49:55 +0000 (11:49 +0000)]
samples: query for Python 3.10 setup
Alexander Alekhin [Sun, 26 Dec 2021 14:10:08 +0000 (14:10 +0000)]
Merge pull request #21347 from StefanBruens:fix_qt_opengl_link
Stefan Brüns [Sat, 25 Dec 2021 23:08:06 +0000 (00:08 +0100)]
highgui: Fix unresolved OpenGL functions for Qt backend
The Qt backend directly calls some OpenGL functions (glClear, glHint,
glViewport), but since OCV 4.5.5 the GL libraries are no longer part
of the global extra dependencies. When linking with "-Wl,--no-undefined"
this causes linker errors:
`opencv-4.5.5/modules/highgui/src/window_QT.cpp:3307: undefined reference to `glClear'`
Fixes: #21346
Related issues: #21299
Alexander Alekhin [Sat, 25 Dec 2021 11:22:16 +0000 (11:22 +0000)]
Merge tag '4.5.5'
Alexander Alekhin [Sat, 25 Dec 2021 03:53:27 +0000 (03:53 +0000)]
release: OpenCV 4.5.5
Alexander Alekhin [Sat, 25 Dec 2021 02:54:21 +0000 (02:54 +0000)]
Merge pull request #21343 from alalek:dnn_onnx_handle_domains
Alexander Alekhin [Sat, 25 Dec 2021 00:45:41 +0000 (00:45 +0000)]
dnn(onnx): handle non-default ONNX domains
- re-enable quantized models tests
Rostislav Vasilikhin [Fri, 24 Dec 2021 23:00:21 +0000 (02:00 +0300)]
Merge pull request #21319 from savuor:backport_levmarqfromscratch
Warning fixes for quaternion headers
* warning fixes for quaternion headers
* a/T(x) => a * T(1/x)
Alexander Alekhin [Fri, 24 Dec 2021 18:10:47 +0000 (18:10 +0000)]
Merge pull request #21197 from SinM9:speech_recognition_python
Alexander Alekhin [Fri, 24 Dec 2021 18:10:32 +0000 (18:10 +0000)]
Merge pull request #21339 from AsyaPronina:asyadev/wa_valgrind_issues
Alexander Alekhin [Fri, 24 Dec 2021 16:35:47 +0000 (16:35 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 24 Dec 2021 16:45:05 +0000 (16:45 +0000)]
Merge tag '3.4.17'
Alexander Alekhin [Fri, 24 Dec 2021 16:39:15 +0000 (16:39 +0000)]
release: OpenCV 3.4.17
Alexander Alekhin [Fri, 24 Dec 2021 16:33:19 +0000 (16:33 +0000)]
Merge pull request #21341 from alalek:issue_20930_3.4
Aleksei Trutnev [Fri, 24 Dec 2021 15:04:11 +0000 (18:04 +0300)]
Move GKernelPackage to cv namespace
Alexander Alekhin [Fri, 24 Dec 2021 14:51:01 +0000 (14:51 +0000)]
python: use '((x,y), (w,h), angle)' in std::vector<RotatedRect>
Alexander Alekhin [Fri, 24 Dec 2021 11:56:12 +0000 (11:56 +0000)]
Merge pull request #21329 from alalek:cmake_openexr_find_package
Alexander Alekhin [Fri, 24 Dec 2021 11:55:55 +0000 (11:55 +0000)]
Merge pull request #21327 from alalek:imgcodecs_openexr_runtime_disabled
Alexander Alekhin [Fri, 24 Dec 2021 11:55:34 +0000 (11:55 +0000)]
Merge pull request #21320 from catree:solvePnP_doc_page
Alexander Alekhin [Fri, 24 Dec 2021 10:49:09 +0000 (10:49 +0000)]
Merge pull request #21306 from aBITnav:patch-1
Anastasiya Pronina [Fri, 24 Dec 2021 10:37:16 +0000 (13:37 +0300)]
Disabling SSE4.1 path in GFluidResize due to Valgrind issues
Alexander Alekhin [Fri, 24 Dec 2021 08:35:11 +0000 (08:35 +0000)]
Merge pull request #21336 from alalek:dnn_pooling_check_array_indexes