platform/upstream/opencv.git
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 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 agoAdded overload for cfgPostPros
Maxim Pashchenkov [Mon, 23 Nov 2020 15:46:03 +0000 (18:46 +0300)]
Added overload for cfgPostPros

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 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 #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 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

3 years agoAdded reshape corrections
Anastasia Murzova [Tue, 23 Mar 2021 19:28:26 +0000 (22:28 +0300)]
Added reshape corrections

3 years agoCorrected DNN elementwise multiplication
Anastasia Murzova [Mon, 22 Mar 2021 19:37:49 +0000 (22:37 +0300)]
Corrected DNN elementwise multiplication

3 years agoMerge pull request #19477 from LupusSanctus:am/eltwice_vec
Anastasia M [Tue, 23 Mar 2021 22:16:09 +0000 (01:16 +0300)]
Merge pull request #19477 from LupusSanctus:am/eltwice_vec

* Aligned OpenCV DNN and TF sum op behaviour

Support Mat (shape: [1, m, k, n] ) + Vec (shape: [1, 1, 1, n]) operation
by vec to mat expansion

* Added code corrections: backend, minor refactoring

3 years agoAdd v_expand for AArch64, fuse vmovl+vget_high into vmovl_high
Jonathan Deakin [Tue, 23 Mar 2021 15:06:41 +0000 (15:06 +0000)]
Add v_expand for AArch64, fuse vmovl+vget_high into vmovl_high

3 years agoMerge pull request #19763 from TolyaTalamanov:at/blockingdesc-order-fix
Alexander Alekhin [Tue, 23 Mar 2021 13:39:57 +0000 (13:39 +0000)]
Merge pull request #19763 from TolyaTalamanov:at/blockingdesc-order-fix

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 22 Mar 2021 12:05:23 +0000 (12:05 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoBlocking dims order fix
Anatoliy Talamanov [Mon, 22 Mar 2021 10:57:57 +0000 (13:57 +0300)]
Blocking dims order fix

3 years agoMerge pull request #19757 from alalek:js_setLogLevel
Alexander Alekhin [Sun, 21 Mar 2021 17:37:05 +0000 (17:37 +0000)]
Merge pull request #19757 from alalek:js_setLogLevel

3 years agojs: support setLogLevel() / getLogLevel() calls
Alexander Alekhin [Sat, 20 Mar 2021 12:38:12 +0000 (12:38 +0000)]
js: support setLogLevel() / getLogLevel() calls

3 years agoMerge pull request #19632 from l-bat:lb/ie_arm_target
Liubov Batanina [Sat, 20 Mar 2021 11:20:02 +0000 (14:20 +0300)]
Merge pull request #19632 from l-bat:lb/ie_arm_target

Added OpenVINO ARM target

* Added IE ARM target

* Added OpenVINO ARM target

* Delete ARM target

* Detect ARM platform

* Changed device name in ArmPlugin

* Change ARM detection

3 years agoMerge pull request #19747 from alalek:issue_19733
Alexander Alekhin [Fri, 19 Mar 2021 12:53:31 +0000 (12:53 +0000)]
Merge pull request #19747 from alalek:issue_19733

3 years agoMerge pull request #19745 from alalek:issue_19729
Alexander Alekhin [Fri, 19 Mar 2021 12:52:34 +0000 (12:52 +0000)]
Merge pull request #19745 from alalek:issue_19729

3 years agoMerge pull request #19310 from TolyaTalamanov:at/generic-infer-overloads
Anatoliy Talamanov [Fri, 19 Mar 2021 12:50:45 +0000 (15:50 +0300)]
Merge pull request #19310 from TolyaTalamanov:at/generic-infer-overloads

[G-API] Support generic infer overloads

* Overloads for generic infer

* Fix build

* Refactoring

* Fix docs

* Put extra stuff to detail namespace

* Add doc for usings

* Remove uneccessary template in Priv

3 years agoMerge pull request #19738 from TolyaTalamanov:at/giebackend-blockingdesc-fix
Alexander Alekhin [Fri, 19 Mar 2021 11:54:43 +0000 (11:54 +0000)]
Merge pull request #19738 from TolyaTalamanov:at/giebackend-blockingdesc-fix

3 years agoImplemented basic frame drop functionality
Ruslan Garnov [Mon, 15 Mar 2021 23:58:12 +0000 (02:58 +0300)]
Implemented basic frame drop functionality

3 years agoFix blocking desc usage
Anatoliy Talamanov [Wed, 17 Mar 2021 09:42:45 +0000 (12:42 +0300)]
Fix blocking desc usage

3 years agocore(parallel): fix plugins handling if no filesystem available
Alexander Alekhin [Thu, 18 Mar 2021 22:58:05 +0000 (22:58 +0000)]
core(parallel): fix plugins handling if no filesystem available

3 years agofeatures2d(mser): chi_table.h notes
Alexander Alekhin [Thu, 18 Mar 2021 21:30:12 +0000 (21:30 +0000)]
features2d(mser): chi_table.h notes

3 years agoMerge pull request #19741 from alalek:ml_logistic_regression_use_opencv_license_header
Alexander Alekhin [Thu, 18 Mar 2021 20:47:44 +0000 (20:47 +0000)]
Merge pull request #19741 from alalek:ml_logistic_regression_use_opencv_license_header

3 years agoMerge pull request #19709 from TolyaTalamanov:at/async-inferlist-infer2
Anatoliy Talamanov [Thu, 18 Mar 2021 20:33:19 +0000 (23:33 +0300)]
Merge pull request #19709 from TolyaTalamanov:at/async-inferlist-infer2

G-API: Implement async version for InferList & Infer2

* Implement async version for InferList & Infer2

* Fix warning

* Fix bug with roi ordering

* Post input meta instead of empty

* Fix comments to review

3 years agoml: use OpenCV license header for logistic regression
Alexander Alekhin [Wed, 17 Mar 2021 20:29:52 +0000 (20:29 +0000)]
ml: use OpenCV license header for logistic regression

3 years agoMerge pull request #19739 from alalek:fix_valgrind_run
Alexander Alekhin [Wed, 17 Mar 2021 13:59:52 +0000 (13:59 +0000)]
Merge pull request #19739 from alalek:fix_valgrind_run

3 years agovalgrind: filter out hardware-accelerated videoio tests
Alexander Alekhin [Wed, 17 Mar 2021 08:59:56 +0000 (08:59 +0000)]
valgrind: filter out hardware-accelerated videoio tests

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

3 years agoMerge pull request #19284 from Ziachnix:feature/js-qr-code-detector
Ziachnix [Sat, 13 Mar 2021 12:52:44 +0000 (13:52 +0100)]
Merge pull request #19284 from Ziachnix:feature/js-qr-code-detector

Add QRCodeDetector to JavaScript Build

* ADD: js support for qrCodeDetector

- cherry picked commit to solve rebase error

* CHG. Revert haarcascade path

* FIX: Tests without images

* ADD: decodeCurved

* js(docs): don't require OPENCV_TEST_DATA_PATH

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #19720 from alalek:ocl_test_skip_spir_amd
Alexander Alekhin [Sat, 13 Mar 2021 12:48:20 +0000 (12:48 +0000)]
Merge pull request #19720 from alalek:ocl_test_skip_spir_amd

3 years agoMerge pull request #19718 from alalek:backport_19683
Alexander Alekhin [Sat, 13 Mar 2021 12:46:24 +0000 (12:46 +0000)]
Merge pull request #19718 from alalek:backport_19683

3 years agoMerge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference
Alexander Alekhin [Sat, 13 Mar 2021 12:45:55 +0000 (12:45 +0000)]
Merge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference

3 years agoMerge pull request #19716 from l-bat:lb/fix_resize
Alexander Alekhin [Sat, 13 Mar 2021 12:45:07 +0000 (12:45 +0000)]
Merge pull request #19716 from l-bat:lb/fix_resize

3 years agocore(ocl): skip SPIR test on AMD devices if problem detected
Alexander Alekhin [Sat, 13 Mar 2021 05:56:40 +0000 (05:56 +0000)]
core(ocl): skip SPIR test on AMD devices if problem detected

3 years agonoexcept def construct Mat, UMat, Mat_, MatSize, MatStep
Dale Phurrough [Mon, 1 Mar 2021 21:42:13 +0000 (22:42 +0100)]
noexcept def construct Mat, UMat, Mat_, MatSize, MatStep

original commit: 1b0f781b7cc18562b59ef60fb303ce0f9cea9f78

3 years agoAvoiding copy by passing param by reference
Dan Ben Yosef [Fri, 12 Mar 2021 19:17:11 +0000 (14:17 -0500)]
Avoiding copy by passing param by reference

It is best to pass bad_value_ param by reference to avoid copy.

3 years agoAdded ngraph::op::v6::MVN
Liubov Batanina [Fri, 12 Mar 2021 13:33:16 +0000 (16:33 +0300)]
Added ngraph::op::v6::MVN

3 years agoMerge pull request #19707 from AsyaPronina:asyadev/upstream_fixes_from_release
Alexander Alekhin [Fri, 12 Mar 2021 14:27:41 +0000 (14:27 +0000)]
Merge pull request #19707 from AsyaPronina:asyadev/upstream_fixes_from_release

3 years agoMerge pull request #19715 from seiko2plus:issue_19698
Alexander Alekhin [Fri, 12 Mar 2021 09:45:19 +0000 (09:45 +0000)]
Merge pull request #19715 from seiko2plus:issue_19698

3 years agoAdded ngraph::op::v4::Interpolation
Liubov Batanina [Fri, 12 Mar 2021 09:00:59 +0000 (12:00 +0300)]
Added ngraph::op::v4::Interpolation

3 years agocore:ppc64 fix detecting CPU features when optimization is off
Sayed Adel [Fri, 12 Mar 2021 02:02:31 +0000 (02:02 +0000)]
core:ppc64 fix detecting CPU features when optimization is off

3 years agoMerge pull request #19683 from diablodale:add_defconstruct_noexcept_matumat
Alexander Alekhin [Thu, 11 Mar 2021 22:02:06 +0000 (22:02 +0000)]
Merge pull request #19683 from diablodale:add_defconstruct_noexcept_matumat

3 years agoMerge pull request #19253 from mightbxg:bugfix_PnPRansac
Xinguang Bian [Thu, 11 Mar 2021 21:53:06 +0000 (05:53 +0800)]
Merge pull request #19253 from mightbxg:bugfix_PnPRansac

* fix unexpected Exception in solvePnPRansac caused by input points

* calib3d: solvePnPRansac - keep minimal changes to handle DLT 6 points requirement

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #19703 from danbey:setting_StereoSGBMParams_in_init_list
Alexander Alekhin [Thu, 11 Mar 2021 21:33:19 +0000 (21:33 +0000)]
Merge pull request #19703 from danbey:setting_StereoSGBMParams_in_init_list

3 years agoUpstream fixes from release
Anastasiya Pronina [Thu, 11 Mar 2021 10:25:36 +0000 (13:25 +0300)]
Upstream fixes from release

3 years agoInit params (StereoSGBMParams) in StereoSGBMImpl constructor initialization list
Dan Ben Yosef [Wed, 10 Mar 2021 18:00:17 +0000 (13:00 -0500)]
Init params (StereoSGBMParams) in StereoSGBMImpl constructor initialization list

    To improve preformence it is better to init the params (StereoSGBMParams) in the
    initialization list.

3 years agoMerge pull request #19222 from YashasSamaga:cuda4dnn-fix-build-diagnostics
Alexander Alekhin [Wed, 10 Mar 2021 17:40:36 +0000 (17:40 +0000)]
Merge pull request #19222 from YashasSamaga:cuda4dnn-fix-build-diagnostics

3 years agoMerge pull request #19542 from OrestChura:oc/BGSub_ptest
Orest Chura [Wed, 10 Mar 2021 17:37:55 +0000 (20:37 +0300)]
Merge pull request #19542 from OrestChura:oc/BGSub_ptest

[G-API]: Performance tests for BackgroundSubtractor

* Perf.Tests for BackgroundSubtractor kernel

* Fix CI

* Addressing comments

* Addressing a comment

* Test cycle and validation changes

* Addressing  comment

* Added assert

3 years agoMerge pull request #19613 from WeiChungChang:NMS_refine
Alexander Alekhin [Wed, 10 Mar 2021 17:36:57 +0000 (17:36 +0000)]
Merge pull request #19613 from WeiChungChang:NMS_refine

3 years agoMerge pull request #18240 from mpashchenkov:mp/ocv-gapi-input-cnn-reshape
Maxim Pashchenkov [Wed, 10 Mar 2021 16:06:46 +0000 (19:06 +0300)]
Merge pull request #18240 from mpashchenkov:mp/ocv-gapi-input-cnn-reshape

[G-API]: Adding reshape for CNN input.

* Added CNN input IE reshape

* rbs

* Added unordered_set instead vector

* Alignment

3 years agoboost NMS performance
Qoo [Wed, 24 Feb 2021 09:32:45 +0000 (04:32 -0500)]
boost NMS performance

3 years agoMerge pull request #19617 from smirnov-alexey:as/extend_kernel_package_api
Alexey Smirnov [Wed, 10 Mar 2021 15:58:34 +0000 (18:58 +0300)]
Merge pull request #19617 from smirnov-alexey:as/extend_kernel_package_api

G-API: Extend GKernelPackage and serialization API

* Extend GKernelPackage API

* Adding tests

* Extend serialization API

* Address review comments

3 years agoMerge pull request #19692 from seiko2plus:issue_19647
Alexander Alekhin [Tue, 9 Mar 2021 18:14:41 +0000 (18:14 +0000)]
Merge pull request #19692 from seiko2plus:issue_19647

3 years agoMerge pull request #19619 from amirtu:OCV-221_get_and_set_cameras_on_stitcher
Amir Tulegenov [Tue, 9 Mar 2021 17:51:40 +0000 (23:51 +0600)]
Merge pull request #19619 from amirtu:OCV-221_get_and_set_cameras_on_stitcher

* Get and set cameras for sticher.

* Code review fixes.

Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai>
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
3 years agocore:ppc64 fix the build with the newer versions of Eigen on IBM/Power
Sayed Adel [Mon, 8 Mar 2021 19:13:12 +0000 (19:13 +0000)]
core:ppc64 fix the build with the newer versions of Eigen on IBM/Power

   It also fixes the build when universal intrinsics is disabled
   via `-DDCV_ENABLE_INTRINSICS=OFF`.

3 years agoMerge pull request #19690 from hedgepigdaniel:fix/calibration_fisheye
Daniel Playfair Cal [Tue, 9 Mar 2021 15:09:08 +0000 (02:09 +1100)]
Merge pull request #19690 from hedgepigdaniel:fix/calibration_fisheye

* fix(samples/camera_calibration): set new camera matrix for fisheye

* fix(camera_calibration): ignore inapplicable flags for fisheye

3 years agoMerge pull request #19688 from alalek:videoio_docs_hwaccel
Alexander Alekhin [Tue, 9 Mar 2021 15:06:43 +0000 (15:06 +0000)]
Merge pull request #19688 from alalek:videoio_docs_hwaccel

3 years agoMerge pull request #19675 from asmorkalov:as/pylint_warnings
Alexander Alekhin [Tue, 9 Mar 2021 09:43:52 +0000 (09:43 +0000)]
Merge pull request #19675 from asmorkalov:as/pylint_warnings

3 years agoRemoved unused variables found by pylint.
Alexander Smorkalov [Thu, 4 Mar 2021 14:05:15 +0000 (17:05 +0300)]
Removed unused variables found by pylint.

3 years agoMerge pull request #19685 from danbey:setting_stereoBMImpl_in_init_list
Dan Ben-Yosef [Sun, 7 Mar 2021 17:06:08 +0000 (19:06 +0200)]
Merge pull request #19685 from danbey:setting_stereoBMImpl_in_init_list

Init params (StereoBMParams) in StereoBMImpl constructor initialization list

* Init StereoBMImpl in initialization list

To improve preformence it is better to init the params (StereoBMImpl) in the
initialization list.

* coding style

* drop useless copy/move ctor

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #19687 from alalek:videoio_docs_fixes_3.4
Alexander Alekhin [Sun, 7 Mar 2021 16:23:24 +0000 (16:23 +0000)]
Merge pull request #19687 from alalek:videoio_docs_fixes_3.4

3 years agovideoio(doc): add 'videoio_hwaccel' group, fix typos
Alexander Alekhin [Sun, 7 Mar 2021 04:19:26 +0000 (04:19 +0000)]
videoio(doc): add 'videoio_hwaccel' group, fix typos

3 years agovideoio(docs): fixes
Alexander Alekhin [Sun, 7 Mar 2021 04:26:49 +0000 (04:26 +0000)]
videoio(docs): fixes

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 6 Mar 2021 17:29:12 +0000 (17:29 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19622 from terfendail:ref_doc
Vitaly Tuzov [Sat, 6 Mar 2021 17:22:21 +0000 (20:22 +0300)]
Merge pull request #19622 from terfendail:ref_doc

* Updated cpp reference implementations for a few intrinsics to address wide universal intrinsics as well

* Updated cpp reference implementations for a few more universal intrinsics