Alexander Alekhin [Tue, 30 Mar 2021 20:54:11 +0000 (20:54 +0000)]
python: fix CV_WRAP_AS handling
Alexander Alekhin [Fri, 26 Mar 2021 22:38:51 +0000 (22:38 +0000)]
Merge pull request #19786 from alalek:build_opencv_winpack_dldt_2021.3.0
Alexander Alekhin [Fri, 26 Mar 2021 16:54:51 +0000 (16:54 +0000)]
Merge pull request #19773 from jondea:add-aarch64-specialised-v_expand-3.4
Alexander Alekhin [Fri, 26 Mar 2021 12:27:58 +0000 (12:27 +0000)]
Merge pull request #19785 from alalek:dnn_ocl_fix_async_kernels
Anastasia M [Fri, 26 Mar 2021 11:04:57 +0000 (14:04 +0300)]
Merge pull request #19546 from LupusSanctus:am/slice_steps
* Added Steps support in DNN Slice layer
* Added code corrections
* dnn(slice): fix OCL and OCL_FP16 processing
Alexander Alekhin [Thu, 25 Mar 2021 21:42:16 +0000 (21:42 +0000)]
build: winpack_dldt with dldt 2021.3.0
Alexander Alekhin [Fri, 26 Mar 2021 00:32:02 +0000 (00:32 +0000)]
dnn(ocl): fix gemm kernel scheduling
Mikhail Nikolskii [Thu, 25 Mar 2021 21:27:31 +0000 (14:27 -0700)]
Merge pull request #19783 from mikhail-nikolskiy:interop-perf
Performance optimization in DirectX and VAAPI interop
* optimization in OpenCL NV12<>BGR kernels
* reduce kernel work-size
Alexander Alekhin [Thu, 25 Mar 2021 16:58:07 +0000 (16:58 +0000)]
Merge pull request #19774 from aarongreig:aaron/dnn/oclTestAccuracyThresholds
Aaron Greig [Wed, 24 Mar 2021 16:14:23 +0000 (16:14 +0000)]
Introduce relaxed accuracy thresholds for CL target in some dnn tests.
Partially addresses #9821
Alexander Alekhin [Wed, 24 Mar 2021 18:50:47 +0000 (18:50 +0000)]
Merge pull request #19770 from alalek:dnn_openvino_2021.3.0
Alexander Alekhin [Wed, 24 Mar 2021 09:28:05 +0000 (09:28 +0000)]
dnn(test): update tests for OpenVINO 2021.3
Alexander Alekhin [Wed, 3 Mar 2021 00:32:25 +0000 (03:32 +0300)]
dnn: use OpenVINO 2021.3 defines
original commit:
62915037939f13a55b973b84fea05218f73e15ae
Alexander Alekhin [Wed, 24 Mar 2021 09:43:27 +0000 (09:43 +0000)]
Merge pull request #19765 from LupusSanctus:am/mobilenetv3
Anastasia Murzova [Tue, 23 Mar 2021 19:28:26 +0000 (22:28 +0300)]
Added reshape corrections
Anastasia Murzova [Mon, 22 Mar 2021 19:37:49 +0000 (22:37 +0300)]
Corrected DNN elementwise multiplication
Anastasia M [Tue, 23 Mar 2021 22:16:09 +0000 (01:16 +0300)]
Merge pull request #19477 from LupusSanctus:am/eltwice_vec
* Aligned OpenCV DNN and TF sum op behaviour
Support Mat (shape: [1, m, k, n] ) + Vec (shape: [1, 1, 1, n]) operation
by vec to mat expansion
* Added code corrections: backend, minor refactoring
Jonathan Deakin [Tue, 23 Mar 2021 15:06:41 +0000 (15:06 +0000)]
Add v_expand for AArch64, fuse vmovl+vget_high into vmovl_high
Alexander Alekhin [Sun, 21 Mar 2021 17:37:05 +0000 (17:37 +0000)]
Merge pull request #19757 from alalek:js_setLogLevel
Alexander Alekhin [Sat, 20 Mar 2021 12:38:12 +0000 (12:38 +0000)]
js: support setLogLevel() / getLogLevel() calls
Liubov Batanina [Sat, 20 Mar 2021 11:20:02 +0000 (14:20 +0300)]
Merge pull request #19632 from l-bat:lb/ie_arm_target
Added OpenVINO ARM target
* Added IE ARM target
* Added OpenVINO ARM target
* Delete ARM target
* Detect ARM platform
* Changed device name in ArmPlugin
* Change ARM detection
Alexander Alekhin [Fri, 19 Mar 2021 12:52:34 +0000 (12:52 +0000)]
Merge pull request #19745 from alalek:issue_19729
Alexander Alekhin [Thu, 18 Mar 2021 21:30:12 +0000 (21:30 +0000)]
features2d(mser): chi_table.h notes
Alexander Alekhin [Thu, 18 Mar 2021 20:47:44 +0000 (20:47 +0000)]
Merge pull request #19741 from alalek:ml_logistic_regression_use_opencv_license_header
Alexander Alekhin [Wed, 17 Mar 2021 20:29:52 +0000 (20:29 +0000)]
ml: use OpenCV license header for logistic regression
Ziachnix [Sat, 13 Mar 2021 12:52:44 +0000 (13:52 +0100)]
Merge pull request #19284 from Ziachnix:feature/js-qr-code-detector
Add QRCodeDetector to JavaScript Build
* ADD: js support for qrCodeDetector
- cherry picked commit to solve rebase error
* CHG. Revert haarcascade path
* FIX: Tests without images
* ADD: decodeCurved
* js(docs): don't require OPENCV_TEST_DATA_PATH
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
Alexander Alekhin [Sat, 13 Mar 2021 12:48:20 +0000 (12:48 +0000)]
Merge pull request #19720 from alalek:ocl_test_skip_spir_amd
Alexander Alekhin [Sat, 13 Mar 2021 12:46:24 +0000 (12:46 +0000)]
Merge pull request #19718 from alalek:backport_19683
Alexander Alekhin [Sat, 13 Mar 2021 12:45:55 +0000 (12:45 +0000)]
Merge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference
Alexander Alekhin [Sat, 13 Mar 2021 12:45:07 +0000 (12:45 +0000)]
Merge pull request #19716 from l-bat:lb/fix_resize
Alexander Alekhin [Sat, 13 Mar 2021 05:56:40 +0000 (05:56 +0000)]
core(ocl): skip SPIR test on AMD devices if problem detected
Dale Phurrough [Mon, 1 Mar 2021 21:42:13 +0000 (22:42 +0100)]
noexcept def construct Mat, UMat, Mat_, MatSize, MatStep
original commit:
1b0f781b7cc18562b59ef60fb303ce0f9cea9f78
Dan Ben Yosef [Fri, 12 Mar 2021 19:17:11 +0000 (14:17 -0500)]
Avoiding copy by passing param by reference
It is best to pass bad_value_ param by reference to avoid copy.
Liubov Batanina [Fri, 12 Mar 2021 13:33:16 +0000 (16:33 +0300)]
Added ngraph::op::v6::MVN
Alexander Alekhin [Fri, 12 Mar 2021 09:45:19 +0000 (09:45 +0000)]
Merge pull request #19715 from seiko2plus:issue_19698
Liubov Batanina [Fri, 12 Mar 2021 09:00:59 +0000 (12:00 +0300)]
Added ngraph::op::v4::Interpolation
Sayed Adel [Fri, 12 Mar 2021 02:02:31 +0000 (02:02 +0000)]
core:ppc64 fix detecting CPU features when optimization is off
Xinguang Bian [Thu, 11 Mar 2021 21:53:06 +0000 (05:53 +0800)]
Merge pull request #19253 from mightbxg:bugfix_PnPRansac
* fix unexpected Exception in solvePnPRansac caused by input points
* calib3d: solvePnPRansac - keep minimal changes to handle DLT 6 points requirement
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
Alexander Alekhin [Thu, 11 Mar 2021 21:33:19 +0000 (21:33 +0000)]
Merge pull request #19703 from danbey:setting_StereoSGBMParams_in_init_list
Dan Ben Yosef [Wed, 10 Mar 2021 18:00:17 +0000 (13:00 -0500)]
Init params (StereoSGBMParams) in StereoSGBMImpl constructor initialization list
To improve preformence it is better to init the params (StereoSGBMParams) in the
initialization list.
Alexander Alekhin [Wed, 10 Mar 2021 17:36:57 +0000 (17:36 +0000)]
Merge pull request #19613 from WeiChungChang:NMS_refine
Qoo [Wed, 24 Feb 2021 09:32:45 +0000 (04:32 -0500)]
boost NMS performance
Alexander Alekhin [Tue, 9 Mar 2021 18:14:41 +0000 (18:14 +0000)]
Merge pull request #19692 from seiko2plus:issue_19647
Sayed Adel [Mon, 8 Mar 2021 19:13:12 +0000 (19:13 +0000)]
core:ppc64 fix the build with the newer versions of Eigen on IBM/Power
It also fixes the build when universal intrinsics is disabled
via `-DDCV_ENABLE_INTRINSICS=OFF`.
Daniel Playfair Cal [Tue, 9 Mar 2021 15:09:08 +0000 (02:09 +1100)]
Merge pull request #19690 from hedgepigdaniel:fix/calibration_fisheye
* fix(samples/camera_calibration): set new camera matrix for fisheye
* fix(camera_calibration): ignore inapplicable flags for fisheye
Alexander Alekhin [Tue, 9 Mar 2021 09:43:52 +0000 (09:43 +0000)]
Merge pull request #19675 from asmorkalov:as/pylint_warnings
Alexander Smorkalov [Thu, 4 Mar 2021 14:05:15 +0000 (17:05 +0300)]
Removed unused variables found by pylint.
Dan Ben-Yosef [Sun, 7 Mar 2021 17:06:08 +0000 (19:06 +0200)]
Merge pull request #19685 from danbey:setting_stereoBMImpl_in_init_list
Init params (StereoBMParams) in StereoBMImpl constructor initialization list
* Init StereoBMImpl in initialization list
To improve preformence it is better to init the params (StereoBMImpl) in the
initialization list.
* coding style
* drop useless copy/move ctor
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
Alexander Alekhin [Sun, 7 Mar 2021 16:23:24 +0000 (16:23 +0000)]
Merge pull request #19687 from alalek:videoio_docs_fixes_3.4
Alexander Alekhin [Sun, 7 Mar 2021 04:26:49 +0000 (04:26 +0000)]
videoio(docs): fixes
Vitaly Tuzov [Sat, 6 Mar 2021 17:22:21 +0000 (20:22 +0300)]
Merge pull request #19622 from terfendail:ref_doc
* Updated cpp reference implementations for a few intrinsics to address wide universal intrinsics as well
* Updated cpp reference implementations for a few more universal intrinsics
Alexander Alekhin [Sat, 6 Mar 2021 17:21:34 +0000 (17:21 +0000)]
Merge pull request #19641 from LupusSanctus:am/tf_reshape
Alexander Alekhin [Sat, 6 Mar 2021 17:20:02 +0000 (17:20 +0000)]
Merge pull request #19680 from alalek:cmake_update_python_linters
Alexander Alekhin [Fri, 5 Mar 2021 15:12:20 +0000 (15:12 +0000)]
Merge pull request #19671 from SamFC10:sam-darknet
Mradul Agrawal [Fri, 5 Mar 2021 13:55:52 +0000 (19:25 +0530)]
Merge pull request #19583 from theroyalpekka:patch-1
* Update polynom_solver.cpp
This pull request is in the response to Issue #19526. I have fixed the problem with the cube root calculation of 2*R. The Issue was in the usage of pow function with negative values of R, but if it is calculated for only positive values of R then changing x0 according to the parity of R, the Issue is resolved. Kindly consider it, Thanks!
* add cv::cubeRoot(double)
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
Alexander Alekhin [Fri, 5 Mar 2021 13:54:31 +0000 (16:54 +0300)]
Merge pull request #19655 from raaldrid:EXR_rw_alpha_support_16115
Alexander Alekhin [Fri, 5 Mar 2021 12:54:51 +0000 (12:54 +0000)]
cmake: update Python linters handling
- exclude from getBuildInformation()
- fix pylint version
Alexander Alekhin [Fri, 5 Mar 2021 08:40:26 +0000 (08:40 +0000)]
Merge pull request #19677 from APrigarina:detection_fix
Anastasia Murzova [Sun, 28 Feb 2021 16:55:43 +0000 (19:55 +0300)]
Aligned TF Reshape layer behaviour
APrigarina [Thu, 4 Mar 2021 11:04:50 +0000 (14:04 +0300)]
fix false positive detection
Alexander Alekhin [Thu, 4 Mar 2021 14:52:20 +0000 (14:52 +0000)]
Merge pull request #19674 from l-bat:lb/fix_ie_tests
Liubov Batanina [Thu, 4 Mar 2021 10:05:01 +0000 (13:05 +0300)]
Determine layout
Alexander Alekhin [Wed, 3 Mar 2021 21:10:57 +0000 (21:10 +0000)]
Merge pull request #19607 from alalek:backport_19606
SamFC10 [Wed, 3 Mar 2021 17:12:47 +0000 (22:42 +0530)]
Added Spatial Attention Module in Darknet Importer
Alexander Alekhin [Wed, 3 Mar 2021 11:22:56 +0000 (11:22 +0000)]
Merge pull request #19665 from alalek:update_ffmpeg_3.4
Alexander Alekhin [Tue, 2 Mar 2021 23:56:27 +0000 (23:56 +0000)]
ffmpeg/3.4: update FFmpeg wrapper 2021.03
- FFmpeg 3.4.8
Alexander Alekhin [Tue, 23 Feb 2021 00:22:06 +0000 (00:22 +0000)]
core: rework code locality
- to reduce binaries size of FFmpeg Windows wrapper
- MinGW linker doesn't support -ffunction-sections (used for FFmpeg Windows wrapper)
- move code to improve locality with its used dependencies
- move UMat::dot() to matmul.dispatch.cpp (Mat::dot() is already there)
- move UMat::inv() to lapack.cpp
- move UMat::mul() to arithm.cpp
- move UMat:eye() to matrix_operations.cpp (near setIdentity() implementation)
- move normalize(): convert_scale.cpp => norm.cpp
- move convertAndUnrollScalar(): arithm.cpp => copy.cpp
- move scalarToRawData(): array.cpp => copy.cpp
- move transpose(): matrix_operations.cpp => matrix_transform.cpp
- move flip(), rotate(): copy.cpp => matrix_transform.cpp (rotate90 uses flip and transpose)
- add 'OPENCV_CORE_EXCLUDE_C_API' CMake variable to exclude compilation of C-API functions from the core module
- matrix_wrap.cpp: add compile-time checks for CUDA/OpenGL calls
- the steps above allow to reduce FFmpeg wrapper size for ~1.5Mb (initial size of OpenCV part is about 3Mb)
backport is done to improve merge experience (less conflicts)
backport of commit:
65eb9467567598c08049bb190a4f3d3cbfabdcd0
Alexander Alekhin [Tue, 2 Mar 2021 21:44:19 +0000 (21:44 +0000)]
Merge pull request #19656 from alalek:update_version_3.4.14-pre
Alexander Alekhin [Mon, 1 Mar 2021 21:38:18 +0000 (21:38 +0000)]
pre: OpenCV 3.4.14 (version++)
Alexander Alekhin [Tue, 2 Mar 2021 20:41:05 +0000 (23:41 +0300)]
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4
* videoio(ffmpeg): eliminate MSVC build warnings
* videoio(ffmpeg): update initialization code
- repair FFmpeg logger settings on each .open() call
Rachel A [Mon, 1 Mar 2021 18:57:22 +0000 (10:57 -0800)]
EXR alpha support for 4 channel reading and writing. Issue https://github.com/opencv/opencv/issues/16115.
Alexander Alekhin [Tue, 2 Mar 2021 12:15:32 +0000 (12:15 +0000)]
Merge pull request #19659 from alalek:update_libtiff
Alexander Alekhin [Tue, 2 Mar 2021 12:14:56 +0000 (15:14 +0300)]
Merge pull request #19658 from alalek:update_libwebp
* 3rdparty: update libwebp 1.1.0 => 1.2.0
- https://github.com/webmproject/libwebp/releases/tag/v1.2.0
* 3rdparty(libwebp): re-apply OpenCV patches
Alexander Alekhin [Mon, 1 Mar 2021 23:17:30 +0000 (23:17 +0000)]
3rdparty: update libtiff 4.1.0 => 4.2.0
- https://gitlab.com/libtiff/libtiff/-/tags/v4.2.0
Alexander Alekhin [Sun, 28 Feb 2021 21:37:30 +0000 (21:37 +0000)]
Merge pull request #19642 from alalek:backport_19545
SamFC10 [Sat, 20 Feb 2021 16:46:00 +0000 (22:16 +0530)]
Alexander Alekhin [Sat, 27 Feb 2021 17:32:42 +0000 (17:32 +0000)]
Merge pull request #19603 from federicohml:fix-ub-copy-make-const-border-8u
Alexander Alekhin [Sat, 27 Feb 2021 17:31:59 +0000 (17:31 +0000)]
Merge pull request #19636 from LaurentBerger:blendlinear_py
Federico Bolelli [Sat, 27 Feb 2021 17:27:24 +0000 (18:27 +0100)]
Merge pull request #19631 from prittt:sota-ccl
* Add Spaghetti algorithm for CCL
* Add stat tests for new and old algorithms
* Switch license header to short version
LaurentBerger [Sat, 27 Feb 2021 12:18:13 +0000 (13:18 +0100)]
python binding blendLinear
Alexander Alekhin [Fri, 26 Feb 2021 21:43:37 +0000 (21:43 +0000)]
Merge pull request #19628 from alalek:fix_19566
Federico Martinez [Tue, 23 Feb 2021 07:44:17 +0000 (08:44 +0100)]
Fix UB in CopyMakeConstBoder_8u
Caused by overflow of arithmetic operators conversion rank
Alexander Alekhin [Thu, 25 Feb 2021 20:16:50 +0000 (20:16 +0000)]
imgproc(warpAffine): avoid buffer indexes overflow in SIMD code
Alexander Alekhin [Thu, 25 Feb 2021 16:31:47 +0000 (16:31 +0000)]
Merge pull request #19625 from mshabunin:static-analysis-issues-34
Maksim Shabunin [Wed, 24 Feb 2021 17:31:00 +0000 (20:31 +0300)]
Fixed several issues found by static analysis
Alexander Alekhin [Wed, 24 Feb 2021 21:07:13 +0000 (21:07 +0000)]
Merge pull request #19503 from komakai:fix-android-putget
Alexander Alekhin [Tue, 23 Feb 2021 22:42:51 +0000 (22:42 +0000)]
Merge pull request #19535 from alalek:issue_18897
WeiChungChang [Tue, 23 Feb 2021 21:09:55 +0000 (16:09 -0500)]
Merge pull request #19529 from WeiChungChang:3.4
* improve map allocation check
* fix accoring to CR
Alexander Alekhin [Tue, 23 Feb 2021 03:44:04 +0000 (06:44 +0300)]
Merge pull request #19601 from alalek:hotfix_19536
Alexander Alekhin [Tue, 23 Feb 2021 03:31:29 +0000 (03:31 +0000)]
dnn: fix build (nullptr issue)
Alexander Alekhin [Mon, 22 Feb 2021 20:04:11 +0000 (20:04 +0000)]
Merge pull request #19536 from WeiChungChang:ReduceMemory
Alexander Alekhin [Mon, 22 Feb 2021 20:02:40 +0000 (20:02 +0000)]
Merge pull request #19564 from sturkmen72:patch-4
WeiChungChang [Mon, 22 Feb 2021 16:44:00 +0000 (11:44 -0500)]
Merge pull request #19552 from WeiChungChang:partialSort
apply partial sort to save computations
* apply partial sort
* fix typo
* fix accroding to CR
Suleyman TURKMEN [Wed, 17 Feb 2021 09:04:49 +0000 (12:04 +0300)]
Update python samples
Larry Wei [Sun, 21 Feb 2021 19:22:43 +0000 (03:22 +0800)]
Merge pull request #19586 from larryw3i:patch-2
* Update py_setup_in_ubuntu.markdown
Alexander Alekhin [Mon, 15 Feb 2021 21:36:33 +0000 (21:36 +0000)]
core(InputArray): replace STD_ARRAY to MATX
- remove duplication kind
Sergey Krivohatskiy [Sun, 21 Feb 2021 15:57:18 +0000 (18:57 +0300)]
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
* Fixed OCL implementation of pyrlk
If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.
* fixed compilation warning (size_t to int)
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
Alexander Alekhin [Sat, 20 Feb 2021 22:46:55 +0000 (22:46 +0000)]
Merge pull request #19582 from alalek:backport_19572
Dale Phurrough [Sat, 20 Feb 2021 13:16:47 +0000 (14:16 +0100)]
add noexcept to default constructors of cv::ocl
- follows iso c++ guideline C.44
- enables default compiler-created constructors to
also be noexcept
original commit:
77e26a7db3447b7569dfee28fb8a253b8ed93e2b
- handled KernelArg, Image2D
Alexander Alekhin [Fri, 19 Feb 2021 11:03:31 +0000 (11:03 +0000)]
Merge pull request #19541 from alalek:core_includes