platform/upstream/opencv.git
4 years agocopyright: 2020
Alexander Alekhin [Thu, 2 Jan 2020 11:58:20 +0000 (11:58 +0000)]
copyright: 2020

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 31 Dec 2019 10:11:39 +0000 (10:11 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16249 from alalek:check_size
Alexander Alekhin [Tue, 31 Dec 2019 10:09:00 +0000 (10:09 +0000)]
Merge pull request #16249 from alalek:check_size

4 years agoMerge pull request #16264 from YashasSamaga:cuda4dnn-msvc-v140-workaround
Alexander Alekhin [Tue, 31 Dec 2019 08:20:24 +0000 (08:20 +0000)]
Merge pull request #16264 from YashasSamaga:cuda4dnn-msvc-v140-workaround

4 years agoMerge pull request #16263 from dkurt:dnn_tf_addv2
Alexander Alekhin [Mon, 30 Dec 2019 22:56:11 +0000 (22:56 +0000)]
Merge pull request #16263 from dkurt:dnn_tf_addv2

4 years agoMerge pull request #16258 from jed-frey:patch/python38-clock
Alexander Alekhin [Mon, 30 Dec 2019 17:34:23 +0000 (17:34 +0000)]
Merge pull request #16258 from jed-frey:patch/python38-clock

4 years agosimplify code to help MSVC 19.10 and lower
YashasSamaga [Mon, 30 Dec 2019 17:32:17 +0000 (23:02 +0530)]
simplify code to help MSVC 19.10 and lower

4 years agoAddV2 from TensorFlow
Dmitry Kurtaev [Mon, 30 Dec 2019 17:06:58 +0000 (20:06 +0300)]
AddV2 from TensorFlow

4 years agoRemoved deprecated 'clock' import.
Jed [Sun, 29 Dec 2019 23:50:17 +0000 (18:50 -0500)]
Removed deprecated 'clock' import.

4 years agoMerge pull request #16251 from pwuertz:rtrees_set_rng
Alexander Alekhin [Sun, 29 Dec 2019 22:30:39 +0000 (22:30 +0000)]
Merge pull request #16251 from pwuertz:rtrees_set_rng

4 years agoUse global RNG for training RTrees.
Peter Würtz [Sat, 28 Dec 2019 12:34:08 +0000 (13:34 +0100)]
Use global RNG for training RTrees.

4 years agoMerge pull request #16254 from YashasSamaga:cuda4dnn-cudnn-optm-conv_bias_relu
Alexander Alekhin [Sun, 29 Dec 2019 20:53:17 +0000 (20:53 +0000)]
Merge pull request #16254 from YashasSamaga:cuda4dnn-cudnn-optm-conv_bias_relu

4 years agouse optimized cuDNN path for conv + bias + relu
YashasSamaga [Sun, 29 Dec 2019 07:38:38 +0000 (13:08 +0530)]
use optimized cuDNN path for conv + bias + relu

4 years agoMerge pull request #16250 from alalek:remove_moved_code
Alexander Alekhin [Sat, 28 Dec 2019 21:59:19 +0000 (21:59 +0000)]
Merge pull request #16250 from alalek:remove_moved_code

4 years agoremove moved code
Alexander Alekhin [Sat, 28 Dec 2019 13:57:11 +0000 (13:57 +0000)]
remove moved code

4 years agocore(check): add Size_<int>
Alexander Alekhin [Sat, 28 Dec 2019 13:18:12 +0000 (13:18 +0000)]
core(check): add Size_<int>

4 years agoMerge pull request #16237 from alalek:eliminate_build_warnings
Alexander Alekhin [Fri, 27 Dec 2019 19:38:25 +0000 (19:38 +0000)]
Merge pull request #16237 from alalek:eliminate_build_warnings

4 years agoMerge pull request #16247 from alalek:backport_16241
Alexander Alekhin [Fri, 27 Dec 2019 16:20:52 +0000 (16:20 +0000)]
Merge pull request #16247 from alalek:backport_16241

4 years agoMerge pull request #16241 from bwignall:typo
Alexander Alekhin [Fri, 27 Dec 2019 16:18:56 +0000 (16:18 +0000)]
Merge pull request #16241 from bwignall:typo

4 years agoMerge pull request #16229 from hannesa2:RemoveAndroidEclipse
Alexander Alekhin [Fri, 27 Dec 2019 13:41:38 +0000 (13:41 +0000)]
Merge pull request #16229 from hannesa2:RemoveAndroidEclipse

4 years agoMerge pull request #16242 from catree:add_Rodrigues_input_shape_check
Alexander Alekhin [Fri, 27 Dec 2019 13:12:03 +0000 (13:12 +0000)]
Merge pull request #16242 from catree:add_Rodrigues_input_shape_check

4 years agoMerge pull request #16226 from YashasSamaga:cuda4dnn-permute-optm
Alexander Alekhin [Fri, 27 Dec 2019 13:01:43 +0000 (13:01 +0000)]
Merge pull request #16226 from YashasSamaga:cuda4dnn-permute-optm

4 years agoFix spelling typos
Brian Wignall [Thu, 26 Dec 2019 11:45:03 +0000 (06:45 -0500)]
Fix spelling typos

backport commit 659ffaddb4aa2cd1ae94603e514711dfe171a971

4 years agoMerge pull request #16243 from collinbrake:grammar_fixes_9
Alexander Alekhin [Fri, 27 Dec 2019 11:13:08 +0000 (11:13 +0000)]
Merge pull request #16243 from collinbrake:grammar_fixes_9

4 years agoAdd explicit size check for Rodrigues() function to prevent issue like https://stacko...
catree [Thu, 26 Dec 2019 23:59:25 +0000 (00:59 +0100)]
Add explicit size check for Rodrigues() function to prevent issue like https://stackoverflow.com/questions/58969553

4 years agogrammar and readability improvements
Collin Brake [Fri, 27 Dec 2019 01:31:54 +0000 (20:31 -0500)]
grammar and readability improvements

4 years agoFix spelling typos
Brian Wignall [Thu, 26 Dec 2019 11:45:03 +0000 (06:45 -0500)]
Fix spelling typos

4 years agobuild: eliminate build warnings
Alexander Alekhin [Wed, 25 Dec 2019 23:26:59 +0000 (23:26 +0000)]
build: eliminate build warnings

4 years agoRemove Android Eclipse relicts
Hannes Achleitner [Tue, 24 Dec 2019 06:38:12 +0000 (07:38 +0100)]
Remove Android Eclipse relicts

4 years agoimprove reduction logic and add fast transpose kernel
YashasSamaga [Mon, 23 Dec 2019 18:53:45 +0000 (00:23 +0530)]
improve reduction logic and add fast transpose kernel

4 years agoMerge tag '4.2.0'
Alexander Alekhin [Fri, 20 Dec 2019 14:06:11 +0000 (17:06 +0300)]
Merge tag '4.2.0'

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 tag '3.4.9'
Alexander Alekhin [Fri, 20 Dec 2019 09:43:26 +0000 (12:43 +0300)]
Merge tag '3.4.9'

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