platform/upstream/opencv.git
3 years agoLog warning that Exposure/ISO have no effect unless AutoExposure is off
Giles Payne [Sun, 4 Apr 2021 13:14:40 +0000 (22:14 +0900)]
Log warning that Exposure/ISO have no effect unless AutoExposure is off

3 years agoFix Android NDK camera's color format conversions
Giles Payne [Sun, 4 Apr 2021 03:39:29 +0000 (12:39 +0900)]
Fix Android NDK camera's color format conversions

3 years agoMerge tag '4.5.2'
Alexander Alekhin [Fri, 2 Apr 2021 17:30:52 +0000 (17:30 +0000)]
Merge tag '4.5.2'

3 years agorelease: OpenCV 4.5.2
Alexander Alekhin [Fri, 2 Apr 2021 11:23:54 +0000 (11:23 +0000)]
release: OpenCV 4.5.2

3 years agoMerge remote-tracking branch 'upstream/3.4'
Alexander Alekhin [Fri, 2 Apr 2021 11:22:33 +0000 (11:22 +0000)]
Merge remote-tracking branch 'upstream/3.4'

3 years agoMerge pull request #19833 from alalek:workaround_19678
Alexander Alekhin [Fri, 2 Apr 2021 10:37:29 +0000 (10:37 +0000)]
Merge pull request #19833 from alalek:workaround_19678

3 years agoMerge tag '3.4.14'
Alexander Alekhin [Fri, 2 Apr 2021 09:31:32 +0000 (09:31 +0000)]
Merge tag '3.4.14'

3 years agoMerge pull request #18237 from LupusSanctus:am/pytorch_tf_det_tutorial
Anastasia M [Fri, 2 Apr 2021 01:50:35 +0000 (04:50 +0300)]
Merge pull request #18237 from LupusSanctus:am/pytorch_tf_det_tutorial

[GSoC] Added TF and PyTorch detection model conversion cases

* Added object detection convertion pipeline and tutorials

* Added tutorial corrections

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 1 Apr 2021 21:48:52 +0000 (21:48 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agorelease: OpenCV 3.4.14
Alexander Alekhin [Thu, 1 Apr 2021 21:37:19 +0000 (21:37 +0000)]
release: OpenCV 3.4.14

3 years agoMerge pull request #17801 from LupusSanctus:am/pytorch_tf_segm
Anastasia M [Thu, 1 Apr 2021 20:42:08 +0000 (23:42 +0300)]
Merge pull request #17801 from LupusSanctus:am/pytorch_tf_segm

[GSoC] Added TF and PyTorch segmentation conversion cases

* WIP: Added conversion of segmentation models

* Added tutorial mds

* remove unused

3 years agoMerge pull request #19828 from OrestChura:oc/fix_garray_garray_input
Orest Chura [Thu, 1 Apr 2021 20:39:31 +0000 (23:39 +0300)]
Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input

[G-API] Fix bug of GArray<GArray> passing through a graph

* Add test to check GArray<GArray> passing through a graph (assertion failed)

* G-API: Flatten GArray<T> to std::vector<T> when capturing VCtr

- Also: Fix formatting in garray.hpp

* Refactored test, added valuable check

* Initialize size_t

Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
3 years agoMerge pull request #19823 from alalek:issue_contrib_2895
Alexander Alekhin [Thu, 1 Apr 2021 20:38:46 +0000 (20:38 +0000)]
Merge pull request #19823 from alalek:issue_contrib_2895

3 years agoMerge pull request #19817 from alalek:cmake_fix_tracking_headers
Alexander Alekhin [Thu, 1 Apr 2021 20:38:14 +0000 (20:38 +0000)]
Merge pull request #19817 from alalek:cmake_fix_tracking_headers

3 years agogapi(test): avoid compilation failure with GCC11
Alexander Alekhin [Thu, 1 Apr 2021 20:23:29 +0000 (20:23 +0000)]
gapi(test): avoid compilation failure with GCC11

3 years agoMerge pull request #19830 from alalek:issue_19368
Alexander Alekhin [Thu, 1 Apr 2021 15:30:18 +0000 (15:30 +0000)]
Merge pull request #19830 from alalek:issue_19368

3 years agoMerge pull request #19831 from alalek:backport_19771
Alexander Alekhin [Thu, 1 Apr 2021 14:05:09 +0000 (14:05 +0000)]
Merge pull request #19831 from alalek:backport_19771

3 years agoMerge pull request #19829 from alalek:hotfix_19693
Alexander Alekhin [Thu, 1 Apr 2021 14:04:36 +0000 (14:04 +0000)]
Merge pull request #19829 from alalek:hotfix_19693

3 years agoMerge pull request #19827 from alalek:build_videoio_macosx_override_3.4
Alexander Alekhin [Thu, 1 Apr 2021 12:34:23 +0000 (12:34 +0000)]
Merge pull request #19827 from alalek:build_videoio_macosx_override_3.4

3 years agoMerge pull request #19825 from alalek:cmake_fix_headers_order_python_3.4
Alexander Alekhin [Thu, 1 Apr 2021 12:34:10 +0000 (12:34 +0000)]
Merge pull request #19825 from alalek:cmake_fix_headers_order_python_3.4

3 years agoMerge pull request #19822 from alalek:core_wui_backward_compatibility
Alexander Alekhin [Thu, 1 Apr 2021 12:32:33 +0000 (12:32 +0000)]
Merge pull request #19822 from alalek:core_wui_backward_compatibility

3 years agoMerge pull request #19820 from alalek:issue_19405
Alexander Alekhin [Thu, 1 Apr 2021 12:32:09 +0000 (12:32 +0000)]
Merge pull request #19820 from alalek:issue_19405

3 years agoMerge pull request #19771 from lionkunonly:opencvjsNodeFix
Kun Liang [Thu, 1 Apr 2021 12:29:48 +0000 (20:29 +0800)]
Merge pull request #19771 from lionkunonly:opencvjsNodeFix

* fix the perf tests of OpenCV.js so that it can run on Node.js successfully

* do not modify the CMakeLists.txt

Co-authored-by: lionkun <871518554@qq.com>
3 years agoMerge pull request #19816 from alalek:python_customize_namespaces
Alexander Alekhin [Thu, 1 Apr 2021 12:27:04 +0000 (12:27 +0000)]
Merge pull request #19816 from alalek:python_customize_namespaces

3 years agocmake: fix tracking detail headers
Alexander Alekhin [Wed, 31 Mar 2021 21:33:29 +0000 (21:33 +0000)]
cmake: fix tracking detail headers

3 years agovideoio(dshow): add NULL ptr check
Alexander Alekhin [Thu, 1 Apr 2021 11:28:41 +0000 (11:28 +0000)]
videoio(dshow): add NULL ptr check

3 years agoapps(model_diagnostics): fix invalid callback
Alexander Alekhin [Thu, 1 Apr 2021 10:26:22 +0000 (10:26 +0000)]
apps(model_diagnostics): fix invalid callback

3 years agovideoio(build): eliminate inconsistent 'override' warnings
Alexander Alekhin [Thu, 1 Apr 2021 09:22:12 +0000 (09:22 +0000)]
videoio(build): eliminate inconsistent 'override' warnings

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 1 Apr 2021 01:40:14 +0000 (01:40 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agocmake: fix files order in Python bindings
Alexander Alekhin [Thu, 1 Apr 2021 09:48:50 +0000 (09:48 +0000)]
cmake: fix files order in Python bindings

- with changes backport from 4.x

3 years agocuda: fix inplace condition in cv::cuda::flip
Alexander Alekhin [Thu, 1 Apr 2021 02:26:59 +0000 (02:26 +0000)]
cuda: fix inplace condition in cv::cuda::flip

3 years agocore: backward compatibility for vx_store/vx_store_aligned calls
Alexander Alekhin [Thu, 1 Apr 2021 02:17:08 +0000 (02:17 +0000)]
core: backward compatibility for vx_store/vx_store_aligned calls

3 years agoMerge pull request #19819 from alalek:cmake_fix_headers_order
Alexander Alekhin [Thu, 1 Apr 2021 01:34:21 +0000 (01:34 +0000)]
Merge pull request #19819 from alalek:cmake_fix_headers_order

3 years agoMerge pull request #19818 from alalek:workaround_python_build_failures
Alexander Alekhin [Thu, 1 Apr 2021 01:12:07 +0000 (01:12 +0000)]
Merge pull request #19818 from alalek:workaround_python_build_failures

3 years agocmake: fix ADE dependency handling
Alexander Alekhin [Wed, 31 Mar 2021 23:40:19 +0000 (23:40 +0000)]
cmake: fix ADE dependency handling

3 years agocmake: fix order of headers
Alexander Alekhin [Wed, 31 Mar 2021 23:14:45 +0000 (23:14 +0000)]
cmake: fix order of headers

- cmake uses filesystem's order which may vary
- unpredictable headers order may cause build failures (primary bindings)

3 years agoMerge pull request #19814 from alalek:pyopencv_to_safe
Alexander Alekhin [Wed, 31 Mar 2021 22:58:18 +0000 (22:58 +0000)]
Merge pull request #19814 from alalek:pyopencv_to_safe

3 years agoMerge pull request #19813 from alalek:issue_19506
Alexander Alekhin [Wed, 31 Mar 2021 22:57:50 +0000 (22:57 +0000)]
Merge pull request #19813 from alalek:issue_19506

3 years agoMerge pull request #19812 from alalek:workaround_19634
Alexander Alekhin [Wed, 31 Mar 2021 22:57:15 +0000 (22:57 +0000)]
Merge pull request #19812 from alalek:workaround_19634

3 years agoMerge pull request #19811 from alalek:issue_19599
Alexander Alekhin [Wed, 31 Mar 2021 22:56:48 +0000 (22:56 +0000)]
Merge pull request #19811 from alalek:issue_19599

3 years agoMerge pull request #19808 from alalek:3.4_python_fix_wrap_as
Alexander Alekhin [Wed, 31 Mar 2021 22:56:13 +0000 (22:56 +0000)]
Merge pull request #19808 from alalek:3.4_python_fix_wrap_as

3 years agobuild: workaround sporadic failures of python binding compilation
Alexander Alekhin [Wed, 31 Mar 2021 22:44:27 +0000 (22:44 +0000)]
build: workaround sporadic failures of python binding compilation

3 years agoMerge pull request #19815 from OrestChura:oc/fix_garray_garray_input
Alexander Alekhin [Wed, 31 Mar 2021 22:33:14 +0000 (22:33 +0000)]
Merge pull request #19815 from OrestChura:oc/fix_garray_garray_input

3 years agoFix conversion of the kernel's input for GArray<GArray<U>> -> vector<vector<U>>
OrestChura [Wed, 31 Mar 2021 18:10:13 +0000 (21:10 +0300)]
Fix conversion of the kernel's input for GArray<GArray<U>> -> vector<vector<U>>

3 years agogapi(python): rename cv.gapi_wip_op / cv.gapi_wip_kernels
Alexander Alekhin [Wed, 31 Mar 2021 20:34:04 +0000 (20:34 +0000)]
gapi(python): rename cv.gapi_wip_op / cv.gapi_wip_kernels

3 years agopython: allow to customize Python namespaces
Alexander Alekhin [Wed, 31 Mar 2021 20:24:32 +0000 (20:24 +0000)]
python: allow to customize Python namespaces

- extra methods through PYOPENCV_EXTRA_METHODS_<NS_UPPER> macros
- extra constants through PYOPENCV_EXTRA_CONSTANTS_<NS_UPPER> macros

3 years agoMerge pull request #19732 from aDanPin:danpin/gapi/stereo_operation_and_test
Alexander Alekhin [Wed, 31 Mar 2021 20:22:29 +0000 (23:22 +0300)]
Merge pull request #19732 from aDanPin:danpin/gapi/stereo_operation_and_test

G-API Stereo operation and tests

3 years agoAdding stereo operation and tests
aDanPin [Wed, 31 Mar 2021 17:09:10 +0000 (20:09 +0300)]
Adding stereo operation and tests

3 years agopython: exception-free pyopencv_to() wrapper
Alexander Alekhin [Wed, 31 Mar 2021 14:17:45 +0000 (14:17 +0000)]
python: exception-free pyopencv_to() wrapper

3 years agoMerge pull request #18903 from mpashchenkov:mp/onnx-disable-output
Alexander Alekhin [Wed, 31 Mar 2021 13:46:22 +0000 (16:46 +0300)]
Merge pull request #18903 from mpashchenkov:mp/onnx-disable-output

G-API: ONNX. Disable unnecessary outputs

3 years agocore(IPP): disable some ippsMagnitude_32f calls
Alexander Alekhin [Wed, 31 Mar 2021 13:37:19 +0000 (13:37 +0000)]
core(IPP): disable some ippsMagnitude_32f calls

3 years agovideoio(mjpeg): disable parallel encoder
Alexander Alekhin [Wed, 31 Mar 2021 12:16:42 +0000 (12:16 +0000)]
videoio(mjpeg): disable parallel encoder

3 years agoMerge pull request #19809 from alalek:issue_19513
Alexander Alekhin [Wed, 31 Mar 2021 10:50:20 +0000 (10:50 +0000)]
Merge pull request #19809 from alalek:issue_19513

3 years agocore(arithm_op): workaround problem with scalars handling
Alexander Alekhin [Wed, 31 Mar 2021 10:16:51 +0000 (10:16 +0000)]
core(arithm_op): workaround problem with scalars handling

3 years agovideoio(avfoundation): add getCaptureDomain()
Alexander Alekhin [Wed, 31 Mar 2021 09:35:11 +0000 (09:35 +0000)]
videoio(avfoundation): add getCaptureDomain()

3 years agoMerge pull request #19681 from eplankin:link_problem
eplankin [Wed, 31 Mar 2021 09:24:37 +0000 (12:24 +0300)]
Merge pull request #19681 from eplankin:link_problem

* Workaround for IPP linking problem

* Apply -Bsymbolic to all cases when IPP is on

* Tried to hide symbols on MacOS

* Tried on --exclude-libs option

* Fixed macos and win warnings

* Fixed win build

* cmake(IPP): move --exclude-libs,libippcore.a to IPP CMake file

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoAdded overload for cfgPostPros
Maxim Pashchenkov [Mon, 23 Nov 2020 15:46:03 +0000 (18:46 +0300)]
Added overload for cfgPostPros

3 years agopython: fix CV_WRAP_AS handling
Alexander Alekhin [Tue, 30 Mar 2021 20:54:11 +0000 (20:54 +0000)]
python: fix CV_WRAP_AS handling

3 years agoMerge pull request #19798 from LupusSanctus:am/reduce_sum_ch
Alexander Alekhin [Tue, 30 Mar 2021 21:37:13 +0000 (21:37 +0000)]
Merge pull request #19798 from LupusSanctus:am/reduce_sum_ch

3 years agoMerge pull request #19752 from mpashchenkov:mp/onnx-int64-to-32
Maxim Pashchenkov [Tue, 30 Mar 2021 21:08:43 +0000 (00:08 +0300)]
Merge pull request #19752 from mpashchenkov:mp/onnx-int64-to-32

G-API: ONNX. Adding INT64-32 conversion for output.

* Added int64 to 32 conversion

* Added warning

* Added type checks for all toCV

* Added type checks for tests

* Small fixes

* Const for fixture in test

* std::tuple if retutn value for toCV

* Mistake

* Changed toCV for tests

* Added Assert

* Fix for comments

* One conversion for ONNX and IE

* Clean up

* One more fix

* Added copyFromONNX

* Removed warning

* Apply review comments

3 years agoMerge pull request #19804 from TolyaTalamanov:at/python-custom-op
Anatoliy Talamanov [Tue, 30 Mar 2021 20:59:02 +0000 (23:59 +0300)]
Merge pull request #19804 from TolyaTalamanov:at/python-custom-op

[G-API] Introduce custom python operator API

* Introduce custom python operator API

* Add wip namespace

3 years agoAdded reduce sum by channel support
Anastasia Murzova [Sun, 28 Mar 2021 13:53:44 +0000 (16:53 +0300)]
Added reduce sum by channel support

3 years agoMerge pull request #19806 from rgarnov:rg/fix_double_nv12_y_accessor_test_instantiation
Alexander Alekhin [Tue, 30 Mar 2021 18:25:32 +0000 (18:25 +0000)]
Merge pull request #19806 from rgarnov:rg/fix_double_nv12_y_accessor_test_instantiation

3 years agoFixed Y accessor in BGR accessor test, added more instantiations
Ruslan Garnov [Tue, 30 Mar 2021 16:51:48 +0000 (19:51 +0300)]
Fixed Y accessor in BGR accessor test, added more instantiations

3 years agoMerge pull request #18952 from terfendail:wui_doc
Vitaly Tuzov [Tue, 30 Mar 2021 16:18:03 +0000 (19:18 +0300)]
Merge pull request #18952 from terfendail:wui_doc

* Updated UI documentation to address WUI

* Added documentation for vx_ calls

* Removed vx_store operation overload

* Doxyfile updated to enable wide UI

* Enable doxygen documentation for vx_ WUI functions

* Wide intrinsics definition rework

* core: fix SIMD C++ emulator build (supports 128-bit only)

3 years agoMerge pull request #19223 from YashasSamaga:cuda4dnn-halfpix-linear-resize
Alexander Alekhin [Tue, 30 Mar 2021 13:19:41 +0000 (13:19 +0000)]
Merge pull request #19223 from YashasSamaga:cuda4dnn-halfpix-linear-resize

3 years agoMerge pull request #19351 from TolyaTalamanov:at/python-backend
Alexander Alekhin [Mon, 29 Mar 2021 21:54:44 +0000 (21:54 +0000)]
Merge pull request #19351 from TolyaTalamanov:at/python-backend

3 years agoMerge pull request #19792 from mpashchenkov:mp/ie-add-int32
Maxim Pashchenkov [Mon, 29 Mar 2021 20:59:55 +0000 (23:59 +0300)]
Merge pull request #19792 from mpashchenkov:mp/ie-add-int32

G-API: IE. Adding support for INT32 type.

* Added support for int32

* Added sample for semantic-segmentation-adas-0001

* Alignment

* Alignment 2

* Rstrt build

* Removed test for sem seg

3 years agoMerge pull request #19802 from rgarnov:rg/fix_accessor_tests_valgrind_warnings
Alexander Alekhin [Mon, 29 Mar 2021 20:57:56 +0000 (20:57 +0000)]
Merge pull request #19802 from rgarnov:rg/fix_accessor_tests_valgrind_warnings

3 years agoImplement python backend
Anatoliy Talamanov [Fri, 26 Mar 2021 11:16:26 +0000 (14:16 +0300)]
Implement python backend

3 years agoMerge pull request #19693 from LupusSanctus:onnx_diagnostic
Anastasia M [Mon, 29 Mar 2021 16:38:28 +0000 (19:38 +0300)]
Merge pull request #19693 from LupusSanctus:onnx_diagnostic

ONNX diagnostic tool

* Final

* Add forgotten Normalize layer to the set of supported types

* ONNX diagnostic tool corrections

* Fixed CI test warnings

* Added code minor corrections

Co-authored-by: Sergey Slashchinin <sergei.slashchinin@xperience.ai>
3 years agoFixed valgrind warnings in accessors tests
Ruslan Garnov [Mon, 29 Mar 2021 14:27:30 +0000 (17:27 +0300)]
Fixed valgrind warnings in accessors tests

3 years agoMerge pull request #19793 from aarongreig:aaron/imgproc/relaxCornerEigenValTest
Alexander Alekhin [Mon, 29 Mar 2021 13:41:44 +0000 (13:41 +0000)]
Merge pull request #19793 from aarongreig:aaron/imgproc/relaxCornerEigenValTest

3 years agoRelax accuracy requirement on OpenCL MinEigenVal corner kernel test.
Aaron Greig [Fri, 26 Mar 2021 12:11:49 +0000 (12:11 +0000)]
Relax accuracy requirement on OpenCL MinEigenVal corner kernel test.

The MinEigenVal path through the corner.cl kernel makes use of native_sqrt,
a math builtin function which has implementation defined accuracy.

Partially addresses issue #9821

3 years agofix the perf tests of OpenCV.js so that it can run on Node.js successfully
lionkun [Wed, 24 Mar 2021 08:34:22 +0000 (16:34 +0800)]
fix the perf tests of OpenCV.js so that it can run on Node.js successfully

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 27 Mar 2021 15:35:16 +0000 (15:35 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19786 from alalek:build_opencv_winpack_dldt_2021.3.0
Alexander Alekhin [Fri, 26 Mar 2021 22:38:51 +0000 (22:38 +0000)]
Merge pull request #19786 from alalek:build_opencv_winpack_dldt_2021.3.0

3 years agoMerge pull request #19773 from jondea:add-aarch64-specialised-v_expand-3.4
Alexander Alekhin [Fri, 26 Mar 2021 16:54:51 +0000 (16:54 +0000)]
Merge pull request #19773 from jondea:add-aarch64-specialised-v_expand-3.4

3 years agoMerge pull request #19785 from alalek:dnn_ocl_fix_async_kernels
Alexander Alekhin [Fri, 26 Mar 2021 12:27:58 +0000 (12:27 +0000)]
Merge pull request #19785 from alalek:dnn_ocl_fix_async_kernels

3 years agoMerge pull request #19546 from LupusSanctus:am/slice_steps
Anastasia M [Fri, 26 Mar 2021 11:04:57 +0000 (14:04 +0300)]
Merge pull request #19546 from LupusSanctus:am/slice_steps

* Added Steps support in DNN Slice layer

* Added code corrections

* dnn(slice): fix OCL and OCL_FP16 processing

3 years agoMerge pull request #19712 from OrestChura:oc/Kalm_ptest
Orest Chura [Fri, 26 Mar 2021 09:41:54 +0000 (12:41 +0300)]
Merge pull request #19712 from OrestChura:oc/Kalm_ptest

[G-API]: Performance tests for KalmanFilter

* Kalman perf.tests and some tests refactoring

* Input generation moved to a separate function; Slowest case sneario testing added

* Generating refactored

* Generating refactoring

* Addressing comments

3 years agoMerge pull request #19782 from TolyaTalamanov:at/rmat-plaidml-backend
Alexander Alekhin [Fri, 26 Mar 2021 09:36:38 +0000 (09:36 +0000)]
Merge pull request #19782 from TolyaTalamanov:at/rmat-plaidml-backend

3 years agobuild: winpack_dldt with dldt 2021.3.0
Alexander Alekhin [Thu, 25 Mar 2021 21:42:16 +0000 (21:42 +0000)]
build: winpack_dldt with dldt 2021.3.0

3 years agoSupport RMat for PlaidML backend
Anatoliy Talamanov [Thu, 25 Mar 2021 14:53:29 +0000 (17:53 +0300)]
Support RMat for PlaidML backend

3 years agodnn(ocl): fix gemm kernel scheduling
Alexander Alekhin [Fri, 26 Mar 2021 00:32:02 +0000 (00:32 +0000)]
dnn(ocl): fix gemm kernel scheduling

3 years agoMerge pull request #19784 from alalek:gapi_win32_build_warning
Alexander Alekhin [Thu, 25 Mar 2021 22:57:59 +0000 (01:57 +0300)]
Merge pull request #19784 from alalek:gapi_win32_build_warning

3 years agogapi(build): eliminate Win32 build warning
Alexander Alekhin [Thu, 25 Mar 2021 22:15:06 +0000 (22:15 +0000)]
gapi(build): eliminate Win32 build warning

3 years agoMerge pull request #19783 from mikhail-nikolskiy:interop-perf
Mikhail Nikolskii [Thu, 25 Mar 2021 21:27:31 +0000 (14:27 -0700)]
Merge pull request #19783 from mikhail-nikolskiy:interop-perf

Performance optimization in DirectX and VAAPI interop

* optimization in OpenCL NV12<>BGR kernels

* reduce kernel work-size

3 years agoMerge pull request #19774 from aarongreig:aaron/dnn/oclTestAccuracyThresholds
Alexander Alekhin [Thu, 25 Mar 2021 16:58:07 +0000 (16:58 +0000)]
Merge pull request #19774 from aarongreig:aaron/dnn/oclTestAccuracyThresholds

3 years agoMerge pull request #19318 from TolyaTalamanov:at/python-generic-infer
Anatoliy Talamanov [Thu, 25 Mar 2021 16:55:29 +0000 (19:55 +0300)]
Merge pull request #19318 from TolyaTalamanov:at/python-generic-infer

[G-API] Python ROI generic inference

* Python generic infer overloads

* Move wrappers to appropriate file

3 years agoIntroduce relaxed accuracy thresholds for CL target in some dnn tests.
Aaron Greig [Wed, 24 Mar 2021 16:14:23 +0000 (16:14 +0000)]
Introduce relaxed accuracy thresholds for CL target in some dnn tests.

Partially addresses #9821

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 24 Mar 2021 18:55:24 +0000 (18:55 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19770 from alalek:dnn_openvino_2021.3.0
Alexander Alekhin [Wed, 24 Mar 2021 18:50:47 +0000 (18:50 +0000)]
Merge pull request #19770 from alalek:dnn_openvino_2021.3.0

3 years agoMerge pull request #19731 from rgarnov:rg/basic_frame_drop
Alexander Alekhin [Wed, 24 Mar 2021 15:20:38 +0000 (15:20 +0000)]
Merge pull request #19731 from rgarnov:rg/basic_frame_drop

3 years agoMerge pull request #19762 from lukasalexanderweber:master
Lukas-Alexander Weber [Wed, 24 Mar 2021 15:02:20 +0000 (16:02 +0100)]
Merge pull request #19762 from lukasalexanderweber:master

* Error Message for SURF if not implemented

In OpenCV 4.5.1

import cv2 as cv
cv.xfeatures2d_SURF.create

will not create an AttributeError, even if the function is excluded (no nonfree option)

In Line 305 (now 306) however ´finder = FEATURES_FIND_CHOICES[args.features]()´ will raise an

error: OpenCV(4.5.1) ..\opencv_contrib\modules\xfeatures2d\src\surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SURF::create'

So we should check with cv.xfeatures2d_SURF.create() correctly if SURF is available

3 years agodnn(test): update tests for OpenVINO 2021.3
Alexander Alekhin [Wed, 24 Mar 2021 09:28:05 +0000 (09:28 +0000)]
dnn(test): update tests for OpenVINO 2021.3

3 years agoMerge pull request #19325 from AsyaPronina:asyadev/extract_y
Alexander Alekhin [Wed, 24 Mar 2021 13:37:05 +0000 (16:37 +0300)]
Merge pull request #19325 from AsyaPronina:asyadev/extract_y

[G-API] Added Y, UV accessors for cv::MediaFrame

3 years agodnn: use OpenVINO 2021.3 defines
Alexander Alekhin [Wed, 3 Mar 2021 00:32:25 +0000 (03:32 +0300)]
dnn: use OpenVINO 2021.3 defines

original commit: 62915037939f13a55b973b84fea05218f73e15ae

3 years agoMerge pull request #19765 from LupusSanctus:am/mobilenetv3
Alexander Alekhin [Wed, 24 Mar 2021 09:43:27 +0000 (09:43 +0000)]
Merge pull request #19765 from LupusSanctus:am/mobilenetv3

3 years agoAdded Y, UV accessors to cv::MediaFrame
Anastasiya Pronina [Mon, 15 Mar 2021 15:49:43 +0000 (18:49 +0300)]
Added Y, UV accessors to cv::MediaFrame