Vincent Rabaud
8391a23600
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
2020-12-17 09:39:23 +01:00
Vincent Rabaud
ec3ef520e6
Move big objects (>20k) from stack to heap.
2020-12-17 09:36:51 +01:00
Alexander Alekhin
28aab134db
dnn(test): update tests for OpenVINO 2021.2
2020-12-17 07:53:35 +00:00
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
2020-12-16 22:22:17 +00:00
Alexander Alekhin
d159417474
Merge pull request #19101 from alalek:issue_5209
2020-12-16 22:13:18 +00:00
Alexander Alekhin
7d7ab462d6
Merge pull request #19130 from dmatveev:dm/fix_docs_ocv451
2020-12-16 20:26:41 +00:00
Alexander Alekhin
c4c21c2fa7
Merge pull request #19142 from rgarnov:rg/include_format_in_core
2020-12-16 20:26:05 +00:00
Ruslan Garnov
e06a497c7c
Added format.hpp include to core.hpp
2020-12-16 19:29:06 +03:00
Vadim Levin
7b0d7d0c9a
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.
2020-12-16 15:11:58 +03:00
Ruslan Garnov
f7cab121fe
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
2020-12-16 11:18:08 +00:00
Alexander Alekhin
7631056b8a
Merge pull request #19114 from alalek:issue_18937
2020-12-15 20:47:05 +00:00
Alexander Alekhin
4107dc7355
Merge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences
2020-12-15 20:46:09 +00:00
Dmitry Matveev
b74804f61f
G-API: Fix various Doxygen isses for the 4.5.1 release
2020-12-15 23:21:46 +03:00
Anatoliy Talamanov
50baf76cc2
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
2020-12-15 18:05:26 +00:00
Ian Maquignaz
085a131801
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.
2020-12-15 12:33:43 -05:00
Alexander Alekhin
50fed1d774
Merge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency
2020-12-15 16:09:15 +00:00
Alexander Alekhin
c240355cc6
dnn(ocl): avoid mess FP16/FP32 in convolution layer
2020-12-15 08:51:24 +00:00
Alexander Alekhin
a9edcc1705
Merge pull request #19110 from alalek:test_videoio_require_ffmpeg
2020-12-15 08:48:23 +00:00
Alexander Alekhin
4b3d2c8834
dnn(ocl): fix gemm kernels with beta=0
...
- dst is not initialized, may include NaN values
- 0*NaN produces NaN
2020-12-15 00:58:43 +00:00
Orest Chura
fcdd69fd97
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
2020-12-14 22:45:41 +00:00
Alexander Alekhin
48d9031efb
videoio(test): add FFmpeg backend check
...
- configure through OPENCV_TEST_VIDEOIO_BACKEND_REQUIRE_FFMPEG environment variable
2020-12-14 18:29:52 +00:00
Alexander Alekhin
a8adb99e94
Merge pull request #19106 from xerus:fix_typo
2020-12-14 16:27:53 +00:00
Pavel Grunt
b01ae2de05
Fix a typo s/VERISON/VERSION/
2020-12-14 12:02:25 +01:00
Anna Khakimova
46e275dfe4
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.
2020-12-14 08:56:37 +00:00
Alexander Alekhin
af71b03000
js: update documentation and builds scripts
...
- support modern Emscripten build process
- replaced Docker image
- replaced Emscripten's web URLs
2020-12-14 04:42:15 +00:00
Alexander Alekhin
392991fa0b
core(opencl): add version check before clCreateFromGLTexture() call
2020-12-13 20:57:26 +00:00
Jonathan Cole
743f1810c7
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
2020-12-12 17:35:25 +00:00
Alexander Alekhin
dd1494eebf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-11 19:27:20 +00:00
Alexander Alekhin
1bfc75ac23
Merge pull request #19079 from alalek:issue_18713
2020-12-11 19:15:26 +00:00
Alexander Alekhin
5bb45baa6c
Merge pull request #19085 from OrestChura:oc/fix_new_streaming_tests
2020-12-11 19:14:29 +00:00
Alexander Alekhin
def679554f
Merge pull request #19084 from alalek:issue_16197
2020-12-11 19:13:40 +00:00
Alexander Alekhin
08b6abd711
Merge pull request #19068 from alalek:issue_18157
2020-12-11 19:11:04 +00:00
Alexander Alekhin
33761ee06b
Merge pull request #19064 from alalek:cmake_update_mkl
2020-12-11 19:10:16 +00:00
Alexander Alekhin
a04479746a
Merge pull request #19045 from alalek:issue_17553
...
* flann: avoid dangling pointers on lost features data
* flann: fix Index::load()
2020-12-11 19:09:35 +00:00
Alexander Alekhin
d2b8fd6401
Merge pull request #19062 from alalek:3.4_issue_17553
2020-12-11 19:08:46 +00:00
Alexander Alekhin
8ac304517e
Merge pull request #19055 from alalek:4.x_issue_18244
2020-12-11 19:07:57 +00:00
Alexander Alekhin
4f236d1c50
Merge pull request #19054 from alalek:3.4_issue_18244
2020-12-11 19:07:34 +00:00
Alexander Alekhin
f9f9e2ad4a
Merge pull request #19049 from alalek:issue_17282
2020-12-11 19:06:47 +00:00
Alexander Alekhin
e52291cbcc
Merge pull request #19048 from alalek:android_gradle_5.6.4
2020-12-11 19:06:13 +00:00
Alexander Alekhin
23c246882e
Merge pull request #19071 from LupusSanctus:am/dnn_nearest_resize_3.4
2020-12-11 18:25:55 +00:00
Alexander Alekhin
f290ff215e
features2d: fix ORB::setFirstScale() handling
2020-12-11 18:05:24 +00:00
OrestChura
79b4dc14a3
Fix new streaming tests for CI
2020-12-11 20:26:39 +03:00
Anatoliy Talamanov
8ed0fc6f0c
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>
2020-12-11 16:29:34 +00:00
Alexander Alekhin
9f01b97e14
Merge pull request #19024 from komakai:cmake319-proposal2
2020-12-11 15:14:43 +00:00
Sergei Slashchinin
1f3255d76b
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
2020-12-11 10:15:32 +00:00
Yosshi999
fdeac73a59
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
2020-12-11 10:14:15 +00:00
Alexander Alekhin
175cd03ff2
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
2020-12-11 07:31:50 +00:00
Jonathan Cole
9f52244574
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
2020-12-11 07:14:28 +00:00
Alexander Alekhin
d6a7f5e1e0
Merge pull request #19075 from alalek:dnn_fix_halide_build
2020-12-10 20:37:37 +00:00
Alexander Alekhin
fce8d8e090
Merge pull request #19074 from alalek:dnn_test_tolerance_east
2020-12-10 20:29:36 +00:00