platform/upstream/opencv.git
4 years agoMerge pull request #16943 from alalek:winpack_samples_update_master
Alexander Alekhin [Tue, 31 Mar 2020 22:46:26 +0000 (01:46 +0300)]
Merge pull request #16943 from alalek:winpack_samples_update_master

4 years agobuild: updates for winpack dldt
Alexander Alekhin [Tue, 31 Mar 2020 12:19:34 +0000 (12:19 +0000)]
build: updates for winpack dldt

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 27 Mar 2020 16:49:59 +0000 (16:49 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16919 from alalek:backport_16860
Alexander Alekhin [Fri, 27 Mar 2020 16:44:05 +0000 (16:44 +0000)]
Merge pull request #16919 from alalek:backport_16860

4 years agoMerge pull request #16918 from alalek:build_warnings_3.4
Alexander Alekhin [Fri, 27 Mar 2020 16:43:23 +0000 (16:43 +0000)]
Merge pull request #16918 from alalek:build_warnings_3.4

4 years agoMerge pull request #16915 from alalek:build_warnings
Alexander Alekhin [Fri, 27 Mar 2020 16:42:53 +0000 (16:42 +0000)]
Merge pull request #16915 from alalek:build_warnings

4 years agoMerge pull request #16913 from alalek:gapi_simd_initialization
Alexander Alekhin [Fri, 27 Mar 2020 16:42:14 +0000 (16:42 +0000)]
Merge pull request #16913 from alalek:gapi_simd_initialization

4 years agoMerge pull request #16847 from alalek:build_opencv_winpack_dldt
Alexander Alekhin [Fri, 27 Mar 2020 16:06:19 +0000 (16:06 +0000)]
Merge pull request #16847 from alalek:build_opencv_winpack_dldt

4 years ago-calib3d updates documentation
Moritz Fischer-Gundlach [Sun, 16 Feb 2020 21:00:42 +0000 (22:00 +0100)]
-calib3d updates documentation

backporting commit 99436bb8cfe3f362a43ce339517b4d771648cd26

4 years agoMerge pull request #16860 from FischerGundlach:rework_docu
Alexander Alekhin [Fri, 27 Mar 2020 16:00:48 +0000 (16:00 +0000)]
Merge pull request #16860 from FischerGundlach:rework_docu

4 years agoeliminate build warnings
Alexander Alekhin [Fri, 27 Mar 2020 11:39:07 +0000 (11:39 +0000)]
eliminate build warnings

4 years agoMerge pull request #16916 from cyyever:fix_freebsd_build
Alexander Alekhin [Fri, 27 Mar 2020 11:38:56 +0000 (11:38 +0000)]
Merge pull request #16916 from cyyever:fix_freebsd_build

4 years agofix freebsd build
cyy [Fri, 27 Mar 2020 10:12:10 +0000 (18:12 +0800)]
fix freebsd build

4 years agoMerge pull request #16494 from StefanBruens:jpeg2000_openjpeg_port
StefanBruens [Fri, 27 Mar 2020 07:18:58 +0000 (08:18 +0100)]
Merge pull request #16494 from StefanBruens:jpeg2000_openjpeg_port

Jpeg2000 OpenJPEG port

* OpenJPEG based JPEG2000 decoder implementation

Currently, the following input color spaces and depth conversions are
supported:

- 8 bit -> 8 bit
- 16 bit -> 16 bit (IMREAD_UNCHANGED, IMREAD_ANYDEPTH)

- RGB(a) -> BGR
- RGBA -> BGRA (IMREAD_UNCHANGED)
- Y(a) -> Y(a) (IMREAD_ANYCOLOR, IMREAD_GRAY, IMREAD_UNCHANGED))
- YCC -> Y (IMREAD_GRAY)

* Check for OpenJPEG availability

This enables OpenJPEG based JPEG2000 imread support by default, which
can be disabled by -DWITH_OPENJPEG=OFF. In case OpenJPEG is enabled
and found, any checks for Jasper are skipped.

* Implement precision downscaling for precision > 8 without IMREAD_UNCHANGED

With IMREAD_UNCHANGED, values are kept from the input image, without it
components are downscaled to CV_8U range.

* Enable Jpeg2K tests when OpenJPEG is available

* Add support for some more color conversions

Support IMREAD_GRAY when input color space is RGB or unspecified.
Support YUV input color space for BGR output.

* fix: problems with unmanaged memory

* fix: CMake warning - HAVE_OPENJPEG is undefined

Removed trailing whitespaces

* fix: CMake find_package OpenJPEG add minimal version

* Basic JPEG2K encoder

Images with depth CV_8U and CV_16U are supported, with 1 to 4 channels.

* feature: Improved code for OpenJPEG2000 encoder/decoder

 - Removed code duplication
 - Added error handlers
 - Extracted functions

* feature: Update conversion openjpeg array from/to Mat

* feature: Extend ChannelsIterator to fulfill RandomAccessIterator named requirements

 - Removed channels split in copyFromMatImpl. With ChannelsIterator no allocations are performed.
 - Split whole loop into 2 parts in copyToMat -> where std::copy and std::transforms are called.

* fix: Applied review comments.

 - Changed `nullptr` in CV_LOG* functions to `NULL`
 - Added `falls through` comment in decoder color space `switch`
 - Added warning about unsupported parameters for the encoder

* feature: Added decode from in-memory buffers.

Co-authored-by: Vadim Levin <vadim.levin@xperience.ai>
4 years agoeliminate build warnings
Alexander Alekhin [Thu, 26 Mar 2020 19:05:07 +0000 (19:05 +0000)]
eliminate build warnings

4 years agogapi(simd): initialize accumulator values
Alexander Alekhin [Thu, 26 Mar 2020 16:27:23 +0000 (16:27 +0000)]
gapi(simd): initialize accumulator values

4 years ago-calib3d updates documentation
Moritz Fischer-Gundlach [Sun, 16 Feb 2020 21:00:42 +0000 (22:00 +0100)]
-calib3d updates documentation

4 years agobuild: add winpack_dldt build scripts
Alexander Alekhin [Sat, 14 Mar 2020 23:17:25 +0000 (23:17 +0000)]
build: add winpack_dldt build scripts

4 years agoMerge pull request #16903 from alalek:fix_16823_3.4
Alexander Alekhin [Wed, 25 Mar 2020 15:53:08 +0000 (15:53 +0000)]
Merge pull request #16903 from alalek:fix_16823_3.4

4 years agoMerge pull request #16901 from alalek:cmake_ie_find_extra_libs
Alexander Alekhin [Wed, 25 Mar 2020 15:52:15 +0000 (15:52 +0000)]
Merge pull request #16901 from alalek:cmake_ie_find_extra_libs

4 years agoMerge pull request #16841 from TolyaTalamanov:at/warp-perspective
Anatoliy Talamanov [Wed, 25 Mar 2020 11:23:32 +0000 (14:23 +0300)]
Merge pull request #16841 from TolyaTalamanov:at/warp-perspective

G-API: Implement WarpPerspective

* Implement WarpPerspective kernel

* Fix comment to review

4 years agocore(persistence): fix resource leaks - force closing files
Alexander Alekhin [Tue, 24 Mar 2020 08:58:30 +0000 (08:58 +0000)]
core(persistence): fix resource leaks - force closing files

backporting commit 673eb2b00628c0a702fb1653cfa06860cf85be19

4 years agocmake: fix find process for InferenceEngine extra libraries
Alexander Alekhin [Wed, 25 Mar 2020 02:23:39 +0000 (02:23 +0000)]
cmake: fix find process for InferenceEngine extra libraries

4 years agoMerge pull request #16895 from alalek:fix_16823
Alexander Alekhin [Tue, 24 Mar 2020 13:15:15 +0000 (16:15 +0300)]
Merge pull request #16895 from alalek:fix_16823

4 years agocore(persistence): fix resource leaks - force closing files
Alexander Alekhin [Tue, 24 Mar 2020 08:58:30 +0000 (08:58 +0000)]
core(persistence): fix resource leaks - force closing files

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 24 Mar 2020 11:12:11 +0000 (11:12 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16803 from TolyaTalamanov:at/yuv-to-gray
Anatoliy Talamanov [Tue, 24 Mar 2020 10:51:18 +0000 (13:51 +0300)]
Merge pull request #16803 from TolyaTalamanov:at/yuv-to-gray

* Implement NV12toGray

* Snapshot

* Implement NV12toGray as compound kernel

* Update gapi_imgproc_tests_inl.hpp

* Remove YUV2Gray from public API

4 years agoMerge pull request #16897 from mshabunin:fix-kw-issues-2
Alexander Alekhin [Tue, 24 Mar 2020 10:48:40 +0000 (10:48 +0000)]
Merge pull request #16897 from mshabunin:fix-kw-issues-2

4 years agocalib3d: check input values in dls
Maksim Shabunin [Tue, 24 Mar 2020 09:22:26 +0000 (12:22 +0300)]
calib3d: check input values in dls

4 years agoMerge pull request #16888 from YashasSamaga:cuda4dnn-redundant-act-fusion-check
Alexander Alekhin [Tue, 24 Mar 2020 08:41:11 +0000 (08:41 +0000)]
Merge pull request #16888 from YashasSamaga:cuda4dnn-redundant-act-fusion-check

4 years agoMerge pull request #16894 from alalek:update_tbb
Alexander Alekhin [Tue, 24 Mar 2020 08:40:46 +0000 (08:40 +0000)]
Merge pull request #16894 from alalek:update_tbb

4 years agoMerge pull request #16893 from alalek:update_libwebp
Alexander Alekhin [Tue, 24 Mar 2020 08:40:18 +0000 (11:40 +0300)]
Merge pull request #16893 from alalek:update_libwebp

* 3rdparty: update libwebp 1.0.3 => 1.1.0

- https://github.com/webmproject/libwebp/releases/tag/v1.1.0

* 3rdparty(libwebp): re-apply OpenCV patches

4 years agoMerge pull request #16892 from alalek:update_libtiff
Alexander Alekhin [Tue, 24 Mar 2020 08:39:39 +0000 (08:39 +0000)]
Merge pull request #16892 from alalek:update_libtiff

4 years agoMerge pull request #16891 from alalek:update_libjpeg-turbo
Alexander Alekhin [Tue, 24 Mar 2020 08:39:05 +0000 (08:39 +0000)]
Merge pull request #16891 from alalek:update_libjpeg-turbo

4 years agoMerge pull request #16849 from anton-potapov:ap/variant__assignment_operator_compile_...
Alexander Alekhin [Mon, 23 Mar 2020 22:04:48 +0000 (22:04 +0000)]
Merge pull request #16849 from anton-potapov:ap/variant__assignment_operator_compile_error

4 years ago3rdparty: update TBB 2020.0 => 2020.1
Alexander Alekhin [Mon, 23 Mar 2020 20:37:08 +0000 (20:37 +0000)]
3rdparty: update TBB 2020.0 => 2020.1

4 years ago3rdparty: update libtiff 4.0.10 => 4.1.0
Alexander Alekhin [Mon, 23 Mar 2020 18:43:45 +0000 (18:43 +0000)]
3rdparty: update libtiff 4.0.10 => 4.1.0

- https://gitlab.com/libtiff/libtiff/-/tags/v4.1.0

4 years ago3rdparty: libjpeg-turbo 2.0.2 => 2.0.4
Alexander Alekhin [Mon, 23 Mar 2020 18:09:21 +0000 (18:09 +0000)]
3rdparty: libjpeg-turbo 2.0.2 => 2.0.4

- https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.4

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 23 Mar 2020 16:54:35 +0000 (16:54 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16885 from mshabunin:fix-msvc-warn
Alexander Alekhin [Mon, 23 Mar 2020 16:23:37 +0000 (16:23 +0000)]
Merge pull request #16885 from mshabunin:fix-msvc-warn

4 years agoMerge pull request #16817 from dkurt:dnn_onnx_lstm
Alexander Alekhin [Mon, 23 Mar 2020 16:22:17 +0000 (16:22 +0000)]
Merge pull request #16817 from dkurt:dnn_onnx_lstm

4 years agofix CUDNN_STATUS_NOT_SUPPORTED, remove redundant fusion checks
YashasSamaga [Mon, 23 Mar 2020 14:17:00 +0000 (19:47 +0530)]
fix CUDNN_STATUS_NOT_SUPPORTED, remove redundant fusion checks

4 years agoAdd checks for LSTM initial h and c
Dmitry Kurtaev [Sun, 22 Mar 2020 13:04:30 +0000 (16:04 +0300)]
Add checks for LSTM initial h and c

4 years agoMerge pull request #16883 from alalek:cmake_cmp0066
Alexander Alekhin [Mon, 23 Mar 2020 12:58:44 +0000 (12:58 +0000)]
Merge pull request #16883 from alalek:cmake_cmp0066

4 years agoMerge pull request #16882 from alalek:cmake_apps_install_list
Alexander Alekhin [Mon, 23 Mar 2020 12:58:23 +0000 (12:58 +0000)]
Merge pull request #16882 from alalek:cmake_apps_install_list

4 years agocalib3d: fixed VS2019 warning C4756
Maksim Shabunin [Mon, 23 Mar 2020 11:46:21 +0000 (14:46 +0300)]
calib3d: fixed VS2019 warning C4756

4 years agocmake: set CMP0066 => NEW
Alexander Alekhin [Mon, 23 Mar 2020 01:15:49 +0000 (01:15 +0000)]
cmake: set CMP0066 => NEW

4 years agocmake(apps): support OPENCV_INSTALL_APPS_LIST
Alexander Alekhin [Sun, 22 Mar 2020 23:55:11 +0000 (23:55 +0000)]
cmake(apps): support OPENCV_INSTALL_APPS_LIST

Usage:
- cmake -DOPENCV_INSTALL_APPS_LIST=opencv_version ...

4 years agoMerge pull request #16864 from alalek:issue_16857
Alexander Alekhin [Sun, 22 Mar 2020 20:15:57 +0000 (23:15 +0300)]
Merge pull request #16864 from alalek:issue_16857

4 years agoMerge pull request #16868 from YashasSamaga:cuda4dnn-scale-fix_and_improvements
Alexander Alekhin [Sun, 22 Mar 2020 20:15:11 +0000 (20:15 +0000)]
Merge pull request #16868 from YashasSamaga:cuda4dnn-scale-fix_and_improvements

4 years agofix segfaults, support bias in untrainable mode, support batches in untrainable mode
YashasSamaga [Sun, 22 Mar 2020 16:48:52 +0000 (22:18 +0530)]
fix segfaults, support bias in untrainable mode, support batches in untrainable mode

4 years agoBidirectional LSTM
Dmitry Kurtaev [Sat, 21 Mar 2020 21:20:36 +0000 (00:20 +0300)]
Bidirectional LSTM

4 years agoMerge pull request #16859 from dmatveev:dm/gapi_android
Alexander Alekhin [Sat, 21 Mar 2020 17:06:01 +0000 (17:06 +0000)]
Merge pull request #16859 from dmatveev:dm/gapi_android

4 years agoMerge pull request #16867 from bencsikandrei:fix_typo_cmake_detect_python
Alexander Alekhin [Sat, 21 Mar 2020 17:04:34 +0000 (17:04 +0000)]
Merge pull request #16867 from bencsikandrei:fix_typo_cmake_detect_python

4 years agoMerge pull request #16865 from alalek:doc_fix_wrong_see_also
Alexander Alekhin [Sat, 21 Mar 2020 17:04:09 +0000 (17:04 +0000)]
Merge pull request #16865 from alalek:doc_fix_wrong_see_also

4 years agofix: minor typo in CMakeCVDetectPython
Andrei-Florin BENCSIK [Sat, 21 Mar 2020 09:15:07 +0000 (11:15 +0200)]
fix: minor typo in CMakeCVDetectPython

4 years agoobjdetect(QR): avoid bug with empty input
Alexander Alekhin [Sat, 21 Mar 2020 00:51:34 +0000 (00:51 +0000)]
objdetect(QR): avoid bug with empty input

4 years agodoc: fix misused "see also" doxygen command
Alexander Alekhin [Sat, 21 Mar 2020 00:25:49 +0000 (00:25 +0000)]
doc: fix misused "see also" doxygen command

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 20 Mar 2020 21:41:15 +0000 (21:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoimgproc: add src.empty() checks in filter operations
Alexander Alekhin [Fri, 20 Mar 2020 21:04:29 +0000 (21:04 +0000)]
imgproc: add src.empty() checks in filter operations

4 years agoMerge pull request #16858 from alalek:core_fix_empty_iterator_begin_end
Alexander Alekhin [Fri, 20 Mar 2020 19:32:55 +0000 (19:32 +0000)]
Merge pull request #16858 from alalek:core_fix_empty_iterator_begin_end

4 years agoTry to enable G-API build on Android
Dmitry Matveev [Fri, 20 Mar 2020 14:20:01 +0000 (17:20 +0300)]
Try to enable G-API build on Android

4 years agocore: fix .begin()/.end() of empty Mat
Alexander Alekhin [Fri, 20 Mar 2020 13:04:04 +0000 (13:04 +0000)]
core: fix .begin()/.end() of empty Mat

4 years agoG-API utils - fix compilation error in variant::operator=
Anton Potapov [Fri, 6 Mar 2020 08:18:30 +0000 (11:18 +0300)]
G-API utils - fix compilation error in variant::operator=

4 years agoMerge pull request #16832 from liqi-c:3.4-tengine-android
NesQl [Fri, 20 Mar 2020 10:10:39 +0000 (18:10 +0800)]
Merge pull request #16832 from liqi-c:3.4-tengine-android

* Add android support for tengine

* modify tengine download use commit id

* Del some invalid log in Tengine

* Test. default enable tengine

* ndk version judegment

* Close test . set Tengine default OFF

* Logic problem

* test .Android NDK judgement .

* Cmake error modify.

* cmake: cleanup tengine scripts

* cmake: use tengine target name

* cmake: disable testing of BUILD_ANDROID_PROJECTS=OFF

* Close test .

4 years agoMerge pull request #16853 from SimpleVlad:note
Dizhenin Vlad [Thu, 19 Mar 2020 21:39:54 +0000 (00:39 +0300)]
Merge pull request #16853 from SimpleVlad:note

Add link to article for sample "Intelligent scissors"

* Add link to article

* Add autors name

* Fix whitespace

4 years agoMerge pull request #16835 from YashasSamaga:cuda4dnn-hotfix-memory-lock
Alexander Alekhin [Thu, 19 Mar 2020 16:50:38 +0000 (16:50 +0000)]
Merge pull request #16835 from YashasSamaga:cuda4dnn-hotfix-memory-lock

4 years agoMerge pull request #16828 from paroj:nmspy
Alexander Alekhin [Thu, 19 Mar 2020 16:43:43 +0000 (16:43 +0000)]
Merge pull request #16828 from paroj:nmspy

4 years agoMerge pull request #16846 from alalek:cmake_python_limited_api
Alexander Alekhin [Thu, 19 Mar 2020 16:43:16 +0000 (16:43 +0000)]
Merge pull request #16846 from alalek:cmake_python_limited_api

4 years agoMerge pull request #16842 from mshabunin:ignore-vs-config
Alexander Alekhin [Thu, 19 Mar 2020 16:42:55 +0000 (16:42 +0000)]
Merge pull request #16842 from mshabunin:ignore-vs-config

4 years agoMerge pull request #16768 from TolyaTalamanov:at/add-warp-affine
Anatoliy Talamanov [Thu, 19 Mar 2020 12:12:09 +0000 (15:12 +0300)]
Merge pull request #16768 from TolyaTalamanov:at/add-warp-affine

G-API: Implement WarpAffine

* Add WarpAffine

* Ban BORDER_TRANSPARENT

* Fix doc

4 years agodnn: expose only float variant of NMSBoxes for bindings
Pavel Rojtberg [Mon, 16 Mar 2020 17:05:07 +0000 (18:05 +0100)]
dnn: expose only float variant of NMSBoxes for bindings

the float variant was always shadowed by the int version as
Rect2d is implicitly convertible to Rect.
This swaps things which is fine, as the vector of boxes was always
copied and the computation was done in double.

4 years agocmake(python): handle PYTHON3_LIMITED_API
Alexander Alekhin [Wed, 18 Mar 2020 23:05:03 +0000 (23:05 +0000)]
cmake(python): handle PYTHON3_LIMITED_API

- python-3.x => python-3
- config-3.x.py => config-3.py

4 years agoMerge pull request #16554 from ieliz:tracker
Elizarov Ilya [Wed, 18 Mar 2020 15:46:43 +0000 (18:46 +0300)]
Merge pull request #16554 from ieliz:tracker

Added DaSiamRPN tracker

* added DaSiamRPN tracker

* whitespace trouble handled

* Fixes for PR

* Fixes for PR

* Fixes for PR

* added new line in the end of the file and x_crop fix

* removed cxy_wh_2_rect function

* removed loop from sofrmax function

* more  detailed discription about absolute paths to onnx models

* removed nested while loop, initialization moved from main tracking loop

* added assert message for small init bb

* initial bounding box on videostream

* selection of initial bounding box improved

* created tracker class, fixed initializing bounding box

* fix round of value

* names fix

* private methods renamed

* names fixed, case for video WIP

* fix case with video

* removed hardcoded size of window

* whitespace fix

* links to models fixed

* bounding box drawing fix

* changes does not required

* code style fixes

* fixes

* frame checker added in tracking loop

* fixed import sys

4 years agoMerge pull request #16733 from Rajpratik71:master
Pratik Raj [Wed, 18 Mar 2020 15:19:55 +0000 (20:49 +0530)]
Merge pull request #16733 from Rajpratik71:master

Some debian package manager tweaks

4 years agoMerge pull request #16818 from iteal:master
iteal [Wed, 18 Mar 2020 08:45:09 +0000 (17:45 +0900)]
Merge pull request #16818 from iteal:master

Update template_matching.markdown

Fixed "template image" should be "source image" in two sentences explaining template matching.

4 years agoFix LSTM from ONNX with batch==1
Dmitry Kurtaev [Tue, 17 Mar 2020 21:00:24 +0000 (00:00 +0300)]
Fix LSTM from ONNX with batch==1

4 years agoLSTM from ONNX works
Dmitry Kurtaev [Sun, 15 Mar 2020 20:21:58 +0000 (23:21 +0300)]
LSTM from ONNX works

4 years agoLSTM scalar
Dmitry Kurtaev [Sun, 15 Mar 2020 19:33:05 +0000 (22:33 +0300)]
LSTM scalar

4 years agoIgnore Visual Studio cmake configuration file
Maksim Shabunin [Tue, 17 Mar 2020 18:12:54 +0000 (21:12 +0300)]
Ignore Visual Studio cmake configuration file

4 years agoMerge pull request #16836 from alalek:stitching_avoid_nonfree_by_default
Alexander Alekhin [Tue, 17 Mar 2020 16:29:43 +0000 (16:29 +0000)]
Merge pull request #16836 from alalek:stitching_avoid_nonfree_by_default

4 years agoMerge pull request #16715 from l-bat:slice_onnx
Liubov Batanina [Tue, 17 Mar 2020 14:31:01 +0000 (17:31 +0300)]
Merge pull request #16715 from l-bat:slice_onnx

* Support Slice layer with multiple inputs

* Add test

* Supported Resize from PyTorch

* Rewrite test

* Remove Cast layer (supported in #16735)

* Support ConstantOfShape

* Fix tests

* Fix coments

* Remove useless condition

* Fixed failed tests

4 years agostitching: don't use nonfree by default
Alexander Alekhin [Tue, 17 Mar 2020 12:09:23 +0000 (15:09 +0300)]
stitching: don't use nonfree by default

4 years agorelease and relock on wrapper resize
YashasSamaga [Tue, 17 Mar 2020 10:38:04 +0000 (16:08 +0530)]
release and relock on wrapper resize

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 17 Mar 2020 10:23:33 +0000 (13:23 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16827 from alalek:update_buffer_area
Alexander Alekhin [Tue, 17 Mar 2020 10:12:47 +0000 (10:12 +0000)]
Merge pull request #16827 from alalek:update_buffer_area

4 years agoMerge pull request #16825 from mshabunin:fix-qrcode-tests
Alexander Alekhin [Mon, 16 Mar 2020 18:52:15 +0000 (18:52 +0000)]
Merge pull request #16825 from mshabunin:fix-qrcode-tests

4 years agoMerge pull request #16826 from mshabunin:fix-kw-issues-34
Alexander Alekhin [Mon, 16 Mar 2020 18:48:19 +0000 (18:48 +0000)]
Merge pull request #16826 from mshabunin:fix-kw-issues-34

4 years agoMerge pull request #16824 from mshabunin:fix-kw-issues
Alexander Alekhin [Mon, 16 Mar 2020 18:47:36 +0000 (18:47 +0000)]
Merge pull request #16824 from mshabunin:fix-kw-issues

4 years agocore(buffer_area): handle 'OPENCV_ENABLE_MEMORY_SANITIZER=ON' case
Alexander Alekhin [Mon, 16 Mar 2020 16:34:08 +0000 (19:34 +0300)]
core(buffer_area): handle 'OPENCV_ENABLE_MEMORY_SANITIZER=ON' case

4 years agoobjdetect: fix QRCode tests with disabled QUIRC
Maksim Shabunin [Mon, 16 Mar 2020 15:49:16 +0000 (18:49 +0300)]
objdetect: fix QRCode tests with disabled QUIRC

4 years agoFixs several problems found by static analysis
Maksim Shabunin [Mon, 16 Mar 2020 12:49:51 +0000 (15:49 +0300)]
Fixs several problems found by static analysis

4 years agoFixs several problems found by static analysis
Maksim Shabunin [Mon, 16 Mar 2020 12:49:51 +0000 (15:49 +0300)]
Fixs several problems found by static analysis

4 years agoMerge pull request #16820 from dkurt:fix_16811
Alexander Alekhin [Mon, 16 Mar 2020 15:04:49 +0000 (15:04 +0000)]
Merge pull request #16820 from dkurt:fix_16811

4 years agoMerge pull request #16779 from saskatchewancatch:issue-16777
RAJKIRAN NATARAJAN [Mon, 16 Mar 2020 14:12:29 +0000 (07:12 -0700)]
Merge pull request #16779 from saskatchewancatch:issue-16777

* Fixes issue 16777.

* core: update Concurrency getNumThreads()

4 years agoMerge pull request #16695 from SimpleVlad:intelligent_scissors
Dizhenin Vlad [Mon, 16 Mar 2020 14:10:25 +0000 (17:10 +0300)]
Merge pull request #16695 from SimpleVlad:intelligent_scissors

Intelligent scissors

* Start

* Remove whitespace

* Re onMouse

* replased double to float

* Draw contours

* CV_FILLED -> FILLED

* Remove line 210

* Change 'about'

* Remove M_PI

* Remove warning

* CP_PI

* double to float

* CV_PI to Float

* Add struct for data

* line 172, 191 whitespace

* Change name

* Fix Warnings

* Set const

* line 180

* rewrite keys

* &img = param->img

4 years agoFix memory leak in Python custom dnn layers
Dmitry Kurtaev [Mon, 16 Mar 2020 12:49:37 +0000 (15:49 +0300)]
Fix memory leak in Python custom dnn layers

4 years agoMerge pull request #16786 from alalek:issue_16398
Alexander Alekhin [Sun, 15 Mar 2020 19:49:50 +0000 (19:49 +0000)]
Merge pull request #16786 from alalek:issue_16398

4 years agoMerge pull request #16812 from seiko2plus:vsx_improve_broadcast
Alexander Alekhin [Sat, 14 Mar 2020 22:00:18 +0000 (22:00 +0000)]
Merge pull request #16812 from seiko2plus:vsx_improve_broadcast

4 years agocore:vsx reimplement `v_broadcast_element()`
Sayed Adel [Sat, 14 Mar 2020 20:14:17 +0000 (22:14 +0200)]
core:vsx reimplement `v_broadcast_element()`

  There's no need to use `vec_perm()` instead of `vec_splat()`,
  since instruction `vperm` is quite heavy compared to `vsplt[b,h,w]`.