platform/upstream/opencv.git
2 years agoMerge pull request #21253 from cabelo:allRrealsense
Alexander Alekhin [Fri, 17 Dec 2021 19:40:19 +0000 (19:40 +0000)]
Merge pull request #21253 from cabelo:allRrealsense

2 years agoMerge pull request #21282 from alalek:dnn_test_vulkan_skip
Alexander Alekhin [Fri, 17 Dec 2021 19:39:35 +0000 (19:39 +0000)]
Merge pull request #21282 from alalek:dnn_test_vulkan_skip

2 years agoMerge pull request #21176 from rogday:eltwise_layers
Alexander Alekhin [Fri, 17 Dec 2021 19:35:13 +0000 (19:35 +0000)]
Merge pull request #21176 from rogday:eltwise_layers

2 years agoAdd acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, hardswish, sin, sinh,...
Smirnov Egor [Thu, 2 Dec 2021 12:45:27 +0000 (15:45 +0300)]
Add acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, hardswish, sin, sinh, softplus, softsign, tan layers

2 years agodnn(test): skip failed tests on Vulkan backend
Alexander Alekhin [Fri, 17 Dec 2021 13:28:34 +0000 (13:28 +0000)]
dnn(test): skip failed tests on Vulkan backend

2 years agoMerge pull request #21231 from alexgiving:atrutnev/SIMD_SubRC_fluid
Trutnev Aleksei [Fri, 17 Dec 2021 13:42:47 +0000 (16:42 +0300)]
Merge pull request #21231 from alexgiving:atrutnev/SIMD_SubRC_fluid

GAPI FLUID: SIMD for SubRC kernel

* SIMD for SubRC

* Reverse subrc

2 years agoMerge pull request #21264 from MaximMilashchenko:AudioGStreamer
Maxim Milashchenko [Thu, 16 Dec 2021 19:43:02 +0000 (22:43 +0300)]
Merge pull request #21264 from MaximMilashchenko:AudioGStreamer

Audio GStreamer: added support .wav .flac audio formats

* added support .wav, lossless compressed audio formats

* fixed docs

* fixes

* videoio(gstreamer-audio): extra tests, improve error handling

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoMerge pull request #21267 from mshabunin:fix-kw-2021-12
Alexander Alekhin [Thu, 16 Dec 2021 18:51:47 +0000 (18:51 +0000)]
Merge pull request #21267 from mshabunin:fix-kw-2021-12

2 years agoMerge pull request #21268 from pccvlab:tf_Arg
Gruhuang [Thu, 16 Dec 2021 17:06:02 +0000 (01:06 +0800)]
Merge pull request #21268 from pccvlab:tf_Arg

add argmax and argmin parsing for tensorflow

* add argmax and argmin for tf

* remove whitespace

* remove whitespace

* remove static_cast

Signed-off-by: Crayon-new <1349159541@qq.com>
2 years agoFixed several issues found by static analysis
Maksim Shabunin [Wed, 15 Dec 2021 09:49:13 +0000 (12:49 +0300)]
Fixed several issues found by static analysis

2 years agoMerge pull request #21265 from alalek:dnn_onnx_test_filter_update_4.x
Alexander Alekhin [Thu, 16 Dec 2021 16:05:49 +0000 (16:05 +0000)]
Merge pull request #21265 from alalek:dnn_onnx_test_filter_update_4.x

2 years agodnn(test): update ONNX conformance filters (4.x)
Alexander Alekhin [Wed, 15 Dec 2021 20:46:28 +0000 (20:46 +0000)]
dnn(test): update ONNX conformance filters (4.x)

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 15 Dec 2021 16:27:21 +0000 (16:27 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21261 from alalek:dnn_onnx_test_filter_update
Alexander Alekhin [Wed, 15 Dec 2021 16:24:03 +0000 (16:24 +0000)]
Merge pull request #21261 from alalek:dnn_onnx_test_filter_update

2 years agodnn(test): update ONNX conformance filters
Alexander Alekhin [Wed, 15 Dec 2021 08:57:50 +0000 (08:57 +0000)]
dnn(test): update ONNX conformance filters

2 years agoMerge pull request #21246 from pccvlab:square
Alexander Alekhin [Wed, 15 Dec 2021 12:02:20 +0000 (12:02 +0000)]
Merge pull request #21246 from pccvlab:square

2 years agoMerge pull request #21259 from rogday:random_fixes
Alexander Alekhin [Wed, 15 Dec 2021 10:26:49 +0000 (10:26 +0000)]
Merge pull request #21259 from rogday:random_fixes

2 years agoMerge pull request #21254 from alalek:build_opencv_winpack_dldt_2021.4.2
Alexander Alekhin [Wed, 15 Dec 2021 08:17:09 +0000 (08:17 +0000)]
Merge pull request #21254 from alalek:build_opencv_winpack_dldt_2021.4.2

2 years agofix max_unpool missing attributes, add default value of keepdims in reducemean/max...
Smirnov Egor [Tue, 14 Dec 2021 17:54:43 +0000 (20:54 +0300)]
fix max_unpool missing attributes, add default value of keepdims in reducemean/max/sum, add support for keepdims=true in full reduction branch, add new padding type to Pad

2 years agoMerge pull request #20934 from SinM9:spectrogram_samples
Sinitsina Maria [Tue, 14 Dec 2021 17:33:26 +0000 (20:33 +0300)]
Merge pull request #20934 from SinM9:spectrogram_samples

AudioIO: add spectrogram samples for C++/python

2 years agoMerge pull request #21257 from alalek:imgproc_cvtcolor_lab_fix_nan
Alexander Alekhin [Tue, 14 Dec 2021 16:59:07 +0000 (16:59 +0000)]
Merge pull request #21257 from alalek:imgproc_cvtcolor_lab_fix_nan

2 years agoMerge pull request #21256 from zchrissirhcz:fix-3.4-pyramid-tutorial
Alexander Alekhin [Tue, 14 Dec 2021 16:58:52 +0000 (16:58 +0000)]
Merge pull request #21256 from zchrissirhcz:fix-3.4-pyramid-tutorial

2 years agoMerge pull request #21088 from rogday:onnx_tests
rogday [Tue, 14 Dec 2021 16:58:06 +0000 (19:58 +0300)]
Merge pull request #21088 from rogday:onnx_tests

Onnx conformance tests

* Add ONNX conformance tests

* dnn(test): add filters for ONNX conformance tests

* add filter lists for OCV backend

* address review comments

* move test_clip_inbounds to all_denylist

* address clip issue

* avoid empty lists

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoimgproc: catch NaNs in clip(), use table index debug check
Alexander Alekhin [Sat, 11 Dec 2021 17:28:21 +0000 (17:28 +0000)]
imgproc: catch NaNs in clip(), use table index debug check

- no NaN propagation guarantee

2 years agoMerge pull request #21150 from alexgiving:atrutnev/fluid_perf
Trutnev Aleksei [Tue, 14 Dec 2021 15:16:59 +0000 (18:16 +0300)]
Merge pull request #21150 from alexgiving:atrutnev/fluid_perf

GAPI: Add compare function to perf tests

* Add PhasePerfTest and SqrtPerfTest

* rebasing

* debug tests

* remove spaces

* Disable DivRCPerfTestGPU

* rebase

* Applied comments

* Correction

* Revert parameter changes

2 years agoMerge pull request #21251 from vrabaud:3.4_bayer
Alexander Alekhin [Tue, 14 Dec 2021 15:15:07 +0000 (15:15 +0000)]
Merge pull request #21251 from vrabaud:3.4_bayer

2 years agodocs: correct normalize factor in gaussian pyramid tutorial
Zhuo Zhang [Tue, 14 Dec 2021 13:06:02 +0000 (21:06 +0800)]
docs: correct normalize factor in gaussian pyramid tutorial

2 years agobuild: winpack_dldt with dldt 2021.4.2
Alexander Alekhin [Mon, 13 Dec 2021 19:10:02 +0000 (19:10 +0000)]
build: winpack_dldt with dldt 2021.4.2

2 years agoIllustration about realsense
alessandro faria [Tue, 14 Dec 2021 06:21:31 +0000 (03:21 -0300)]
Illustration about realsense

2 years agoFix harmless signed integer overflow.
Vincent Rabaud [Mon, 13 Dec 2021 22:43:49 +0000 (23:43 +0100)]
Fix harmless signed integer overflow.

When computing:
t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y;
there is a T (unsigned short or char) multiplied by an int which can overflow.
Then again, it is stored to t1 which is unsigned so the overflow disappears.
Keeping all unsigned is safer.

2 years agoMerge pull request #21250 from alalek:videoio_msmf_update_camera_3.4
Alexander Alekhin [Mon, 13 Dec 2021 22:24:33 +0000 (22:24 +0000)]
Merge pull request #21250 from alalek:videoio_msmf_update_camera_3.4

2 years agovideoio(MSMF): add queue for async ReadSample()
Alexander Alekhin [Mon, 6 Dec 2021 06:54:48 +0000 (09:54 +0300)]
videoio(MSMF): add queue for async ReadSample()

2 years agoMerge pull request #21202 from alalek:videoio_msmf_update_camera
Alexander Alekhin [Mon, 13 Dec 2021 20:38:14 +0000 (20:38 +0000)]
Merge pull request #21202 from alalek:videoio_msmf_update_camera

2 years agoMerge pull request #21178 from alalek:cmake_fix_soversion
Alexander Alekhin [Mon, 13 Dec 2021 19:00:58 +0000 (19:00 +0000)]
Merge pull request #21178 from alalek:cmake_fix_soversion

2 years agoMerge pull request #21204 from anna-khakimova:ak/move_simd_absdiffc
Alexander Alekhin [Mon, 13 Dec 2021 18:03:50 +0000 (18:03 +0000)]
Merge pull request #21204 from anna-khakimova:ak/move_simd_absdiffc

2 years agoMerge pull request #21247 from rogday:coverity_fix
Alexander Alekhin [Mon, 13 Dec 2021 17:16:03 +0000 (17:16 +0000)]
Merge pull request #21247 from rogday:coverity_fix

2 years agoMerge pull request #21166 from rayonnant14:issue_21105
Polina Smolnikova [Mon, 13 Dec 2021 17:12:49 +0000 (20:12 +0300)]
Merge pull request #21166 from rayonnant14:issue_21105

Fix intrinsics processing in case USAC parameters

* fixed USAC intrinsics processing

* change mat to matx33d, added test

2 years agoinitialize members
rogday [Mon, 13 Dec 2021 15:41:23 +0000 (18:41 +0300)]
initialize members

2 years agoadd square layer
cqn2219076254 [Mon, 13 Dec 2021 13:43:13 +0000 (21:43 +0800)]
add square layer

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 11 Dec 2021 15:18:57 +0000 (15:18 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21235 from jonay2000:fix-docs
Alexander Alekhin [Sat, 11 Dec 2021 15:14:43 +0000 (15:14 +0000)]
Merge pull request #21235 from jonay2000:fix-docs

2 years agoUpdate name from Gunner to Gunnar as that's the name he published his
Jonathan Dönszelmann [Sat, 11 Dec 2021 07:03:10 +0000 (08:03 +0100)]
Update name from Gunner to Gunnar as that's the name he published his
paper under.

2 years agocmake: update SOVERSION
Alexander Alekhin [Thu, 2 Dec 2021 13:32:59 +0000 (13:32 +0000)]
cmake: update SOVERSION

- OpenCV 4.x doesn't guarantee or maintain ABI compatibility
- We should increase SO version on each release

2 years agoMerge pull request #21193 from alalek:imgproc_test_bitexact_cvtcolor_yuv
Alexander Alekhin [Fri, 10 Dec 2021 16:11:06 +0000 (16:11 +0000)]
Merge pull request #21193 from alalek:imgproc_test_bitexact_cvtcolor_yuv

2 years agoMerge pull request #21228 from alalek:issue_21198
Alexander Alekhin [Fri, 10 Dec 2021 16:07:57 +0000 (16:07 +0000)]
Merge pull request #21228 from alalek:issue_21198

2 years agoMerge pull request #21161 from rogday:elu_alpha_4x
Alexander Alekhin [Fri, 10 Dec 2021 16:04:01 +0000 (16:04 +0000)]
Merge pull request #21161 from rogday:elu_alpha_4x

2 years agoMerge pull request #21086 from hanliutong:rvv-dnn
HAN Liutong [Fri, 10 Dec 2021 16:03:22 +0000 (00:03 +0800)]
Merge pull request #21086 from hanliutong:rvv-dnn

Further optimize DNN for RISC-V Vector.

* Optimize DNN on RVV by using vsetvl.

* Rename vl.

* Update fastConv by using setvl instead of mask.

* Fix fastDepthwiseConv

2 years agovideoio(MSMF): add queue for async ReadSample()
Alexander Alekhin [Mon, 6 Dec 2021 06:54:48 +0000 (09:54 +0300)]
videoio(MSMF): add queue for async ReadSample()

2 years agoMerge pull request #21222 from asenyaev:asen/replace_distutils_copy_tree
Alexander Alekhin [Fri, 10 Dec 2021 14:12:01 +0000 (14:12 +0000)]
Merge pull request #21222 from asenyaev:asen/replace_distutils_copy_tree

2 years agoMerge pull request #21154 from pccvlab:MatMul_with_two_inputs
Gruhuang [Fri, 10 Dec 2021 11:44:27 +0000 (19:44 +0800)]
Merge pull request #21154 from pccvlab:MatMul_with_two_inputs

Add BatchMatMul layer support for tf_importer

* two inputs

* support batch_matmul

* refactor: remove useless code

* refactor: decrease nesting

2 years agoMerge pull request #21227 from sbwilson:fix_framework_unicode_headers
Simon Wilson [Fri, 10 Dec 2021 11:36:14 +0000 (22:36 +1100)]
Merge pull request #21227 from sbwilson:fix_framework_unicode_headers

* fix unicode errors for framework headers

This would crash if the header file included non-ASCII characters. This change ensures that headers are read and written as UTF-8 encoded files instead of ascii.

* Adds spaces after commas

2 years agoMerge pull request #21194 from whalenpt:qt_opengl_build_fix
Alexander Alekhin [Fri, 10 Dec 2021 11:33:17 +0000 (11:33 +0000)]
Merge pull request #21194 from whalenpt:qt_opengl_build_fix

2 years agoMerge pull request #21074 from vrabaud:3.4_rect
Alexander Alekhin [Fri, 10 Dec 2021 11:32:03 +0000 (11:32 +0000)]
Merge pull request #21074 from vrabaud:3.4_rect

2 years agoMerge pull request #21230 from sivanov-work:gapi_win32_vpl_fix
Sergey Ivanov [Fri, 10 Dec 2021 08:58:59 +0000 (11:58 +0300)]
Merge pull request #21230 from sivanov-work:gapi_win32_vpl_fix

G-API: Fix Win32 build: uint64_t ->size_t

* Fix Win32 build: uint64_t ->size_t

* Fix for MAC

2 years agoReplaced distutils to shutil when copying files in a tree
Andrey Senyaev [Fri, 10 Dec 2021 08:46:27 +0000 (11:46 +0300)]
Replaced distutils to shutil when copying files in a tree

2 years agoFix broken build for Qt6 with options: WITH_QT=ON and WITH_OPENGL=ON
Patrick Whalen [Thu, 2 Dec 2021 19:10:30 +0000 (11:10 -0800)]
Fix broken build for Qt6 with options: WITH_QT=ON and WITH_OPENGL=ON

- QGLWidget changed to QOpenGLWidget in window_QT.h for Qt6 using
  typedef OpenCVQtWidgetBase for handling Qt version

- Implement Qt6/OpenGL functionality in window_QT.cpp

- Swap QGLWidget:: function calls for OpenCVQtWidgetBase:: function calls

- QGLWidget::updateGL deprecated, swap to QOpenGLWidget::update for Qt6

- Add preprocessor definition to detect Qt6 -- HAVE_QT6

- Add OpenGLWidgets to qdeps list in highgui CMakeLists.txt

- find_package CMake command added for locating Qt module OpenGLWidgets

- Added check that Qt6::OpenGLWidgets component is found. Shut off Qt-openGL functionality if not found.

2 years agoimgproc(ocl): fix resizeLN, avoid integer overflow
Alexander Alekhin [Thu, 9 Dec 2021 20:23:35 +0000 (20:23 +0000)]
imgproc(ocl): fix resizeLN, avoid integer overflow

2 years agoMerge pull request #21224 from UncleLLD:fix-cvtColor-error
UncleLLD [Thu, 9 Dec 2021 19:11:05 +0000 (03:11 +0800)]
Merge pull request #21224 from UncleLLD:fix-cvtColor-error

fix cvtColor-error

* fix gray image channel error

* fix gray image channel error

* fix cvtColor error after the video end

* fix cvtColor error after the video end and change next variable

* fix cvtColor error after the video end

* reset next variable

* fix cvtColor error after the video end

* fix cvtColor error after the video end

2 years agoSolve Rect overflow issues.
Vincent Rabaud [Wed, 17 Nov 2021 16:38:21 +0000 (17:38 +0100)]
Solve Rect overflow issues.

Fow now, it is possible to define valid rectangle for which some
functions overflow (e.g. br(), ares() ...).
This patch fixes the intersection operator so that it works with
any rectangle.

2 years agoMerge pull request #21219 from asenyaev:asen/remove_distutils
Andrey Senyaev [Wed, 8 Dec 2021 18:51:34 +0000 (21:51 +0300)]
Merge pull request #21219 from asenyaev:asen/remove_distutils

* Replaced distutils module to sysconfig

* Fixed getting a path to python lib

2 years agoMerge pull request #21218 from alalek:cmake_gapi_gstreamer_option
Alexander Alekhin [Wed, 8 Dec 2021 12:36:10 +0000 (12:36 +0000)]
Merge pull request #21218 from alalek:cmake_gapi_gstreamer_option

2 years agocmake: option to disable GStreamer in G-API
Alexander Alekhin [Wed, 8 Dec 2021 10:45:02 +0000 (10:45 +0000)]
cmake: option to disable GStreamer in G-API

- OPENCV_GAPI_GSTREAMER

2 years agoMerge pull request #21049 from sivanov-work:vpl_dx11_merge
Sergey Ivanov [Wed, 8 Dec 2021 07:09:33 +0000 (10:09 +0300)]
Merge pull request #21049 from sivanov-work:vpl_dx11_merge

G-API: oneVPL merge DX11 acceleration

* Merge DX11 initial

* Fold conditions row in MACRO in utils

* Inject DeviceSelector

* Turn on DeviceSelector in DX11

* Change sharedLock logic & Move FMT checking in FrameAdapter c-tor

* Move out NumSuggestFrame to configure params

* Drain file source fix

* Fix compilation

* Force zero initializetion of SharedLock

* Fix some compiler warnings

* Fix integer comparison warnings

* Fix integers in sample

* Integrate Demux

* Fix compilation

* Add predefined names for some CfgParam

* Trigger CI

* Fix MultithreadCtx bug, Add Dx11 GetBlobParam(), Get rif of ATL CComPtr

* Fix UT: remove unit test with deprecated video from opencv_extra

* Add creators for most usable CfgParam

* Eliminate some warnings

* Fix warning in GAPI_Assert

* Apply comments

* Add VPL wrapped header with MSVC pragma to get rid of global warning masking

2 years agoMerge pull request #21213 from alalek:issue_20850_case1
Alexander Alekhin [Tue, 7 Dec 2021 16:34:54 +0000 (16:34 +0000)]
Merge pull request #21213 from alalek:issue_20850_case1

2 years agocmake: fix OPENGL_LIBRARIES handling
Alexander Alekhin [Tue, 7 Dec 2021 05:47:54 +0000 (05:47 +0000)]
cmake: fix OPENGL_LIBRARIES handling

2 years agoMerge pull request #21208 from rogday:argminmax_dnn
Alexander Alekhin [Tue, 7 Dec 2021 12:11:39 +0000 (12:11 +0000)]
Merge pull request #21208 from rogday:argminmax_dnn

2 years agoMerge pull request #21212 from OrestChura:oc/fix_openvino_standalone_build
Alexander Alekhin [Tue, 7 Dec 2021 11:32:28 +0000 (11:32 +0000)]
Merge pull request #21212 from OrestChura:oc/fix_openvino_standalone_build

2 years agoMerge pull request #21205 from anna-khakimova:ak/fix_for_muldouble_gpu
Alexander Alekhin [Tue, 7 Dec 2021 10:24:49 +0000 (10:24 +0000)]
Merge pull request #21205 from anna-khakimova:ak/fix_for_muldouble_gpu

2 years agoGAPI GPU: fix for tests failure.
Anna Khakimova [Mon, 6 Dec 2021 11:56:20 +0000 (14:56 +0300)]
GAPI GPU: fix for tests failure.

2 years agoBring updates from openvino version of standalone files
OrestChura [Tue, 7 Dec 2021 01:18:36 +0000 (04:18 +0300)]
Bring updates from openvino version of standalone files

2 years agoadd ArgMax and ArgMin layers
Smirnov Egor [Mon, 6 Dec 2021 16:33:59 +0000 (19:33 +0300)]
add ArgMax and ArgMin layers

2 years agoMerge pull request #20709 from AsyaPronina:asyadev/integrate_gstreamer_source
Anastasiya(Asya) Pronina [Mon, 6 Dec 2021 16:54:21 +0000 (19:54 +0300)]
Merge pull request #20709 from AsyaPronina:asyadev/integrate_gstreamer_source

Ported GStreamerSource to OpenCV

* Ported GStreamerSource to OpenCV

* Fixed CI failures

* Whitespaces

* Whitespaces + removed exception from destructors C4722

* Removed assert for Priv's getSS and descr_of

* Removed assert for pull

* Fixed last review comment

Co-authored-by: Pashchenkov Maxim <maxim.pashchenkov@intel.com>
2 years agoMerge pull request #21188 from UncleLLD:fix-markdown-error
UncleLLD [Mon, 6 Dec 2021 16:14:17 +0000 (00:14 +0800)]
Merge pull request #21188 from UncleLLD:fix-markdown-error

fix issue 21187: markdown file: gray image does not have three dimensions

2 years agoGAPI Fluid: Enable dynamic dispatching for AbsDiffC kernel.
Anna Khakimova [Mon, 6 Dec 2021 10:59:26 +0000 (13:59 +0300)]
GAPI Fluid: Enable dynamic dispatching for AbsDiffC kernel.

2 years agoMerge pull request #21182 from mshabunin:split-cv2cpp
Maksim Shabunin [Sun, 5 Dec 2021 12:49:36 +0000 (15:49 +0300)]
Merge pull request #21182 from mshabunin:split-cv2cpp

Split cv2.cpp

* split cv2.cpp: util, numpy

* split cv2.cpp: convert

* split cv2.cpp: highgui, more utils

* split cv2.cpp: fix numpy import

2 years agoMerge pull request #21180 from tezz-io:4.x
Tejas M R [Sun, 5 Dec 2021 12:47:44 +0000 (18:17 +0530)]
Merge pull request #21180 from tezz-io:4.x

Added CV_PROP_RW macro to keypoints

* Added CV_PROP_RW macro to keypoints

As outlined in the feature request in the issue https://github.com/opencv/opencv/issues/21171 : the keypoints field has been made parsable by the bindings.

* Added test for keypoints

Added test to check if the CV_PROP_RW macro added in the previous commit makes keypoints public and accessible through the python API.

2 years agoMerge pull request #21167 from alalek:dnn_test_reenable_ov_2021_4
Alexander Alekhin [Sat, 4 Dec 2021 22:12:18 +0000 (22:12 +0000)]
Merge pull request #21167 from alalek:dnn_test_reenable_ov_2021_4

2 years agoMerge pull request #21145 from MaximMilashchenko:AudioUpdate
MaximMilashchenko [Sat, 4 Dec 2021 10:37:10 +0000 (13:37 +0300)]
Merge pull request #21145 from MaximMilashchenko:AudioUpdate

Audio MSMF: added the ability to set sample per second

* Audio MSMF: added the ability to set sample per second

* changed the valid sampling rate check

* fixed docs

* add test

* fixed warning

* fixed error

* fixed error

2 years agocarotene: disable YUV color conversions (bit-exact issue)
Alexander Alekhin [Sat, 4 Dec 2021 07:32:57 +0000 (07:32 +0000)]
carotene: disable YUV color conversions (bit-exact issue)

2 years agoimgproc(test): add bit-exact tests for YUV cvtColor conversions
Alexander Alekhin [Sat, 4 Dec 2021 04:36:01 +0000 (04:36 +0000)]
imgproc(test): add bit-exact tests for YUV cvtColor conversions

2 years agoMerge pull request #21147 from mjmdavis:4.x
Michael Davis [Fri, 3 Dec 2021 16:40:49 +0000 (08:40 -0800)]
Merge pull request #21147 from mjmdavis:4.x

* remove tickmarks on NSSlider

2 years agoMerge pull request #21012 from hanliutong:rvv_clang
HAN Liutong [Fri, 3 Dec 2021 15:13:24 +0000 (23:13 +0800)]
Merge pull request #21012 from hanliutong:rvv_clang

Update RVV backend for using Clang.

* Update cmake file of clang.

* Modify the RVV optimization on DNN to adapt to clang.

* Modify intrin_rvv: Disable some existing types.

* Modify intrin_rvv: Reinterpret instead of load&cast.

* Modify intrin_rvv: Update load&store without cast.

* Modify intrin_rvv: Rename vfredsum to fredosum.

* Modify intrin_rvv: Rewrite Check all/any by using vpopc.

* Modify intrin_rvv: Use reinterpret instead of c-style casting.

* Remove all macros which is not used in v_reinterpret

* Rename vpopc to vcpop according to spec.

2 years agodnn(test): re-enable tests which works with OpenVINO 2021.4.x
Alexander Alekhin [Tue, 30 Nov 2021 12:08:35 +0000 (12:08 +0000)]
dnn(test): re-enable tests which works with OpenVINO 2021.4.x

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 3 Dec 2021 12:32:49 +0000 (12:32 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21177 from anna-khakimova:ak/simd_mulc
Anna Khakimova [Fri, 3 Dec 2021 12:30:39 +0000 (15:30 +0300)]
Merge pull request #21177 from anna-khakimova:ak/simd_mulc

* GAPI Fluid: SIMD for MulC kernel.

* Changes for MulDouble kernel.

2 years agoMerge pull request #21041 from sivanov-work:gin_gout_concept
Sergey Ivanov [Fri, 3 Dec 2021 12:30:05 +0000 (15:30 +0300)]
Merge pull request #21041 from sivanov-work:gin_gout_concept

G-API: GAPI introduce compile guard for some types for gin/gout params passing

* Initial for taged solution

* Move out tags to gtags.hpp & add protection for own::Mat

* Add compile guard to proper place

* Fix MACRO concat

* Add unit tests

* Remove class MACRO injection due to Python3

* Revert back unproper changes

* Apply comments: reuse shape from traits

* Throw away unused gtags

* Apply comments

* Handle own::*

* Fix test

* Fix test(1)

* Fix unix build

* Try on type list

* Apply comments

* Apply comments

* Fix warning

2 years agoMerge pull request #21165 from utibenkei:fix_android_ndk_camera_order_of_u_and_v
Alexander Alekhin [Thu, 2 Dec 2021 17:16:35 +0000 (17:16 +0000)]
Merge pull request #21165 from utibenkei:fix_android_ndk_camera_order_of_u_and_v

2 years agoMerge pull request #21162 from rogday:softmax_simplification
Alexander Alekhin [Thu, 2 Dec 2021 17:14:48 +0000 (17:14 +0000)]
Merge pull request #21162 from rogday:softmax_simplification

2 years agoMerge pull request #21160 from rogday:elu_alpha
Alexander Alekhin [Thu, 2 Dec 2021 17:13:56 +0000 (17:13 +0000)]
Merge pull request #21160 from rogday:elu_alpha

2 years agoMerge pull request #21159 from rogday:ceil_mode
rogday [Thu, 2 Dec 2021 17:11:11 +0000 (20:11 +0300)]
Merge pull request #21159 from rogday:ceil_mode

fix ceil_mode for Average/MaxPooling

* fix ceil_mode

* add a comment

2 years agoMerge pull request #21174 from APrigarina:fix_qr_encoder
Alexander Alekhin [Thu, 2 Dec 2021 16:41:02 +0000 (16:41 +0000)]
Merge pull request #21174 from APrigarina:fix_qr_encoder

2 years agoMerge pull request #21173 from alalek:3.4_dnn_test_reenable_ov_2021_4
Alexander Alekhin [Thu, 2 Dec 2021 16:33:15 +0000 (16:33 +0000)]
Merge pull request #21173 from alalek:3.4_dnn_test_reenable_ov_2021_4

2 years agoqr encoder: fix memory and unused variables issues
APrigarina [Thu, 2 Dec 2021 12:04:04 +0000 (15:04 +0300)]
qr encoder: fix memory and unused variables issues

2 years agoMerge pull request #21172 from alalek:dnn_test_drop_non_cpu_int8
Alexander Alekhin [Thu, 2 Dec 2021 13:50:04 +0000 (13:50 +0000)]
Merge pull request #21172 from alalek:dnn_test_drop_non_cpu_int8

2 years agoMerge pull request #21170 from JJJoonngg:4.x
Jong Sin Kim [Thu, 2 Dec 2021 13:48:11 +0000 (22:48 +0900)]
Merge pull request #21170 from JJJoonngg:4.x

Check buffer size when frameWidth * frameHeight bigger than allocated buffer size

2 years agodnn(test): re-enable tests which works with OpenVINO 2021.4.x (3.4)
Alexander Alekhin [Tue, 30 Nov 2021 12:08:35 +0000 (12:08 +0000)]
dnn(test): re-enable tests which works with OpenVINO 2021.4.x (3.4)

2 years agodnn(test): drop non OCV/CPU cases for Int8
Alexander Alekhin [Thu, 2 Dec 2021 05:52:12 +0000 (05:52 +0000)]
dnn(test): drop non OCV/CPU cases for Int8

- zero code coverage and up to x3-x8 tests slowdown
- implementation executes OCV/CPU in all cases
- wrong skip conditions

2 years agoMerge pull request #21164 from rogday:sum_identity
Alexander Alekhin [Wed, 1 Dec 2021 22:49:02 +0000 (22:49 +0000)]
Merge pull request #21164 from rogday:sum_identity

2 years agoMerge pull request #21163 from rogday:transpose_default
Alexander Alekhin [Wed, 1 Dec 2021 22:47:57 +0000 (22:47 +0000)]
Merge pull request #21163 from rogday:transpose_default

2 years agoMerge pull request #21158 from anna-khakimova:ak/simd_subC
Anna Khakimova [Wed, 1 Dec 2021 21:58:30 +0000 (00:58 +0300)]
Merge pull request #21158 from anna-khakimova:ak/simd_subC

* GAPI Fluid: SIMD for SubC kernel.

* Applied comments