platform/upstream/opencv.git
2 years agoMerge pull request #22149 from seanm:sprintf
Sean McBride [Sat, 25 Jun 2022 03:48:22 +0000 (23:48 -0400)]
Merge pull request #22149 from seanm:sprintf

Replaced sprintf with safer snprintf

* Straightforward replacement of sprintf with safer snprintf

* Trickier replacement of sprintf with safer snprintf

Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.

2 years agoMerge pull request #22100 from WanliZhong:issue_22015
Wanli [Wed, 22 Jun 2022 11:21:16 +0000 (19:21 +0800)]
Merge pull request #22100 from WanliZhong:issue_22015

Fix issue 22015, let Clip layer support 1-3 inputs

* Fix issue 22015.
Let layer Clip support 1-3 inputs.

* Resolve other problems caused by modifications

* Update onnx_importer.cpp

added extra checks to min/max handling in Clip

* Add assertions to check the size of the input

* Add test for clip with min and max initializers

* Separate test for "clip_init_min_max". Change the check method for input_size to provide a clearer message in case of problem.

* Add tests for clip with min or max initializers

* Change the implementation of getting input

Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2 years agoMerge pull request #22122 from zihaomu:gemm_onnx_bug_fix
Alexander Alekhin [Wed, 22 Jun 2022 08:56:47 +0000 (08:56 +0000)]
Merge pull request #22122 from zihaomu:gemm_onnx_bug_fix

2 years agobug fixed of GEMM node in ONNX_importer
Zihao Mu [Wed, 22 Jun 2022 07:00:17 +0000 (15:00 +0800)]
bug fixed of GEMM node in ONNX_importer

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 16 Jun 2022 11:04:50 +0000 (11:04 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #22103 from fengyuentau:macOS_workflows_for_3.4
Alexander Alekhin [Wed, 15 Jun 2022 18:32:26 +0000 (18:32 +0000)]
Merge pull request #22103 from fengyuentau:macOS_workflows_for_3.4

2 years agore-commit: add workflows for macOS for 3.4
fengyuentau [Wed, 15 Jun 2022 10:25:35 +0000 (18:25 +0800)]
re-commit: add workflows for macOS for 3.4

2 years agoMerge pull request #22104 from fengyuentau:macOS_workflows_for_4.x
Alexander Alekhin [Wed, 15 Jun 2022 07:54:38 +0000 (07:54 +0000)]
Merge pull request #22104 from fengyuentau:macOS_workflows_for_4.x

2 years agoadd workflows for macOS for 4.x
fengyuentau [Wed, 15 Jun 2022 03:02:07 +0000 (11:02 +0800)]
add workflows for macOS for 4.x

2 years agoMerge pull request #22091 from mukai1011:3.4
Alexander Alekhin [Tue, 14 Jun 2022 21:35:08 +0000 (21:35 +0000)]
Merge pull request #22091 from mukai1011:3.4

2 years agoMerge pull request #22080 from vrabaud:fix_arm
Alexander Alekhin [Mon, 13 Jun 2022 18:17:24 +0000 (18:17 +0000)]
Merge pull request #22080 from vrabaud:fix_arm

2 years agoMerge pull request #22089 from tailsu:sd/fix-displaymatrix-orientation
Alexander Alekhin [Mon, 13 Jun 2022 18:17:08 +0000 (18:17 +0000)]
Merge pull request #22089 from tailsu:sd/fix-displaymatrix-orientation

2 years agoFix compilation on some ARM architecture.
Vincent Rabaud [Wed, 8 Jun 2022 14:29:47 +0000 (16:29 +0200)]
Fix compilation on some ARM architecture.

This condition is the same as the line above.

2 years agocorrect direction of displaymatrix rotation
Stefan Dragnev [Fri, 10 Jun 2022 13:32:18 +0000 (15:32 +0200)]
correct direction of displaymatrix rotation

2 years agoMerge pull request #22079 from asmorkalov:as/calibration_save_frames
Alexander Alekhin [Sat, 11 Jun 2022 10:39:05 +0000 (10:39 +0000)]
Merge pull request #22079 from asmorkalov:as/calibration_save_frames

2 years agoMissing import
Kôtaro Mukai [Sat, 11 Jun 2022 09:42:30 +0000 (18:42 +0900)]
Missing import

2 years agoSave Frames option for interactive calibration tool
Alexander Smorkalov [Wed, 8 Jun 2022 10:59:55 +0000 (13:59 +0300)]
Save Frames option for interactive calibration tool

The option to save all frames that contribute to final calibration result.
Useful for dataset collection and further offline tuning.

2 years agoMerge pull request #22018 from RidgeRun:gstreamer-consider-video-meta-if-available
Alexander Alekhin [Wed, 8 Jun 2022 20:25:24 +0000 (20:25 +0000)]
Merge pull request #22018 from RidgeRun:gstreamer-consider-video-meta-if-available

2 years agoMerge tag '4.6.0'
Alexander Alekhin [Sun, 5 Jun 2022 19:23:41 +0000 (19:23 +0000)]
Merge tag '4.6.0'

2 years agorelease: OpenCV 4.6.0
Alexander Alekhin [Sun, 5 Jun 2022 15:32:44 +0000 (15:32 +0000)]
release: OpenCV 4.6.0

2 years agoMerge pull request #22047 from jlopezr:trackbar-ordered-in-mac
Juan López Rubio [Sun, 5 Jun 2022 15:30:16 +0000 (17:30 +0200)]
Merge pull request #22047 from jlopezr:trackbar-ordered-in-mac

* In Mac highgui now shows trackbars in creation order

* In Mac highgui trackbars show current value

* Remove trailing spaces in objectivec code

2 years agoMerge tag '3.4.18'
Alexander Alekhin [Sun, 5 Jun 2022 15:16:54 +0000 (15:16 +0000)]
Merge tag '3.4.18'

2 years agorelease: OpenCV 3.4.18
Alexander Alekhin [Sun, 5 Jun 2022 07:52:44 +0000 (07:52 +0000)]
release: OpenCV 3.4.18

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 4 Jun 2022 19:10:35 +0000 (19:10 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #22025 from AleksandrPanov:fix_samplingForVersion_multiplyingFactor
Alexander Panov [Sat, 4 Jun 2022 14:33:08 +0000 (17:33 +0300)]
Merge pull request #22025 from AleksandrPanov:fix_samplingForVersion_multiplyingFactor

Fix sampling for version multiplying factor

* reduce experimentalFrequencyElem and listFrequencyElem

* fix large resize

* fix tile in postIntermediate

* add getMinSideLen(), add corrected_index

* add test decode_regression_21929 author Kumataro, add test decode_regression_version_25

2 years agoMerge pull request #22061 from alalek:imgproc_color_hsv_use_singleton
Alexander Alekhin [Fri, 3 Jun 2022 09:03:33 +0000 (09:03 +0000)]
Merge pull request #22061 from alalek:imgproc_color_hsv_use_singleton

2 years agoimgproc: use singleton in color_hsv.simd.hpp
Alexander Alekhin [Wed, 1 Jun 2022 19:02:56 +0000 (19:02 +0000)]
imgproc: use singleton in color_hsv.simd.hpp

2 years agoMerge pull request #22059 from Kumataro:3.4-fix21899
Alexander Alekhin [Wed, 1 Jun 2022 18:38:22 +0000 (18:38 +0000)]
Merge pull request #22059 from Kumataro:3.4-fix21899

2 years agohighgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
Kumataro [Wed, 1 Jun 2022 12:45:53 +0000 (21:45 +0900)]
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout

2 years agoMerge pull request #22030 from Kumataro:3.4-fix22029
Kumataro [Tue, 31 May 2022 10:58:17 +0000 (19:58 +0900)]
Merge pull request #22030 from Kumataro:3.4-fix22029

* objdetect: qrcode_encoder: fix to missing timing pattern

* objdetect: qrcode_encoder: Add SCOPED_TRACE() and replace CV_Assert() to ASSERT_EQ().

- Add SCOPED_TRACE() for version loop.

- Replace CV_Assert() to ASSERT_EQ().

- Rename expect_msg to msg.

2 years agoMerge pull request #22041 from nglee:fix_return_by_const_value
Alexander Alekhin [Tue, 31 May 2022 10:51:55 +0000 (10:51 +0000)]
Merge pull request #22041 from nglee:fix_return_by_const_value

2 years agoMerge pull request #22054 from asenyaev:asen/fix_matching_xcode_version
Alexander Alekhin [Tue, 31 May 2022 06:39:09 +0000 (06:39 +0000)]
Merge pull request #22054 from asenyaev:asen/fix_matching_xcode_version

2 years agoFix Xcode version matching
Andrey Senyaev [Mon, 30 May 2022 22:58:50 +0000 (01:58 +0300)]
Fix Xcode version matching

2 years agoMerge pull request #22019 from victor1234:calib3d-fix-cameracalibration-test
Alexander Alekhin [Mon, 30 May 2022 18:27:14 +0000 (18:27 +0000)]
Merge pull request #22019 from victor1234:calib3d-fix-cameracalibration-test

2 years agoMerge pull request #22021 from victor1234:issue-10947_calib3d-update-fisheye-distortp...
Alexander Alekhin [Mon, 30 May 2022 18:21:02 +0000 (18:21 +0000)]
Merge pull request #22021 from victor1234:issue-10947_calib3d-update-fisheye-distortpoint-doc

2 years agoMerge pull request #22045 from victor1234:calib3d-fisheye-model-reference
Victor [Mon, 30 May 2022 18:03:08 +0000 (21:03 +0300)]
Merge pull request #22045 from victor1234:calib3d-fisheye-model-reference

* Add fisheye camera model summary description with reference

* Fix layout

* Move reference to bibtex

2 years agoMerge pull request #21843 from Rufflewind:doc
Alexander Alekhin [Sat, 28 May 2022 11:44:19 +0000 (11:44 +0000)]
Merge pull request #21843 from Rufflewind:doc

2 years agoMerge pull request #22034 from alalek:update_ffmpeg_4.x
Alexander Alekhin [Sat, 28 May 2022 02:57:55 +0000 (02:57 +0000)]
Merge pull request #22034 from alalek:update_ffmpeg_4.x

2 years agoMerge pull request #22005 from lukasalexanderweber:delete_stitching_tool
Lukas-Alexander Weber [Thu, 26 May 2022 19:30:24 +0000 (21:30 +0200)]
Merge pull request #22005 from lukasalexanderweber:delete_stitching_tool

Move stitching package and tool to a dedicated repository

* deleted moved files

* Update README.md

2 years agoMerge pull request #22035 from mohawk2:patch-1
Alexander Alekhin [Thu, 26 May 2022 19:15:39 +0000 (19:15 +0000)]
Merge pull request #22035 from mohawk2:patch-1

2 years agoremove const from functions returning by value
Namgoo Lee [Thu, 26 May 2022 12:30:41 +0000 (21:30 +0900)]
remove const from functions returning by value

2 years agotypo: Minkowsky is actually Minkowski
mohawk2 [Wed, 25 May 2022 14:23:10 +0000 (15:23 +0100)]
typo: Minkowsky is actually Minkowski

2 years agoMerge pull request #22033 from alalek:windows_skip_failed_videoio_tests
Alexander Alekhin [Wed, 25 May 2022 11:51:31 +0000 (11:51 +0000)]
Merge pull request #22033 from alalek:windows_skip_failed_videoio_tests

2 years agovideoio(test): skip failed tests in misconfigured environments
Alexander Alekhin [Tue, 24 May 2022 23:35:45 +0000 (23:35 +0000)]
videoio(test): skip failed tests in misconfigured environments

2 years agoMerge pull request #22028 from alalek:build_warnings_4.x
Alexander Alekhin [Wed, 25 May 2022 06:39:37 +0000 (06:39 +0000)]
Merge pull request #22028 from alalek:build_warnings_4.x

2 years agoffmpeg/4.x: update FFmpeg wrapper 2022.05
Alexander Alekhin [Tue, 24 May 2022 23:44:10 +0000 (23:44 +0000)]
ffmpeg/4.x: update FFmpeg wrapper 2022.05

- FFmpeg 4.4.2
- libvpx 1.11

2 years agobuild: eliminate warnings
Alexander Alekhin [Mon, 23 May 2022 19:37:16 +0000 (19:37 +0000)]
build: eliminate warnings

2 years agoMerge pull request #22027 from alalek:update_version_4.6.0-pre
Alexander Alekhin [Tue, 24 May 2022 21:37:18 +0000 (21:37 +0000)]
Merge pull request #22027 from alalek:update_version_4.6.0-pre

2 years agoMerge pull request #22026 from alalek:update_version_3.4.18-pre
Alexander Alekhin [Tue, 24 May 2022 20:23:27 +0000 (20:23 +0000)]
Merge pull request #22026 from alalek:update_version_3.4.18-pre

2 years agoMerge pull request #22006 from rogday:21947_fix
Alexander Alekhin [Tue, 24 May 2022 19:26:02 +0000 (19:26 +0000)]
Merge pull request #22006 from rogday:21947_fix

2 years agoMerge pull request #22024 from berak:patch-1
Alexander Alekhin [Tue, 24 May 2022 08:20:26 +0000 (08:20 +0000)]
Merge pull request #22024 from berak:patch-1

2 years agofix vector access in TF::sortByExecutionOrder
rogday [Wed, 18 May 2022 20:52:56 +0000 (23:52 +0300)]
fix vector access in TF::sortByExecutionOrder

2 years agopre: OpenCV 4.6.0 (version++)
Alexander Alekhin [Mon, 23 May 2022 19:25:16 +0000 (19:25 +0000)]
pre: OpenCV 4.6.0 (version++)

2 years agopre: OpenCV 3.4.18 (version++)
Alexander Alekhin [Mon, 23 May 2022 19:18:02 +0000 (19:18 +0000)]
pre: OpenCV 3.4.18 (version++)

2 years agoUpdate darknet_importer.cpp
berak [Mon, 23 May 2022 17:18:31 +0000 (19:18 +0200)]
Update darknet_importer.cpp

make it more obvious, that this is a '404', not a 'parsing' problem

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 23 May 2022 14:58:45 +0000 (14:58 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21818 from rogday:revert_renaming
rogday [Mon, 23 May 2022 14:50:42 +0000 (17:50 +0300)]
Merge pull request #21818 from rogday:revert_renaming

* add prefixes to layer names and layer output names

* dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoUpdate fisheye::distortPoints() documentation
Kataev Victor [Mon, 23 May 2022 11:30:09 +0000 (14:30 +0300)]
Update fisheye::distortPoints() documentation

2 years agoFix cameracalibration test
Kataev Victor [Mon, 23 May 2022 11:06:41 +0000 (14:06 +0300)]
Fix cameracalibration test

* Remove transpose for rvec after calibration
* Change compare threshold from 110% to 10% for perViewErrors
* Add transpose to goodRotMatrs load

2 years agoUpdate js_usage.markdown to use onRuntimeInitialized
Phil Ruffwind [Sat, 9 Apr 2022 05:48:03 +0000 (22:48 -0700)]
Update js_usage.markdown to use onRuntimeInitialized

The Emscripten library is not guaranteed to be fully loaded during the
script element's onload event. Module.onRuntimeInitialized seems to be
more reliable.

2 years agoConsider video meta on GStreamer video capture
Michael Gruner [Mon, 23 May 2022 02:08:38 +0000 (20:08 -0600)]
Consider video meta on GStreamer video capture

Some GStreamer elements may produce buffers with very non
standard strides, offsets and/or even transport each plane
in different, non-contiguous pointers. This non-standard
layout is communicated via GstVideoMeta structures attached
to the buffers. Given this, when a GstVideoMeta is available,
one should parse the layout from it instead of generating
a generic one from the caps.

The GstVideoFrame utility does precisely this: if the buffer
contains a video meta, it uses that to fill the format and
memory layout. If there is no meta available, the layout is
inferred from the caps.

2 years agoMerge pull request #22013 from asenyaev:asen/move_workflows_4.x
Alexander Alekhin [Sun, 22 May 2022 13:42:34 +0000 (13:42 +0000)]
Merge pull request #22013 from asenyaev:asen/move_workflows_4.x

2 years agoMerge pull request #22001 from asenyaev:asen/move_workflows
Alexander Alekhin [Sun, 22 May 2022 13:41:56 +0000 (13:41 +0000)]
Merge pull request #22001 from asenyaev:asen/move_workflows

2 years agoMove workflows to a dedicated repository for 4.x branch
Andrey Senyaev [Fri, 20 May 2022 16:46:56 +0000 (19:46 +0300)]
Move workflows to a dedicated repository for 4.x branch

2 years agoMove workflows to a dedicated repository
Andrey Senyaev [Fri, 20 May 2022 11:29:43 +0000 (14:29 +0300)]
Move workflows to a dedicated repository

2 years agoMerge pull request #22008 from zachlowry:umat-format-string
Alexander Alekhin [Thu, 19 May 2022 21:51:01 +0000 (21:51 +0000)]
Merge pull request #22008 from zachlowry:umat-format-string

2 years agoMerge pull request #21991 from fengyuentau:qconv_asympad
Alexander Alekhin [Thu, 19 May 2022 17:20:04 +0000 (17:20 +0000)]
Merge pull request #21991 from fengyuentau:qconv_asympad

2 years agoMerge pull request #21992 from tumicdq:v4l2
Martin Tůma [Thu, 19 May 2022 12:37:10 +0000 (14:37 +0200)]
Merge pull request #21992 from tumicdq:v4l2

* Added support for 4B RGB V4L2 pixel formats

Added support for V4L2_PIX_FMT_XBGR32 and V4L2_PIX_FMT_ABGR32 pixel
formats.

* Added workaround for missing V4L2_PIX_FMT_ABGR32 and V4L2_PIX_FMT_XBGR32
defines

2 years agoMerge pull request #21941 from cpoerschke:4.x-fix-imgproc-typos
Alexander Alekhin [Tue, 17 May 2022 21:42:36 +0000 (21:42 +0000)]
Merge pull request #21941 from cpoerschke:4.x-fix-imgproc-typos

2 years agoMerge pull request #21984 from xiong-jie-y:add_make_capture_for_camera_stream
Alexander Alekhin [Tue, 17 May 2022 21:22:16 +0000 (21:22 +0000)]
Merge pull request #21984 from xiong-jie-y:add_make_capture_for_camera_stream

2 years agoMerge pull request #21988 from alalek:fix_warnings_gcc12_3.4
Alexander Alekhin [Tue, 17 May 2022 16:27:15 +0000 (16:27 +0000)]
Merge pull request #21988 from alalek:fix_warnings_gcc12_3.4

2 years agoMerge pull request #21987 from alalek:gapi_test_reduce_used_memory
Alexander Alekhin [Tue, 17 May 2022 16:26:13 +0000 (16:26 +0000)]
Merge pull request #21987 from alalek:gapi_test_reduce_used_memory

2 years agoMerge pull request #21998 from alalek:gha_fix_git_merge_fixup_21986
Alexander Alekhin [Tue, 17 May 2022 16:24:25 +0000 (16:24 +0000)]
Merge pull request #21998 from alalek:gha_fix_git_merge_fixup_21986

2 years agoMerge pull request #21994 from asenyaev:asen/extra_dnn_testing
Andrey Senyaev [Tue, 17 May 2022 16:23:32 +0000 (19:23 +0300)]
Merge pull request #21994 from asenyaev:asen/extra_dnn_testing

Extended DNN testing in GHA

* Extended DNN testing in GHA for 3.4 branch

* Updated docker images in Linux GitHub Actions

* Added OPENCV_DOWNLOAD_PATH flag for ARM build to use pre-downloaded binaries

2 years agoGHA: fix git merge (part 2)
Alexander Alekhin [Tue, 17 May 2022 14:53:04 +0000 (14:53 +0000)]
GHA: fix git merge (part 2)

2 years agoMerge pull request #21986 from alalek:gha_fix_git_merge
Alexander Alekhin [Mon, 16 May 2022 14:35:55 +0000 (14:35 +0000)]
Merge pull request #21986 from alalek:gha_fix_git_merge

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 agosupport asymmetric paddings for qconv
fengyuentau [Mon, 16 May 2022 11:01:37 +0000 (19:01 +0800)]
support asymmetric paddings for qconv

2 years agobuild: GCC12 warnings
Alexander Alekhin [Sun, 15 May 2022 16:20:45 +0000 (16:20 +0000)]
build: GCC12 warnings

2 years agoMerge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number
dbudnikov [Sun, 15 May 2022 10:07:01 +0000 (13:07 +0300)]
Merge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number

Reduce G-API tests number

* reduce number of G-API tests

* reduce number of G-API tests

* Address more comments from Dmitry.

2 years agoMerge pull request #21907 from fengyuentau:workflow_arm_4.x
Alexander Alekhin [Sun, 15 May 2022 10:04:55 +0000 (10:04 +0000)]
Merge pull request #21907 from fengyuentau:workflow_arm_4.x

2 years agogapi(test): reduce used amount of memory
Alexander Alekhin [Sun, 15 May 2022 09:41:25 +0000 (09:41 +0000)]
gapi(test): reduce used amount of memory

2 years agoGHA: fix git merge
Alexander Alekhin [Sun, 15 May 2022 09:35:38 +0000 (09:35 +0000)]
GHA: fix git merge

2 years agoadd ARM64 workflow for 4.x
fengyuentau [Fri, 29 Apr 2022 03:04:06 +0000 (11:04 +0800)]
add ARM64 workflow for 4.x

add opencv_contrib fork check

use image hosted on quay.io

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Developers [Sat, 14 May 2022 11:21:33 +0000 (11:21 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21980 from asenyaev:asen/move_variables_to_the_host
OpenCV Pushbot [Sat, 14 May 2022 11:03:17 +0000 (11:03 +0000)]
Merge pull request #21980 from asenyaev:asen/move_variables_to_the_host

2 years agoMove environment variables on a host side (GHA Windows)
Andrey Senyaev [Fri, 13 May 2022 15:14:45 +0000 (18:14 +0300)]
Move environment variables on a host side (GHA Windows)

2 years agoMerge pull request #21977 from asenyaev:asen/win_contrib
OpenCV Pushbot [Fri, 13 May 2022 20:59:51 +0000 (20:59 +0000)]
Merge pull request #21977 from asenyaev:asen/win_contrib

2 years agoMerge pull request #21964 from Julian-Sz:patch-1
OpenCV Pushbot [Fri, 13 May 2022 18:13:30 +0000 (18:13 +0000)]
Merge pull request #21964 from Julian-Sz:patch-1

Documentation Fix: Python and Java switched in Explanation

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 agoAdded opencv_contrib branch check on Windows
Andrey Senyaev [Fri, 13 May 2022 12:38:51 +0000 (15:38 +0300)]
Added opencv_contrib branch check on Windows

2 years agoMerge pull request #21975 from asenyaev:asen/fix_terminating_windows_actions
OpenCV Pushbot [Fri, 13 May 2022 17:34:30 +0000 (17:34 +0000)]
Merge pull request #21975 from asenyaev:asen/fix_terminating_windows_actions

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 #21935 from Yulv-git:3.4-typos3
OpenCV Pushbot [Fri, 13 May 2022 17:30:57 +0000 (17:30 +0000)]
Merge pull request #21935 from Yulv-git:3.4-typos3

2 years agoMerge pull request #21933 from Yulv-git:3.4-typos1
OpenCV Pushbot [Fri, 13 May 2022 17:28:08 +0000 (17:28 +0000)]
Merge pull request #21933 from Yulv-git:3.4-typos1

2 years agoMerge pull request #21924 from fengyuentau:workflow_arm64_3.4
Yuantao Feng [Fri, 13 May 2022 17:27:01 +0000 (01:27 +0800)]
Merge pull request #21924 from fengyuentau:workflow_arm64_3.4

Workflow to build and test on ARM64 for 3.4 branch

* add ARM64 workflow for 3.4

* add opencv_contrib fork check

* rename RET to OPENCV_EXTRA_FORK

2 years agoMerge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only
OpenCV Pushbot [Fri, 13 May 2022 17:25:59 +0000 (17:25 +0000)]
Merge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only

TIFFTAG_PREDICTOR should not be applied unless LZW, DEFLATE or ADOBE_DEFLATE

2 years agoMerge pull request #21847 from lamm45:imgproc-tform-doc
OpenCV Pushbot [Fri, 13 May 2022 17:23:23 +0000 (17:23 +0000)]
Merge pull request #21847 from lamm45:imgproc-tform-doc

Minor documentation fixes for geometric image transformations

2 years agoApply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases...
xiongzhen [Fri, 13 May 2022 06:44:25 +0000 (09:44 +0300)]
Apply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases for smaller files.

2 years agoMoved from https to ssh for Windows in Github Actions
Andrey Senyaev [Thu, 12 May 2022 22:37:55 +0000 (01:37 +0300)]
Moved from https to ssh for Windows in Github Actions