platform/upstream/opencv.git
3 years agoMerge pull request #19187 from alalek:samples_python_3.9
Alexander Alekhin [Mon, 21 Dec 2020 18:16:00 +0000 (18:16 +0000)]
Merge pull request #19187 from alalek:samples_python_3.9

3 years agoMerge pull request #19186 from AsyaPronina:asyadev/fix_gframe_as_internal_data_for_ge...
Alexander Alekhin [Mon, 21 Dec 2020 18:15:24 +0000 (18:15 +0000)]
Merge pull request #19186 from AsyaPronina:asyadev/fix_gframe_as_internal_data_for_gexecutor

3 years agosamples: check for Python 3.9
Alexander Alekhin [Mon, 21 Dec 2020 14:59:34 +0000 (14:59 +0000)]
samples: check for Python 3.9

3 years agoGFrame as internal node in GExecutor
Anastasiya Pronina [Mon, 21 Dec 2020 11:06:47 +0000 (14:06 +0300)]
GFrame as internal node in GExecutor

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 20 Dec 2020 18:40:22 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19180 from alalek:fixup_19161
Alexander Alekhin [Sun, 20 Dec 2020 18:39:01 +0000 (18:39 +0000)]
Merge pull request #19180 from alalek:fixup_19161

3 years agojs(build): fix generator with Python3
Alexander Alekhin [Sun, 20 Dec 2020 17:42:47 +0000 (17:42 +0000)]
js(build): fix generator with Python3

- class_info.props is a 'list'

3 years agoMerge pull request #19177 from alalek:doxygen_drop_TCL_SUBST
Alexander Alekhin [Sun, 20 Dec 2020 16:40:58 +0000 (16:40 +0000)]
Merge pull request #19177 from alalek:doxygen_drop_TCL_SUBST

3 years agoMerge pull request #19176 from alalek:issue_19131
Alexander Alekhin [Sun, 20 Dec 2020 16:40:28 +0000 (16:40 +0000)]
Merge pull request #19176 from alalek:issue_19131

3 years agoMerge pull request #19175 from alalek:issue_18520
Alexander Alekhin [Sun, 20 Dec 2020 16:39:56 +0000 (16:39 +0000)]
Merge pull request #19175 from alalek:issue_18520

3 years agoMerge pull request #19164 from fpetrogalli:tranform_16u
Alexander Alekhin [Sun, 20 Dec 2020 16:38:59 +0000 (16:38 +0000)]
Merge pull request #19164 from fpetrogalli:tranform_16u

3 years ago[cv::transform] Enable CV_SIMD for the 16U case on AArch64.
Francesco Petrogalli [Fri, 18 Dec 2020 15:08:02 +0000 (15:08 +0000)]
[cv::transform] Enable CV_SIMD for the 16U case on AArch64.

3 years agoMerge pull request #18604 from vrabaud:master
Alexander Alekhin [Sun, 20 Dec 2020 15:50:32 +0000 (15:50 +0000)]
Merge pull request #18604 from vrabaud:master

3 years agoReplace FLANNException by CV_Error.
Vincent Rabaud [Sat, 17 Oct 2020 02:39:05 +0000 (04:39 +0200)]
Replace FLANNException by CV_Error.

3 years agodoxygen: drop deprecated TCL_SUBST
Alexander Alekhin [Sun, 20 Dec 2020 05:05:48 +0000 (05:05 +0000)]
doxygen: drop deprecated TCL_SUBST

3 years agodocs(core): fix process_video_frame() code snippet
Alexander Alekhin [Sun, 20 Dec 2020 02:27:46 +0000 (02:27 +0000)]
docs(core): fix process_video_frame() code snippet

3 years agoimgproc: add rotatedRectangleIntersection empty input handling
Alexander Alekhin [Sun, 20 Dec 2020 02:05:46 +0000 (02:05 +0000)]
imgproc: add rotatedRectangleIntersection empty input handling

3 years agoMerge pull request #19168 from alalek:abi_experimental_quaternion
Alexander Alekhin [Sat, 19 Dec 2020 19:22:52 +0000 (19:22 +0000)]
Merge pull request #19168 from alalek:abi_experimental_quaternion

3 years agoMerge pull request #19170 from vrabaud:3.4
Alexander Alekhin [Sat, 19 Dec 2020 19:22:30 +0000 (19:22 +0000)]
Merge pull request #19170 from vrabaud:3.4

3 years agoFix comment typos.
Vincent Rabaud [Sat, 19 Dec 2020 07:22:37 +0000 (08:22 +0100)]
Fix comment typos.

3 years agoABI: exclude quaternion header from ABI/API check
Alexander Alekhin [Fri, 18 Dec 2020 21:45:08 +0000 (21:45 +0000)]
ABI: exclude quaternion header from ABI/API check

- this API is experimental for now

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 18 Dec 2020 20:47:56 +0000 (20:47 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19162 from alalek:backport_18985
Alexander Alekhin [Fri, 18 Dec 2020 20:29:49 +0000 (20:29 +0000)]
Merge pull request #19162 from alalek:backport_18985

3 years agoMerge pull request #19158 from alalek:build_opencv_winpack_dldt_2021.2.0
Alexander Alekhin [Fri, 18 Dec 2020 20:29:33 +0000 (20:29 +0000)]
Merge pull request #19158 from alalek:build_opencv_winpack_dldt_2021.2.0

3 years agoMerge pull request #19152 from LupusSanctus:am/color_issue
Alexander Alekhin [Fri, 18 Dec 2020 20:28:12 +0000 (20:28 +0000)]
Merge pull request #19152 from LupusSanctus:am/color_issue

3 years agoAdded YUV conversion fix
Anastasia Murzova [Thu, 17 Dec 2020 18:25:30 +0000 (21:25 +0300)]
Added YUV conversion fix

Fixed OpenCV issue #18878

3 years agoMerge pull request #19161 from alalek:js_robust_code_generation
Alexander Alekhin [Fri, 18 Dec 2020 15:12:17 +0000 (15:12 +0000)]
Merge pull request #19161 from alalek:js_robust_code_generation

3 years agoMerge pull request #19128 from asmorkalov:as/gapi_phase_tolerance
Alexander Alekhin [Fri, 18 Dec 2020 13:43:07 +0000 (13:43 +0000)]
Merge pull request #19128 from asmorkalov:as/gapi_phase_tolerance

3 years agoMerge pull request #19127 from asmorkalov:as/photo_fix_arm64
Alexander Alekhin [Fri, 18 Dec 2020 13:42:26 +0000 (13:42 +0000)]
Merge pull request #19127 from asmorkalov:as/photo_fix_arm64

3 years agojs: backport PR18985
Steffen Urban [Fri, 18 Dec 2020 12:01:48 +0000 (13:01 +0100)]
js: backport PR18985

original commit: b82700ae4104a527534e66d3eb91f9835bc7957b

3 years agojs: robust code generation
Alexander Alekhin [Fri, 18 Dec 2020 11:48:49 +0000 (11:48 +0000)]
js: robust code generation

- avoid randomized output due to unpredictable dict/set order

3 years agoMerge pull request #18985 from ZEISS:feature/aruco_js_fix
Steffen Urban [Fri, 18 Dec 2020 12:01:48 +0000 (13:01 +0100)]
Merge pull request #18985 from ZEISS:feature/aruco_js_fix

Aruco javascript fix and added functionality

* whitespace

* updated docu. updated regexp.

* update docu

* embindgen regex

* removed parser arg

* remove whitespace

* removed aruco hint

* remove whitespace

* removed aruco hint

* new docu string

* removed extra line

* remove whitespace

* removed aruco hint

* new docu string

* removed extra line

3 years agoarm64 fix: Replaced float value strong equal checks with check with tolerance.
Alexander Smorkalov [Tue, 15 Dec 2020 15:09:47 +0000 (23:09 +0800)]
arm64 fix: Replaced float value strong equal checks with check with tolerance.

3 years agoIncreased Photo_CalibrateDebevec.regression test tolerance to pass on arm64 with...
Alexander Smorkalov [Tue, 15 Dec 2020 13:40:41 +0000 (16:40 +0300)]
Increased Photo_CalibrateDebevec.regression test tolerance to pass on arm64 with gcc 9.3.

3 years agoMerge pull request #19154 from alalek:fixup_19089
Alexander Alekhin [Fri, 18 Dec 2020 11:23:02 +0000 (11:23 +0000)]
Merge pull request #19154 from alalek:fixup_19089

3 years agoMerge pull request #19137 from VadimLevin:dev/vlevin/safe-string-conversion
Alexander Alekhin [Fri, 18 Dec 2020 11:20:50 +0000 (11:20 +0000)]
Merge pull request #19137 from VadimLevin:dev/vlevin/safe-string-conversion

3 years agoMerge pull request #19105 from alalek:js_build_update
Alexander Alekhin [Fri, 18 Dec 2020 11:12:30 +0000 (11:12 +0000)]
Merge pull request #19105 from alalek:js_build_update

3 years agoMerge pull request #19104 from alalek:docs_cmake_msvs2019
Alexander Alekhin [Fri, 18 Dec 2020 11:10:51 +0000 (11:10 +0000)]
Merge pull request #19104 from alalek:docs_cmake_msvs2019

3 years agodoc(windows): update how to handle MSVS 2019
Alexander Alekhin [Mon, 14 Dec 2020 02:52:44 +0000 (02:52 +0000)]
doc(windows): update how to handle MSVS 2019

3 years agobuild: winpack_dldt with dldt 2021.2.0
Alexander Alekhin [Thu, 17 Dec 2020 20:19:26 +0000 (20:19 +0000)]
build: winpack_dldt with dldt 2021.2.0

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 17 Dec 2020 20:00:46 +0000 (20:00 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agodocs(calib3d): avoid reference on legacy C API constants
Alexander Alekhin [Thu, 17 Dec 2020 21:02:55 +0000 (21:02 +0000)]
docs(calib3d): avoid reference on legacy C API constants

3 years agoMerge pull request #19146 from alalek:dnn_openvino_2021.2.0
Alexander Alekhin [Thu, 17 Dec 2020 19:50:36 +0000 (19:50 +0000)]
Merge pull request #19146 from alalek:dnn_openvino_2021.2.0

3 years agoMerge pull request #19143 from vrabaud:stack
Alexander Alekhin [Thu, 17 Dec 2020 19:47:42 +0000 (19:47 +0000)]
Merge pull request #19143 from vrabaud:stack

3 years agoMerge pull request #19139 from vrabaud:find1
Alexander Alekhin [Thu, 17 Dec 2020 19:40:22 +0000 (19:40 +0000)]
Merge pull request #19139 from vrabaud:find1

3 years agoMerge pull request #19082 from vpisarev:rvv_copyright
Vadim Pisarevsky [Thu, 17 Dec 2020 17:10:17 +0000 (17:10 +0000)]
Merge pull request #19082 from vpisarev:rvv_copyright

3 years agoadded information about the contribution & ISCAS copyright
Vadim Pisarevsky [Thu, 17 Dec 2020 10:28:17 +0000 (18:28 +0800)]
added information about the contribution & ISCAS copyright

3 years agoOptimize calls to std::string::find() and friends for a single char.
Vincent Rabaud [Wed, 16 Dec 2020 15:06:58 +0000 (16:06 +0100)]
Optimize calls to std::string::find() and friends for a single char.

The character literal overload is more efficient. More info at:

http://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html

3 years agoMove big objects (>20k) from stack to heap.
Vincent Rabaud [Wed, 16 Dec 2020 16:27:55 +0000 (17:27 +0100)]
Move big objects (>20k) from stack to heap.

3 years agodnn(test): update tests for OpenVINO 2021.2
Alexander Alekhin [Thu, 17 Dec 2020 07:53:35 +0000 (07:53 +0000)]
dnn(test): update tests for OpenVINO 2021.2

3 years agodnn: use OpenVINO 2021.2 defines
Alexander Alekhin [Wed, 16 Dec 2020 22:22:17 +0000 (22:22 +0000)]
dnn: use OpenVINO 2021.2 defines

original commit: 4699d2ba0c5447516ac89dc732704028838a3f86

3 years agoMerge pull request #19101 from alalek:issue_5209
Alexander Alekhin [Wed, 16 Dec 2020 22:13:18 +0000 (22:13 +0000)]
Merge pull request #19101 from alalek:issue_5209

3 years agoMerge pull request #19130 from dmatveev:dm/fix_docs_ocv451
Alexander Alekhin [Wed, 16 Dec 2020 20:26:41 +0000 (20:26 +0000)]
Merge pull request #19130 from dmatveev:dm/fix_docs_ocv451

3 years agoMerge pull request #19142 from rgarnov:rg/include_format_in_core
Alexander Alekhin [Wed, 16 Dec 2020 20:26:05 +0000 (20:26 +0000)]
Merge pull request #19142 from rgarnov:rg/include_format_in_core

3 years agoAdded format.hpp include to core.hpp
Ruslan Garnov [Wed, 16 Dec 2020 16:26:15 +0000 (19:26 +0300)]
Added format.hpp include to core.hpp

3 years agofix: conversion to string in python bindings
Vadim Levin [Wed, 16 Dec 2020 10:30:11 +0000 (13:30 +0300)]
fix: conversion to string in python bindings

 If provided `PyObject` can't be converted to string `TypeError` is
 reported instead of `SytemError` without any message.

3 years agoMerge pull request #19112 from rgarnov:rg/generic_copy_kernel
Ruslan Garnov [Wed, 16 Dec 2020 11:18:08 +0000 (14:18 +0300)]
Merge pull request #19112 from rgarnov:rg/generic_copy_kernel

Generic copy kernel

* Moved RMat wrapping of cv::Mats to StreamingInput

* Generalized GCopy kernel

* Generic GCopy kernel: applied review comments

3 years agoMerge pull request #19114 from alalek:issue_18937
Alexander Alekhin [Tue, 15 Dec 2020 20:47:05 +0000 (20:47 +0000)]
Merge pull request #19114 from alalek:issue_18937

3 years agoMerge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences
Alexander Alekhin [Tue, 15 Dec 2020 20:46:09 +0000 (20:46 +0000)]
Merge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences

3 years agoG-API: Fix various Doxygen isses for the 4.5.1 release
Dmitry Matveev [Tue, 15 Dec 2020 20:16:53 +0000 (23:16 +0300)]
G-API: Fix various Doxygen isses for the 4.5.1 release

3 years agoMerge pull request #19107 from TolyaTalamanov:at/hotfix-gstreamingbackend
Anatoliy Talamanov [Tue, 15 Dec 2020 18:05:26 +0000 (21:05 +0300)]
Merge pull request #19107 from TolyaTalamanov:at/hotfix-gstreamingbackend

[G-API] GStreamingBackend hotfix

* GStreamingBackend hotfix

* Fix comments to review

* Add strides

* Removew while loop inside actor

3 years agoApplied '@ref' linking for 3.4 Calib3D parameters and added enum cv::fisheye::CALIB_Z...
Ian Maquignaz [Sat, 12 Dec 2020 01:16:40 +0000 (20:16 -0500)]
Applied '@ref' linking for 3.4 Calib3D parameters and added enum cv::fisheye::CALIB_ZERO_DISPARITY == cv::CALIB_ZERO_DISPARITY == 0x400 == 1 << 10.
Fisheye test has been updated to use new enum cv::fisheye::CALIB_ZERO_DISPARITY and included CV_StaticAssert(...) to ensure cv::CALIB_ZERO_DISPARITY == cv::fisheye::CALIB_ZERO_DISPARITY.

3 years agoMerge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency
Alexander Alekhin [Tue, 15 Dec 2020 16:09:15 +0000 (16:09 +0000)]
Merge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency

3 years agodnn(ocl): avoid mess FP16/FP32 in convolution layer
Alexander Alekhin [Tue, 15 Dec 2020 01:34:20 +0000 (01:34 +0000)]
dnn(ocl): avoid mess FP16/FP32 in convolution layer

3 years agoMerge pull request #19110 from alalek:test_videoio_require_ffmpeg
Alexander Alekhin [Tue, 15 Dec 2020 08:48:23 +0000 (08:48 +0000)]
Merge pull request #19110 from alalek:test_videoio_require_ffmpeg

3 years agodnn(ocl): fix gemm kernels with beta=0
Alexander Alekhin [Tue, 15 Dec 2020 00:41:35 +0000 (00:41 +0000)]
dnn(ocl): fix gemm kernels with beta=0

- dst is not initialized, may include NaN values
- 0*NaN produces NaN

3 years agoMerge pull request #19103 from OrestChura:oc/cvtI420_perftests
Orest Chura [Mon, 14 Dec 2020 22:45:41 +0000 (01:45 +0300)]
Merge pull request #19103 from OrestChura:oc/cvtI420_perftests

[G-API]: Performance tests for color conversion kernels

* Performance tests for 5 new color conversion kernels:
 - BGR2RGB
 - BGR2I420
 - RGB2I420
 - I4202BGR
 - I4202RGB

* Addressing comment

3 years agovideoio(test): add FFmpeg backend check
Alexander Alekhin [Mon, 14 Dec 2020 18:29:52 +0000 (18:29 +0000)]
videoio(test): add FFmpeg backend check

- configure through OPENCV_TEST_VIDEOIO_BACKEND_REQUIRE_FFMPEG environment variable

3 years agoMerge pull request #19106 from xerus:fix_typo
Alexander Alekhin [Mon, 14 Dec 2020 16:27:52 +0000 (16:27 +0000)]
Merge pull request #19106 from xerus:fix_typo

3 years agoFix a typo s/VERISON/VERSION/
Pavel Grunt [Mon, 14 Dec 2020 11:02:25 +0000 (12:02 +0100)]
Fix a typo s/VERISON/VERSION/

3 years agoMerge pull request #18869 from anna-khakimova:ak/kalman
Anna Khakimova [Mon, 14 Dec 2020 08:56:37 +0000 (11:56 +0300)]
Merge pull request #18869 from anna-khakimova:ak/kalman

* GAPI: Kalman filter stateful kernel

* Applied comments

* Applied comments. Second iteration

* Add overload without control vector

* Remove structure constructor and dimension fields.

* Add sample as test

* Remove visualization from test-sample + correct doxygen comments

* Applied comments.

3 years agojs: update documentation and builds scripts
Alexander Alekhin [Mon, 14 Dec 2020 04:42:15 +0000 (04:42 +0000)]
js: update documentation and builds scripts

- support modern Emscripten build process
- replaced Docker image
- replaced Emscripten's web URLs

3 years agocore(opencl): add version check before clCreateFromGLTexture() call
Alexander Alekhin [Sun, 13 Dec 2020 19:03:11 +0000 (19:03 +0000)]
core(opencl): add version check before clCreateFromGLTexture() call

3 years agoMerge pull request #19088 from Rightpoint:task/colejd/make-xcframework-output-path...
Jonathan Cole [Sat, 12 Dec 2020 17:35:25 +0000 (12:35 -0500)]
Merge pull request #19088 from Rightpoint:task/colejd/make-xcframework-output-path-explicit

Make xcframework output path argument explicit and required

* Make output path argument explicit and required

* Improve xcframework documentation

* Add TODOs for future breaking changes on build_framework.py scripts

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 11 Dec 2020 19:27:20 +0000 (19:27 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #19079 from alalek:issue_18713
Alexander Alekhin [Fri, 11 Dec 2020 19:15:26 +0000 (19:15 +0000)]
Merge pull request #19079 from alalek:issue_18713

3 years agoMerge pull request #19085 from OrestChura:oc/fix_new_streaming_tests
Alexander Alekhin [Fri, 11 Dec 2020 19:14:29 +0000 (19:14 +0000)]
Merge pull request #19085 from OrestChura:oc/fix_new_streaming_tests

3 years agoMerge pull request #19084 from alalek:issue_16197
Alexander Alekhin [Fri, 11 Dec 2020 19:13:40 +0000 (19:13 +0000)]
Merge pull request #19084 from alalek:issue_16197

3 years agoMerge pull request #19068 from alalek:issue_18157
Alexander Alekhin [Fri, 11 Dec 2020 19:11:04 +0000 (19:11 +0000)]
Merge pull request #19068 from alalek:issue_18157

3 years agoMerge pull request #19064 from alalek:cmake_update_mkl
Alexander Alekhin [Fri, 11 Dec 2020 19:10:16 +0000 (19:10 +0000)]
Merge pull request #19064 from alalek:cmake_update_mkl

3 years agoMerge pull request #19045 from alalek:issue_17553
Alexander Alekhin [Fri, 11 Dec 2020 19:09:35 +0000 (22:09 +0300)]
Merge pull request #19045 from alalek:issue_17553

* flann: avoid dangling pointers on lost features data

* flann: fix Index::load()

3 years agoMerge pull request #19062 from alalek:3.4_issue_17553
Alexander Alekhin [Fri, 11 Dec 2020 19:08:46 +0000 (19:08 +0000)]
Merge pull request #19062 from alalek:3.4_issue_17553

3 years agoMerge pull request #19055 from alalek:4.x_issue_18244
Alexander Alekhin [Fri, 11 Dec 2020 19:07:56 +0000 (19:07 +0000)]
Merge pull request #19055 from alalek:4.x_issue_18244

3 years agoMerge pull request #19054 from alalek:3.4_issue_18244
Alexander Alekhin [Fri, 11 Dec 2020 19:07:34 +0000 (19:07 +0000)]
Merge pull request #19054 from alalek:3.4_issue_18244

3 years agoMerge pull request #19049 from alalek:issue_17282
Alexander Alekhin [Fri, 11 Dec 2020 19:06:47 +0000 (19:06 +0000)]
Merge pull request #19049 from alalek:issue_17282

3 years agoMerge pull request #19048 from alalek:android_gradle_5.6.4
Alexander Alekhin [Fri, 11 Dec 2020 19:06:12 +0000 (19:06 +0000)]
Merge pull request #19048 from alalek:android_gradle_5.6.4

3 years agoMerge pull request #19071 from LupusSanctus:am/dnn_nearest_resize_3.4
Alexander Alekhin [Fri, 11 Dec 2020 18:25:55 +0000 (18:25 +0000)]
Merge pull request #19071 from LupusSanctus:am/dnn_nearest_resize_3.4

3 years agofeatures2d: fix ORB::setFirstScale() handling
Alexander Alekhin [Fri, 11 Dec 2020 17:21:48 +0000 (17:21 +0000)]
features2d: fix ORB::setFirstScale() handling

3 years agoFix new streaming tests for CI
OrestChura [Fri, 11 Dec 2020 17:26:39 +0000 (20:26 +0300)]
Fix new streaming tests for CI

3 years agoMerge pull request #19009 from TolyaTalamanov:at/media-frame-copy
Anatoliy Talamanov [Fri, 11 Dec 2020 16:29:34 +0000 (19:29 +0300)]
Merge pull request #19009 from TolyaTalamanov:at/media-frame-copy

[G-API] GStreamingBackend

* Snapshot

* Implement StreamingBackend

* Refactoring

* Refactoring 2

* Clean up

* Add missing functionality to support MediaFrame as output

* Partially address review comments

* Fix build

* Implement reshape for gstreamingbackend and add a test on it

* Address more comments

* Add format.hpp to gapi.hpp

* Fix debug build

* Address review comments

Co-authored-by: Smirnov Alexey <alexey.smirnov@intel.com>
3 years agoMerge pull request #19024 from komakai:cmake319-proposal2
Alexander Alekhin [Fri, 11 Dec 2020 15:14:42 +0000 (15:14 +0000)]
Merge pull request #19024 from komakai:cmake319-proposal2

3 years agoMerge pull request #18591 from sl-sergei:download_utilities
Sergei Slashchinin [Fri, 11 Dec 2020 10:15:32 +0000 (13:15 +0300)]
Merge pull request #18591 from sl-sergei:download_utilities

Scripts for downloading models in DNN samples

* Initial commit. Utility classes and functions for downloading files

* updated download script

* Support YAML parsing, update download script and configs

* Fix problem with archived files

* fix models.yml

* Move download utilities to more appropriate place

* Fix script description

* Update README

* update utilities for broader range of files

* fix loading with no hashsum provided

* remove unnecessary import

* fix for Python2

* Add usage examples for downloadFile function

* Add more secure cache folder selection

* Remove trailing whitespaces

* Fix indentation

* Update function interface

* Change function for temp dir, change entry name in models.yml

* Update getCacheDirectory function call

* Return python implementation for cache directory selection, use more specific env variable

* Fix whitespace

3 years agoMerge pull request #18983 from Yosshi999:bitexact-gaussian-16U-faster
Yosshi999 [Fri, 11 Dec 2020 10:14:15 +0000 (19:14 +0900)]
Merge pull request #18983 from Yosshi999:bitexact-gaussian-16U-faster

support SIMD for larger symmetric Bit-exact 16U gaussian blur

* support SIMD for bit-exact 16U symmetric gaussian blur

* use tighter SIMD registers

3 years agocalib3d: fix findCirclesGrid hang
Alexander Alekhin [Fri, 11 Dec 2020 07:00:25 +0000 (07:00 +0000)]
calib3d: fix findCirclesGrid hang

- detect case with infinite loop and raise NoConv exception
- handle such exception
- add support for case with missing `blobDetector` (image contains Point2f array of candidates)
- add regression test
- undone rectification for "failed" detections too
- drop redirectError() usage

3 years agoMerge pull request #19076 from Rightpoint:bugfix/colejd/fix-path-resolution-bugs
Jonathan Cole [Fri, 11 Dec 2020 07:14:28 +0000 (02:14 -0500)]
Merge pull request #19076 from Rightpoint:bugfix/colejd/fix-path-resolution-bugs

Fix path resolution bugs for XCFramework builds

* Fix incorrect paths for intermediate frameworks

* Remove unnecessary `./` prepend preventing use of absolute paths

3 years agoMerge pull request #19075 from alalek:dnn_fix_halide_build
Alexander Alekhin [Thu, 10 Dec 2020 20:37:37 +0000 (20:37 +0000)]
Merge pull request #19075 from alalek:dnn_fix_halide_build

3 years agoMerge pull request #19074 from alalek:dnn_test_tolerance_east
Alexander Alekhin [Thu, 10 Dec 2020 20:29:36 +0000 (20:29 +0000)]
Merge pull request #19074 from alalek:dnn_test_tolerance_east

3 years agoMerge pull request #19072 from mshabunin:sink-sync-off
Alexander Alekhin [Thu, 10 Dec 2020 20:05:46 +0000 (20:05 +0000)]
Merge pull request #19072 from mshabunin:sink-sync-off

3 years agoandroid: add -llog for libprotobuf
Alexander Alekhin [Tue, 8 Dec 2020 09:12:23 +0000 (09:12 +0000)]
android: add -llog for libprotobuf

3 years agodnn: fix build with Halide, skip tests with crashes
Alexander Alekhin [Thu, 10 Dec 2020 18:23:24 +0000 (18:23 +0000)]
dnn: fix build with Halide, skip tests with crashes