platform/upstream/opencv.git
4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 2 Apr 2020 18:34:38 +0000 (18:34 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size
Maxim Pashchenkov [Thu, 2 Apr 2020 18:19:45 +0000 (21:19 +0300)]
Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size

G-API: Unification of own:: structures with cv:: (Size, Point, Rect)

* deowned Size Rect Point

* Deownded Size Rect Point

* With Scalar

4 years agoMerge pull request #16959 from alalek:winpack_dldt_update
Alexander Alekhin [Thu, 2 Apr 2020 18:13:58 +0000 (18:13 +0000)]
Merge pull request #16959 from alalek:winpack_dldt_update

4 years agoMerge pull request #16956 from alalek:ocl_control_buffer_mapping
Alexander Alekhin [Thu, 2 Apr 2020 17:56:50 +0000 (17:56 +0000)]
Merge pull request #16956 from alalek:ocl_control_buffer_mapping

4 years agowinpack_dldt: readme update
Alexander Alekhin [Thu, 2 Apr 2020 16:51:28 +0000 (16:51 +0000)]
winpack_dldt: readme update

4 years agoMerge pull request #16953 from mshabunin:fix-msmf-writer-fps
Alexander Alekhin [Thu, 2 Apr 2020 13:06:34 +0000 (13:06 +0000)]
Merge pull request #16953 from mshabunin:fix-msmf-writer-fps

4 years agocore(ocl): options to control buffer access flags
Alexander Alekhin [Thu, 2 Apr 2020 10:10:57 +0000 (10:10 +0000)]
core(ocl): options to control buffer access flags

- control using of clEnqueueMapBuffer or clEnqueueReadBuffer[Rect]
- added benchmarks with OpenCL buffer access use cases

4 years agovideoio: fixed MSMF writer fps handling
Maksim Shabunin [Thu, 2 Apr 2020 09:49:46 +0000 (12:49 +0300)]
videoio: fixed MSMF writer fps handling

4 years agoMerge pull request #16950 from alalek:fix_16945
Alexander Alekhin [Thu, 2 Apr 2020 09:26:09 +0000 (09:26 +0000)]
Merge pull request #16950 from alalek:fix_16945

4 years agoMerge pull request #16948 from alalek:warning_16739
Alexander Alekhin [Thu, 2 Apr 2020 09:25:47 +0000 (09:25 +0000)]
Merge pull request #16948 from alalek:warning_16739

4 years agostitching: fix range check in DpSeamFinder::computeCosts
Alexander Alekhin [Wed, 1 Apr 2020 18:45:02 +0000 (18:45 +0000)]
stitching: fix range check in DpSeamFinder::computeCosts

4 years agoMerge pull request #16947 from mshabunin:fix-msmf-convert-format
Alexander Alekhin [Wed, 1 Apr 2020 18:50:12 +0000 (18:50 +0000)]
Merge pull request #16947 from mshabunin:fix-msmf-convert-format

4 years agoMerge pull request #16805 from Volskig:mp/ocv-gapi-standalone-scalar
Maxim Pashchenkov [Wed, 1 Apr 2020 18:40:38 +0000 (21:40 +0300)]
Merge pull request #16805 from Volskig:mp/ocv-gapi-standalone-scalar

G-API: Unification of own:: Scalar with cv:: Scalar

* cvdefs.hpp

* Small changes

* Deowned Scalar. Does't work

* Something

* Removed to_ocv for Scalar

* Clear code

* Deleted whitespaces

* Added include<..own/scalar.hpp in cvdefs.hpp.

* Long string split on two now

* Comment about scalar

* Comment about crutch

* Removed second varible in scalar_wrapper

* Changed wrapper for scalar, alignment

* Alignment

* Whitespaces

* Removed scalar_wrapper

4 years agocore: emit warning ONCE on ambiguous MatExpr processing
Alexander Alekhin [Wed, 1 Apr 2020 18:34:20 +0000 (18:34 +0000)]
core: emit warning ONCE on ambiguous MatExpr processing

4 years agovideoio: fixed conversion in MSMF backend
Maksim Shabunin [Wed, 1 Apr 2020 11:40:11 +0000 (14:40 +0300)]
videoio: fixed conversion in MSMF backend

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 agoMerge pull request #16938 from alalek:winpack_samples_update
Alexander Alekhin [Tue, 31 Mar 2020 22:46:13 +0000 (01:46 +0300)]
Merge pull request #16938 from alalek:winpack_samples_update

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 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 pull request #16932 from alalek:imgproc_resize_nn_cleanup
Alexander Alekhin [Mon, 30 Mar 2020 15:38:40 +0000 (15:38 +0000)]
Merge pull request #16932 from alalek:imgproc_resize_nn_cleanup

4 years agoMerge pull request #16928 from alalek:fix_15075
Alexander Alekhin [Mon, 30 Mar 2020 13:07:35 +0000 (13:07 +0000)]
Merge pull request #16928 from alalek:fix_15075

4 years agoMerge pull request #16922 from alalek:imgcodecs_test_io_grayscale
Alexander Alekhin [Sun, 29 Mar 2020 16:36:06 +0000 (16:36 +0000)]
Merge pull request #16922 from alalek:imgcodecs_test_io_grayscale

4 years agoimgproc(resize): drop unused 'pix_size4'
Alexander Alekhin [Sun, 29 Mar 2020 02:41:50 +0000 (02:41 +0000)]
imgproc(resize): drop unused 'pix_size4'

4 years agoimgproc(resize): fix resizeNNInvoker handling of generic pixel size
Alexander Alekhin [Sun, 29 Mar 2020 02:08:27 +0000 (02:08 +0000)]
imgproc(resize): fix resizeNNInvoker handling of generic pixel size

4 years agoimgcodecs(test): rework common I/O test, added grayscale mode
Alexander Alekhin [Fri, 27 Mar 2020 01:40:28 +0000 (01:40 +0000)]
imgcodecs(test): rework common I/O test, added grayscale mode

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