platform/upstream/opencv.git
2 years agoAdd make_capture_src for video stream to Python
xiong-jie-y [Sun, 15 May 2022 04:00:01 +0000 (13:00 +0900)]
Add make_capture_src for video stream to Python

2 years agoMerge pull request #21702 from mlourakis:4.x
Manolis Lourakis [Fri, 13 May 2022 18:11:14 +0000 (21:11 +0300)]
Merge pull request #21702 from mlourakis:4.x

Fixes and optimizations for the SQPnP solver

* Fixes and optimizations

- optimized the calculation of qa_sum by moving equal elements outside the loop
- unrolled copying of the lower triangle of omega
- substituted SVD with eigendecomposition in the factorization of omega (2-3 times faster)
- fixed the initialization of lambda in FOAM
- added a cheirality test that checks a solution on all 3D points rather than on their mean. The old test rejected valid poses in some cases
- fixed some typos & errors in comments

* reverted to SVD

Eigen decomposition seems to yield larger errors in certain tests, reverted to SVD

* nearestRotationMatrixSVD

Added nearestRotationMatrixSVD()
Previous nearestRotationMatrix() renamed to nearestRotationMatrixFOAM() and reverts to nearestRotationMatrixSVD() for singular matrices

* fixed checks order

Fixed the order of checks in PoseSolver::solveInternal()

2 years agoMerge pull request #21937 from Kumataro:4.x-fix-21911
Kumataro [Fri, 13 May 2022 17:32:05 +0000 (02:32 +0900)]
Merge pull request #21937 from Kumataro:4.x-fix-21911

* Fix warnings for clang15

* Fix warnings: Remove unnecessary code

* Fix warnings: Remove unnecessary code

2 years agoMerge pull request #21931 from victor1234:calib3d-add-undistortImagePoints
Victor [Thu, 12 May 2022 08:56:58 +0000 (11:56 +0300)]
Merge pull request #21931 from victor1234:calib3d-add-undistortImagePoints

Add undistortImagePoints function

* Add undistortImagePoints function
undistortPoints has unclear interface and additional functionality. New function computes only undistorted image points position

* Add undistortImagePoints test

* Add TermCriteria

* Fix layout

2 years agoMerge pull request #21608 from zihaomu:depth2space
OpenCV Pushbot [Thu, 12 May 2022 08:46:36 +0000 (08:46 +0000)]
Merge pull request #21608 from zihaomu:depth2space

DNN: add depth2space and space2depth layer for onnx importer

2 years agoMerge pull request #21883 from SergeyIvanov87:gapi_vpl_linux
Sergey [Thu, 12 May 2022 08:42:38 +0000 (11:42 +0300)]
Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux

G-API: VPL Source turn on Linux CPU version

* Turn on linux compilation

* Apply comments

* Change new files headline

* Add license header

2 years agoMerge pull request #21971 from asenyaev:asen/filtering_tests_4.x
OpenCV Pushbot [Thu, 12 May 2022 07:40:06 +0000 (07:40 +0000)]
Merge pull request #21971 from asenyaev:asen/filtering_tests_4.x

GTest filtered list for 4.x

2 years agoGTest filtered list for 4.x
Andrey Senyaev [Wed, 11 May 2022 15:08:44 +0000 (18:08 +0300)]
GTest filtered list for 4.x

2 years agoMerge pull request #21896 from asenyaev:asen/worflow_windows_4.x
Andrey Senyaev [Thu, 5 May 2022 08:09:20 +0000 (11:09 +0300)]
Merge pull request #21896 from asenyaev:asen/worflow_windows_4.x

Added workflow for Github Actions to build and test OpenCV on Windows for 4.x branch

2 years agoMerge pull request #21940 from hakaboom:python_wrap
OpenCV Pushbot [Wed, 4 May 2022 09:40:39 +0000 (09:40 +0000)]
Merge pull request #21940 from hakaboom:python_wrap

2 years agoWrap gpuMat::release to Python
huangziqing [Sun, 1 May 2022 16:54:17 +0000 (00:54 +0800)]
Wrap gpuMat::release to Python

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Developers [Sat, 30 Apr 2022 18:40:34 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21856 from LaurentBerger:I21853
OpenCV Pushbot [Fri, 29 Apr 2022 18:18:02 +0000 (18:18 +0000)]
Merge pull request #21856 from LaurentBerger:I21853

Try to solve I21853 mouse wheel problem with GTK3

2 years agoMerge pull request #21920 from asenyaev:asen/contrib_fork_check
OpenCV Pushbot [Fri, 29 Apr 2022 18:14:06 +0000 (18:14 +0000)]
Merge pull request #21920 from asenyaev:asen/contrib_fork_check

2 years agoMerge pull request #21923 from victor1234:calib3d-undistortPoints-R-P-test
OpenCV Pushbot [Fri, 29 Apr 2022 18:12:56 +0000 (18:12 +0000)]
Merge pull request #21923 from victor1234:calib3d-undistortPoints-R-P-test

2 years agoTry to solve I21853 mouse wheel problem with GTK3
LaurentBerger [Tue, 12 Apr 2022 11:48:33 +0000 (13:48 +0200)]
Try to solve I21853 mouse wheel problem with GTK3

2 years agoparsing depth2space and space2depth of ONNX importer
Zihao Mu [Fri, 29 Apr 2022 02:17:02 +0000 (10:17 +0800)]
parsing depth2space and space2depth of ONNX importer

2 years agoMerge pull request #21919 from asmorkalov:as/cuda_buffer_pool_python
OpenCV Pushbot [Thu, 28 Apr 2022 19:11:40 +0000 (19:11 +0000)]
Merge pull request #21919 from asmorkalov:as/cuda_buffer_pool_python

2 years agoMerge pull request #21888 from asenyaev:asen/workflow_only_windows_3.4
Andrey Senyaev [Thu, 28 Apr 2022 19:07:07 +0000 (22:07 +0300)]
Merge pull request #21888 from asenyaev:asen/workflow_only_windows_3.4

Added workflow for Github Actions to build and test OpenCV on Windows for 3.4 branch

* Added workflow for Github Actions to build and test OpenCV on Windows

* Updated Github Actions for 3.4 branch on Windows using self-hosted runner

* Fixed url for a fork in Windows workflow (3.4 branch)

* opencv_extra fork usage in Github Actions

2 years agoAdd use of R and P parameters to cv::undistortPoints test
Kataev Victor [Thu, 28 Apr 2022 18:46:52 +0000 (21:46 +0300)]
Add use of R and P parameters to cv::undistortPoints test

2 years agoopencv_contrib fork usage in Github Actions (3.4 branch)
Andrey Senyaev [Thu, 28 Apr 2022 13:19:00 +0000 (16:19 +0300)]
opencv_contrib fork usage in Github Actions (3.4 branch)

2 years agoFix #21894: Wrap constructor to Python to create initialized cuda::BufferPool object.
Alexander Smorkalov [Thu, 28 Apr 2022 09:18:26 +0000 (12:18 +0300)]
Fix #21894: Wrap constructor to Python to create initialized cuda::BufferPool object.

2 years agoMerge pull request #21915 from asenyaev:asen/fork_opencv_extra_4_x
OpenCV Pushbot [Wed, 27 Apr 2022 17:26:01 +0000 (17:26 +0000)]
Merge pull request #21915 from asenyaev:asen/fork_opencv_extra_4_x

2 years agoMerge pull request #21914 from asenyaev:asen/fork_opencv_extra
OpenCV Pushbot [Wed, 27 Apr 2022 17:25:30 +0000 (17:25 +0000)]
Merge pull request #21914 from asenyaev:asen/fork_opencv_extra

2 years agoopencv_extra fork usage in Github Actions (4.x branch)
Andrey Senyaev [Tue, 26 Apr 2022 11:20:44 +0000 (14:20 +0300)]
opencv_extra fork usage in Github Actions (4.x branch)

2 years agoopencv_extra fork usage in Github Actions
Andrey Senyaev [Tue, 26 Apr 2022 11:05:21 +0000 (14:05 +0300)]
opencv_extra fork usage in Github Actions

2 years agoMerge pull request #21905 from asenyaev:asen/fix_fork_url_4.x
OpenCV Pushbot [Tue, 26 Apr 2022 05:27:43 +0000 (05:27 +0000)]
Merge pull request #21905 from asenyaev:asen/fix_fork_url_4.x

2 years agoMerge pull request #21904 from asenyaev:asen/fix_fork_url
OpenCV Pushbot [Mon, 25 Apr 2022 19:06:52 +0000 (19:06 +0000)]
Merge pull request #21904 from asenyaev:asen/fix_fork_url

2 years agoFixed url for a fork (4.x branch)
Andrey Senyaev [Sat, 23 Apr 2022 22:53:53 +0000 (01:53 +0300)]
Fixed url for a fork (4.x branch)

2 years agoFixed url for a fork
Andrey Senyaev [Sat, 23 Apr 2022 22:44:15 +0000 (01:44 +0300)]
Fixed url for a fork

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Developers [Sat, 23 Apr 2022 18:59:59 +0000 (18:59 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21811 from fengyuentau:update_mirrors
OpenCV Pushbot [Fri, 22 Apr 2022 18:46:23 +0000 (18:46 +0000)]
Merge pull request #21811 from fengyuentau:update_mirrors

Support mirrors for TIM-VX and others 3rdparty components in opencv_contrib

2 years agoMerge pull request #21876 from asenyaev:asen/workflow_only_linux_4x
Andrey Senyaev [Thu, 21 Apr 2022 15:04:22 +0000 (18:04 +0300)]
Merge pull request #21876 from asenyaev:asen/workflow_only_linux_4x

Added workflow for Github Actions to build and test OpenCV on Linux for 4.x

* Added workflow for Github Actions to build and test OpenCV

* Merged a build and tests jobs into one, split tests by steps, renamed job names

2 years agoMerge pull request #21875 from asenyaev:asen/workflow_only_linux
Andrey Senyaev [Thu, 21 Apr 2022 14:59:56 +0000 (17:59 +0300)]
Merge pull request #21875 from asenyaev:asen/workflow_only_linux

Added workflow for Github Actions to build and test OpenCV on Linux

* Added workflow for Github Actions to build and test OpenCV

* Merged a build and tests in one job, changed naming

* Renamed job names, split workflows by branch, removed and added some cmake flags, save unit tests results as a html file

* Split tests by steps, removed workflows for 4.x and 5.x branches

2 years agoadd mirrors for tim-vx and others in opencv_contrib
fengyuentau [Thu, 21 Apr 2022 06:48:40 +0000 (14:48 +0800)]
add mirrors for tim-vx and others in opencv_contrib

2 years agoMerge pull request #21805 from rogday:pretty_fix
rogday [Wed, 20 Apr 2022 04:55:04 +0000 (07:55 +0300)]
Merge pull request #21805 from rogday:pretty_fix

Mat pretty printer: fix submatrix indexation

* fix submatrix indexation

* fix channels

2 years agoMerge pull request #21841 from victor1234:calib3d-undistortPoints-tests
Victor [Tue, 19 Apr 2022 18:07:34 +0000 (21:07 +0300)]
Merge pull request #21841 from victor1234:calib3d-undistortPoints-tests

Add distort/undistort test for fisheye::undistortPoints()

* Add distort/undistort test for fisheye::undistortPoints()

Lack of test has allowed error described in 19138 to be unnoticed.
In addition to random points, four corners and principal center
added to point set

* Add random distortion coefficients set

* Move undistortPoints test to google test, refactor

* Add fisheye::undistortPoints() perf test

* Add negative distortion coefficients to undistortPoints test, increase value

* Move to theRNG()

* Change test check from cvtest::norm(L2) to EXPECT_MAT_NEAR()

* Layout fix

* Add points number parameters, comments

2 years agoMerge pull request #21884 from rogday:cuda_cleanup
rogday [Tue, 19 Apr 2022 16:40:25 +0000 (19:40 +0300)]
Merge pull request #21884 from rogday:cuda_cleanup

Fix CUDA compilation issues and adjust thresholds.

* Fix CUDA compilation issues and adjust thresholds.

* add conformance tests to denylist

2 years agoMerge pull request #21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_und...
Victor [Sat, 16 Apr 2022 17:59:53 +0000 (20:59 +0300)]
Merge pull request #21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_undistortpoints

* Add termination criteria to cv::fisheye::undistortPoints()

* Add criteria.type check

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Developers [Sat, 16 Apr 2022 14:41:15 +0000 (14:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21873 from asmorkalov:as/jpeg_options
OpenCV Pushbot [Fri, 15 Apr 2022 18:49:49 +0000 (18:49 +0000)]
Merge pull request #21873 from asmorkalov:as/jpeg_options

Document defaults for JPEG settings.

2 years agoMerge pull request #21864 from rogday:21851_fix
OpenCV Pushbot [Fri, 15 Apr 2022 18:07:38 +0000 (18:07 +0000)]
Merge pull request #21864 from rogday:21851_fix

2 years agoDocument defaults for JPEG settings.
Alexander Smorkalov [Fri, 15 Apr 2022 11:36:48 +0000 (14:36 +0300)]
Document defaults for JPEG settings.

2 years agoaddress security concerns in persistence
rogday [Wed, 13 Apr 2022 19:45:43 +0000 (22:45 +0300)]
address security concerns in persistence

2 years agoMerge pull request #21861 from rogday:21852_fix
OpenCV Pushbot [Thu, 14 Apr 2022 09:59:44 +0000 (09:59 +0000)]
Merge pull request #21861 from rogday:21852_fix

Add assert to address tf simplifier security concerns

2 years agoadd assert to tf graph simplifier to address security concerns
rogday [Wed, 13 Apr 2022 12:55:36 +0000 (15:55 +0300)]
add assert to tf graph simplifier to address security concerns

2 years agoMerge pull request #21831 from zihaomu:sign_layer_onnx
OpenCV Pushbot [Wed, 13 Apr 2022 17:08:30 +0000 (17:08 +0000)]
Merge pull request #21831 from zihaomu:sign_layer_onnx

DNN: Add sign, shrink and reciprocal for onnx_impoter

2 years agoMerge pull request #21775 from luzpaz:typos/gapi
luzpaz [Wed, 13 Apr 2022 17:06:37 +0000 (13:06 -0400)]
Merge pull request #21775 from luzpaz:typos/gapi

* GAPI: fix various gapi related typos

Fixes source comments and documentation related to gapi code.

* Fix source typos

* Fixed typos requested

* Follow-up typo fix

2 years agoMerge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
OpenCV Pushbot [Tue, 12 Apr 2022 17:33:13 +0000 (17:33 +0000)]
Merge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4

2 years agoMerge pull request #21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x
OpenCV Pushbot [Tue, 12 Apr 2022 17:20:22 +0000 (17:20 +0000)]
Merge pull request #21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x

2 years agodnn(test): update opencv_face_detector checks
OpenCV Developers [Mon, 11 Apr 2022 19:14:33 +0000 (19:14 +0000)]
dnn(test): update opencv_face_detector checks

original commit: be4a432bea6f714bf14c8d9a4883b56d0effb4a0

2 years agodnn(test): update opencv_face_detector checks
OpenCV Developers [Mon, 11 Apr 2022 19:14:33 +0000 (19:14 +0000)]
dnn(test): update opencv_face_detector checks

2 years agoadd ONNX OP sign, shrink and reciprocal
zihaomu [Thu, 7 Apr 2022 07:32:12 +0000 (15:32 +0800)]
add ONNX OP sign, shrink and reciprocal

2 years agoMerge pull request #21822 from alalek:dnn_test_update_openvino_4.x
Alexander Alekhin [Tue, 5 Apr 2022 18:08:46 +0000 (18:08 +0000)]
Merge pull request #21822 from alalek:dnn_test_update_openvino_4.x

2 years agoMerge pull request #21819 from alalek:fix_videoio_ffmpeg_memory_leak_4.x
Alexander Alekhin [Tue, 5 Apr 2022 18:03:59 +0000 (18:03 +0000)]
Merge pull request #21819 from alalek:fix_videoio_ffmpeg_memory_leak_4.x

2 years agoMerge pull request #21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4
Alexander Alekhin [Tue, 5 Apr 2022 18:03:27 +0000 (18:03 +0000)]
Merge pull request #21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4

2 years agoMerge pull request #21504 from smirnov-alexey:as/oak_infer
Alexey Smirnov [Tue, 5 Apr 2022 18:00:32 +0000 (21:00 +0300)]
Merge pull request #21504 from smirnov-alexey:as/oak_infer

[GAPI] Support basic inference in OAK backend

* Combined commit which enables basic inference and other extra capabilities of OAK backend

* Remove unnecessary target options from the cmakelist

2 years agoMerge pull request #21779 from eplankin:fix_11303
eplankin [Tue, 5 Apr 2022 15:58:15 +0000 (18:58 +0300)]
Merge pull request #21779 from eplankin:fix_11303

Fixed out-of-bounds read in parallel version of ippGaussianBlur()

* Fixed out-of-memory read in parallel version of ippGaussianBlur()

* Fixed check

* Revert changes in CMakeLists.txt

2 years agovideoio(ffmpeg): avoid memory leaks
Alexander Alekhin [Fri, 1 Apr 2022 18:02:14 +0000 (18:02 +0000)]
videoio(ffmpeg): avoid memory leaks

2 years agodnn(test): update OpenVINO tests 2022.1.0 (OpenCV 4.x)
Alexander Alekhin [Mon, 4 Apr 2022 22:02:40 +0000 (22:02 +0000)]
dnn(test): update OpenVINO tests 2022.1.0 (OpenCV 4.x)

2 years agoMerge pull request #21821 from alalek:update_zlib
Alexander Alekhin [Tue, 5 Apr 2022 11:29:36 +0000 (14:29 +0300)]
Merge pull request #21821 from alalek:update_zlib

* 3rdparty: zlib 1.2.11 => 1.2.12

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

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

2 years agoMerge pull request #21812 from cpoerschke:BackgroundSubtractor-getDefaultName
Alexander Alekhin [Mon, 4 Apr 2022 18:57:00 +0000 (18:57 +0000)]
Merge pull request #21812 from cpoerschke:BackgroundSubtractor-getDefaultName

2 years agovideoio(ffmpeg): avoid memory leaks
Alexander Alekhin [Fri, 1 Apr 2022 18:02:14 +0000 (18:02 +0000)]
videoio(ffmpeg): avoid memory leaks

2 years agoMerge pull request #21731 from AsyaPronina:asyadev/fix_new_stream_event
Anastasiya(Asya) Pronina [Mon, 4 Apr 2022 17:39:02 +0000 (20:39 +0300)]
Merge pull request #21731 from AsyaPronina:asyadev/fix_new_stream_event

Fixed handling of new stream, especially for stateful OCV kernels

* Fixed handling of new stream, especially for stateful OCV kernels

* Removed duplication from StateInitOnce tests

* Addressed review comments for PR #21731
- Fixed explanation comments
- Expanded test for stateful OCV kernels in Regular mode

* Addressed review comments for PR #21731
- Moved notification about new stream to the constructor
- Added test on state reset for Regular mode

* Addresed review comments

* Addressed review comments

Co-authored-by: Ruslan Garnov <ruslan.garnov@intel.com>
2 years agoMerge pull request #21815 from sivanov-work:gapi_fix_ov_warning
Alexander Alekhin [Mon, 4 Apr 2022 12:20:25 +0000 (12:20 +0000)]
Merge pull request #21815 from sivanov-work:gapi_fix_ov_warning

2 years agoFix warning
sivanov-work [Mon, 4 Apr 2022 05:25:03 +0000 (08:25 +0300)]
Fix warning

2 years agoadd BackgroundSubtractor(KNN|MOG2).getDefaultName() implementation
Christine Poerschke [Sun, 3 Apr 2022 19:35:55 +0000 (20:35 +0100)]
add BackgroundSubtractor(KNN|MOG2).getDefaultName() implementation

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 2 Apr 2022 19:45:44 +0000 (19:45 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21795 from alalek:dnn_test_update_openvino_3.4
Alexander Alekhin [Sat, 2 Apr 2022 19:36:48 +0000 (19:36 +0000)]
Merge pull request #21795 from alalek:dnn_test_update_openvino_3.4

2 years agodnn(test): update OpenVINO tests 2022.1.0
Alexander Alekhin [Wed, 30 Mar 2022 19:03:38 +0000 (19:03 +0000)]
dnn(test): update OpenVINO tests 2022.1.0

2 years agoMerge pull request #21644 from sturkmen72:patch-5
Alexander Alekhin [Fri, 1 Apr 2022 22:43:33 +0000 (22:43 +0000)]
Merge pull request #21644 from sturkmen72:patch-5

2 years agoMerge pull request #21803 from oguzhanguclu:matches_info_pybinding
Oguzhan Guclu [Fri, 1 Apr 2022 22:13:14 +0000 (01:13 +0300)]
Merge pull request #21803 from oguzhanguclu:matches_info_pybinding

python binding for matches and inliers_mask attributes of cv2.detail_MatchesInfo class

* making matches and inliers_mask attributes of cv2.detail_MatchesInfo class accessible from python interface

* binding test for cv2.detail_MatchesInfo class

2 years agoMerge pull request #21798 from gititgo:4.x
Alexander Alekhin [Fri, 1 Apr 2022 22:11:57 +0000 (22:11 +0000)]
Merge pull request #21798 from gititgo:4.x

2 years agoMerge pull request #21794 from yash112-lang:3.4
Alexander Alekhin [Fri, 1 Apr 2022 22:10:50 +0000 (22:10 +0000)]
Merge pull request #21794 from yash112-lang:3.4

2 years agoMerge pull request #20938 from JulieBar:lstm_cuda2
Alexander Alekhin [Fri, 1 Apr 2022 22:10:08 +0000 (22:10 +0000)]
Merge pull request #20938 from JulieBar:lstm_cuda2

2 years agoMerge pull request #21754 from mshabunin:fix-ffmpeg5
Alexander Alekhin [Fri, 1 Apr 2022 18:34:30 +0000 (18:34 +0000)]
Merge pull request #21754 from mshabunin:fix-ffmpeg5

2 years agoMerge pull request #21752 from fengyuentau:add_github_actions_for_timvx_backend
Yuantao Feng [Fri, 1 Apr 2022 12:35:12 +0000 (20:35 +0800)]
Merge pull request #21752 from fengyuentau:add_github_actions_for_timvx_backend

CI for TIM-VX backend

* github actions for TIM-VX backend https://github.com/opencv/opencv/pull/21036

* add reference to yuentau/ocv_ubuntu:20.04; remove extra quotes; enable BUILD_TESTS

* rename to timvx_backend_tests.yml

* add image source prefix

* remove if condition for x86_64 simulator

2 years agoMerge pull request #21688 from sivanov-work:vpp_ie_integration
Sergey Ivanov [Fri, 1 Apr 2022 10:06:47 +0000 (13:06 +0300)]
Merge pull request #21688 from sivanov-work:vpp_ie_integration

G-API: VPP preprocessing GIEBackend integration

* Add ROI in VPP prepro

* Apply comments

* Integration to IE

* Removed extra invocations

* Fix no-vpl compilation

* Fix compilations

* Apply comments

* Use thin wrapper for device & ctx

* Implement Device/Context constructor functions

* Apply samples comment

* Fix compilation

* Fix compilation

* Fix build

* Separate Device&Context from selector, apply other comments

* Fix typo

* Intercept OV exception with pretty print out

2 years agofix MSA sum overflow issue
shengwenxue [Wed, 30 Mar 2022 03:29:01 +0000 (11:29 +0800)]
fix MSA sum overflow issue

2 years agoMerge pull request #21036 from fengyuentau:timvx_backend_support
Zihao Mu [Thu, 31 Mar 2022 21:42:11 +0000 (05:42 +0800)]
Merge pull request #21036 from fengyuentau:timvx_backend_support

dnn: TIM-VX NPU backend support

* Add TimVX NPU backend for DNN module.

* use official branch from tim-vx repo; fix detecting viv sdk

Co-authored-by: fytao <yuantao.feng@outlook.com>
2 years agoUpdate Condition
Yash Singhal [Wed, 30 Mar 2022 06:11:50 +0000 (11:41 +0530)]
Update Condition

Update connectedcomponents.cpp

2 years agoMerge pull request #21782 from TolyaTalamanov:at/fix-1d-mat-problems
Anatoliy Talamanov [Thu, 31 Mar 2022 21:00:45 +0000 (00:00 +0300)]
Merge pull request #21782 from TolyaTalamanov:at/fix-1d-mat-problems

[G-API] Fix problems with 1D cv::Mat as graph output

* Fix issues with 1D cv::Mat

* Fix cv::Mat::create

* Fix standalone build

* Add test on 1d mat

* Fix warning

* Add additional condition

* Add more tests

2 years agoAdd CUDA support for LSTM.
Smirnov Egor [Wed, 30 Mar 2022 12:26:29 +0000 (15:26 +0300)]
Add CUDA support for LSTM.

Co-authored-by: Julia Bareeva <jbareeva@gmail.com>
2 years agoMerge pull request #21796 from alalek:dnn_reduce_fixup_21601
Alexander Alekhin [Wed, 30 Mar 2022 22:26:28 +0000 (22:26 +0000)]
Merge pull request #21796 from alalek:dnn_reduce_fixup_21601

2 years agoMerge pull request #21351 from hanliutong:rvv-clang
HAN Liutong [Wed, 30 Mar 2022 20:04:34 +0000 (04:04 +0800)]
Merge pull request #21351 from hanliutong:rvv-clang

* Update universal intrinsics of RVV back-end.

* Use array instead of malloc.

2 years agodnn: fix ReduceLayer implementation, update OpenVINO tests
Alexander Alekhin [Wed, 30 Mar 2022 11:06:18 +0000 (11:06 +0000)]
dnn: fix ReduceLayer implementation, update OpenVINO tests

2 years agodnn(test): update OpenVINO tests 2021.4.2
Alexander Alekhin [Wed, 30 Mar 2022 10:47:59 +0000 (10:47 +0000)]
dnn(test): update OpenVINO tests 2021.4.2

2 years agovideoio: initial FFmpeg 5.0 support
Maksim Shabunin [Sat, 19 Mar 2022 17:06:50 +0000 (20:06 +0300)]
videoio: initial FFmpeg 5.0 support

2 years agoadd test (DISABLED_open_from_web)
Suleyman TURKMEN [Tue, 29 Mar 2022 07:39:07 +0000 (10:39 +0300)]
add test (DISABLED_open_from_web)

2 years agoMerge pull request #21777 from anna-khakimova:ak/convertto_simd
Anna Khakimova [Tue, 29 Mar 2022 21:14:01 +0000 (00:14 +0300)]
Merge pull request #21777 from anna-khakimova:ak/convertto_simd

GAPI Fluid: SIMD for ConvertTo.

* GAPI Fluid: SIMD for convertto.

* Applied comments

2 years agoMerge pull request #21785 from alalek:python_fix_subclass_order
Alexander Alekhin [Mon, 28 Mar 2022 12:16:56 +0000 (12:16 +0000)]
Merge pull request #21785 from alalek:python_fix_subclass_order

2 years agopython: ensure publishing of subclasses before derived types
Alexander Alekhin [Sun, 27 Mar 2022 12:48:49 +0000 (12:48 +0000)]
python: ensure publishing of subclasses before derived types

2 years agoMerge pull request #21781 from VadimLevin:dev/vlevin/skip-inline-namespaces
Alexander Alekhin [Sat, 26 Mar 2022 21:40:45 +0000 (21:40 +0000)]
Merge pull request #21781 from VadimLevin:dev/vlevin/skip-inline-namespaces

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 26 Mar 2022 16:00:11 +0000 (16:00 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21601 from zihaomu:add_reduceLayer
Alexander Alekhin [Sat, 26 Mar 2022 10:20:10 +0000 (10:20 +0000)]
Merge pull request #21601 from zihaomu:add_reduceLayer

2 years agoMerge pull request #21750 from alalek:dnn_fix_index_access
Alexander Alekhin [Fri, 25 Mar 2022 18:26:10 +0000 (18:26 +0000)]
Merge pull request #21750 from alalek:dnn_fix_index_access

2 years agoMerge pull request #21728 from anna-khakimova:ak/resize_f32c1_avx_simd
Anna Khakimova [Fri, 25 Mar 2022 15:11:01 +0000 (18:11 +0300)]
Merge pull request #21728 from anna-khakimova:ak/resize_f32c1_avx_simd

GAPI Fluid: SIMD AVX2 Resize F32C1.

* GAPI Fluid: Resize F32C1 scalar.

* Final version

* GAPI Fluid: SIMD AVX2 for Resize F32C1.

* Applied comments.

* Deleted warning suppression.

* Applied comments.

2 years agofix: inline namespace handling in header parser
Vadim Levin [Fri, 25 Mar 2022 12:36:31 +0000 (15:36 +0300)]
fix: inline namespace handling in header parser

`inline namespace` should be skipped in header parser namespaces list.
Example:
```cpp
namespace cv {
inline namespace inlined {
namespace inner {
// content
} // namespace inner
} // namespace inlined
} // namespace cv
```
Before fix `inner` is registered as `cv..inner`
After fix: `cv.inner`

2 years agoMerge pull request #21719 from TolyaTalamanov:at/pipeline_modeling_tool-skip-frames...
Anatoliy Talamanov [Fri, 25 Mar 2022 08:22:45 +0000 (11:22 +0300)]
Merge pull request #21719 from TolyaTalamanov:at/pipeline_modeling_tool-skip-frames-for-nodes

[G-API] Pipeline modeling tool: Skip frames

* Add skip feature

* Refactoring

* Fix warning

* Put more comments

* Fix comments to review

* Agregate common params into structure

* Fix warning

* Clean up & add test

* Add assert

* Fix warning on Mac

* Update modules/gapi/samples/pipeline_modeling_tool.cpp

Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
2 years agoMerge pull request #21660 from TolyaTalamanov:at/handle-exception-in-streamingexecutor
Anatoliy Talamanov [Fri, 25 Mar 2022 08:19:53 +0000 (11:19 +0300)]
Merge pull request #21660 from TolyaTalamanov:at/handle-exception-in-streamingexecutor

[G-API] Handle exceptions in streaming executor

* Handle exceptions in streaming executor

* Rethrow exception in non-streaming executor

* Clean up

* Put more tests

* Handle exceptions in IE backend

* Handle exception in IE callbacks

* Handle exception in GExecutor

* Handle all exceptions in IE backend

* Not only (std::exception& e)

* Fix comments to review

* Handle input exception in generic way

* Fix comment

* Clean up

* Apply review comments

* Put more comments
* Fix alignment
* Move test outside of HAVE_NGRAPH

* Fix compilation