platform/upstream/opencv.git
19 months agoMerge pull request #22828 from WanliZhong:improve_matmul
Alexander Smorkalov [Thu, 15 Dec 2022 10:36:22 +0000 (13:36 +0300)]
Merge pull request #22828 from WanliZhong:improve_matmul

DNN: make MatMul support 3D or 4D with broadcast

19 months agoMerge pull request #22919 from asmorkalov:as/gstreamer_read_timeout
Alexander Smorkalov [Thu, 15 Dec 2022 09:53:22 +0000 (12:53 +0300)]
Merge pull request #22919 from asmorkalov:as/gstreamer_read_timeout

Address https://github.com/opencv/opencv/issues/22868
Used the same defaults as it's done for FFmpeg

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake

```
force_builders=Custom
build_image:Custom=gstreamer:16.04
buildworker:Custom=linux-1
```

19 months agoMerge pull request #22891 from AleksandrPanov:qr_add_alignment
Alexander Smorkalov [Thu, 15 Dec 2022 06:39:58 +0000 (09:39 +0300)]
Merge pull request #22891 from AleksandrPanov:qr_add_alignment

Use QR code alignment markers

19 months agomake MatMul support 3D or 4D with broadcast
zoom [Thu, 15 Dec 2022 02:36:08 +0000 (10:36 +0800)]
make MatMul support 3D or 4D with broadcast

19 months agoMerge pull request #22951 from zihaomu:update_nanotrack_comment
Alexander Alekhin [Wed, 14 Dec 2022 21:21:49 +0000 (21:21 +0000)]
Merge pull request #22951 from zihaomu:update_nanotrack_comment

19 months agoMerge pull request #22958 from asmorkalov:as/ffmpeg_missing_include
Alexander Alekhin [Wed, 14 Dec 2022 21:16:07 +0000 (21:16 +0000)]
Merge pull request #22958 from asmorkalov:as/ffmpeg_missing_include

19 months agoadd alignment detect
AleksandrPanov [Wed, 14 Dec 2022 20:56:57 +0000 (23:56 +0300)]
add alignment detect

19 months agoMerge pull request #22939 from stopmosk:21826-python-bindings-for-videocapturewaitany
Sergei Shutov [Wed, 14 Dec 2022 19:15:02 +0000 (21:15 +0200)]
Merge pull request #22939 from stopmosk:21826-python-bindings-for-videocapturewaitany

Add Python bindings for VideoCapture::waitAny #21826

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake

19 months agoMerge pull request #22675 from CSBVision:patch-2
Alexander Smorkalov [Wed, 14 Dec 2022 12:41:34 +0000 (15:41 +0300)]
Merge pull request #22675 from CSBVision:patch-2

Update OpenCVDetectCUDA.cmake

19 months agoFix missing FFmpeg include needed for av_get_pix_fmt_name
Alexander Smorkalov [Wed, 14 Dec 2022 10:09:37 +0000 (13:09 +0300)]
Fix missing FFmpeg include needed for av_get_pix_fmt_name

19 months agoadd nanotrack v2 at regression test.
zihaomu [Wed, 14 Dec 2022 06:41:49 +0000 (14:41 +0800)]
add nanotrack v2 at regression test.

19 months agoUpdate OpenCVDetectCUDA.cmake
CSBVision [Fri, 21 Oct 2022 07:22:25 +0000 (09:22 +0200)]
Update OpenCVDetectCUDA.cmake

Adds the option to enable delay loading of CUDA DLLs on Windows. This is particularly useful to use the same binary on systems with and without CUDA support without distributing the CUDA DLLs to systems that cannot use them at all due to missing CUDA-supported hardware.
Resolves #13509

19 months agoMerge pull request #22924 from alalek:logger_strip_base_dir
Alexander Smorkalov [Tue, 13 Dec 2022 12:28:10 +0000 (15:28 +0300)]
Merge pull request #22924 from alalek:logger_strip_base_dir

core(logger): strip opencv's modules base path

19 months agoMerge pull request #22928 from alalek:riscv_toolchains
Alexander Alekhin [Tue, 13 Dec 2022 06:32:16 +0000 (06:32 +0000)]
Merge pull request #22928 from alalek:riscv_toolchains

19 months agoMerge pull request #22942 from alalek:videoio_test_update_hw_checks
Alexander Alekhin [Mon, 12 Dec 2022 12:38:14 +0000 (15:38 +0300)]
Merge pull request #22942 from alalek:videoio_test_update_hw_checks

* videoio(test): update PSNR check for H264/265

* videoio(test): reduce size for ffmpeg tests on 32-bit platforms

19 months agobuild(riscv): suppress massive -Wignored-attributes warnings
Alexander Alekhin [Sun, 11 Dec 2022 17:10:00 +0000 (17:10 +0000)]
build(riscv): suppress massive -Wignored-attributes warnings

19 months agoMerge pull request #22940 from alalek:build_warnings_msvc
Alexander Alekhin [Sat, 10 Dec 2022 14:42:13 +0000 (14:42 +0000)]
Merge pull request #22940 from alalek:build_warnings_msvc

19 months agobuild: fix/eliminate MSVC warnings
Alexander Alekhin [Sat, 10 Dec 2022 02:08:48 +0000 (02:08 +0000)]
build: fix/eliminate MSVC warnings

19 months agocmake: fix RISC-V toolchains
Alexander Alekhin [Mon, 5 Dec 2022 09:11:11 +0000 (09:11 +0000)]
cmake: fix RISC-V toolchains

- RVV options are moved to configuration scripts instead of toolchains

19 months agoMerge pull request #22922 from alalek:fix_riscv_intrin_rvv
Alexander Alekhin [Thu, 8 Dec 2022 22:07:46 +0000 (22:07 +0000)]
Merge pull request #22922 from alalek:fix_riscv_intrin_rvv

19 months agoMerge pull request #22932 from alalek:cmake_drop_libjpeg_simd_warning
Alexander Alekhin [Thu, 8 Dec 2022 22:07:30 +0000 (22:07 +0000)]
Merge pull request #22932 from alalek:cmake_drop_libjpeg_simd_warning

19 months agoMerge pull request #22933 from alalek:fixup_22894
Alexander Alekhin [Thu, 8 Dec 2022 22:07:04 +0000 (22:07 +0000)]
Merge pull request #22933 from alalek:fixup_22894

19 months agocmake(3rdparty): drop simd warning in libjpeg-turbo
Alexander Alekhin [Thu, 8 Dec 2022 16:44:45 +0000 (16:44 +0000)]
cmake(3rdparty): drop simd warning in libjpeg-turbo

19 months agovideoio(test): test skip due to non-updated FFmpeg wrapper
Alexander Alekhin [Thu, 8 Dec 2022 17:18:29 +0000 (17:18 +0000)]
videoio(test): test skip due to non-updated FFmpeg wrapper

19 months agoMerge pull request #22882 from zihaomu:gemm_first_const
Alexander Alekhin [Thu, 8 Dec 2022 14:18:33 +0000 (14:18 +0000)]
Merge pull request #22882 from zihaomu:gemm_first_const

19 months agoMerge pull request #22894 from mshabunin:ffmpeg-16bit
Alexander Alekhin [Thu, 8 Dec 2022 14:12:51 +0000 (14:12 +0000)]
Merge pull request #22894 from mshabunin:ffmpeg-16bit

19 months agoMerge pull request #22840 from zihaomu:optimze_conv_memory_usage
Zihao Mu [Thu, 8 Dec 2022 12:57:13 +0000 (20:57 +0800)]
Merge pull request #22840 from zihaomu:optimze_conv_memory_usage

DNN: reduce the memory used in convolution layer

* reduce the memory in winograd and disabel the test when usage memory is larger than 2gb.

* remove VERY_LOG tag

19 months agocore(logger): strip path prefix
Alexander Alekhin [Tue, 6 Dec 2022 23:32:10 +0000 (23:32 +0000)]
core(logger): strip path prefix

19 months agoMerge pull request #22885 from asmorkalov:as/new_qt_icons
Alexander Smorkalov [Wed, 7 Dec 2022 11:25:31 +0000 (14:25 +0300)]
Merge pull request #22885 from asmorkalov:as/new_qt_icons

Switch QT UI to icons with Google Material Design

19 months agovideoio/FFmpeg: added CV_16UC1 read/write support
Maksim Shabunin [Wed, 30 Nov 2022 22:29:43 +0000 (01:29 +0300)]
videoio/FFmpeg: added CV_16UC1 read/write support

19 months agorisc-v: fix RVV backend on clang with undefined CV_RVV_SCALABLE
Alexander Alekhin [Tue, 6 Dec 2022 11:53:20 +0000 (11:53 +0000)]
risc-v: fix RVV backend on clang with undefined CV_RVV_SCALABLE

- v_interleave_quads
- v_pack_triplets
- v_signmask

19 months agoMerge pull request #22808 from zihaomu:nanotrack
Zihao Mu [Tue, 6 Dec 2022 05:54:32 +0000 (13:54 +0800)]
Merge pull request #22808 from zihaomu:nanotrack

[teset data in opencv_extra](https://github.com/opencv/opencv_extra/pull/1016)

NanoTrack is an extremely lightweight and fast object-tracking model.
The total size is **1.1 MB**.
And the FPS on M1 chip is **150**, on Raspberry Pi 4 is about **30**. (Float32 CPU only)

With this model, many users can run object tracking on the edge device.

The author of NanoTrack is @HonglinChu.
The original repo is https://github.com/HonglinChu/NanoTrack.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake

19 months agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 3 Dec 2022 05:46:23 +0000 (05:46 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

19 months agoMerge pull request #22865 from cpoerschke:3.4-issue-22860
Christine Poerschke [Sat, 3 Dec 2022 05:29:04 +0000 (05:29 +0000)]
Merge pull request #22865 from cpoerschke:3.4-issue-22860

ocl_minMaxIdx to call minmaxloc.cl for OpenCL 1.2+ only

19 months agoMerge pull request #22888 from alalek:dnn_ov_fix_custom_layers
Alexander Alekhin [Sat, 3 Dec 2022 05:24:28 +0000 (05:24 +0000)]
Merge pull request #22888 from alalek:dnn_ov_fix_custom_layers

19 months agoMerge pull request #22910 from alalek:cmake_pkg_config_ignore_atomic
Alexander Alekhin [Sat, 3 Dec 2022 05:22:04 +0000 (05:22 +0000)]
Merge pull request #22910 from alalek:cmake_pkg_config_ignore_atomic

19 months agodnn(test): restore openvino tests with 'Cannot get memory' message
Alexander Alekhin [Fri, 2 Dec 2022 23:55:16 +0000 (23:55 +0000)]
dnn(test): restore openvino tests with 'Cannot get memory' message

19 months agodnn(openvino): fix custom layers BlockingDesc
Alexander Alekhin [Wed, 30 Nov 2022 01:26:09 +0000 (01:26 +0000)]
dnn(openvino): fix custom layers BlockingDesc

19 months agocmake: ocv_check_modules: ignore -latomic and -lstdc++
Alexander Alekhin [Fri, 2 Dec 2022 22:48:40 +0000 (22:48 +0000)]
cmake: ocv_check_modules: ignore -latomic and -lstdc++

19 months agoSwitch QT UI to icons with Google Material Design.
Alexander Smorkalov [Tue, 29 Nov 2022 13:41:01 +0000 (16:41 +0300)]
Switch QT UI to icons with Google Material Design.

19 months agoMerge pull request #22899 from mshabunin:fix-videoio-plugin
Alexander Alekhin [Thu, 1 Dec 2022 21:39:15 +0000 (21:39 +0000)]
Merge pull request #22899 from mshabunin:fix-videoio-plugin

19 months agovideoio: fixed FFmpeg plugin build
Maksim Shabunin [Thu, 1 Dec 2022 12:13:52 +0000 (15:13 +0300)]
videoio: fixed FFmpeg plugin build

19 months agoMerge pull request #22594 from ZhaoChuyang:pr_test_for_22253
Alexander Smorkalov [Thu, 1 Dec 2022 10:47:32 +0000 (13:47 +0300)]
Merge pull request #22594 from ZhaoChuyang:pr_test_for_22253

add test for PR #22253

19 months agorefactor: rework test to be more specific
Vadim Levin [Wed, 30 Nov 2022 14:40:38 +0000 (17:40 +0300)]
refactor: rework test to be more specific

19 months agoadd test
赵楚洋 [Sun, 2 Oct 2022 09:06:07 +0000 (17:06 +0800)]
add test

19 months agoMerge pull request #22796 from ClayXrex:patch-1
Alexander Smorkalov [Wed, 30 Nov 2022 11:26:07 +0000 (14:26 +0300)]
Merge pull request #22796 from ClayXrex:patch-1

fix: typo in opencv-python tutorials

19 months agoMerge pull request #22792 from tailsu:sd/avfoundation-orientation-meta
Alexander Smorkalov [Wed, 30 Nov 2022 11:25:09 +0000 (14:25 +0300)]
Merge pull request #22792 from tailsu:sd/avfoundation-orientation-meta

Add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend

19 months agofix: typo
ClayXrex [Sat, 12 Nov 2022 11:31:57 +0000 (12:31 +0100)]
fix: typo

19 months agoMerge pull request #22857 from fengyuentau:batched_nms
Alexander Smorkalov [Wed, 30 Nov 2022 09:37:49 +0000 (12:37 +0300)]
Merge pull request #22857 from fengyuentau:batched_nms

dnn: add batched nms

19 months agoMerge pull request #22809 from fengyuentau:tile
Alexander Smorkalov [Tue, 29 Nov 2022 11:42:28 +0000 (14:42 +0300)]
Merge pull request #22809 from fengyuentau:tile

dnn: support ONNX Tile

19 months agogemm support transA and transB, and first input is constance.
zihaomu [Tue, 29 Nov 2022 09:13:36 +0000 (17:13 +0800)]
gemm support transA and transB, and first input is constance.

19 months agobatched nms impl
fengyuentau [Thu, 24 Nov 2022 02:20:04 +0000 (10:20 +0800)]
batched nms impl

19 months agotile impl
fengyuentau [Tue, 15 Nov 2022 06:29:30 +0000 (14:29 +0800)]
tile impl

19 months agoMerge pull request #22873 from WanliZhong:issue22859
Alexander Alekhin [Mon, 28 Nov 2022 19:10:51 +0000 (19:10 +0000)]
Merge pull request #22873 from WanliZhong:issue22859

19 months agoMerge pull request #22875 from asmorkalov:as/cl_error_code_fix
Alexander Alekhin [Mon, 28 Nov 2022 19:05:59 +0000 (19:05 +0000)]
Merge pull request #22875 from asmorkalov:as/cl_error_code_fix

19 months agoMerge pull request #22520 from hanliutong:hsv
HAN Liutong [Mon, 28 Nov 2022 18:28:14 +0000 (02:28 +0800)]
Merge pull request #22520 from hanliutong:hsv

Modify the SIMD loop in color_hsv.

* Modify the SIMD loops in color_hsv.

* Add FP supporting in bit logic.

* Add temporary compatibility code.

* Use max_nlanes instead of vlanes for array declaration.

* Use "CV_SIMD || CV_SIMD_SCALABLE".

* Revert the modify of the Universal Intrinsic API

* Fix warnings.

* Use v_select instead of bits manipulation.

19 months agoMerge pull request #22695 from AleksandrPanov:qr_improve_version_detect
Alexander Smorkalov [Mon, 28 Nov 2022 16:50:02 +0000 (19:50 +0300)]
Merge pull request #22695 from AleksandrPanov:qr_improve_version_detect

Improve QR code version estimation

19 months agoadd getNumModules(), add decode version
AleksandrPanov [Mon, 28 Nov 2022 14:45:09 +0000 (17:45 +0300)]
add getNumModules(), add decode version

19 months agoMore fixes for OpenCL error reporting.
Alexander Smorkalov [Mon, 28 Nov 2022 06:47:51 +0000 (09:47 +0300)]
More fixes for OpenCL error reporting.

19 months agolet MatMul can work when both two inputs are const
zoom [Sun, 27 Nov 2022 09:32:41 +0000 (17:32 +0800)]
let MatMul can work when both two inputs are const

19 months agoMerge pull request #22866 from asmorkalov:as/error_formatting
Alexander Alekhin [Fri, 25 Nov 2022 22:47:19 +0000 (22:47 +0000)]
Merge pull request #22866 from asmorkalov:as/error_formatting

19 months agoadd support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend
Stefan Dragnev [Thu, 10 Nov 2022 17:08:59 +0000 (18:08 +0100)]
add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend

* extract rotateFrame as free function, rename to applyMetadataRotation
* LegacyCapture::get() always return 0, if cap is null

19 months agoFixed OpenGL errors formatting.
Alexander Smorkalov [Fri, 25 Nov 2022 13:46:12 +0000 (16:46 +0300)]
Fixed OpenGL errors formatting.

19 months agoMerge pull request #22855 from kallaballa:print_cl_status_on_fail
Amir Hassan [Fri, 25 Nov 2022 06:13:57 +0000 (07:13 +0100)]
Merge pull request #22855 from kallaballa:print_cl_status_on_fail

Print CL status code on error in opengl interop functions

19 months agoMerge pull request #22478 from WanliZhong:nary_eltwise_cuda
Alexander Smorkalov [Tue, 22 Nov 2022 13:15:50 +0000 (16:15 +0300)]
Merge pull request #22478 from WanliZhong:nary_eltwise_cuda

DNN: Let part of the operators in nary_eltwise support CUDA

19 months agoMerge pull request #22838 from dan-masek:fix_issue_22837
Dan Mašek [Tue, 22 Nov 2022 10:47:27 +0000 (11:47 +0100)]
Merge pull request #22838 from dan-masek:fix_issue_22837

Fix issue 22837: No more blank buttons on toolbar after resizing the window

19 months agoMerge pull request #22830 from alalek:issue_22752
Alexander Smorkalov [Tue, 22 Nov 2022 09:50:02 +0000 (12:50 +0300)]
Merge pull request #22830 from alalek:issue_22752

imgcodecs: ensure parameters are key-value pairs, fix HDR encoder

19 months agoMerge pull request #22775 from WanliZhong:issue22713
Alexander Alekhin [Mon, 21 Nov 2022 19:55:47 +0000 (19:55 +0000)]
Merge pull request #22775 from WanliZhong:issue22713

19 months agoMerge pull request #22806 from dan-masek:fix_issue_22767
Alexander Alekhin [Mon, 21 Nov 2022 19:53:34 +0000 (19:53 +0000)]
Merge pull request #22806 from dan-masek:fix_issue_22767

19 months agoMerge pull request #22842 from asmorkalov:as/pr_22737_backport
Alexander Smorkalov [Mon, 21 Nov 2022 10:41:44 +0000 (13:41 +0300)]
Merge pull request #22842 from asmorkalov:as/pr_22737_backport

backport #22737: Cocoa/highgui: Set [NSApp activateIgnoringOtherApps] to spawn window on top

19 months agoCocoa/highgui: Set activateIgnoringOtherApps
fwcd [Tue, 1 Nov 2022 17:24:10 +0000 (18:24 +0100)]
Cocoa/highgui: Set activateIgnoringOtherApps

19 months agoMerge pull request #22737 from fwcd:activate-cocoa-window-on-top
Alexander Smorkalov [Mon, 21 Nov 2022 09:28:00 +0000 (12:28 +0300)]
Merge pull request #22737 from fwcd:activate-cocoa-window-on-top

Cocoa/highgui: Set `[NSApp activateIgnoringOtherApps]` to spawn window on top

19 months agoMerge pull request #22839 from zchrissirhcz:fix-typo-3.4
Alexander Alekhin [Mon, 21 Nov 2022 07:48:03 +0000 (07:48 +0000)]
Merge pull request #22839 from zchrissirhcz:fix-typo-3.4

19 months agoMerge pull request #22831 from mshabunin:fix-gapi-test-crash
Alexander Alekhin [Mon, 21 Nov 2022 07:33:54 +0000 (07:33 +0000)]
Merge pull request #22831 from mshabunin:fix-gapi-test-crash

19 months agofix typo: Gausssian to Gaussian
Zhuo Zhang [Mon, 21 Nov 2022 02:44:12 +0000 (10:44 +0800)]
fix typo: Gausssian to Gaussian

19 months agoMerge pull request #22805 from dan-masek:fix_issue_22766
Alexander Alekhin [Sun, 20 Nov 2022 22:28:24 +0000 (22:28 +0000)]
Merge pull request #22805 from dan-masek:fix_issue_22766

19 months agoFix #22766: Corrected off-by one error causing inconsistent row spacing. (rebased...
Dan Mašek [Tue, 15 Nov 2022 00:04:03 +0000 (01:04 +0100)]
Fix #22766: Corrected off-by one error causing inconsistent row spacing. (rebased to 3.4)

19 months agoFix #22767: Ensure that the buttons are spaced to the size of the toolbar window...
Dan Mašek [Tue, 15 Nov 2022 00:18:46 +0000 (01:18 +0100)]
Fix #22767: Ensure that the buttons are spaced to the size of the toolbar window, which is always visible. (rebased to 3.x)

19 months agoimgcodecs: ensure parameters are key-value pairs, fix HDR encoder
Alexander Alekhin [Fri, 18 Nov 2022 18:09:26 +0000 (18:09 +0000)]
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder

20 months agogapi: fix InferWithReshape test crash when data is not found
Maksim Shabunin [Fri, 18 Nov 2022 22:56:45 +0000 (01:56 +0300)]
gapi: fix InferWithReshape test crash when data is not found

20 months agoMerge pull request #22735 from TolyaTalamanov:at/expose-all-imgproc-to-python
Anatoliy Talamanov [Fri, 18 Nov 2022 15:25:51 +0000 (15:25 +0000)]
Merge pull request #22735 from TolyaTalamanov:at/expose-all-imgproc-to-python

G-API Expose all imgproc operations to python

* Expose imgproc operations

* Fix alignment

20 months agoMerge pull request #22771 from kallaballa:opencl_hls_and_hsv_conversions_bug
Alexander Smorkalov [Thu, 17 Nov 2022 10:36:18 +0000 (13:36 +0300)]
Merge pull request #22771 from kallaballa:opencl_hls_and_hsv_conversions_bug

define the number of dstChannels for HLS and HSV conversion as well

20 months agoMerge pull request #22814 from AleksandrPanov:log_qr_version
Alexander Smorkalov [Thu, 17 Nov 2022 08:02:11 +0000 (11:02 +0300)]
Merge pull request #22814 from AleksandrPanov:log_qr_version

log QR version and corners

20 months agoMerge pull request #22727 from su77ungr:patch-1
su77ungr [Thu, 17 Nov 2022 06:54:25 +0000 (07:54 +0100)]
Merge pull request #22727 from su77ungr:patch-1

Rename file name to correct spelling

20 months agoMerge pull request #22816 from cudawarped/remove_windows_cuda_dll_warning
Alexander Smorkalov [Thu, 17 Nov 2022 06:17:18 +0000 (09:17 +0300)]
Merge pull request #22816 from cudawarped/remove_windows_cuda_dll_warning

Suppress CUDA nvcc generated warnings #1394-D and #1388-D on windows

20 months agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 16 Nov 2022 16:47:15 +0000 (16:47 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

20 months agoMerge pull request #22559 from smirnov-alexey:as/vpl_ocl
Alexander Alekhin [Wed, 16 Nov 2022 16:24:48 +0000 (19:24 +0300)]
Merge pull request #22559 from smirnov-alexey:as/vpl_ocl

G-API: Connect OneVPL source and OpenCL backend

20 months agoCopy mpashchenkov's changes
Alexey Smirnov [Fri, 23 Sep 2022 11:08:29 +0000 (12:08 +0100)]
Copy mpashchenkov's changes

Minor refactoring

Partially address review comments

Move DX-related stuff from the sample to a default source

Simplify the default OneVPL config

Address minor review comments

Add class for the default VPL source

WIP: Add initial stub for tests with description

Removing default vpl source and minor refactoring

Refactor default files

Fix build and application crash

Address review comments

Add test on VPL + OCL interaction compared to CPU behavior

Fix test

20 months agoSuppress
cudawarped [Wed, 16 Nov 2022 09:14:17 +0000 (11:14 +0200)]
Suppress
warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface
from windows CUDA builds.

20 months agolog QR version and corners
AleksandrPanov [Wed, 16 Nov 2022 07:41:13 +0000 (10:41 +0300)]
log QR version and corners

20 months agoMerge pull request #22811 from alalek:core_check_bool
Alexander Alekhin [Wed, 16 Nov 2022 04:06:23 +0000 (04:06 +0000)]
Merge pull request #22811 from alalek:core_check_bool

20 months agoMerge pull request #22801 from alalek:update_zlib
Alexander Alekhin [Wed, 16 Nov 2022 04:05:08 +0000 (07:05 +0300)]
Merge pull request #22801 from alalek:update_zlib

* 3rdparty: zlib 1.2.12 => 1.2.13

https://github.com/madler/zlib/releases/tag/v1.2.13

- replace README -> LICENSE in install distribution

* 3rdparty(zlib): re-apply patch 20190330-ununitialized-use-state-check.diff

20 months agoMerge pull request #22804 from dan-masek:fix_issue_22765
Alexander Smorkalov [Tue, 15 Nov 2022 12:02:23 +0000 (15:02 +0300)]
Merge pull request #22804 from dan-masek:fix_issue_22765

Fix #22765

20 months agocore: support CV_Check*() macros with 'bool' parameters
Alexander Alekhin [Tue, 15 Nov 2022 09:55:22 +0000 (09:55 +0000)]
core: support CV_Check*() macros with 'bool' parameters

20 months agoMerge pull request #22802 from zihaomu:fix_infinit_loop_in_tf_34
Alexander Smorkalov [Tue, 15 Nov 2022 08:45:14 +0000 (11:45 +0300)]
Merge pull request #22802 from zihaomu:fix_infinit_loop_in_tf_34

Fix infinit loop in tf 3.4 branch

20 months agofix the infinite loop in tf importer of 3.4 branch
zihaomu [Tue, 15 Nov 2022 03:42:10 +0000 (11:42 +0800)]
fix the infinite loop in tf importer of 3.4 branch

20 months agoFix #22765: Remove unnecessary function resulting in infinite recursion. Since In...
Dan Mašek [Mon, 14 Nov 2022 23:44:51 +0000 (00:44 +0100)]
Fix #22765: Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the `window` parameters.

20 months agoMerge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2
Amir Hassan [Fri, 11 Nov 2022 22:28:02 +0000 (23:28 +0100)]
Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2

Introduce libavdevice to make v4l2 available to the ffmpeg backend

* introduce libavdevice to make v4l2 available to the ffmpeg backend

* downgrade the min required libavdevice version to 53.2.0

* make libavdevice optional

* create OCV_OPTION OPENCV_FFMPEG_ENABLE_LIBAVDEVICE and add definition through ocv_add_external_target

* move OCV_OPTION 'OPENCV_FFMPEG_ENABLE_LIBAVDEVICE' to detect_ffmpeg.cmake

20 months agoMerge pull request #22790 from reunanen:add-capability-to-set-DWA-compression-level...
Juha Reunanen [Fri, 11 Nov 2022 08:40:53 +0000 (10:40 +0200)]
Merge pull request #22790 from reunanen:add-capability-to-set-DWA-compression-level-in-OpenEXR-encoding

OpenEXR encoder: add capability to set the DWA compression level

* OpenEXR encoder: add capability to set the DWA compression level from outside

* Do not try to call `header.dwaCompressionLevel()` if OpenEXR is not version 3 or later

* Minor cleanup

20 months agodefine the number of dstChannels for HLS and HSV conversion as well
kallaballa [Wed, 9 Nov 2022 00:32:07 +0000 (01:32 +0100)]
define the number of dstChannels for HLS and HSV conversion as well