platform/upstream/opencv.git
4 years agoApply symbolic link to files to support OpenCV3 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.111113 accepted/tizen/6.0/unified/hotfix/20201102.231859 accepted/tizen/unified/20200417.152815 submit/tizen/20200407.083853 submit/tizen/20200410.044903 submit/tizen/20200414.011245 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 tizen_6.0.m2_release
Tae-Young Chung [Fri, 6 Mar 2020 00:15:03 +0000 (09:15 +0900)]
Apply symbolic link to files to support OpenCV3

In OpenCV4, there are some changes which don't support compatibility.
For example, header files's location is changed and
pc file's name is also changed.
To support compatibility, create symbolic links to them.

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years agoBump to 4.2.0
Tae-Young Chung [Tue, 31 Dec 2019 08:05:29 +0000 (17:05 +0900)]
Bump to 4.2.0

- update opencv-contrib.tar.gz to opencv-contrib420.tar.gz
- disable newly added modules in opencv_contrib
- enable PKGCONFIG
- change path "/usr/share/OpenCV/" to path "/usr/share/opencv4/"

Change-Id: I93e56999b2f5867d82aa7804f0a596dae49dd83d

4 years agoMerge branch 'tizen' into tizen_opencv_upgrade
Tae-Young Chung [Tue, 31 Dec 2019 08:01:36 +0000 (17:01 +0900)]
Merge branch 'tizen' into tizen_opencv_upgrade

Change-Id: I7a6cafd6a2b4c30a11d48ec8f2020aead8a50eab

4 years agorelease: OpenCV 4.2.0
Alexander Alekhin [Fri, 20 Dec 2019 13:44:16 +0000 (16:44 +0300)]
release: OpenCV 4.2.0

4 years agoMerge pull request #16208 from shimat:fix_compare_16f
shimat [Fri, 20 Dec 2019 13:38:51 +0000 (22:38 +0900)]
Merge pull request #16208 from shimat:fix_compare_16f

* add cv::compare test when Mat type == CV_16F

* add assertion in cv::compare when src.depth() == CV_16F

* cv::compare assertion minor fix

* core: add more checks

4 years agoMerge pull request #16010 from YashasSamaga:cuda4dnn-fp16-tests
Yashas Samaga B L [Fri, 20 Dec 2019 13:36:32 +0000 (19:06 +0530)]
Merge pull request #16010 from YashasSamaga:cuda4dnn-fp16-tests

* enable tests for DNN_TARGET_CUDA_FP16

* disable deconvolution tests

* disable shortcut tests

* fix typos and some minor changes

* dnn(test): skip CUDA FP16 test too (run_pool_max)

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 20 Dec 2019 11:02:56 +0000 (14:02 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16205 from alalek:fix_dnn_test_data
Alexander Alekhin [Thu, 19 Dec 2019 20:55:46 +0000 (20:55 +0000)]
Merge pull request #16205 from alalek:fix_dnn_test_data

4 years agodnn(test): don't require downloaded data
Alexander Alekhin [Thu, 19 Dec 2019 19:31:59 +0000 (19:31 +0000)]
dnn(test): don't require downloaded data

4 years agorelease: OpenCV 3.4.9
Alexander Alekhin [Thu, 19 Dec 2019 15:16:47 +0000 (18:16 +0300)]
release: OpenCV 3.4.9

4 years agoMerge pull request #16165 from sajarindider:macOS_install
Sajarin [Thu, 19 Dec 2019 15:15:59 +0000 (10:15 -0500)]
Merge pull request #16165 from sajarindider:macOS_install

* doc: added macOS installation guide

* doc: added clarification and corrections

* docs: introduction entry, lowercase file names and ids

4 years agoMerge pull request #16201 from mshabunin:fix-dup-test
Alexander Alekhin [Thu, 19 Dec 2019 14:43:53 +0000 (14:43 +0000)]
Merge pull request #16201 from mshabunin:fix-dup-test

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 19 Dec 2019 11:01:24 +0000 (14:01 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoTest: avoid duplicated test cases
Maksim Shabunin [Thu, 19 Dec 2019 11:35:56 +0000 (14:35 +0300)]
Test: avoid duplicated test cases

4 years agoMerge pull request #16195 from alalek:tbb_version_2020
Alexander Alekhin [Thu, 19 Dec 2019 10:55:31 +0000 (10:55 +0000)]
Merge pull request #16195 from alalek:tbb_version_2020

4 years agoMerge pull request #16196 from alalek:issue_13574
Alexander Alekhin [Thu, 19 Dec 2019 10:35:54 +0000 (10:35 +0000)]
Merge pull request #16196 from alalek:issue_13574

4 years agoMerge pull request #16139 from alalek:core_flip_avoid_unaligned
Alexander Alekhin [Thu, 19 Dec 2019 10:29:07 +0000 (10:29 +0000)]
Merge pull request #16139 from alalek:core_flip_avoid_unaligned

4 years agoMerge pull request #16194 from alalek:fix_16192
Alexander Alekhin [Thu, 19 Dec 2019 10:20:42 +0000 (13:20 +0300)]
Merge pull request #16194 from alalek:fix_16192

* imgproc(test): resize(LANCZOS4) reproducer 16192

* imgproc: fix resize LANCZOS4 coefficients generation

4 years agoMerge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296
jeffeDurand [Thu, 19 Dec 2019 10:02:48 +0000 (05:02 -0500)]
Merge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296

* cuda_mog2_issue_5296

4 years agoMerge pull request #16034 from Quantizs:irLoadFromBuffer
Alexander Alekhin [Thu, 19 Dec 2019 10:00:07 +0000 (10:00 +0000)]
Merge pull request #16034 from Quantizs:irLoadFromBuffer

4 years agoMerge pull request #16011 from sebastien-wybo:fix_16007
Sebastien Wybo [Thu, 19 Dec 2019 09:59:18 +0000 (10:59 +0100)]
Merge pull request #16011 from sebastien-wybo:fix_16007

* Fix #16007 - colinearity computed using all 3 coordinates

* calib3d(test): estimateAffine3D regression 16007

4 years agoandroid(camera2): apply .disconnectCamera() patch from issue 13574
Alexander Alekhin [Thu, 19 Dec 2019 00:29:53 +0000 (00:29 +0000)]
android(camera2): apply .disconnectCamera() patch from issue 13574

4 years agocore: workaround flipHoriz() alignment issues
Alexander Alekhin [Wed, 11 Dec 2019 20:08:10 +0000 (20:08 +0000)]
core: workaround flipHoriz() alignment issues

4 years ago3rdparty: TBB version 2019u8 => 2020.0
Alexander Alekhin [Wed, 18 Dec 2019 23:14:38 +0000 (23:14 +0000)]
3rdparty: TBB version 2019u8 => 2020.0

4 years agoMerge pull request #16191 from terfendail:lres2c_fix
Alexander Alekhin [Wed, 18 Dec 2019 22:31:52 +0000 (22:31 +0000)]
Merge pull request #16191 from terfendail:lres2c_fix

4 years agoFix for CV_8UC2 linear resize vectorization
Vitaly Tuzov [Wed, 18 Dec 2019 17:05:36 +0000 (20:05 +0300)]
Fix for CV_8UC2 linear resize vectorization

4 years agoMerge pull request #16082 from YashasSamaga:cuda4dnn-roi-pooling
Alexander Alekhin [Wed, 18 Dec 2019 14:41:58 +0000 (14:41 +0000)]
Merge pull request #16082 from YashasSamaga:cuda4dnn-roi-pooling

4 years agodnn: reading IR models from buffer
antalzsiroscandid [Wed, 27 Nov 2019 14:31:38 +0000 (15:31 +0100)]
dnn: reading IR models from buffer

4 years agoMerge pull request #16136 from mcellis33:mec-nan
mcellis33 [Wed, 18 Dec 2019 14:25:59 +0000 (14:25 +0000)]
Merge pull request #16136 from mcellis33:mec-nan

* Handle det == 0 in findCircle3pts.

Issue 16051 shows a case where findCircle3pts returns NaN for the
center coordinates and radius due to dividing by a determinant of 0. In
this case, the points are colinear, so the longest distance between any
2 points is the diameter of the minimum enclosing circle.

* imgproc(test): update test checks for minEnclosingCircle()

* imgproc: fix handling of special cases in minEnclosingCircle()

4 years agoMerge pull request #16188 from saskatchewancatch:issue-13551
Alexander Alekhin [Wed, 18 Dec 2019 10:30:35 +0000 (10:30 +0000)]
Merge pull request #16188 from saskatchewancatch:issue-13551

4 years agoChange program type in hdr format files to modern value: RADIANCE so
Rajkiran Natarajan [Wed, 18 Dec 2019 04:17:32 +0000 (20:17 -0800)]
Change program type in hdr format files to modern value: RADIANCE so
modern readers that expect RADIANCE will read it

4 years agoMerge pull request #16104 from alalek:issue_16095
Alexander Alekhin [Tue, 17 Dec 2019 19:02:15 +0000 (19:02 +0000)]
Merge pull request #16104 from alalek:issue_16095

4 years agoMerge pull request #16171 from YashasSamaga:cuda4dnn-tensor-cores
Alexander Alekhin [Tue, 17 Dec 2019 18:58:12 +0000 (18:58 +0000)]
Merge pull request #16171 from YashasSamaga:cuda4dnn-tensor-cores

4 years agoMerge pull request #16083 from alalek:issue_14961
Alexander Alekhin [Tue, 17 Dec 2019 12:03:55 +0000 (12:03 +0000)]
Merge pull request #16083 from alalek:issue_14961

4 years agogapi(test): avoid using of unstable random floating-point input
Alexander Alekhin [Fri, 6 Dec 2019 12:59:06 +0000 (15:59 +0300)]
gapi(test): avoid using of unstable random floating-point input

4 years agoMerge pull request #15942 from OrestChura:fb_tutorial
Orest Chura [Tue, 17 Dec 2019 08:00:49 +0000 (11:00 +0300)]
Merge pull request #15942 from OrestChura:fb_tutorial

G-API: Tutorial: Face beautification algorithm implementation

* Introduce a tutorial on face beautification algorithm

- small typo issue in render_ocv.cpp

* Addressing comments rgarnov smirnov-alexey

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 16 Dec 2019 21:30:30 +0000 (21:30 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16027 from shibayan:arm64-windows10
Tatsuro Shibamura [Mon, 16 Dec 2019 21:23:30 +0000 (06:23 +0900)]
Merge pull request #16027 from shibayan:arm64-windows10

* Support ARM64 Windows 10 platform

* Fixed detection issue for ARM64 Windows 10

* Try enabling ARM NEON intrin

* build: disable NEON with MSVC compiler

* samples(directx): gdi32 dependency

4 years agoMerge pull request #16177 from cudawarped:fix_python_cudaarithm
Alexander Alekhin [Mon, 16 Dec 2019 20:14:31 +0000 (20:14 +0000)]
Merge pull request #16177 from cudawarped:fix_python_cudaarithm

4 years agoFix mistake introcuded in previous PR and increase test coverage to avod this happeni...
cudawarped [Mon, 16 Dec 2019 18:38:58 +0000 (18:38 +0000)]
Fix mistake introcuded in previous PR and increase test coverage to avod this happening again

4 years agoMerge pull request #16172 from alalek:dnn_fix_keypoints_test
Alexander Alekhin [Mon, 16 Dec 2019 16:17:02 +0000 (16:17 +0000)]
Merge pull request #16172 from alalek:dnn_fix_keypoints_test

4 years agodnn(test): fix Test_Model.Keypoints* tests
Alexander Alekhin [Mon, 16 Dec 2019 14:43:06 +0000 (17:43 +0300)]
dnn(test): fix Test_Model.Keypoints* tests

4 years agoenable tensor cores for fp16 convolutions
YashasSamaga [Mon, 16 Dec 2019 10:08:12 +0000 (15:38 +0530)]
enable tensor cores for fp16 convolutions

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 15 Dec 2019 11:23:46 +0000 (11:23 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16100 from sajarindider:brief
Sajarin [Sun, 15 Dec 2019 09:42:19 +0000 (04:42 -0500)]
Merge pull request #16100 from sajarindider:brief

* (doc): added info about STAR

* (doc): fixed typos and sentence structure

* fixed trailing whitespaces

4 years agoMerge pull request #16159 from alalek:imgcodecs_bmp_ubsan_enum_handling
Alexander Alekhin [Sun, 15 Dec 2019 09:28:08 +0000 (09:28 +0000)]
Merge pull request #16159 from alalek:imgcodecs_bmp_ubsan_enum_handling

4 years agoMerge pull request #16092 from YashasSamaga:cuda4dnn-conv-act-fuse
Yashas Samaga B L [Sat, 14 Dec 2019 19:26:58 +0000 (00:56 +0530)]
Merge pull request #16092 from YashasSamaga:cuda4dnn-conv-act-fuse

cuda4dnn: fuse activations with convolutions

* fuse ReLU, ReLU6, TanH, Sigmoid with conv

* fix OpenCL errors

* improve ReLU, add power, swish and mish

* fix missing fusion entries

* fix handling of unsetAttached

* remove whole file indentation

* optimize power = 1.0, use IDENTITY instead of NONE

* handle edge case: change backend and then clear

4 years agoMerge pull request #16163 from alalek:fix_16122
Alexander Alekhin [Sat, 14 Dec 2019 18:51:21 +0000 (18:51 +0000)]
Merge pull request #16163 from alalek:fix_16122

4 years agocmake: fix OpenCV_ARCH
Alexander Alekhin [Sat, 14 Dec 2019 15:02:43 +0000 (15:02 +0000)]
cmake: fix OpenCV_ARCH

4 years agoimgcodecs(bmp): make happy UBSAN with enum value range check
Alexander Alekhin [Fri, 13 Dec 2019 15:35:04 +0000 (18:35 +0300)]
imgcodecs(bmp): make happy UBSAN with enum value range check

4 years agoMerge pull request #16156 from TH3CHARLie:3.4
Xuanda Yang [Fri, 13 Dec 2019 15:29:39 +0000 (23:29 +0800)]
Merge pull request #16156 from TH3CHARLie:3.4

* Eltwise::DIV support in Halide backend

* fix typo

* remove div from generated test suite to pass CI, switching to manual test...

* ensure divisor not near to zero

* use randu

* dnn(test): update test data for Eltwise.Accuracy/DIV layer test

4 years agoMerge pull request #15189 from dvd42:keypoints_module
Diego [Fri, 13 Dec 2019 15:00:06 +0000 (16:00 +0100)]
Merge pull request #15189 from dvd42:keypoints_module

Keypoints module

4 years agoMerge pull request #16157 from alalek:update_libwebp_1.0.3
Alexander Alekhin [Fri, 13 Dec 2019 14:54:42 +0000 (17:54 +0300)]
Merge pull request #16157 from alalek:update_libwebp_1.0.3

* 3rdparty: update libwebp 1.0.2 => 1.0.3

https://github.com/webmproject/libwebp/releases/tag/v1.0.3

* 3rdparty(libwebp): re-apply patches

4 years agoMerge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
Alexander Alekhin [Fri, 13 Dec 2019 14:52:40 +0000 (17:52 +0300)]
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private

* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC

see CMP0023 (CMake 2.8.12+)

* cmake: fix 3rdparty list

- don't include OpenCV modules

4 years agoMerge pull request #16148 from alalek:doxygen_update_config
Alexander Alekhin [Fri, 13 Dec 2019 14:51:37 +0000 (14:51 +0000)]
Merge pull request #16148 from alalek:doxygen_update_config

4 years agoMerge pull request #16122 from alalek:cmake_update_cpu_compiler_detection
Alexander Alekhin [Fri, 13 Dec 2019 14:51:19 +0000 (14:51 +0000)]
Merge pull request #16122 from alalek:cmake_update_cpu_compiler_detection

4 years agoMerge pull request #16153 from vsuyi:master
Alexander Alekhin [Fri, 13 Dec 2019 13:43:58 +0000 (13:43 +0000)]
Merge pull request #16153 from vsuyi:master

4 years agofix wrong method name
ysy [Fri, 13 Dec 2019 08:24:08 +0000 (16:24 +0800)]
fix wrong method name

4 years agodoc: update doxygen configuration
Alexander Alekhin [Fri, 13 Dec 2019 01:13:00 +0000 (01:13 +0000)]
doc: update doxygen configuration

4 years agoMerge pull request #16141 from OrestChura:oc/fix-standalone-build
Alexander Alekhin [Thu, 12 Dec 2019 18:34:12 +0000 (18:34 +0000)]
Merge pull request #16141 from OrestChura:oc/fix-standalone-build

4 years agoMerge pull request #15966 from saskatchewancatch:issue-15760
RAJKIRAN NATARAJAN [Thu, 12 Dec 2019 16:23:57 +0000 (16:23 +0000)]
Merge pull request #15966 from saskatchewancatch:issue-15760

Add checks for empty operands in Matrix expressions that don't check properly

* Starting to add checks for empty operands in Matrix expressions that
don't check properly.

* Adding checks and delcarations for checker functions

* Fix signatures and add checks for each class of Matrix Expr operation

* Make it catch the right exception

* Don't expose helper functions to public API

4 years agoMerge pull request #16080 from TolyaTalamanov:at/fix-mosaic-primitive
atalaman [Thu, 12 Dec 2019 16:10:14 +0000 (19:10 +0300)]
Merge pull request #16080 from TolyaTalamanov:at/fix-mosaic-primitive

G-API: Mosaic handle corner cases

* Handle corner cases

* Fix mosaic algo

* Fix bug with empty rects

4 years agoMerge pull request #16066 from dmatveev:dm/gapi_slides
Dmitry Matveev [Thu, 12 Dec 2019 15:48:38 +0000 (18:48 +0300)]
Merge pull request #16066 from dmatveev:dm/gapi_slides

* G-API: Added G-API Overview slides & its source code

- Sample code snippets are moved to separate files;
- Introduced a separate benchmark to measure Fluid/OpenCV
  performance;
- Added notes on API changes (it is still a 4.0, not a 4.2 talk!)
- Added a "Metropolis" beamer download-n-build script.

* G-API: Addressed review issues on G-API overview slides

4 years agoFix standalone-gapi
OrestChura [Thu, 12 Dec 2019 14:30:58 +0000 (17:30 +0300)]
Fix standalone-gapi

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 12 Dec 2019 10:02:19 +0000 (13:02 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16138 from pmur:reg_16137
Paul Murphy [Thu, 12 Dec 2019 10:00:44 +0000 (04:00 -0600)]
Merge pull request #16138 from pmur:reg_16137

* imgproc: Prevent 1B overrun of 8C3 SIMD optimization

The fourth value read via v_load_q is essentially ignored,
but can cause trouble if it happens to cross page boundaries.

The final few iterations may attempt to read the most extreme
elements of S, which will read 1B beyond the array in most
aligment cases. Dynamically compute the stop. This could be
hoised from the loop, but will require a more extensive change.

Likewise, cleanup the iteration increment statements to make
it more obvious they do channel count (3) elements per pass.

This should resolve #16137

* imgproc(resize): extra check

4 years agoMerge pull request #16120 from alalek:python3.8
Alexander Alekhin [Wed, 11 Dec 2019 17:18:51 +0000 (17:18 +0000)]
Merge pull request #16120 from alalek:python3.8

4 years agoMerge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels
Alexander Alekhin [Wed, 11 Dec 2019 17:16:58 +0000 (20:16 +0300)]
Merge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels

dnn(eltwise): fix handling of different number of channels

* dnn(test): reproducer for Eltwise layer issue from PR16063

* dnn(eltwise): rework support for inputs with different channels

* dnn(eltwise): get rid of finalize(), variableChannels

* dnn(eltwise): update input sorting by number of channels

- do not swap inputs if number of channels are same after truncation

* dnn(test): skip "shortcut" with batch size 2 on MYRIAD targets

4 years agoMerge pull request #16130 from alalek:fix_build_gapi_gcc_4.x
Alexander Alekhin [Wed, 11 Dec 2019 14:17:03 +0000 (14:17 +0000)]
Merge pull request #16130 from alalek:fix_build_gapi_gcc_4.x

4 years agoMerge pull request #16125 from alalek:core_safe_xadd
Alexander Alekhin [Wed, 11 Dec 2019 14:15:46 +0000 (14:15 +0000)]
Merge pull request #16125 from alalek:core_safe_xadd

4 years agoMerge pull request #16124 from alalek:issue_13354
Alexander Alekhin [Wed, 11 Dec 2019 14:15:23 +0000 (14:15 +0000)]
Merge pull request #16124 from alalek:issue_13354

4 years agoMerge pull request #16123 from alalek:opencv_include_port_file
Alexander Alekhin [Wed, 11 Dec 2019 14:15:04 +0000 (14:15 +0000)]
Merge pull request #16123 from alalek:opencv_include_port_file

4 years agoMerge pull request #16062 from TolyaTalamanov:at/add-default-initlization-for-primitives
atalaman [Wed, 11 Dec 2019 14:10:42 +0000 (17:10 +0300)]
Merge pull request #16062 from TolyaTalamanov:at/add-default-initlization-for-primitives

G-API: Add default initialization for primitives

* Add ctors for primitives

* Add description for constructors

4 years agoMerge pull request #16098 from alalek:dnn_clarify_error_getMemoryShapes
Alexander Alekhin [Wed, 11 Dec 2019 14:02:15 +0000 (14:02 +0000)]
Merge pull request #16098 from alalek:dnn_clarify_error_getMemoryShapes

4 years agoMerge pull request #16091 from dkurt:png_to_dot
Alexander Alekhin [Wed, 11 Dec 2019 14:01:39 +0000 (14:01 +0000)]
Merge pull request #16091 from dkurt:png_to_dot

4 years agoMerge pull request #16086 from alalek:gapi_test_bitwise_not_exclude_32f
Alexander Alekhin [Wed, 11 Dec 2019 14:00:59 +0000 (14:00 +0000)]
Merge pull request #16086 from alalek:gapi_test_bitwise_not_exclude_32f

4 years agopython: enable Python 3.8
Alexander Alekhin [Wed, 11 Dec 2019 13:52:38 +0000 (16:52 +0300)]
python: enable Python 3.8

4 years agoMerge pull request #16121 from shimat:fix_voronoi_typo
Alexander Alekhin [Wed, 11 Dec 2019 12:30:47 +0000 (12:30 +0000)]
Merge pull request #16121 from shimat:fix_voronoi_typo

4 years agogapi: fix build with GCC 4.8
Alexander Alekhin [Wed, 11 Dec 2019 10:16:57 +0000 (13:16 +0300)]
gapi: fix build with GCC 4.8

4 years agocore: provide safe implementations of CV_XADD() only
Alexander Alekhin [Wed, 11 Dec 2019 00:45:10 +0000 (00:45 +0000)]
core: provide safe implementations of CV_XADD() only

4 years agocore: add "namespace cv" in CV_StaticAssert fallback implementation
Alexander Alekhin [Wed, 11 Dec 2019 00:35:13 +0000 (00:35 +0000)]
core: add "namespace cv" in CV_StaticAssert fallback implementation

4 years agocore: OPENCV_INCLUDE_PORT_FILE for custom platform configuration
Alexander Alekhin [Wed, 11 Dec 2019 00:27:13 +0000 (00:27 +0000)]
core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration

4 years agocmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P
Alexander Alekhin [Tue, 10 Dec 2019 22:35:36 +0000 (22:35 +0000)]
cmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P

Drop:
- discouraged CMAKE_CL_64
- MSVC64
- MINGW64

4 years agos/Voroni/Voronoi/g
shimat [Wed, 11 Dec 2019 00:13:58 +0000 (09:13 +0900)]
s/Voroni/Voronoi/g

4 years agopython: fix issue with bindings loading on Python 3.8
Alexander Alekhin [Tue, 10 Dec 2019 19:00:10 +0000 (19:00 +0000)]
python: fix issue with bindings loading on Python 3.8

4 years agoMerge pull request #16109 from pixelb:gcc-9-pch
Alexander Alekhin [Tue, 10 Dec 2019 16:29:07 +0000 (16:29 +0000)]
Merge pull request #16109 from pixelb:gcc-9-pch

4 years agoMerge pull request #16117 from mshabunin:fix-hist-args-34
Alexander Alekhin [Tue, 10 Dec 2019 15:14:22 +0000 (15:14 +0000)]
Merge pull request #16117 from mshabunin:fix-hist-args-34

4 years agoFix pch generation when linker flags used with GCC
Pádraig Brady [Mon, 9 Dec 2019 20:25:40 +0000 (20:25 +0000)]
Fix pch generation when linker flags used with GCC

-c is required to avoid linking (and the associated missing "main" message)
when linker flags like "-Wl,-z,relro" are passed to GCC

4 years agoimgproc: add parameter checks in calcHist and calcBackProj
Maksim Shabunin [Tue, 10 Dec 2019 12:13:38 +0000 (15:13 +0300)]
imgproc: add parameter checks in calcHist and calcBackProj

4 years agoMerge pull request #16107 from dkurt:dnn_ie_ngraph_v1_conv
Alexander Alekhin [Tue, 10 Dec 2019 12:10:50 +0000 (12:10 +0000)]
Merge pull request #16107 from dkurt:dnn_ie_ngraph_v1_conv

4 years agoMerge pull request #16106 from dkurt:dnn_ie_ngraph_weights_fusion
Alexander Alekhin [Tue, 10 Dec 2019 12:08:04 +0000 (12:08 +0000)]
Merge pull request #16106 from dkurt:dnn_ie_ngraph_weights_fusion

4 years agoModify nGraph's ConvolutionBackpropData and GroupConvolution
Dmitry Kurtaev [Mon, 9 Dec 2019 18:47:13 +0000 (21:47 +0300)]
Modify nGraph's ConvolutionBackpropData and GroupConvolution

4 years agoMerge pull request #16081 from dmatveev:dm/ocv42_gapi_bugfixes
Dmitry Matveev [Tue, 10 Dec 2019 10:31:43 +0000 (13:31 +0300)]
Merge pull request #16081 from dmatveev:dm/ocv42_gapi_bugfixes

G-API: Fix various issues for 4.2 release

* G-API: Fix issues reported by Coverity

- Fixed: passing values by value instead of passing by reference

* G-API: Fix redundant std::move()'s in return statements

Fixes #15903

* G-API: Added a smarter handling of Stop messages in the pipeline

- This should fix the "expected 100, got 99 frames" problem
- Fixes #15882

* G-API: Pass enum instead of GKernelPackage in Streaming test parameters

- Likely fixes #15836

* G-API: Address review issues in new bugfix comments

4 years agoMerge pull request #16039 from dmatveev:dm/gapi_tutorial_interactive_face_detection
Dmitry Matveev [Mon, 9 Dec 2019 21:30:10 +0000 (00:30 +0300)]
Merge pull request #16039 from dmatveev:dm/gapi_tutorial_interactive_face_detection

* G-API-NG/Docs: Added a tutorial page on interactive face detection sample

- Introduced a "--ser" option to run the pipeline serially for
  benchmarking purposes
- Reorganized sample code to better fit the documentation;
- Fixed a couple of issues (mainly typos) in the public headers

* G-API-NG/Docs: Reflected meta-less compilation in new G-API tutorial

* G-API-NG/Docs: Addressed review comments on Face Analytics Pipeline example

4 years agoMerge pull request #16069 from YashasSamaga:cuda4dnn-crop_and_resize
Yashas Samaga B L [Mon, 9 Dec 2019 19:26:58 +0000 (00:56 +0530)]
Merge pull request #16069 from YashasSamaga:cuda4dnn-crop_and_resize

add CropAndResize layer for CUDA backend

* add CropAndResize layer

* process multiple channels per iteration

4 years agoMerge pull request #16089 from dkurt:dnn_ie_fix_fpga
Alexander Alekhin [Mon, 9 Dec 2019 19:26:00 +0000 (19:26 +0000)]
Merge pull request #16089 from dkurt:dnn_ie_fix_fpga

4 years agoMerge pull request #16094 from saskatchewancatch:issue-16053
RAJKIRAN NATARAJAN [Mon, 9 Dec 2019 19:24:35 +0000 (19:24 +0000)]
Merge pull request #16094 from saskatchewancatch:issue-16053

* Add eps error checking for approxPolyDP to allow sensible values only
for epsilon value of Douglas-Peucker algorithm.

* Review changes for PR

4 years agoMerge pull request #16093 from alalek:core_itt_thread_name_16072
Alexander Alekhin [Mon, 9 Dec 2019 18:29:53 +0000 (18:29 +0000)]
Merge pull request #16093 from alalek:core_itt_thread_name_16072

4 years agoMerge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output
Alexander Alekhin [Mon, 9 Dec 2019 18:29:24 +0000 (18:29 +0000)]
Merge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output

4 years agoMerge pull request #16102 from asmorkalov:as/xperience_c
Alexander Alekhin [Mon, 9 Dec 2019 18:28:29 +0000 (18:28 +0000)]
Merge pull request #16102 from asmorkalov:as/xperience_c