platform/upstream/opencv.git
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 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 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 #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 #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 #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 #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 #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 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 #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 #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

3 years agovideoio: turn off syncronized sink in GStreamer
Maksim Shabunin [Thu, 10 Dec 2020 13:07:28 +0000 (16:07 +0300)]
videoio: turn off syncronized sink in GStreamer

3 years agoAdded TF nearest neighbour resize behaviour alignment
Anastasia Murzova [Thu, 10 Dec 2020 11:27:23 +0000 (14:27 +0300)]
Added TF nearest neighbour resize behaviour alignment

Relates to OpenCV issue #18721

3 years agoimgproc: fix minAreaRect()
Alexander Alekhin [Thu, 10 Dec 2020 08:07:50 +0000 (08:07 +0000)]
imgproc: fix minAreaRect()

3 years agoMerge pull request #19061 from alalek:dnn_load_face_detector_with_external_protobuf
Alexander Alekhin [Wed, 9 Dec 2020 18:03:52 +0000 (18:03 +0000)]
Merge pull request #19061 from alalek:dnn_load_face_detector_with_external_protobuf

3 years agoMerge pull request #19060 from alalek:issue_18097
Alexander Alekhin [Wed, 9 Dec 2020 18:02:41 +0000 (18:02 +0000)]
Merge pull request #19060 from alalek:issue_18097

3 years agoMerge pull request #19059 from alalek:fixup_19000
Alexander Alekhin [Wed, 9 Dec 2020 18:01:03 +0000 (18:01 +0000)]
Merge pull request #19059 from alalek:fixup_19000

3 years agocmake: update MKL library searching
Alexander Alekhin [Wed, 9 Dec 2020 15:29:57 +0000 (18:29 +0300)]
cmake: update MKL library searching

- allow to specify MKL_LIBRARIES through command-line

3 years agoflann: drop wrapping of Index class
Alexander Alekhin [Wed, 9 Dec 2020 05:35:37 +0000 (05:35 +0000)]
flann: drop wrapping of Index class

- due to lifetime restrictions on passed 'features' parameter and its dangling pointers
- dangling pointer issue is fixed for OpenCV 4.5.1+

3 years agodnn(caffe): add DetectionOutputParameter.clip to .proto file
Alexander Alekhin [Wed, 9 Dec 2020 05:12:18 +0000 (05:12 +0000)]
dnn(caffe): add DetectionOutputParameter.clip to .proto file

- allow to load opencv_face_detector with external unpatched protobuf

3 years agojs(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+
Alexander Alekhin [Wed, 9 Dec 2020 03:58:36 +0000 (03:58 +0000)]
js(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+

3 years agoMerge pull request #18996 from LupusSanctus:am/dnn_bilinear_resize
Alexander Alekhin [Tue, 8 Dec 2020 21:09:41 +0000 (21:09 +0000)]
Merge pull request #18996 from LupusSanctus:am/dnn_bilinear_resize

3 years agoAdded TF resize_bilinear behaviour alignment
Anastasia Murzova [Wed, 2 Dec 2020 22:48:18 +0000 (01:48 +0300)]
Added TF resize_bilinear behaviour alignment

Fixes OpenCV issue #18721

3 years agocmake: fix handling of wrappers dependencies
Alexander Alekhin [Tue, 8 Dec 2020 19:10:04 +0000 (19:10 +0000)]
cmake: fix handling of wrappers dependencies

3 years agocmake: don't define ENABLE_NEON flags in non-cross-compiling mode
Alexander Alekhin [Tue, 8 Dec 2020 16:48:16 +0000 (16:48 +0000)]
cmake: don't define ENABLE_NEON flags in non-cross-compiling mode

- NEON / ANDROID_ARM_NEON are toolchain-specific flags
- they are usually not defined for native builds
- let work CPU_BASELINE=DETECT properly

3 years agoMerge pull request #19046 from alalek:issue_16861
Alexander Alekhin [Tue, 8 Dec 2020 11:34:20 +0000 (11:34 +0000)]
Merge pull request #19046 from alalek:issue_16861

3 years agoandroid: use protected fields in JavaCamera2View
Alexander Alekhin [Tue, 8 Dec 2020 05:18:21 +0000 (05:18 +0000)]
android: use protected fields in JavaCamera2View

3 years agoMerge pull request #19041 from alalek:issue_19025
Alexander Alekhin [Mon, 7 Dec 2020 22:31:53 +0000 (22:31 +0000)]
Merge pull request #19041 from alalek:issue_19025

3 years agovideoio(test): skip GStreamer in 'frame_timestamp' tests
Alexander Alekhin [Mon, 7 Dec 2020 21:18:47 +0000 (21:18 +0000)]
videoio(test): skip GStreamer in 'frame_timestamp' tests

- CAP_PROP_POS_MSEC is not reliable

3 years agoMerge pull request #19023 from alalek:core_update_allocator_stats_type
Alexander Alekhin [Mon, 7 Dec 2020 20:41:37 +0000 (20:41 +0000)]
Merge pull request #19023 from alalek:core_update_allocator_stats_type

3 years agoMerge pull request #19019 from alalek:cmake_avoid_excessive_trace_dump
Alexander Alekhin [Mon, 7 Dec 2020 20:40:56 +0000 (20:40 +0000)]
Merge pull request #19019 from alalek:cmake_avoid_excessive_trace_dump

3 years agoMerge pull request #19015 from alalek:dnn_use_fma
Alexander Alekhin [Mon, 7 Dec 2020 20:40:21 +0000 (20:40 +0000)]
Merge pull request #19015 from alalek:dnn_use_fma

3 years agoMerge pull request #19022 from alalek:cmake_avoid_duplication_of_winit_self
Alexander Alekhin [Sun, 6 Dec 2020 16:14:25 +0000 (16:14 +0000)]
Merge pull request #19022 from alalek:cmake_avoid_duplication_of_winit_self

3 years agocore: update handling of allocator stats type
Alexander Alekhin [Sat, 5 Dec 2020 20:41:25 +0000 (20:41 +0000)]
core: update handling of allocator stats type

- don't use OPENCV_ALLOCATOR_STATS_COUNTER_TYPE definition in non C++11 builds
- don't use with MinGW

3 years agocmake: avoid duplication of -Winit-self flag
Alexander Alekhin [Sat, 5 Dec 2020 20:18:02 +0000 (20:18 +0000)]
cmake: avoid duplication of -Winit-self flag

3 years agocmake: avoid excessive output from cmake --trace/--trace-expand
Alexander Alekhin [Sat, 5 Dec 2020 13:28:20 +0000 (13:28 +0000)]
cmake: avoid excessive output from cmake --trace/--trace-expand

- `cmake . --trace-expand -DCMAKE_TRACE_MODE=1`

3 years agodnn: prefer to use v_fma() instead of v_c += v_a * v_b
Alexander Alekhin [Sat, 5 Dec 2020 11:51:03 +0000 (11:51 +0000)]
dnn: prefer to use v_fma() instead of v_c += v_a * v_b

3 years agoMerge pull request #18955 from alalek:test_debug_flag
Alexander Alekhin [Fri, 4 Dec 2020 18:09:59 +0000 (18:09 +0000)]
Merge pull request #18955 from alalek:test_debug_flag

3 years agoMerge pull request #18965 from alalek:cmake_gen_js_code
Alexander Alekhin [Thu, 3 Dec 2020 18:10:30 +0000 (18:10 +0000)]
Merge pull request #18965 from alalek:cmake_gen_js_code

3 years agoMerge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators
Alexander Alekhin [Thu, 3 Dec 2020 18:08:40 +0000 (18:08 +0000)]
Merge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators

3 years agocmake(js): update js targets
Alexander Alekhin [Mon, 30 Nov 2020 03:41:21 +0000 (03:41 +0000)]
cmake(js): update js targets

- unconditional js bindings source code generation
- use common name for tests: opencv_test_js

3 years agoMerge pull request #18993 from alalek:issue_18984
Alexander Alekhin [Thu, 3 Dec 2020 13:55:07 +0000 (13:55 +0000)]
Merge pull request #18993 from alalek:issue_18984

3 years agocmake: fix processing order of <wrapper>_bindings_generator
Alexander Alekhin [Thu, 3 Dec 2020 11:59:06 +0000 (11:59 +0000)]
cmake: fix processing order of <wrapper>_bindings_generator

- ensure that wrapped modules are already processed

3 years agoMerge pull request #18998 from upupming:patch-1
Alexander Alekhin [Thu, 3 Dec 2020 10:59:59 +0000 (10:59 +0000)]
Merge pull request #18998 from upupming:patch-1

3 years agoMerge pull request #18992 from vertexcite:patch-1
Alexander Alekhin [Thu, 3 Dec 2020 10:58:47 +0000 (10:58 +0000)]
Merge pull request #18992 from vertexcite:patch-1

3 years agoMerge pull request #18966 from Staticity:add_live_timestamps_to_msmf
Alexander Alekhin [Thu, 3 Dec 2020 10:57:25 +0000 (10:57 +0000)]
Merge pull request #18966 from Staticity:add_live_timestamps_to_msmf

3 years agoFixed minor typo "poins" in documentation page
Randall Britten [Wed, 2 Dec 2020 01:47:37 +0000 (14:47 +1300)]
Fixed minor typo "poins" in documentation page

3 years agofix: typo
Yiming Li [Thu, 3 Dec 2020 07:35:52 +0000 (15:35 +0800)]
fix: typo

3 years agoMerge pull request #18994 from alalek:umat_drop_unavailable_methods
Alexander Alekhin [Wed, 2 Dec 2020 22:54:47 +0000 (22:54 +0000)]
Merge pull request #18994 from alalek:umat_drop_unavailable_methods

3 years agoAdd Timestamps to MSMF Video Capture by index
Jaime Rivera [Mon, 30 Nov 2020 05:17:24 +0000 (21:17 -0800)]
Add Timestamps to MSMF Video Capture by index

Enable frame timestamp tests for MSMF

Add functional test for camera live timestamps

Remove trailing whitespace

Add timestamp test to all functional tests. Protect div by 0

Add Timestamps to MSMF Video Capture by index

3 years agoMerge pull request #18986 from alalek:fix_ipp_17453_2
Alexander Alekhin [Wed, 2 Dec 2020 19:09:24 +0000 (19:09 +0000)]
Merge pull request #18986 from alalek:fix_ipp_17453_2

3 years agoMerge pull request #18831 from rjiejie:master-opt@pipeline
Alexander Alekhin [Wed, 2 Dec 2020 19:07:38 +0000 (19:07 +0000)]
Merge pull request #18831 from rjiejie:master-opt@pipeline

3 years agoMerge pull request #18991 from alalek:workaround_12959
Alexander Alekhin [Wed, 2 Dec 2020 17:34:22 +0000 (17:34 +0000)]
Merge pull request #18991 from alalek:workaround_12959

3 years agocore(UMat): drop unavailable methods
Alexander Alekhin [Wed, 2 Dec 2020 15:02:43 +0000 (15:02 +0000)]
core(UMat): drop unavailable methods

3 years agocmake: clean cached INTERNAL variable used for 3rdparty deps
Alexander Alekhin [Wed, 2 Dec 2020 12:34:24 +0000 (12:34 +0000)]
cmake: clean cached INTERNAL variable used for 3rdparty deps

3 years agocore(ipp): workaround getIppTopFeatures() value mismatch
Alexander Alekhin [Wed, 2 Dec 2020 00:21:19 +0000 (00:21 +0000)]
core(ipp): workaround getIppTopFeatures() value mismatch

3 years agocore(ipp): disable SSE4.2 code path in countNonZero()
Alexander Alekhin [Tue, 1 Dec 2020 14:01:42 +0000 (14:01 +0000)]
core(ipp): disable SSE4.2 code path in countNonZero()

3 years agoMerge pull request #18968 from asmorkalov:as/cap_prop_frame_msec_test
Alexander Alekhin [Mon, 30 Nov 2020 22:49:54 +0000 (22:49 +0000)]
Merge pull request #18968 from asmorkalov:as/cap_prop_frame_msec_test

3 years agoMerge pull request #18930 from alalek:issue_18502
Alexander Alekhin [Mon, 30 Nov 2020 18:22:59 +0000 (18:22 +0000)]
Merge pull request #18930 from alalek:issue_18502

3 years agoAdded test for VideoCapture CAP_PROP_FRAME_MSEC option.
Alexander Smorkalov [Mon, 30 Nov 2020 08:54:51 +0000 (11:54 +0300)]
Added test for VideoCapture CAP_PROP_FRAME_MSEC option.

- Suppressed FFMPEG + h264, h265 as it does not pass tests with CI configuration.
- Suppressed MediaFoundation backend as it always returns zero for now.

3 years agoMerge pull request #18064 from akineeic:gsoc_2020_dnn
Zhiming-Zeng [Sun, 29 Nov 2020 10:09:42 +0000 (18:09 +0800)]
Merge pull request #18064 from akineeic:gsoc_2020_dnn

[GSoC] Develop OpenCV.js DNN modules for promising web use cases together with their tutorials

* [Opencv.js doc] Init commit to add image classification example in opencv.js tutorial

* [Opencv.js doc] Make the code snippet interactive and put the functions into code snippet.

* Fix the utils.loadOpenCv for promise module

* [Opencv.js doc] Code modify and fixed layout issue.

* [Opencv.js doc] Add a JSON file to store parameters for models and show in the web page.

* [Opencv.js doc] Change let to const.

* [Opencv.js doc] Init commit to add image classification example with camera in opencv.js tutorial

* [Opencv.js doc] Init commit to add semantic segmentation example in opencv.js tutorial

* [Opencv.js doc] Add object detection example, supprot YOLOv2

* [Opencv.js doc] Support SSD model for object detection example

* [Opencv.js doc] Add fast neural style transfer example with opencv.js

* [Opencv.js doc] Add pose estimation example in opencv.js tutorial

* Delete whitespace for code check

* [Opencv.js doc] Add object detection example with camera

* [Opencv.js doc] Add json files containing model information to each example

* [Opencv.js doc] Add a js file for common function in dnn example

* [Opencv.js doc] Create single function getBlobFromImage

* [Opencv.js doc] Add url of model into webpage

* [OpenCV.js doc] Update UI for running

* [Opencv.js doc] Load dnn model by input button

* [Opencv.js doc] Fix some UI issues

* [Opencv.js doc] Change code format

Co-authored-by: Ningxin Hu <ningxin.hu@intel.com>
3 years agots: cvtest::debugLevel / --test_debug=<N> option
Alexander Alekhin [Sat, 28 Nov 2020 13:13:28 +0000 (13:13 +0000)]
ts: cvtest::debugLevel / --test_debug=<N> option

3 years agoMerge pull request #18939 from alalek:unstable_test_18937
Alexander Alekhin [Fri, 27 Nov 2020 08:21:25 +0000 (08:21 +0000)]
Merge pull request #18939 from alalek:unstable_test_18937

3 years agoMerge pull request #18922 from alalek:3.4-xcode12
Alexander Alekhin [Thu, 26 Nov 2020 22:14:55 +0000 (22:14 +0000)]
Merge pull request #18922 from alalek:3.4-xcode12

3 years agodnn(test): skip unstable GatherMultiOutput OCL_FP16 test
Alexander Alekhin [Thu, 26 Nov 2020 21:30:21 +0000 (21:30 +0000)]
dnn(test): skip unstable GatherMultiOutput OCL_FP16 test

3 years agoMerge pull request #17077 from i386x:check-negative-values
Alexander Alekhin [Thu, 26 Nov 2020 15:07:58 +0000 (15:07 +0000)]
Merge pull request #17077 from i386x:check-negative-values

3 years agopython: restore sys.path in bootstrap()
Alexander Alekhin [Thu, 26 Nov 2020 12:24:15 +0000 (12:24 +0000)]
python: restore sys.path in bootstrap()

- multiprocessing need to start from bootstrap code
- loading may fail due to missing os.add_dll_directory() calls

3 years agobuild: xcode 12 support, cmake fixes
Alexander Alekhin [Wed, 25 Nov 2020 12:56:12 +0000 (12:56 +0000)]
build: xcode 12 support, cmake fixes

3 years agoMerge pull request #18914 from alalek:videoio_fix_missing_get_capture_domain
Alexander Alekhin [Wed, 25 Nov 2020 13:46:57 +0000 (13:46 +0000)]
Merge pull request #18914 from alalek:videoio_fix_missing_get_capture_domain

3 years agoMerge pull request #18918 from gabrielnhn:patch-2
Alexander Alekhin [Wed, 25 Nov 2020 13:46:37 +0000 (13:46 +0000)]
Merge pull request #18918 from gabrielnhn:patch-2

3 years agodoc: Fix example code using deprecated xrange
Gabriel Nascarella Hishida [Wed, 25 Nov 2020 01:14:55 +0000 (22:14 -0300)]
doc: Fix example code using deprecated xrange

xrange was abandoned and doesn't exist in Python 3. range() works just the same

3 years agovideoio: add missing getCaptureDomain() methods
Alexander Alekhin [Tue, 24 Nov 2020 22:26:10 +0000 (22:26 +0000)]
videoio: add missing getCaptureDomain() methods

3 years agoMerge pull request #18862 from sl-sergei:support_pool1d
Sergei Slashchinin [Tue, 24 Nov 2020 16:52:45 +0000 (19:52 +0300)]
Merge pull request #18862 from sl-sergei:support_pool1d

Support for Pool1d layer for OpenCV and OpenCL targets

* Initial version of Pool1d support

* Fix variable naming

* Fix 1d pooling for OpenCL

* Change support logic, remove unnecessary variable, split the tests

* Remove other depricated variables

* Fix warning. Check tests

* Change support check logic

* Change support check logic, 2

3 years agoMerge pull request #18896 from alalek:cmake_fix_eigen_detection
Alexander Alekhin [Mon, 23 Nov 2020 17:19:18 +0000 (17:19 +0000)]
Merge pull request #18896 from alalek:cmake_fix_eigen_detection

3 years agoMerge pull request #18895 from oravital7:flip-module
Alexander Alekhin [Mon, 23 Nov 2020 17:18:59 +0000 (17:18 +0000)]
Merge pull request #18895 from oravital7:flip-module

3 years agoMerge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error
Alexander Alekhin [Mon, 23 Nov 2020 17:03:46 +0000 (17:03 +0000)]
Merge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error

3 years agocmake: update condition for find_package(Eigen3 CONFIG)
Alexander Alekhin [Sun, 22 Nov 2020 16:28:53 +0000 (16:28 +0000)]
cmake: update condition for find_package(Eigen3 CONFIG)

3 years agoMerge pull request #18887 from HollowMan6:patch-1
Alexander Alekhin [Sun, 22 Nov 2020 14:40:30 +0000 (14:40 +0000)]
Merge pull request #18887 from HollowMan6:patch-1

3 years agoRemove unnecessary condition (will never reach)
Or Avital [Sun, 22 Nov 2020 12:19:20 +0000 (14:19 +0200)]
Remove unnecessary condition (will never reach)

3 years agoFix typo in docs
Hollow Man [Sat, 21 Nov 2020 16:00:07 +0000 (00:00 +0800)]
Fix typo in docs

adatapted -> adapted

3 years agoMerge pull request #18882 from alalek:build_warning_calib3d_drop_register
Alexander Alekhin [Fri, 20 Nov 2020 22:46:31 +0000 (22:46 +0000)]
Merge pull request #18882 from alalek:build_warning_calib3d_drop_register

3 years agocore(matrix): Negative values checks
Jiri Kucera [Tue, 14 Apr 2020 12:23:43 +0000 (14:23 +0200)]
core(matrix): Negative values checks

Add checks that prevents indexing an array by negative values.

3 years agocalib3d: eliminate 'register' build warning
Alexander Alekhin [Fri, 20 Nov 2020 20:32:59 +0000 (20:32 +0000)]
calib3d: eliminate 'register' build warning

3 years agoFix Reduce Mean error for MobileNets DNN
Joe [Tue, 17 Nov 2020 19:58:42 +0000 (13:58 -0600)]
Fix Reduce Mean error for MobileNets DNN

Fix for index error for Reduce Mean

Correct Reduce Mean indexing error

3 years agoMerge pull request #18371 from nathanrgodwin:sqpnp_dev
Nathan Godwin [Fri, 20 Nov 2020 11:25:17 +0000 (05:25 -0600)]
Merge pull request #18371 from nathanrgodwin:sqpnp_dev

Added SQPnP algorithm to SolvePnP

* Added sqpnp

* Fixed test case

* Added fix for duplicate point checking and inverse func reuse

* Changes for 3x speedup

Changed norm method (significant speed increase), changed nearest rotation computation to FOAM

* Added symmetric 3x3 inverse and unrolled loops

* Fixed error with SVD

* Fixed error from with indices

Indices were initialized negative. When nullspace is large, points coplanar, and rotation near 0, indices not changed.