platform/upstream/opencv.git
4 years agoMerge pull request #16754 from alalek:issue_16752
Alexander Alekhin [Sat, 7 Mar 2020 19:06:47 +0000 (22:06 +0300)]
Merge pull request #16754 from alalek:issue_16752

* core(test): FP16 norm test

* core: norm()-FP16 disable OpenCL

* core(norm): fix 16f32f local buffer size

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

4 years agoMerge pull request #16751 from alalek:core_coverity_issues
Alexander Alekhin [Fri, 6 Mar 2020 19:07:21 +0000 (19:07 +0000)]
Merge pull request #16751 from alalek:core_coverity_issues

4 years agoMerge pull request #16738 from dkurt:onnx_broadcast
Alexander Alekhin [Fri, 6 Mar 2020 19:04:43 +0000 (19:04 +0000)]
Merge pull request #16738 from dkurt:onnx_broadcast

4 years agoMerge pull request #16697 from alalek:imgcodecs_jpeg_drop_unnecessary_code
Alexander Alekhin [Fri, 6 Mar 2020 19:03:43 +0000 (19:03 +0000)]
Merge pull request #16697 from alalek:imgcodecs_jpeg_drop_unnecessary_code

4 years agocore: fix coverity issues
Alexander Alekhin [Fri, 6 Mar 2020 18:01:55 +0000 (18:01 +0000)]
core: fix coverity issues

4 years agoMerge pull request #16694 from alalek:dnn_disable_nn_builder_api
Alexander Alekhin [Fri, 6 Mar 2020 13:18:41 +0000 (13:18 +0000)]
Merge pull request #16694 from alalek:dnn_disable_nn_builder_api

4 years agoMerge pull request #16719 from alalek:dnn_disable_nn_builder_api_3.4
Alexander Alekhin [Fri, 6 Mar 2020 12:26:48 +0000 (12:26 +0000)]
Merge pull request #16719 from alalek:dnn_disable_nn_builder_api_3.4

4 years agoMerge pull request #16690 from asmorkalov:bug_template
Alexander Alekhin [Fri, 6 Mar 2020 11:30:48 +0000 (14:30 +0300)]
Merge pull request #16690 from asmorkalov:bug_template

Added checklist and recommendations to issue template

4 years agoMerge pull request #16740 from m-gupta:header
Alexander Alekhin [Fri, 6 Mar 2020 09:02:25 +0000 (09:02 +0000)]
Merge pull request #16740 from m-gupta:header

4 years agoFix building with ToT libc++
Manoj Gupta [Thu, 5 Mar 2020 22:26:35 +0000 (14:26 -0800)]
Fix building with ToT libc++

ToT libc++ (LLVM) no longer includes <sstream>
as part of <complex> which breaks building opencv.
Include <sstream> header explcitly to fix this.

4 years agoBroadcasting from ONNX
Dmitry Kurtaev [Thu, 5 Mar 2020 20:53:50 +0000 (23:53 +0300)]
Broadcasting from ONNX

4 years agoMerge pull request #16723 from jansol:master
Alexander Alekhin [Thu, 5 Mar 2020 12:25:20 +0000 (12:25 +0000)]
Merge pull request #16723 from jansol:master

4 years agoMerge pull request #16513 from pwuertz:cuda_py_interop
Alexander Alekhin [Thu, 5 Mar 2020 11:56:07 +0000 (11:56 +0000)]
Merge pull request #16513 from pwuertz:cuda_py_interop

4 years agoMerge pull request #16577 from Volskig:mp/ocv-gapi-work
Alexander Alekhin [Thu, 5 Mar 2020 10:58:51 +0000 (10:58 +0000)]
Merge pull request #16577 from Volskig:mp/ocv-gapi-work

4 years agoMerge pull request #16693 from Volskig:mp/ocv-gapi-add-include
Alexander Alekhin [Thu, 5 Mar 2020 10:53:23 +0000 (10:53 +0000)]
Merge pull request #16693 from Volskig:mp/ocv-gapi-add-include

4 years agoAdded assert for create Mat with negative dims, added tets for this case
Maxim Pashchenkov [Thu, 5 Mar 2020 08:52:10 +0000 (11:52 +0300)]
Added assert for create Mat with negative dims, added tets for this case

4 years agoRm imgproc from render.cpp
Maxim Pashchenkov [Thu, 5 Mar 2020 08:41:36 +0000 (11:41 +0300)]
Rm imgproc from render.cpp

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 4 Mar 2020 20:49:09 +0000 (20:49 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16704 from alalek:core_log_once_log_if
Alexander Alekhin [Wed, 4 Mar 2020 20:42:41 +0000 (23:42 +0300)]
Merge pull request #16704 from alalek:core_log_once_log_if

* core(logger): add CV_LOG_ONCE_xxx() CV_LOG_IF_xxx() macros

* core(logger): keep tests disabled

4 years agoMerge pull request #16731 from alalek:issue_16708
Alexander Alekhin [Wed, 4 Mar 2020 19:28:04 +0000 (22:28 +0300)]
Merge pull request #16731 from alalek:issue_16708

* imgproc(integral): avoid OOB access

* imgproc(test): fix integral perf check

- FP32 computation is not accurate

* imgproc(integral): tune loop limits

4 years agocore(ocl): Don't query image formats when none exist
Jan Solanti [Tue, 3 Mar 2020 12:16:32 +0000 (14:16 +0200)]
core(ocl): Don't query image formats when none exist

clGetSupportedImageFormats returns CL_INVALID_VALUE if called with
num_entries 0 and a non-NULL image_formats pointer so let's not do that.

4 years agoMerge pull request #15765 from zachlowry:patch-1
Alexander Alekhin [Wed, 4 Mar 2020 08:42:31 +0000 (11:42 +0300)]
Merge pull request #15765 from zachlowry:patch-1

Use argument value for 'mat' in call to format for vector_mat and vector_mat_template

4 years agoMerge pull request #16722 from l-bat:reshape_opset_11
Liubov Batanina [Wed, 4 Mar 2020 08:27:10 +0000 (11:27 +0300)]
Merge pull request #16722 from l-bat:reshape_opset_11

* Supported Div op for constants

* Added Mul test

4 years agotest: Add test to verify correct mat substitution into the template in header parser
Vadim Levin [Tue, 3 Mar 2020 07:29:00 +0000 (10:29 +0300)]
test: Add test to verify correct mat substitution into the  template in header parser

4 years agoUse argument value for 'mat' in call to format for vector_mat and vector_mat_template
Zach Lowry [Wed, 23 Oct 2019 17:40:56 +0000 (12:40 -0500)]
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template

The hard-coded string value "Mat" was used in the two format strings for vector_mat and vector_mat_template, preventing UMat arguments to functions that have these types from working correctly. as noted in #12231.

4 years agoMerge pull request #16709 from ashishkrshrivastava:cvonnx
Alexander Alekhin [Tue, 3 Mar 2020 20:23:10 +0000 (20:23 +0000)]
Merge pull request #16709 from ashishkrshrivastava:cvonnx

4 years agoMerge pull request #16721 from mshabunin:fix-msmf-format
Alexander Alekhin [Tue, 3 Mar 2020 15:41:53 +0000 (15:41 +0000)]
Merge pull request #16721 from mshabunin:fix-msmf-format

4 years agoGather-Cast, Mul-Cast fusion
ashishiva3@gmail.com [Sun, 1 Mar 2020 09:39:15 +0000 (15:09 +0530)]
Gather-Cast, Mul-Cast fusion

4 years agoMerge pull request #16720 from anton-potapov:kw_fixes
Alexander Alekhin [Tue, 3 Mar 2020 11:45:24 +0000 (11:45 +0000)]
Merge pull request #16720 from anton-potapov:kw_fixes

4 years agoMSMF: fixed issue with camera format selection
Maksim Shabunin [Mon, 2 Mar 2020 12:33:42 +0000 (15:33 +0300)]
MSMF: fixed issue with camera format selection

4 years agoKW: G-API tests - fixes for uninitialized variables
Anton Potapov [Tue, 3 Mar 2020 08:37:40 +0000 (11:37 +0300)]
KW: G-API tests - fixes for uninitialized variables

4 years agodnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
Alexander Alekhin [Tue, 3 Mar 2020 08:01:44 +0000 (08:01 +0000)]
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code

- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019

4 years agodnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
Alexander Alekhin [Thu, 27 Feb 2020 13:02:32 +0000 (16:02 +0300)]
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code

- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019

4 years agoMerge pull request #16700 from alalek:fix_core_matexpr_size_gemm
Alexander Alekhin [Mon, 2 Mar 2020 14:13:02 +0000 (17:13 +0300)]
Merge pull request #16700 from alalek:fix_core_matexpr_size_gemm

core: fix MatExpr::size() for gemm()

* core(test): MatExpr::size() test for gemm()

* core: fix MatExpr::size() for gemm()

4 years agoMerge pull request #16716 from l-bat:skip_resize_ie
Alexander Alekhin [Mon, 2 Mar 2020 14:07:32 +0000 (14:07 +0000)]
Merge pull request #16716 from l-bat:skip_resize_ie

4 years agoSkipped ResizeUnfused test on Builder API
Liubov Batanina [Mon, 2 Mar 2020 12:45:29 +0000 (15:45 +0300)]
Skipped ResizeUnfused test on Builder API

4 years agoMerge pull request #16652 from MoonChasing:master
Alexander Alekhin [Sun, 1 Mar 2020 10:15:55 +0000 (10:15 +0000)]
Merge pull request #16652 from MoonChasing:master

4 years agoMerge pull request #16573 from ashishkrshrivastava:opencvonnx
Alexander Alekhin [Sat, 29 Feb 2020 18:20:40 +0000 (21:20 +0300)]
Merge pull request #16573 from ashishkrshrivastava:opencvonnx

4 years agoONNX: upsample subgraph fusion added
ashishiva3@gmail.com [Thu, 13 Feb 2020 12:02:35 +0000 (17:32 +0530)]
ONNX: upsample subgraph fusion added

4 years agoMerge pull request #16658 from YashasSamaga:cuda4dnn-refactor-activations
Yashas Samaga B L [Sat, 29 Feb 2020 08:46:14 +0000 (14:16 +0530)]
Merge pull request #16658 from YashasSamaga:cuda4dnn-refactor-activations

cuda4dnn(activations, eltwise, scale_shift): refactor to reduce code duplication

* refactor activations

* refactor eltwise kernels

* move all functors to functors.hpp

* remove bias1 and scale1 kernels

4 years agoAdded checklist and recommendations to issue template.
Alexander Smorkalov [Fri, 28 Feb 2020 07:01:24 +0000 (10:01 +0300)]
Added checklist and recommendations to issue template.

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 28 Feb 2020 18:34:37 +0000 (18:34 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16684 from pwuertz:ignore_clang_mat_inl
Peter Würtz [Fri, 28 Feb 2020 18:21:03 +0000 (19:21 +0100)]
Merge pull request #16684 from pwuertz:ignore_clang_mat_inl

* Ignore clang warnings for deprecated enum+enum operations in mat.inl.hpp

* build: added customization macros, cmake flags for OpenCV build

4 years agoMerge pull request #16626 from firebladed:firebladed-v4l2_pix_fmt_y12
firebladed [Fri, 28 Feb 2020 18:17:30 +0000 (18:17 +0000)]
Merge pull request #16626 from firebladed:firebladed-v4l2_pix_fmt_y12

V4L2: Add V4L2_PIX_FMT_Y12 (12 bit grey) support

4 years agoMerge pull request #16556 from ChipKerchner:vectorizeIntegralSumPixels
Chip Kerchner [Fri, 28 Feb 2020 16:34:06 +0000 (11:34 -0500)]
Merge pull request #16556 from ChipKerchner:vectorizeIntegralSumPixels

* Vectorize calculating integral for line for single and multiple channels

* Single vector processing for 4-channels - 25-30% faster

* Single vector processing for 4-channels - 25-30% faster

* Fixed AVX512 code for 4 channels

* Disable 3 channel 8UC1 to 32S for SSE2 and SSE3 (slower).  Use new version of 8UC1 to 64F for AVX512.

4 years agoMerge pull request #16535 from jshiwam:exifbugfix
Alexander Alekhin [Fri, 28 Feb 2020 16:31:59 +0000 (16:31 +0000)]
Merge pull request #16535 from jshiwam:exifbugfix

4 years agoimgcodecs(jpeg): drop unnecessary code
Alexander Alekhin [Fri, 28 Feb 2020 13:46:22 +0000 (16:46 +0300)]
imgcodecs(jpeg): drop unnecessary code

- standard huffman tables are handled by modern libjpeg-turbo

4 years agoMerge pull request #16677 from Bleach665:Qt_imshow_clipbrd
Alexander Alekhin [Fri, 28 Feb 2020 14:41:07 +0000 (14:41 +0000)]
Merge pull request #16677 from Bleach665:Qt_imshow_clipbrd

4 years agousing argv[0] represent binary executable files' name in help() function
MoonChasing [Sun, 23 Feb 2020 13:38:04 +0000 (21:38 +0800)]
using argv[0] represent binary executable files' name in help() function
in sample codes instead of cpp files' name.

4 years agobug fix to Inconsistent comment for EXIF issue id #15706 stream added final
jshiwam [Thu, 20 Feb 2020 10:59:17 +0000 (16:29 +0530)]
bug fix to Inconsistent comment for EXIF issue id #15706 stream added final

removed all the changes occured while trying to resolve conflicts

4 years agoadd "Copy to clipboard functional" to imshow wnd with Qt
Yuriy Obukh [Thu, 27 Feb 2020 22:03:38 +0000 (00:03 +0200)]
add "Copy to clipboard functional" to imshow wnd with Qt

4 years agoMerge pull request #16688 from alalek:issue_16679
Alexander Alekhin [Thu, 27 Feb 2020 20:55:49 +0000 (20:55 +0000)]
Merge pull request #16688 from alalek:issue_16679

4 years agoMerge pull request #16685 from YashasSamaga:cuda4dnn-fix-tests-pr16595
Alexander Alekhin [Thu, 27 Feb 2020 20:42:45 +0000 (20:42 +0000)]
Merge pull request #16685 from YashasSamaga:cuda4dnn-fix-tests-pr16595

4 years agodisable MaskRCNN test for CUDA_FP16
YashasSamaga [Fri, 28 Feb 2020 10:14:37 +0000 (15:44 +0530)]
disable MaskRCNN test for CUDA_FP16

4 years agoMerge pull request #16687 from dkurt:dnn_ngraph_hetero
Alexander Alekhin [Thu, 27 Feb 2020 19:52:02 +0000 (19:52 +0000)]
Merge pull request #16687 from dkurt:dnn_ngraph_hetero

4 years agogapi(test): fix check
Alexander Alekhin [Thu, 27 Feb 2020 19:43:06 +0000 (19:43 +0000)]
gapi(test): fix check

4 years agoMerge pull request #16682 from alalek:dnn_test_keypoints_face_myriad
Alexander Alekhin [Thu, 27 Feb 2020 19:04:28 +0000 (19:04 +0000)]
Merge pull request #16682 from alalek:dnn_test_keypoints_face_myriad

4 years agoMerge pull request #16683 from saskatchewancatch:issue-16680
Alexander Alekhin [Thu, 27 Feb 2020 17:05:27 +0000 (17:05 +0000)]
Merge pull request #16683 from saskatchewancatch:issue-16680

4 years agodnn(test): adjust check tolerance in Keypoints_face
Alexander Alekhin [Thu, 27 Feb 2020 05:36:59 +0000 (05:36 +0000)]
dnn(test): adjust check tolerance in Keypoints_face

4 years agoTrack Hetero execution for nGraph networks using ngraph::Function
Dmitry Kurtaev [Thu, 27 Feb 2020 14:45:28 +0000 (17:45 +0300)]
Track Hetero execution for nGraph networks using ngraph::Function

4 years agoFix annoying compiler warning.
Rajkiran Natarajan [Thu, 27 Feb 2020 06:59:02 +0000 (22:59 -0800)]
Fix annoying compiler warning.

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 26 Feb 2020 17:09:03 +0000 (20:09 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16675 from alalek:fix_js_build_getNumberOfCPUs
Alexander Alekhin [Wed, 26 Feb 2020 17:07:49 +0000 (17:07 +0000)]
Merge pull request #16675 from alalek:fix_js_build_getNumberOfCPUs

4 years agocore: fix build getNumberOfCPUs for JavaScript
Alexander Alekhin [Wed, 26 Feb 2020 15:43:31 +0000 (18:43 +0300)]
core: fix build getNumberOfCPUs for JavaScript

4 years agoMerge pull request #16638 from mshabunin:use-safe-buffers
Alexander Alekhin [Wed, 26 Feb 2020 14:54:57 +0000 (14:54 +0000)]
Merge pull request #16638 from mshabunin:use-safe-buffers

4 years agoMerge pull request #16628 from dkurt:dnn_ngraph_custom_layers
Dmitry Kurtaev [Wed, 26 Feb 2020 14:51:18 +0000 (17:51 +0300)]
Merge pull request #16628 from dkurt:dnn_ngraph_custom_layers

* Custom layers with nGraph

* nGraph: multiple outputs from nodes

4 years agoMerge pull request #16457 from ganesh-k13:bugfix/getCPUCount-fix
Ganesh Kathiresan [Wed, 26 Feb 2020 14:48:50 +0000 (20:18 +0530)]
Merge pull request #16457 from ganesh-k13:bugfix/getCPUCount-fix

* Fixed getCPUCount

Minor new line changes

Android fix | efficient linux checks

Android fix 2

Fixed cpu logic for non linux platforms

Android fix 3

Android fix 4

* No v1 case handle | Refactor long lines

* Refined Cgroups logic | Combine Android and Linux

* Fixed directives

* Added support for --cpus | Fixed minor bug in Andriod | Change file read logic

* Added macro checks for apple errors

* Fixed macro to include android

* Addressed review comments

* Fixed android macro

* Refined return values

* Fixed apple warning

* Addressed review comments

* Fixed whitespace

* Android Fix try 1

* Android Fix try 2

* Android Fix try 3

* Removed unwanted endif

* Android Fix try 4

* Android Fix try 5

* Macro Restructure

* core: updates to CPUs detection (minor)

4 years agoMerge pull request #16657 from alalek:issue_16655_master
Alexander Alekhin [Wed, 26 Feb 2020 14:36:08 +0000 (14:36 +0000)]
Merge pull request #16657 from alalek:issue_16655_master

4 years agoMerge pull request #16673 from alalek:exclude_contrib_modules_4.x
Alexander Alekhin [Wed, 26 Feb 2020 14:03:52 +0000 (14:03 +0000)]
Merge pull request #16673 from alalek:exclude_contrib_modules_4.x

4 years agoMerge pull request #16656 from alalek:issue_16655
Alexander Alekhin [Wed, 26 Feb 2020 12:47:46 +0000 (12:47 +0000)]
Merge pull request #16656 from alalek:issue_16655

4 years agoexclude opencv_contrib modules
Alexander Alekhin [Wed, 26 Feb 2020 12:10:30 +0000 (15:10 +0300)]
exclude opencv_contrib modules

4 years agoMerge pull request #16670 from alalek:update_valgrind_suppressions
Alexander Alekhin [Wed, 26 Feb 2020 11:44:16 +0000 (11:44 +0000)]
Merge pull request #16670 from alalek:update_valgrind_suppressions

4 years agogapi(test): ban and get rid of countNonZero() checks
Alexander Alekhin [Sun, 23 Feb 2020 17:49:50 +0000 (17:49 +0000)]
gapi(test): ban and get rid of countNonZero() checks

4 years agoAllow access to CUDA memory and stream pointers for interoperability.
Peter Würtz [Tue, 4 Feb 2020 17:25:48 +0000 (18:25 +0100)]
Allow access to CUDA memory and stream pointers for interoperability.

4 years agoUse BufferArea in more places
Maksim Shabunin [Thu, 13 Feb 2020 11:25:47 +0000 (14:25 +0300)]
Use BufferArea in more places

4 years agovalgrind: update suppression rules
Alexander Alekhin [Fri, 21 Feb 2020 20:52:01 +0000 (20:52 +0000)]
valgrind: update suppression rules

4 years agoMerge pull request #16639 from iigalanin:patch-1
Ivan Galanin [Tue, 25 Feb 2020 19:04:11 +0000 (22:04 +0300)]
Merge pull request #16639 from iigalanin:patch-1

* Update to new ICV packages

MacOS ia32 ICV package is no longer built.

* cmake(ippicv): add Apple 32-bit check

* Updated commit hash

4 years agoMerge pull request #16650 from ashishkrshrivastava:cvdarknet
Alexander Alekhin [Tue, 25 Feb 2020 12:57:11 +0000 (12:57 +0000)]
Merge pull request #16650 from ashishkrshrivastava:cvdarknet

4 years agoMerge pull request #16661 from alalek:dnn_test_32bit_part2
Alexander Alekhin [Mon, 24 Feb 2020 20:53:14 +0000 (20:53 +0000)]
Merge pull request #16661 from alalek:dnn_test_32bit_part2

4 years agoMerge pull request #16648 from YashasSamaga:cuda4dnn-hotfix-i16467
Alexander Alekhin [Mon, 24 Feb 2020 18:22:06 +0000 (18:22 +0000)]
Merge pull request #16648 from YashasSamaga:cuda4dnn-hotfix-i16467

4 years agodnn(test): configure filtering for 32-bit systems (part 2)
Alexander Alekhin [Mon, 24 Feb 2020 18:18:33 +0000 (18:18 +0000)]
dnn(test): configure filtering for 32-bit systems (part 2)

4 years agoresize tensor on reuse if required
YashasSamaga [Mon, 24 Feb 2020 05:15:59 +0000 (10:45 +0530)]
resize tensor on reuse if required

4 years agoMerge pull request #16629 from alalek:dnn_test_32bit
Alexander Alekhin [Sun, 23 Feb 2020 17:09:31 +0000 (17:09 +0000)]
Merge pull request #16629 from alalek:dnn_test_32bit

4 years agocore(MatExpr): fix .type() bug
Alexander Alekhin [Sun, 23 Feb 2020 17:05:05 +0000 (17:05 +0000)]
core(MatExpr): fix .type() bug

4 years agoDarknet_io: Parsing for cost layer added
ashishiva3@gmail.com [Sun, 23 Feb 2020 06:16:12 +0000 (11:46 +0530)]
Darknet_io: Parsing for cost layer added

4 years agoMerge pull request #16647 from YashasSamaga:cuda4dnn-hotfix-i16568
Alexander Alekhin [Sat, 22 Feb 2020 22:21:56 +0000 (22:21 +0000)]
Merge pull request #16647 from YashasSamaga:cuda4dnn-hotfix-i16568

4 years agodnn(test): configure filtering for 32-bit systems
Alexander Alekhin [Thu, 20 Feb 2020 20:23:19 +0000 (20:23 +0000)]
dnn(test): configure filtering for 32-bit systems

4 years agoMerge pull request #16586 from themechanicalcoder:video-psnr
Gourav Roy [Sat, 22 Feb 2020 11:42:26 +0000 (17:12 +0530)]
Merge pull request #16586 from themechanicalcoder:video-psnr

* add  python version of video-input-psnr-ssim

* remove ret

* documentation changes

* added link for python file

* command line argument

4 years agofix weights rank assertion in InnerProductOp
YashasSamaga [Sat, 22 Feb 2020 11:29:09 +0000 (16:59 +0530)]
fix weights rank assertion in InnerProductOp

4 years agoMerge pull request #16641 from alalek:fix_build_msvs2019
Alexander Alekhin [Fri, 21 Feb 2020 19:50:09 +0000 (19:50 +0000)]
Merge pull request #16641 from alalek:fix_build_msvs2019

4 years agoMerge pull request #16616 from alalek:dnn_fix_input_shape
Alexander Alekhin [Fri, 21 Feb 2020 19:39:54 +0000 (22:39 +0300)]
Merge pull request #16616 from alalek:dnn_fix_input_shape

* dnn: fix processing of input shapes

- importer: avoid using of .setInput() => .setInputShape()
- setInput: shape limitation check (partial)

* dnn(test): test .setInput() in readNet()

4 years agoMerge pull request #16225 from berak:dnn_pose_estimation
Alexander Alekhin [Fri, 21 Feb 2020 19:37:23 +0000 (22:37 +0300)]
Merge pull request #16225 from berak:dnn_pose_estimation

dnn: small fix in pose estimation model

4 years agoMerge pull request #13928 from catree:add_matx_div_operations
Alexander Alekhin [Fri, 21 Feb 2020 19:35:03 +0000 (22:35 +0300)]
Merge pull request #13928 from catree:add_matx_div_operations

4 years agoMerge pull request #16594 from vpisarev:hull_ordering_fix
Vadim Pisarevsky [Fri, 21 Feb 2020 15:18:24 +0000 (18:18 +0300)]
Merge pull request #16594 from vpisarev:hull_ordering_fix

fixed the ordering of contour convex hull points

* partially fixed the issue #4539

* fixed warnings and test failures

* fixed integer overflow (issue #14521)

* added comment to force buildbot to re-run

* extended the test for the issue 4539. Check the expected behaviour on the original contour as well

* added comment; fixed typo, renamed another variable for a little better clarity

* added yet another part to the test for issue #4539, where we run convexHull and convexityDetects on the original contour, without any manipulations. the rest of the test stays the same

4 years ago3rdparty(openexr): fix compilation with MSVS2019
Alexander Alekhin [Fri, 21 Feb 2020 14:48:28 +0000 (17:48 +0300)]
3rdparty(openexr): fix compilation with MSVS2019

4 years agoMerge pull request #16635 from mshabunin:fix-avx512-cvt
Alexander Alekhin [Fri, 21 Feb 2020 13:15:40 +0000 (13:15 +0000)]
Merge pull request #16635 from mshabunin:fix-avx512-cvt

4 years agoMerge pull request #16608 from vpisarev:fix_mac_ocl_tests
Vadim Pisarevsky [Fri, 21 Feb 2020 13:13:41 +0000 (16:13 +0300)]
Merge pull request #16608 from vpisarev:fix_mac_ocl_tests

* fixed several problems when running tests on Mac:
* OCL_pyrUp
* OCL_flip
* some basic UMat tests
* histogram badarg test (out of range access)

* retained the storepix fix in ocl_flip only for 16U/16S datatype, where the OpenCL compiler on Mac generates incorrect code

* moved deletion of ACCESS_FAST flag to non-SVM branch (where SVM is shared virtual memory (in OpenCL 2.x), not support vector machine)

* force OpenCL to use read/write for GPU<=>CPU memory transfers on machines with discrete video only on Macs. On Windows/Linux the drivers are seemingly smart enough to implement map/unmap properly (and maybe more efficiently than explicit read/write)

4 years agointrin: fixed int64->double conversion for AVX-512
Maksim Shabunin [Fri, 21 Feb 2020 12:17:34 +0000 (15:17 +0300)]
intrin: fixed int64->double conversion for AVX-512

4 years agoAdded test for new MatX division.
Alexander Smorkalov [Fri, 21 Feb 2020 06:57:37 +0000 (09:57 +0300)]
Added test for new MatX division.