platform/upstream/opencv.git
2 years agoOption to enable/disable plugin linking with OpenCV
Maksim Shabunin [Fri, 13 Aug 2021 11:20:32 +0000 (14:20 +0300)]
Option to enable/disable plugin linking with OpenCV

2 years agoMerge pull request #21428 from Harvey-Huang:TIFF
Harvey [Mon, 31 Jan 2022 17:54:27 +0000 (01:54 +0800)]
Merge pull request #21428 from Harvey-Huang:TIFF

TiffEncoder write support more depth type

* TiffEncoder write support more depth type

* testing code

* update testing code

* add fallthrough

2 years agoMerge pull request #21508 from tailsu:sd/fix-zlib-png-android
Alexander Alekhin [Mon, 31 Jan 2022 17:51:23 +0000 (17:51 +0000)]
Merge pull request #21508 from tailsu:sd/fix-zlib-png-android

2 years agoMerge pull request #21520 from alexgiving:atrutnev/simd_for_split4
Trutnev Aleksei [Mon, 31 Jan 2022 17:45:56 +0000 (20:45 +0300)]
Merge pull request #21520 from alexgiving:atrutnev/simd_for_split4

GAPI FLUID: Enable dynamic dispatching for Split4

* Enable dynamic dispatching for split4

* Add tail proc for split3 and split4

2 years agodnn(test): fix int8 tolerances
Alexander Alekhin [Sat, 29 Jan 2022 20:01:15 +0000 (20:01 +0000)]
dnn(test): fix int8 tolerances

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 31 Jan 2022 12:53:45 +0000 (12:53 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21540 from alalek:dnn_support_outputs_registration_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

2 years agodnn(test): fix outputs handling in ONNX conformance
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

2 years agodnn: support outputs registration under new names
Alexander Alekhin [Sat, 29 Jan 2022 19:11:58 +0000 (19:11 +0000)]
dnn: support outputs registration under new names

- fixed ONNX importer

2 years agoMerge pull request #21527 from vrabaud:3.4_msan
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.

2 years agoMerge pull request #21521 from alalek:dnn_ignore_denormals
Alexander Alekhin [Fri, 28 Jan 2022 15:31:43 +0000 (15:31 +0000)]
Merge pull request #21521 from alalek:dnn_ignore_denormals

2 years agoMerge pull request #21518 from zihaomu:resize_onnx_opset13
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

2 years agoMerge pull request #21533 from alexgiving:atrutnev/tolerance_for_divc_kernel
Alexander Alekhin [Fri, 28 Jan 2022 13:11:22 +0000 (13:11 +0000)]
Merge pull request #21533 from alexgiving:atrutnev/tolerance_for_divc_kernel

2 years agotolerance for divc
Aleksei Trutnev [Fri, 28 Jan 2022 14:12:20 +0000 (17:12 +0300)]
tolerance for divc

2 years agoMerge pull request #21528 from sturkmen72:patch-5
Alexander Alekhin [Fri, 28 Jan 2022 12:52:25 +0000 (12:52 +0000)]
Merge pull request #21528 from sturkmen72:patch-5

2 years agoUpdate window.cpp
Suleyman TURKMEN [Thu, 27 Jan 2022 19:40:39 +0000 (22:40 +0300)]
Update window.cpp

2 years agoMerge pull request #21475 from alexgiving:atrutnev/fix_tests
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

2 years agoMerge pull request #21489 from VadimLevin:dev/vlevin/pysubmodules-initialization...
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

2 years agoMerge pull request #21525 from VadimLevin:dev/vlevin/pysubmodules-refcounter-fix
Alexander Alekhin [Thu, 27 Jan 2022 10:15:21 +0000 (10:15 +0000)]
Merge pull request #21525 from VadimLevin:dev/vlevin/pysubmodules-refcounter-fix

2 years agofix: wrong reference counter after module initialization
Vadim Levin [Thu, 27 Jan 2022 09:04:56 +0000 (12:04 +0300)]
fix: wrong reference counter after module initialization

2 years agofix: submodules creation and registration
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

2 years agoMerge pull request #21517 from alalek:cmake_dont_force_werror
Alexander Alekhin [Wed, 26 Jan 2022 17:51:52 +0000 (17:51 +0000)]
Merge pull request #21517 from alalek:cmake_dont_force_werror

2 years agoMerge pull request #21499 from sturkmen72:update_documentation
Alexander Alekhin [Wed, 26 Jan 2022 17:37:51 +0000 (17:37 +0000)]
Merge pull request #21499 from sturkmen72:update_documentation

2 years agoMerge pull request #21490 from rogday:optional_outputs
Alexander Alekhin [Wed, 26 Jan 2022 15:18:07 +0000 (15:18 +0000)]
Merge pull request #21490 from rogday:optional_outputs

2 years agoMerge pull request #20832 from TolyaTalamanov:at/python-gstreamer-source
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>
2 years agodnn: apply hint to ignore denormals processing
Alexander Alekhin [Wed, 26 Jan 2022 05:00:47 +0000 (05:00 +0000)]
dnn: apply hint to ignore denormals processing

2 years agoMerge pull request #21506 from alalek:core_fp_denormals
Alexander Alekhin [Wed, 26 Jan 2022 08:52:27 +0000 (08:52 +0000)]
Merge pull request #21506 from alalek:core_fp_denormals

2 years agocore(parallel): propagate FP denormals mode
Alexander Alekhin [Mon, 24 Jan 2022 05:39:45 +0000 (05:39 +0000)]
core(parallel): propagate FP denormals mode

2 years agocore: FP denormals hints support
Alexander Alekhin [Tue, 11 Jan 2022 03:06:43 +0000 (03:06 +0000)]
core: FP denormals hints support

2 years agocmake: don't force -Werror=...
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

2 years agoMerge pull request #21514 from pkubaj:patch-1
Alexander Alekhin [Tue, 25 Jan 2022 18:44:26 +0000 (18:44 +0000)]
Merge pull request #21514 from pkubaj:patch-1

2 years agoMerge pull request #21441 from alexgiving:atrutnev/split3_simd_fluid
Alexander Alekhin [Tue, 25 Jan 2022 15:00:54 +0000 (15:00 +0000)]
Merge pull request #21441 from alexgiving:atrutnev/split3_simd_fluid

2 years agoDynamic Dispatching for split3
Aleksei Trutnev [Tue, 25 Jan 2022 15:13:30 +0000 (18:13 +0300)]
Dynamic Dispatching for split3

2 years agoMerge pull request #21512 from vrabaud:3.4_ub_drawing
Alexander Alekhin [Tue, 25 Jan 2022 13:42:49 +0000 (13:42 +0000)]
Merge pull request #21512 from vrabaud:3.4_ub_drawing

2 years agoFix VSX detection on FreeBSD
pkubaj [Tue, 25 Jan 2022 13:35:22 +0000 (13:35 +0000)]
Fix VSX detection on FreeBSD

hwcap should actually be long.

2 years agoFix undefined behavior in line drawing.
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.

2 years agoMerge pull request #21232 from sivanov-work:vpl_gpu_remote_infer
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

2 years agoMerge pull request #21501 from sturkmen72:update_samples
Alexander Alekhin [Mon, 24 Jan 2022 14:04:14 +0000 (14:04 +0000)]
Merge pull request #21501 from sturkmen72:update_samples

2 years agoandroid: set all zlib variables used by downstream packages
Stefan Dragnev [Mon, 24 Jan 2022 12:52:23 +0000 (13:52 +0100)]
android: set all zlib variables used by downstream packages

2 years agoMerge pull request #21505 from georgthegreat:patch-1
Alexander Alekhin [Mon, 24 Jan 2022 12:35:54 +0000 (12:35 +0000)]
Merge pull request #21505 from georgthegreat:patch-1

2 years agoDisable -Wreturn-type-c-linkage under clang-cl
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.

2 years agoUpdate python samples
Suleyman TURKMEN [Sat, 22 Jan 2022 08:27:01 +0000 (11:27 +0300)]
Update python samples

2 years agoMerge pull request #21500 from Kanaderu:fix-gst-audio-win
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

2 years agoMerge pull request #21497 from alalek:fix_build_gcc12_3.4
Alexander Alekhin [Sun, 23 Jan 2022 14:00:55 +0000 (14:00 +0000)]
Merge pull request #21497 from alalek:fix_build_gcc12_3.4

2 years agoUpdate imgcodecs.hpp
Suleyman TURKMEN [Fri, 14 Jan 2022 20:42:37 +0000 (23:42 +0300)]
Update imgcodecs.hpp

2 years agobuild: fix GCC12 compilation
Alexander Alekhin [Sat, 22 Jan 2022 11:48:44 +0000 (11:48 +0000)]
build: fix GCC12 compilation

2 years agoMerge pull request #21437 from alalek:dnn_api_explicit_const_4.x
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

2 years agoMerge pull request #21429 from alalek:dnn_api_explicit_const_3.4
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

2 years agodnn: fix API - explicit ctors, const methods
Alexander Alekhin [Wed, 12 Jan 2022 03:46:13 +0000 (03:46 +0000)]
dnn: fix API - explicit ctors, const methods

2 years agoadd optional outputs support and fix graph links
Smirnov Egor [Fri, 21 Jan 2022 09:31:46 +0000 (12:31 +0300)]
add optional outputs support and fix graph links

2 years agoMerge pull request #21453 from sturkmen72:bigtiff
Alexander Alekhin [Thu, 20 Jan 2022 20:00:28 +0000 (20:00 +0000)]
Merge pull request #21453 from sturkmen72:bigtiff

2 years agoMerge pull request #21349 from alalek:cmake_link_no_undefined
Alexander Alekhin [Thu, 20 Jan 2022 19:56:17 +0000 (19:56 +0000)]
Merge pull request #21349 from alalek:cmake_link_no_undefined

2 years agoMerge pull request #21483 from alalek:cmake_highgui_opengl_update_3.4
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

2 years agoMerge pull request #21478 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix
Alexander Alekhin [Thu, 20 Jan 2022 10:08:00 +0000 (10:08 +0000)]
Merge pull request #21478 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix

2 years agocmake(link): add '-Wl,--no-undefined'
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

2 years agocmake(highgui): update handling of OpenGL libraries
Alexander Alekhin [Thu, 20 Jan 2022 02:27:57 +0000 (02:27 +0000)]
cmake(highgui): update handling of OpenGL libraries

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 19 Jan 2022 19:29:58 +0000 (19:29 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agofix: submodules creation and registration
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

2 years agoMerge pull request #21362 from mpashchenkov:mp/ocv-gapi-suppress-warn
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

2 years agoMerge pull request #21468 from VadimLevin:dev/vlevin/handle-pymodule-add-object-result
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

2 years agoMerge pull request #21454 from sturkmen72:update_templates
Alexander Alekhin [Wed, 19 Jan 2022 11:26:42 +0000 (11:26 +0000)]
Merge pull request #21454 from sturkmen72:update_templates

2 years agoMerge pull request #21357 from rogday:model_diag
Alexander Alekhin [Tue, 18 Jan 2022 15:50:11 +0000 (15:50 +0000)]
Merge pull request #21357 from rogday:model_diag

2 years agoMerge pull request #21369 from UnaNancyOwen:fix_uwp
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

2 years agoMerge pull request #21470 from alalek:winpack_dldt_fix_21469
Alexander Alekhin [Tue, 18 Jan 2022 11:06:00 +0000 (11:06 +0000)]
Merge pull request #21470 from alalek:winpack_dldt_fix_21469

2 years agoMerge pull request #21467 from alalek:issue_21448
Alexander Alekhin [Tue, 18 Jan 2022 09:55:13 +0000 (09:55 +0000)]
Merge pull request #21467 from alalek:issue_21448

2 years agofix: handle possible PyModule_AddObject failure
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.

2 years agobuild(winpack_dldt): repair build with MSVS 2019 (16.11.9)
Alexander Alekhin [Tue, 18 Jan 2022 08:15:12 +0000 (08:15 +0000)]
build(winpack_dldt): repair build with MSVS 2019 (16.11.9)

2 years agocore(persistence): avoid NULL pointer dereference
Alexander Alekhin [Tue, 18 Jan 2022 04:53:44 +0000 (04:53 +0000)]
core(persistence): avoid NULL pointer dereference

2 years agoMerge pull request #20785 from smirnov-alexey:as/oak_backend
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

2 years agoMerge pull request #21361 from alalek:sample_fix_tracking
Alexander Alekhin [Mon, 17 Jan 2022 22:26:59 +0000 (22:26 +0000)]
Merge pull request #21361 from alalek:sample_fix_tracking

2 years agofix model diagnostic tool
rogday [Mon, 17 Jan 2022 21:03:43 +0000 (00:03 +0300)]
fix model diagnostic tool

2 years agodnn: fix API - explicit ctors, const methods
Alexander Alekhin [Wed, 12 Jan 2022 03:46:13 +0000 (03:46 +0000)]
dnn: fix API - explicit ctors, const methods

2 years agoMerge pull request #21451 from sturkmen72:update_imreadmulti_doc
Alexander Alekhin [Sun, 16 Jan 2022 15:55:27 +0000 (15:55 +0000)]
Merge pull request #21451 from sturkmen72:update_imreadmulti_doc

2 years agobigtiff images reading
Suleyman TURKMEN [Sat, 15 Jan 2022 01:43:20 +0000 (04:43 +0300)]
bigtiff images reading

2 years agoUpdate PULL_REQUEST_TEMPLATE.md and ISSUE_TEMPLATE.md
Suleyman TURKMEN [Sat, 15 Jan 2022 02:49:38 +0000 (05:49 +0300)]
Update PULL_REQUEST_TEMPLATE.md and ISSUE_TEMPLATE.md

2 years agoUpdate imgcodecs.hpp
Suleyman TURKMEN [Fri, 14 Jan 2022 20:36:53 +0000 (23:36 +0300)]
Update imgcodecs.hpp

2 years agoMerge pull request #21144 from anna-khakimova:ak/resize_simd_v2
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

2 years agoMerge pull request #20363 from SentToDevNull:master
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

2 years agoMerge pull request #21440 from mshabunin:fix-kw-2022-01
Alexander Alekhin [Thu, 13 Jan 2022 17:46:04 +0000 (17:46 +0000)]
Merge pull request #21440 from mshabunin:fix-kw-2022-01

2 years agoFixed issues found by static analysis
Maksim Shabunin [Wed, 12 Jan 2022 21:13:59 +0000 (00:13 +0300)]
Fixed issues found by static analysis

2 years agoMerge pull request #21424 from dbudniko:dbudniko/media_frame_adapter_enabling
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

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 12 Jan 2022 13:26:10 +0000 (13:26 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21426 from alalek:dnn_simd_unaligned_weights_fix
Alexander Alekhin [Wed, 12 Jan 2022 13:11:45 +0000 (13:11 +0000)]
Merge pull request #21426 from alalek:dnn_simd_unaligned_weights_fix

2 years agoMerge pull request #21422 from alexgiving:atrutnev/wrong_destination_size_deduction_r...
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

2 years agodnn: don't use aligned load without alignment checks
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)

2 years agofix rounding
Aleksei Trutnev [Tue, 11 Jan 2022 22:11:46 +0000 (01:11 +0300)]
fix rounding

2 years agoMerge pull request #21374 from cudawarped:fix_cuda_event_flags
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

2 years agoMerge pull request #21421 from vrabaud:3.4size_t
Alexander Alekhin [Tue, 11 Jan 2022 18:27:17 +0000 (18:27 +0000)]
Merge pull request #21421 from vrabaud:3.4size_t

2 years agoMerge pull request #21400 from Harvey-Huang:master
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.

2 years agoMerge pull request #21413 from berak:patch-1
Alexander Alekhin [Tue, 11 Jan 2022 15:41:50 +0000 (15:41 +0000)]
Merge pull request #21413 from berak:patch-1

2 years agoFix a potential UBSAN error.
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.

2 years agoMerge pull request #21409 from sturkmen72:patch-3
Alexander Alekhin [Mon, 10 Jan 2022 17:35:38 +0000 (17:35 +0000)]
Merge pull request #21409 from sturkmen72:patch-3

2 years agoUpdate documentation
Suleyman TURKMEN [Fri, 7 Jan 2022 13:51:21 +0000 (16:51 +0300)]
Update documentation

2 years agoMerge pull request #21416 from alalek:videoio_msmf_sourcereadercb_dtor_message_info
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

2 years agoMerge pull request #21405 from h6197627:3.4
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

2 years agovideoio(msmf): use info message in SourceReaderCB destructor
Alexander Alekhin [Mon, 10 Jan 2022 09:16:01 +0000 (12:16 +0300)]
videoio(msmf): use info message in SourceReaderCB destructor

2 years agoMerge pull request #21412 from crackwitz:kmeans-N-ge-K-message
Alexander Alekhin [Sun, 9 Jan 2022 21:01:28 +0000 (21:01 +0000)]
Merge pull request #21412 from crackwitz:kmeans-N-ge-K-message

2 years agoUpdate stitching_detailed.py
berak [Sun, 9 Jan 2022 11:26:24 +0000 (12:26 +0100)]
Update stitching_detailed.py

resolves: #21406

use constructors consistently

2 years agokmeans: assertion "There can't be more clusters than elements"
Christoph Rackwitz [Sat, 8 Jan 2022 22:42:21 +0000 (23:42 +0100)]
kmeans: assertion "There can't be more clusters than elements"

2 years agoMerge pull request #21398 from thegrizzlylabs:fix-catalyst-arch
Alexander Alekhin [Thu, 6 Jan 2022 11:34:48 +0000 (11:34 +0000)]
Merge pull request #21398 from thegrizzlylabs:fix-catalyst-arch