Alexander Alekhin [Thu, 17 Dec 2020 19:50:36 +0000 (19:50 +0000)]
Merge pull request #19146 from alalek:dnn_openvino_2021.2.0
Alexander Alekhin [Thu, 17 Dec 2020 19:47:42 +0000 (19:47 +0000)]
Merge pull request #19143 from vrabaud:stack
Alexander Alekhin [Thu, 17 Dec 2020 19:40:22 +0000 (19:40 +0000)]
Merge pull request #19139 from vrabaud:find1
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
Vincent Rabaud [Wed, 16 Dec 2020 16:27:55 +0000 (17:27 +0100)]
Move big objects (>20k) from stack to heap.
Alexander Alekhin [Thu, 17 Dec 2020 07:53:35 +0000 (07:53 +0000)]
dnn(test): update tests for OpenVINO 2021.2
Alexander Alekhin [Wed, 16 Dec 2020 22:22:17 +0000 (22:22 +0000)]
dnn: use OpenVINO 2021.2 defines
original commit:
4699d2ba0c5447516ac89dc732704028838a3f86
Alexander Alekhin [Wed, 16 Dec 2020 22:13:18 +0000 (22:13 +0000)]
Merge pull request #19101 from alalek:issue_5209
Alexander Alekhin [Tue, 15 Dec 2020 20:47:05 +0000 (20:47 +0000)]
Merge pull request #19114 from alalek:issue_18937
Alexander Alekhin [Tue, 15 Dec 2020 20:46:09 +0000 (20:46 +0000)]
Merge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences
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.
Alexander Alekhin [Tue, 15 Dec 2020 16:09:15 +0000 (16:09 +0000)]
Merge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency
Alexander Alekhin [Tue, 15 Dec 2020 01:34:20 +0000 (01:34 +0000)]
dnn(ocl): avoid mess FP16/FP32 in convolution layer
Alexander Alekhin [Tue, 15 Dec 2020 08:48:23 +0000 (08:48 +0000)]
Merge pull request #19110 from alalek:test_videoio_require_ffmpeg
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
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
Alexander Alekhin [Mon, 14 Dec 2020 16:27:52 +0000 (16:27 +0000)]
Merge pull request #19106 from xerus:fix_typo
Pavel Grunt [Mon, 14 Dec 2020 11:02:25 +0000 (12:02 +0100)]
Fix a typo s/VERISON/VERSION/
Alexander Alekhin [Sun, 13 Dec 2020 19:03:11 +0000 (19:03 +0000)]
core(opencl): add version check before clCreateFromGLTexture() call
Alexander Alekhin [Fri, 11 Dec 2020 19:15:26 +0000 (19:15 +0000)]
Merge pull request #19079 from alalek:issue_18713
Alexander Alekhin [Fri, 11 Dec 2020 19:13:40 +0000 (19:13 +0000)]
Merge pull request #19084 from alalek:issue_16197
Alexander Alekhin [Fri, 11 Dec 2020 19:11:04 +0000 (19:11 +0000)]
Merge pull request #19068 from alalek:issue_18157
Alexander Alekhin [Fri, 11 Dec 2020 19:10:16 +0000 (19:10 +0000)]
Merge pull request #19064 from alalek:cmake_update_mkl
Alexander Alekhin [Fri, 11 Dec 2020 19:08:46 +0000 (19:08 +0000)]
Merge pull request #19062 from alalek:3.4_issue_17553
Alexander Alekhin [Fri, 11 Dec 2020 19:07:34 +0000 (19:07 +0000)]
Merge pull request #19054 from alalek:3.4_issue_18244
Alexander Alekhin [Fri, 11 Dec 2020 19:06:47 +0000 (19:06 +0000)]
Merge pull request #19049 from alalek:issue_17282
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
Alexander Alekhin [Fri, 11 Dec 2020 17:21:48 +0000 (17:21 +0000)]
features2d: fix ORB::setFirstScale() handling
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
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
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
Alexander Alekhin [Thu, 10 Dec 2020 20:37:37 +0000 (20:37 +0000)]
Merge pull request #19075 from alalek:dnn_fix_halide_build
Alexander Alekhin [Thu, 10 Dec 2020 20:05:46 +0000 (20:05 +0000)]
Merge pull request #19072 from mshabunin:sink-sync-off
Alexander Alekhin [Tue, 8 Dec 2020 09:12:23 +0000 (09:12 +0000)]
android: add -llog for libprotobuf
Alexander Alekhin [Thu, 10 Dec 2020 18:23:24 +0000 (18:23 +0000)]
dnn: fix build with Halide, skip tests with crashes
Maksim Shabunin [Thu, 10 Dec 2020 13:07:28 +0000 (16:07 +0300)]
videoio: turn off syncronized sink in GStreamer
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
Alexander Alekhin [Thu, 10 Dec 2020 08:07:50 +0000 (08:07 +0000)]
imgproc: fix minAreaRect()
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
Alexander Alekhin [Wed, 9 Dec 2020 18:02:41 +0000 (18:02 +0000)]
Merge pull request #19060 from alalek:issue_18097
Alexander Alekhin [Wed, 9 Dec 2020 18:01:03 +0000 (18:01 +0000)]
Merge pull request #19059 from alalek:fixup_19000
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
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+
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
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+
Alexander Alekhin [Tue, 8 Dec 2020 21:09:41 +0000 (21:09 +0000)]
Merge pull request #18996 from LupusSanctus:am/dnn_bilinear_resize
Anastasia Murzova [Wed, 2 Dec 2020 22:48:18 +0000 (01:48 +0300)]
Added TF resize_bilinear behaviour alignment
Fixes OpenCV issue #18721
Alexander Alekhin [Tue, 8 Dec 2020 19:10:04 +0000 (19:10 +0000)]
cmake: fix handling of wrappers dependencies
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
Alexander Alekhin [Tue, 8 Dec 2020 11:34:20 +0000 (11:34 +0000)]
Merge pull request #19046 from alalek:issue_16861
Alexander Alekhin [Tue, 8 Dec 2020 05:18:21 +0000 (05:18 +0000)]
android: use protected fields in JavaCamera2View
Alexander Alekhin [Mon, 7 Dec 2020 22:31:53 +0000 (22:31 +0000)]
Merge pull request #19041 from alalek:issue_19025
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
Alexander Alekhin [Mon, 7 Dec 2020 20:41:37 +0000 (20:41 +0000)]
Merge pull request #19023 from alalek:core_update_allocator_stats_type
Alexander Alekhin [Mon, 7 Dec 2020 20:40:56 +0000 (20:40 +0000)]
Merge pull request #19019 from alalek:cmake_avoid_excessive_trace_dump
Alexander Alekhin [Mon, 7 Dec 2020 20:40:21 +0000 (20:40 +0000)]
Merge pull request #19015 from alalek:dnn_use_fma
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
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
Alexander Alekhin [Sat, 5 Dec 2020 20:18:02 +0000 (20:18 +0000)]
cmake: avoid duplication of -Winit-self flag
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`
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
Alexander Alekhin [Fri, 4 Dec 2020 18:09:59 +0000 (18:09 +0000)]
Merge pull request #18955 from alalek:test_debug_flag
Alexander Alekhin [Thu, 3 Dec 2020 18:10:30 +0000 (18:10 +0000)]
Merge pull request #18965 from alalek:cmake_gen_js_code
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
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
Alexander Alekhin [Thu, 3 Dec 2020 13:55:07 +0000 (13:55 +0000)]
Merge pull request #18993 from alalek:issue_18984
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
Alexander Alekhin [Thu, 3 Dec 2020 10:59:59 +0000 (10:59 +0000)]
Merge pull request #18998 from upupming:patch-1
Alexander Alekhin [Thu, 3 Dec 2020 10:58:47 +0000 (10:58 +0000)]
Merge pull request #18992 from vertexcite:patch-1
Alexander Alekhin [Thu, 3 Dec 2020 10:57:25 +0000 (10:57 +0000)]
Merge pull request #18966 from Staticity:add_live_timestamps_to_msmf
Randall Britten [Wed, 2 Dec 2020 01:47:37 +0000 (14:47 +1300)]
Fixed minor typo "poins" in documentation page
Yiming Li [Thu, 3 Dec 2020 07:35:52 +0000 (15:35 +0800)]
fix: typo
Alexander Alekhin [Wed, 2 Dec 2020 22:54:47 +0000 (22:54 +0000)]
Merge pull request #18994 from alalek:umat_drop_unavailable_methods
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
Alexander Alekhin [Wed, 2 Dec 2020 19:09:24 +0000 (19:09 +0000)]
Merge pull request #18986 from alalek:fix_ipp_17453_2
Alexander Alekhin [Wed, 2 Dec 2020 19:07:38 +0000 (19:07 +0000)]
Merge pull request #18831 from rjiejie:master-opt@pipeline
Alexander Alekhin [Wed, 2 Dec 2020 17:34:22 +0000 (17:34 +0000)]
Merge pull request #18991 from alalek:workaround_12959
Alexander Alekhin [Wed, 2 Dec 2020 15:02:43 +0000 (15:02 +0000)]
core(UMat): drop unavailable methods
Alexander Alekhin [Wed, 2 Dec 2020 12:34:24 +0000 (12:34 +0000)]
cmake: clean cached INTERNAL variable used for 3rdparty deps
Alexander Alekhin [Wed, 2 Dec 2020 00:21:19 +0000 (00:21 +0000)]
core(ipp): workaround getIppTopFeatures() value mismatch
Alexander Alekhin [Tue, 1 Dec 2020 14:01:42 +0000 (14:01 +0000)]
core(ipp): disable SSE4.2 code path in countNonZero()
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
Alexander Alekhin [Mon, 30 Nov 2020 18:22:59 +0000 (18:22 +0000)]
Merge pull request #18930 from alalek:issue_18502
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.
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>
Alexander Alekhin [Sat, 28 Nov 2020 13:13:28 +0000 (13:13 +0000)]
ts: cvtest::debugLevel / --test_debug=<N> option
Alexander Alekhin [Fri, 27 Nov 2020 08:21:25 +0000 (08:21 +0000)]
Merge pull request #18939 from alalek:unstable_test_18937
Alexander Alekhin [Thu, 26 Nov 2020 22:14:55 +0000 (22:14 +0000)]
Merge pull request #18922 from alalek:3.4-xcode12
Alexander Alekhin [Thu, 26 Nov 2020 21:30:21 +0000 (21:30 +0000)]
dnn(test): skip unstable GatherMultiOutput OCL_FP16 test
Alexander Alekhin [Thu, 26 Nov 2020 15:07:58 +0000 (15:07 +0000)]
Merge pull request #17077 from i386x:check-negative-values
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
Alexander Alekhin [Wed, 25 Nov 2020 12:56:12 +0000 (12:56 +0000)]
build: xcode 12 support, cmake fixes
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
Alexander Alekhin [Wed, 25 Nov 2020 13:46:37 +0000 (13:46 +0000)]
Merge pull request #18918 from gabrielnhn:patch-2
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
Alexander Alekhin [Tue, 24 Nov 2020 22:26:10 +0000 (22:26 +0000)]
videoio: add missing getCaptureDomain() methods
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
Alexander Alekhin [Mon, 23 Nov 2020 17:19:18 +0000 (17:19 +0000)]
Merge pull request #18896 from alalek:cmake_fix_eigen_detection
Alexander Alekhin [Mon, 23 Nov 2020 17:18:59 +0000 (17:18 +0000)]
Merge pull request #18895 from oravital7:flip-module
Alexander Alekhin [Mon, 23 Nov 2020 17:03:46 +0000 (17:03 +0000)]
Merge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error