platform/upstream/opencv.git
3 years agoMerge pull request #20164 from mshabunin:fix-gtk-check
Alexander Alekhin [Thu, 27 May 2021 07:10:28 +0000 (07:10 +0000)]
Merge pull request #20164 from mshabunin:fix-gtk-check

3 years agohighgui: fix config verification for GTK
Maksim Shabunin [Wed, 26 May 2021 15:50:01 +0000 (18:50 +0300)]
highgui: fix config verification for GTK

3 years agoMerge pull request #20116 from alalek:highgui_backends
Alexander Alekhin [Wed, 26 May 2021 08:32:14 +0000 (08:32 +0000)]
Merge pull request #20116 from alalek:highgui_backends

3 years agoMerge pull request #20107 from sivanov-work:gapi_transpose_op
Sergey Ivanov [Tue, 25 May 2021 17:36:01 +0000 (20:36 +0300)]
Merge pull request #20107 from sivanov-work:gapi_transpose_op

G-API: Add transpose operation

* Add kernels decl & def

* Add draft for UT

* Fix UT for Transpose

* Add perf test

* Fix docs

* Apply comments

3 years agoMerge pull request #19778 from damonyu1989:master-riscv-0.7.1
damonyu1989 [Tue, 25 May 2021 17:15:12 +0000 (01:15 +0800)]
Merge pull request #19778 from damonyu1989:master-riscv-0.7.1

* Add the support for riscv64 vector 0.7.1.

* fixed GCC warnings

* cleaned whitespaces

* Remove the worning by the use of internal API of compiler.

* Update the license header.

* removed trailing whitespaces

Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com>
Co-authored-by: yulj <linjie.ylj@alibaba-inc.com>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
3 years agoMerge pull request #19689 from andy-held:umeyama
Vadim Pisarevsky [Tue, 25 May 2021 13:18:21 +0000 (13:18 +0000)]
Merge pull request #19689 from andy-held:umeyama

3 years agoMerge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity
Anatoliy Talamanov [Mon, 24 May 2021 18:48:23 +0000 (21:48 +0300)]
Merge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity

* Support queue capacity as graph compilation argument

* Fix comments to review

* Fix comments to review

* Fix comments to review

3 years agoMerge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake
Ilya Lavrenov [Mon, 24 May 2021 16:19:07 +0000 (19:19 +0300)]
Merge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake

* Extract IE version from IE cmake config

* Update cmake/OpenCVDetectInferenceEngine.cmake

Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
3 years agohighgui: backends and plugins
Alexander Alekhin [Sat, 1 May 2021 13:13:58 +0000 (13:13 +0000)]
highgui: backends and plugins

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 23 May 2021 21:21:48 +0000 (21:21 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #20137 from fpetrogalli:move-option
Alexander Alekhin [Fri, 21 May 2021 18:56:23 +0000 (18:56 +0000)]
Merge pull request #20137 from fpetrogalli:move-option

3 years ago[build] Move `OPENCV_DISABLE_FILESYSTEM_SUPPORT`. [NFC]
Francesco Petrogalli [Fri, 21 May 2021 12:50:08 +0000 (12:50 +0000)]
[build] Move `OPENCV_DISABLE_FILESYSTEM_SUPPORT`. [NFC]

The option as been moved away from python-related options.

3 years agoMerge pull request #19987 from daksayli:stitching_detailed_branch
Alexander Alekhin [Fri, 21 May 2021 11:01:13 +0000 (11:01 +0000)]
Merge pull request #19987 from daksayli:stitching_detailed_branch

3 years agoMerge pull request #19967 from HattrickGenerator:master
HattrickGenerator [Thu, 20 May 2021 19:21:34 +0000 (21:21 +0200)]
Merge pull request #19967 from HattrickGenerator:master

* Adding functions rbegin() and rend() functions to matrix class.
This is important to be more standard compliant with C++ and an ever increasing number of people using standard algorithms for better code readability- and maintainability.

The functions are copy pated from their counterparts (even though they should probably call the counterparts but this gave me some troube).
They return iterators using std::reverse_iterators

Follow up of an open feature request:
https://github.com/opencv/opencv/issues/4641

* Fix rbegin() and rend() and provide tests for them

* Removing unnecessary whitespaces

* Adding rbegin and rend to Mat_ class with the right parameters so we don't need to repeat the template argument.
An instantiating cv::Mat_<int> for example can call it's rbegin() function and doesn't need rbegin<int>() with this convience addition.

Follows what is done for forward iterators

* static cast the vector size (return size_t) to an int (that is required for opencv mat constructor)

Co-authored-by: Stefan <stefan.gerl@tum.de>
3 years agoMerge pull request #19982 from TolyaTalamanov:at/new-python-operation-api
Anatoliy Talamanov [Thu, 20 May 2021 18:59:53 +0000 (21:59 +0300)]
Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api

G-API: New python operations API

* Reimplement test using decorators

* Custom python operation API

* Remove wip status

* python: support Python code in bindings (through loader only)

* cleanup, skip tests for Python 2.x (not supported)

* python 2.x can't skip unittest modules

* Clean up

* Clean up

* Fix segfault python3.9

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #20086 from rogday:vtk9_world
Alexander Alekhin [Wed, 19 May 2021 14:25:14 +0000 (14:25 +0000)]
Merge pull request #20086 from rogday:vtk9_world

3 years agoMerge pull request #20123 from catree:fix_tsai_park_bib_render
Alexander Alekhin [Wed, 19 May 2021 14:19:53 +0000 (14:19 +0000)]
Merge pull request #20123 from catree:fix_tsai_park_bib_render

3 years agoUse correct BibTeX syntax for month field.
catree [Wed, 19 May 2021 12:24:07 +0000 (14:24 +0200)]
Use correct BibTeX syntax for month field.

3 years agoMerge pull request #20103 from thezane:make-div-spectrums-public
thezane [Wed, 19 May 2021 09:14:11 +0000 (02:14 -0700)]
Merge pull request #20103 from thezane:make-div-spectrums-public

* Make divSpectrums public

* Add unit test

3 years agoMerge pull request #20012 from ivashmak:bugfix_solvepnp
Maksym Ivashechkin [Wed, 19 May 2021 09:09:46 +0000 (10:09 +0100)]
Merge pull request #20012 from ivashmak:bugfix_solvepnp

* fix inliers in solvePnPRansac

* fix inliers in test_usac

* fix inliers in test_usac

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 18 May 2021 18:06:26 +0000 (18:06 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #20092 from komakai:disable_swift_build
Giles Payne [Tue, 18 May 2021 14:10:51 +0000 (23:10 +0900)]
Merge pull request #20092 from komakai:disable_swift_build

Fixes for Swift troubles

* Remove NS_SWIFT_NAME override for Point, Rect, and Size due to Darwin namespace conflict

* Fix swift_type overrides in objc generator

* Add backwards compatibility Swift typealiases for Point, Rect, Size

* Add disable-swift build option to iOS/macOS builds

* Add import directive to swift source when building with disable-swift

Co-authored-by: Chris Ballinger <cballinger@rightpoint.com>
3 years agoMerge pull request #20106 from TolyaTalamanov:at/auto-convert-fp16
Anatoliy Talamanov [Tue, 18 May 2021 13:54:38 +0000 (16:54 +0300)]
Merge pull request #20106 from TolyaTalamanov:at/auto-convert-fp16

[G-API] IE backend convert fp32 to fp16

* Support FP16 in IE backend

3 years agoMerge pull request #20065 from dbudniko:dbudniko/G-API_mtcnn_demo_PR_hotfix2
Dmitry Budnikov [Tue, 18 May 2021 10:58:08 +0000 (13:58 +0300)]
Merge pull request #20065 from dbudniko:dbudniko/G-API_mtcnn_demo_PR_hotfix2

G-API MTCNN demo hotfix to align overall pipeline accuracy with the reference Python code output.

* MTCNN G-API demo aligned with Python from OMZ

* clean up

* more comments from Maxim are addressed.

* address comment from Dmitry

3 years agovtk 9.0 autoinit fix
Smirnov Egor [Fri, 14 May 2021 16:03:14 +0000 (19:03 +0300)]
vtk 9.0 autoinit fix

3 years agoMerge pull request #20097 from komakai:fix_qrcode_test
Alexander Alekhin [Mon, 17 May 2021 17:53:34 +0000 (17:53 +0000)]
Merge pull request #20097 from komakai:fix_qrcode_test

3 years agoFix for failing QRCodeDetectorTest.testDetectAndDecodeMulti test
Giles Payne [Sun, 16 May 2021 11:52:36 +0000 (20:52 +0900)]
Fix for failing QRCodeDetectorTest.testDetectAndDecodeMulti test

3 years agoMerge pull request #20085 from changh95:fix_typo_calib3d_sample_code
Alexander Alekhin [Mon, 17 May 2021 07:26:51 +0000 (07:26 +0000)]
Merge pull request #20085 from changh95:fix_typo_calib3d_sample_code

3 years agoMerge pull request #20088 from alalek:cmake_module_linker_flags
Alexander Alekhin [Mon, 17 May 2021 07:26:25 +0000 (07:26 +0000)]
Merge pull request #20088 from alalek:cmake_module_linker_flags

3 years agofix typo 'undistorsed'->'undistorted'
changh95 [Fri, 14 May 2021 15:22:50 +0000 (00:22 +0900)]
fix typo 'undistorsed'->'undistorted'

3 years agocmake: fix handling of CMAKE_MODULE_LINKER_FLAGS
Alexander Alekhin [Fri, 14 May 2021 17:39:40 +0000 (17:39 +0000)]
cmake: fix handling of CMAKE_MODULE_LINKER_FLAGS

3 years agoMerge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat
Mikhail Nikolskii [Fri, 14 May 2021 16:48:50 +0000 (19:48 +0300)]
Merge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat

cv::UMat output/input in VideoCapture/VideoWriter (data stays in GPU memory)

* FFMPEG with UMat input/output

* OpenCL_D3D* context

* fix Linux build

* cosmetic changes

* fix build if USE_AV_HW_CODECS=0

* simplify how child context pointer stored in parent context

* QSV interop with OpenCL on Windows

* detect_msdk.cmake via pkg-config

* fix av_buffer_ref() usage

* revert windows-decode-mfx whitelisting; remove debug msg

* address review comments

* rename property to HW_ACCELERATION_USE_OPENCL

* fix issue with "cl_khr_d3d11_sharing" extension not reported by OpenCL GPU+CPU platform

* core(ocl): add OpenCL stubs for configurations without OpenCL

* videoio(ffmpeg): update #if guards

* Put OpenCL related code under HAVE_OPENCL; simplify reuse of media context from OpenCL context

* videoio(test): skip unsupported tests

- plugins don't support OpenCL/UMat yet
- change handling of *_USE_OPENCL flag

* videoio(ffmpeg): OpenCL dependency

* videoio(ffmpeg): MediaSDK/oneVPL dependency

* cleanup, logging

* cmake: fix handling of 3rdparty interface targets

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
3 years agoMerge pull request #20082 from jiangjiajun:master
Alexander Alekhin [Fri, 14 May 2021 10:56:26 +0000 (10:56 +0000)]
Merge pull request #20082 from jiangjiajun:master

3 years agoMerge pull request #20071 from rogday:depth_fallback_doc
Alexander Alekhin [Fri, 14 May 2021 06:09:08 +0000 (06:09 +0000)]
Merge pull request #20071 from rogday:depth_fallback_doc

3 years agoUpdate requirements and README for PaddlePaddle sample
jiangjiajun [Fri, 14 May 2021 03:35:44 +0000 (03:35 +0000)]
Update requirements and README for PaddlePaddle sample

3 years agoMerge pull request #19976 from jiangjiajun:master
Jason [Thu, 13 May 2021 18:59:41 +0000 (13:59 -0500)]
Merge pull request #19976 from jiangjiajun:master

* Added PaddlePaddle classification model conversion case

* Modify cv2 import as cv

* Modify documents in dnn_conversion/paddlepaddle

* Modify documents in dnn_conversion/paddlepaddle

3 years agoDocument imwrite depth fallback
Smirnov Egor [Wed, 12 May 2021 10:18:58 +0000 (13:18 +0300)]
Document imwrite depth fallback

3 years agoMerge pull request #20068 from TolyaTalamanov:at/disable-iebackend-autofusing
Alexander Alekhin [Wed, 12 May 2021 11:24:50 +0000 (11:24 +0000)]
Merge pull request #20068 from TolyaTalamanov:at/disable-iebackend-autofusing

3 years agoDisable auto fusing in ie backend
Anatoliy Talamanov [Wed, 12 May 2021 06:02:17 +0000 (09:02 +0300)]
Disable auto fusing in ie backend

3 years agoMerge pull request #20049 from jstaahl:jstaahl-static-inits
Alexander Alekhin [Tue, 11 May 2021 17:06:11 +0000 (17:06 +0000)]
Merge pull request #20049 from jstaahl:jstaahl-static-inits

3 years agoMerge pull request #20045 from blackliner:master
Alexander Alekhin [Tue, 11 May 2021 16:57:03 +0000 (16:57 +0000)]
Merge pull request #20045 from blackliner:master

3 years agoMerge pull request #20053 from berak:core_mat_ptr_vec
Alexander Alekhin [Tue, 11 May 2021 16:34:03 +0000 (16:34 +0000)]
Merge pull request #20053 from berak:core_mat_ptr_vec

3 years agoMerge pull request #20010 from fpetrogalli:disable_filesystem
Alexander Alekhin [Tue, 11 May 2021 16:15:56 +0000 (16:15 +0000)]
Merge pull request #20010 from fpetrogalli:disable_filesystem

3 years ago[build][option] Build option to disable filesystem support.
Francesco Petrogalli [Thu, 29 Apr 2021 16:32:51 +0000 (16:32 +0000)]
[build][option] Build option to disable filesystem support.

3 years agoMerge pull request #19917 from AsyaPronina:asyadev/itt_traces_in_gstreamingexecutor
Alexander Alekhin [Tue, 11 May 2021 11:44:59 +0000 (14:44 +0300)]
Merge pull request #19917 from AsyaPronina:asyadev/itt_traces_in_gstreamingexecutor

3 years agoAdded ITT traces to GStreamingExecutor
Anastasiya Pronina [Mon, 12 Apr 2021 19:20:59 +0000 (22:20 +0300)]
Added ITT traces to GStreamingExecutor

3 years agocore: add missing implementation for Mat::ptr(Vec)
berak [Sun, 9 May 2021 12:01:54 +0000 (14:01 +0200)]
core: add missing implementation for Mat::ptr(Vec)

3 years agoRemove static initializers caused by templated static member.
Jake Staahl [Fri, 7 May 2021 19:48:01 +0000 (12:48 -0700)]
Remove static initializers caused by templated static member.

3 years agoUpdate CMakeLists.txt
Florian Berchtold [Fri, 7 May 2021 13:49:24 +0000 (15:49 +0200)]
Update CMakeLists.txt

3 years agoMerge pull request #20033 from berak:dnn_openpose_py
Alexander Alekhin [Fri, 7 May 2021 12:42:16 +0000 (12:42 +0000)]
Merge pull request #20033 from berak:dnn_openpose_py

3 years agosamples/dnn: better errormsg in openpose.py
berak [Wed, 5 May 2021 08:34:42 +0000 (10:34 +0200)]
samples/dnn: better errormsg  in openpose.py

3 years agoMerge pull request #20019 from r2d3:cudaStreamCreate_bug
Alexander Alekhin [Sat, 1 May 2021 18:32:46 +0000 (18:32 +0000)]
Merge pull request #20019 from r2d3:cudaStreamCreate_bug

3 years agoStream default to Stream::Null() when no default in function prototype
David Geldreich [Sat, 1 May 2021 01:18:14 +0000 (01:18 +0000)]
Stream default to Stream::Null() when no default in function prototype

this corrects bug #16592 where a Stream is created at
each GpuMat::load(arr,stream) call

a correct solution would have been to add a default to GpuMat::load
but due to circular dependence between Stream and GpuMat, this is not possible
add test_cuda_upload_download_stream to test_cuda.py

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 1 May 2021 09:44:24 +0000 (09:44 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #20018 from lpea:doc_fixes_calib3d
Alexander Alekhin [Sat, 1 May 2021 09:35:59 +0000 (09:35 +0000)]
Merge pull request #20018 from lpea:doc_fixes_calib3d

3 years agocalib3d: Update documentation of calibrateCamera
Guillaume Jacob [Fri, 30 Apr 2021 14:30:09 +0000 (16:30 +0200)]
calib3d: Update documentation of calibrateCamera

- Added missing documentation for the CALIB_FIX_FOCAL_LENGTH flag
- Removed erroneous information about the number of distortion coefficients
returned
- Added some missing @ref tags

3 years agoMerge pull request #19956 from danielenricocahall:fix-edge-case-matcher-loop
Alexander Alekhin [Fri, 30 Apr 2021 17:22:16 +0000 (17:22 +0000)]
Merge pull request #19956 from danielenricocahall:fix-edge-case-matcher-loop

3 years agoMerge pull request #19993 from danielenricocahall:fix-compute-ecc-issue
Danny [Fri, 30 Apr 2021 17:20:52 +0000 (13:20 -0400)]
Merge pull request #19993 from danielenricocahall:fix-compute-ecc-issue

Fix unsigned int bug in computeECC

* address issue with unsigned ints in computeEcc

* remove additional logic checking firstOctave

* use swap instead of same src/dst

* simplify the unsigned check logic

3 years agoMerge pull request #20006 from alalek:dnn_ie_gpu_cache_dir
Alexander Alekhin [Fri, 30 Apr 2021 17:18:51 +0000 (17:18 +0000)]
Merge pull request #20006 from alalek:dnn_ie_gpu_cache_dir

3 years agoMerge pull request #20014 from alalek:fix_core_tls_process_termination
Alexander Alekhin [Fri, 30 Apr 2021 16:06:40 +0000 (16:06 +0000)]
Merge pull request #20014 from alalek:fix_core_tls_process_termination

3 years agocore(tls): handle process termination / cleanup issues
Alexander Alekhin [Thu, 29 Apr 2021 21:25:42 +0000 (21:25 +0000)]
core(tls): handle process termination / cleanup issues

3 years agodnn(ie): implicit usage of IE::GPU OpenCL kernels cache
Alexander Alekhin [Thu, 29 Apr 2021 09:37:14 +0000 (12:37 +0300)]
dnn(ie): implicit usage of IE::GPU OpenCL kernels cache

3 years agoMerge pull request #19998 from asmorkalov:as/openexr_version_check
Alexander Alekhin [Thu, 29 Apr 2021 09:13:46 +0000 (09:13 +0000)]
Merge pull request #19998 from asmorkalov:as/openexr_version_check

3 years agoFix OpenCV build with OpenEXR before 2.2.0.
Alexander Smorkalov [Wed, 28 Apr 2021 07:41:59 +0000 (10:41 +0300)]
Fix OpenCV build with OpenEXR before 2.2.0.

3 years agoMerge pull request #19988 from alexkalmuk:fix-squares-cpp-sample
Alexander Alekhin [Wed, 28 Apr 2021 22:03:14 +0000 (22:03 +0000)]
Merge pull request #19988 from alexkalmuk:fix-squares-cpp-sample

3 years agoMerge pull request #19984 from sturkmen72:patch-4
Alexander Alekhin [Wed, 28 Apr 2021 22:02:02 +0000 (22:02 +0000)]
Merge pull request #19984 from sturkmen72:patch-4

3 years agoadd estimateAffine3D overload that implements Umeyama's algorithm
Andreas Franek [Sun, 7 Mar 2021 19:59:54 +0000 (20:59 +0100)]
add estimateAffine3D overload that implements Umeyama's algorithm

3 years agoFix squares sample failure when a single file passed
Alex Kalmuk [Tue, 27 Apr 2021 08:06:10 +0000 (11:06 +0300)]
Fix squares sample failure when a single file passed

3 years agoMerge pull request #19962 from mshabunin:one-vpl-support
Alexander Alekhin [Tue, 27 Apr 2021 18:40:57 +0000 (18:40 +0000)]
Merge pull request #19962 from mshabunin:one-vpl-support

3 years agoMerge pull request #19979 from micha137:patch-3
Alexander Alekhin [Tue, 27 Apr 2021 13:31:05 +0000 (13:31 +0000)]
Merge pull request #19979 from micha137:patch-3

3 years agoMerge pull request #19971 from TolyaTalamanov:at/infer-hangs-fix
Alexander Alekhin [Tue, 27 Apr 2021 10:58:13 +0000 (10:58 +0000)]
Merge pull request #19971 from TolyaTalamanov:at/infer-hangs-fix

3 years agoFix link
micha137 [Mon, 26 Apr 2021 12:01:50 +0000 (14:01 +0200)]
Fix link

3 years agofix seam finder
deniz.aksayli [Tue, 27 Apr 2021 08:10:41 +0000 (11:10 +0300)]
fix seam finder

3 years agoMerge pull request #19975 from danielenricocahall:fix-template-matcher-sqdiff
Alexander Alekhin [Mon, 26 Apr 2021 22:52:13 +0000 (22:52 +0000)]
Merge pull request #19975 from danielenricocahall:fix-template-matcher-sqdiff

3 years agoMerge pull request #19970 from antonio-rojas:master
Antonio Rojas [Mon, 26 Apr 2021 22:13:59 +0000 (00:13 +0200)]
Merge pull request #19970 from antonio-rojas:master

Support building with OpenEXR 3.x

* Support OpenEXR 3.0

Try to find OpenEXR 3.0 using the upstream cmake config, and fallback to the previous algorithm if not found

* Add explicit ImfFrameBuffer.h include

This was transitively included with OpenEXR 2.x, but that's no longer the case with OpenEXR 3.x

3 years agoUpdate CMakeLists.txt
Suleyman TURKMEN [Mon, 26 Apr 2021 15:36:51 +0000 (18:36 +0300)]
Update CMakeLists.txt

3 years agoMerge pull request #19983 from hartmannathan:typo-fix-download
Alexander Alekhin [Mon, 26 Apr 2021 19:25:56 +0000 (19:25 +0000)]
Merge pull request #19983 from hartmannathan:typo-fix-download

3 years agoFix typo: 'DOWNLAOD' to 'DOWNLOAD'
Nathan Hartman [Mon, 26 Apr 2021 15:01:13 +0000 (11:01 -0400)]
Fix typo: 'DOWNLAOD' to 'DOWNLOAD'

3 years agoMerge pull request #19931 from lukasalexanderweber:patch-1
Lukas-Alexander Weber [Mon, 26 Apr 2021 14:47:50 +0000 (16:47 +0200)]
Merge pull request #19931 from lukasalexanderweber:patch-1

Stitching Detailed Tutorial Improvements

* Add Vertical Wave Correction

The user has the possibility to pass "vert" as wave_correct parameter. However, in the code "cv.detail.WAVE_CORRECT_HORIZ" ist fixed. This change proposes changes so that the wave correction is done vertically if the user passes "vert" as wave_correct parameter. The variable "do_wave_correct" is replaced by None which is passed to the variable "wave_correct" if the user chooses "no" for wave correction.

* Correct fixed conf_thresh

According to the documentation, [cv.detail.leaveBiggestComponent](https://docs.opencv.org/4.5.1/d7/d74/group__stitching__rotation.html#ga855d2fccbcfc3b3477b34d415be5e786) takes features, the pairwise_matches and the conf_threshold as input.
In the tutorial, however, conf_threshold is fixed at 0.3 even though the user can pass conf_thresh as parameter which is 1 by default. Fixing this parameter at 0.3 causes the script to include images into the panorama which are not part of it.

3 years agoInitial oneVPL support
Maksim Shabunin [Thu, 15 Apr 2021 09:08:22 +0000 (12:08 +0300)]
Initial oneVPL support

3 years agoMerge pull request #19980 from zchrissirhcz:fix-CV_XADD-missing-return-type
Alexander Alekhin [Mon, 26 Apr 2021 14:10:51 +0000 (14:10 +0000)]
Merge pull request #19980 from zchrissirhcz:fix-CV_XADD-missing-return-type

3 years agoMerge pull request #19969 from alalek:issue_19850
Alexander Alekhin [Mon, 26 Apr 2021 13:23:29 +0000 (13:23 +0000)]
Merge pull request #19969 from alalek:issue_19850

3 years agoFix missing return type for unsafe CV_XADD function
Zhuo Zhang [Mon, 26 Apr 2021 12:08:45 +0000 (20:08 +0800)]
Fix missing return type for unsafe CV_XADD function

3 years agoaddress template matching sqdiff bug
danielenricocahall [Mon, 26 Apr 2021 02:17:07 +0000 (22:17 -0400)]
address template matching sqdiff bug

3 years agoMerge pull request #19934 from alalek:videoio_plugin_query_api
Alexander Alekhin [Sat, 24 Apr 2021 18:13:05 +0000 (18:13 +0000)]
Merge pull request #19934 from alalek:videoio_plugin_query_api

3 years agoFix infer hanging
Anatoliy Talamanov [Sat, 24 Apr 2021 15:02:35 +0000 (18:02 +0300)]
Fix infer hanging

3 years agodoxygen: fix quotes in add_toggle macro
Alexander Alekhin [Fri, 23 Apr 2021 22:30:06 +0000 (22:30 +0000)]
doxygen: fix quotes in add_toggle macro

3 years agoMerge pull request #19780 from HarryDC:feature/index-multiimage-tiff
Harald Scheirich [Fri, 23 Apr 2021 20:48:32 +0000 (16:48 -0400)]
Merge pull request #19780 from HarryDC:feature/index-multiimage-tiff

Add reading of specific images from multipage tiff

* Add reading of specific images from multipage tiff

* Fix build issues

* Add missing flag for gdal

* Fix unused param warning

* Remove duplicated code

* change public parameter type to int

* Fix warnings

* Fix parameter check

3 years agoMerge pull request #19923 from dbudniko:dbudniko/G-API_mtcnn_demo_PR
Dmitry Budnikov [Fri, 23 Apr 2021 10:26:53 +0000 (13:26 +0300)]
Merge pull request #19923 from dbudniko:dbudniko/G-API_mtcnn_demo_PR

G-API MTCNN sample

* add face detection demo

* clean up

* enable back accumulate

* additional input

* meta args workaround

* additional arg

* add init

* roll back

* fix shadowing

* roll back

* clean up and PNet copy from debug branch which now works

* try nets operator

* more clean up

* more clean up

* add 6 layers pyramid experimental code

* final clean up and ready for PR

* original image resize

* Remove Pnet declarations. Generic infer is used now.

* scales and sizes calculation added

* fix assert, and add ceil to size calculation

* try doubles for scales

* Address comments from Dmitry.

* use half scale option

* fix half scale

* clean up debug outputs

* try to get input image width and height

* clean up

* trailing spaces and review from Maxim

* more comments from Maxim are addressed

* try to fix warnings

* try to fix warnings and address more comments from Dmitry

* crop fix and clean up

* more warnings fixes

* more warnings fixes

* more comments from Maxim are addressed

* even more consts

* copy_n for regressions

* address more comments from Dmitry

* more comments from Maxim

3 years agoMerge pull request #19937 from Mstrodl:fix/cmake-version-change
Alexander Alekhin [Thu, 22 Apr 2021 18:21:03 +0000 (18:21 +0000)]
Merge pull request #19937 from Mstrodl:fix/cmake-version-change

3 years agoMerge pull request #19951 from stal12:3.4
Stefano Allegretti [Thu, 22 Apr 2021 18:20:12 +0000 (20:20 +0200)]
Merge pull request #19951 from stal12:3.4

* Fix #4363 - wrong hierarchy (CV_RETR_TREE) in findContours

* Add regression test for findContours

* use C++11 => C++98 on 3.4 branch

3 years agoMerge pull request #19959 from QuellaZhang:quella/c++20
Alexander Alekhin [Wed, 21 Apr 2021 18:45:37 +0000 (18:45 +0000)]
Merge pull request #19959 from QuellaZhang:quella/c++20

3 years agoMerge pull request #19961 from alvoron:dnn_ngraph_int64_fix
Aleksandr Voron [Wed, 21 Apr 2021 18:29:19 +0000 (21:29 +0300)]
Merge pull request #19961 from alvoron:dnn_ngraph_int64_fix

Explicit usage of int64_t in CropAndResizeLayer (IE backend)

* Update crop_and_resize_layer.cpp

3 years agoAdd namespace specifier for format()
Quella Zhang (Beyondsoft Corporation) [Wed, 21 Apr 2021 06:08:52 +0000 (14:08 +0800)]
Add namespace specifier for format()

3 years agofix loop boundary condition
danielenricocahall [Wed, 21 Apr 2021 02:08:01 +0000 (22:08 -0400)]
fix loop boundary condition

3 years agoMerge pull request #19942 from berak:calib3d_fix_usac_mask
Alexander Alekhin [Tue, 20 Apr 2021 19:49:20 +0000 (19:49 +0000)]
Merge pull request #19942 from berak:calib3d_fix_usac_mask

3 years agoMerge pull request #19944 from berak:patch-1
Alexander Alekhin [Tue, 20 Apr 2021 17:16:52 +0000 (17:16 +0000)]
Merge pull request #19944 from berak:patch-1

3 years agoUpdate contrast_preserve.hpp
berak [Tue, 20 Apr 2021 10:59:36 +0000 (12:59 +0200)]
Update contrast_preserve.hpp

fix a build warning:

```
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(289): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
        with
        [
            _Tp=float
        ]
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(361): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
        with
        [
            _Tp=float
        ]
```

(from https://build.opencv.org.cn/job/precommit/job/windows10/1633/console)

3 years agocalib3d: fix masks for usac
berak [Tue, 20 Apr 2021 09:57:42 +0000 (11:57 +0200)]
calib3d: fix masks for usac

3 years agoCMakeLists: remove extraneous checks, minimum required version is 3.5.1
Mary Strodl [Tue, 20 Apr 2021 01:01:37 +0000 (21:01 -0400)]
CMakeLists: remove extraneous checks, minimum required version is 3.5.1