platform/upstream/opencv.git
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 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 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 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 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 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 #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.

4 years agoMerge pull request #16610 from AbsorbedInThought:patch-1
Alexander Alekhin [Thu, 20 Feb 2020 15:31:57 +0000 (15:31 +0000)]
Merge pull request #16610 from AbsorbedInThought:patch-1

4 years agoMinor update in grabcut.py
Muhammad Taha [Tue, 18 Feb 2020 05:22:41 +0000 (10:22 +0500)]
Minor update in grabcut.py

4 years agoMerge pull request #16595 from dkurt:dnn_ie_mask_rcnn
Alexander Alekhin [Thu, 20 Feb 2020 12:50:27 +0000 (12:50 +0000)]
Merge pull request #16595 from dkurt:dnn_ie_mask_rcnn

4 years agoMerge pull request #14107 from adityak2920:aditya
Aditya Kumar [Thu, 20 Feb 2020 12:41:55 +0000 (18:11 +0530)]
Merge pull request #14107 from adityak2920:aditya

Adding python codes to samples/python

* Python version of samples:
- laplace.py
- drawing.py

* Update drawing.py

* Update drawing.py

* Update drawing.py

* Update laplace.py

* Update laplace.py

* Update drawing.py

* Update drawing.py

* Update laplace.py

* samples

* drawing

* drawing

* drawing.py

4 years agoEnable Mask R-CNN with Inference Engine. Full coverage with nGraph
Dmitry Kurtaev [Sun, 16 Feb 2020 19:12:14 +0000 (22:12 +0300)]
Enable Mask R-CNN with Inference Engine. Full coverage with nGraph

4 years agoMerge pull request #16503 from cyyever:fix_16500
Alexander Alekhin [Thu, 20 Feb 2020 06:47:55 +0000 (06:47 +0000)]
Merge pull request #16503 from cyyever:fix_16500

4 years agofixes #16500
cyy [Thu, 20 Feb 2020 03:08:04 +0000 (11:08 +0800)]
fixes #16500

4 years agoMerge pull request #16617 from alalek:dnn_fix_caffe_importer
Alexander Alekhin [Wed, 19 Feb 2020 10:57:27 +0000 (10:57 +0000)]
Merge pull request #16617 from alalek:dnn_fix_caffe_importer

4 years agodnn(caffe): fix net.input_dim handling in Caffe importer
Alexander Alekhin [Wed, 19 Feb 2020 07:08:01 +0000 (07:08 +0000)]
dnn(caffe): fix net.input_dim handling in Caffe importer

4 years agoMerge pull request #16612 from rabbull:master
Alexander Alekhin [Tue, 18 Feb 2020 19:31:38 +0000 (19:31 +0000)]
Merge pull request #16612 from rabbull:master

4 years agotransplant 8p's normalization to 7p
Karl Liu [Tue, 18 Feb 2020 12:21:24 +0000 (20:21 +0800)]
transplant 8p's normalization to 7p

use const instead of constexpr

4 years agoMerge pull request #16572 from alalek:dnn_test_dldt_ir_v10
Alexander Alekhin [Tue, 18 Feb 2020 14:57:46 +0000 (17:57 +0300)]
Merge pull request #16572 from alalek:dnn_test_dldt_ir_v10

* dnn(test): test DLDT IRv10 model, drop old models

* dnn(test): don't expect bitexact results in DLDT IR tests

4 years agoMerge pull request #16472 from l-bat:cp_vton
Liubov Batanina [Mon, 17 Feb 2020 19:29:37 +0000 (22:29 +0300)]
Merge pull request #16472 from l-bat:cp_vton

Add CP-VTON sample

* Support resize from PyTorch

* Add CP-VTON sample

* Fix downsampling

* Fix test

* Add model links

* Add default args

* Speed up resize

* Fix TOM link

* Add default args

* Fix comments

* Set aspect ratio for input

* Update links

* Check files exist

4 years agoMerge pull request #16600 from alalek:revert_16497
Alexander Alekhin [Mon, 17 Feb 2020 13:17:35 +0000 (13:17 +0000)]
Merge pull request #16600 from alalek:revert_16497

4 years agoimgproc: revert resize changes from PR 16497
Alexander Alekhin [Mon, 17 Feb 2020 12:23:59 +0000 (15:23 +0300)]
imgproc: revert resize changes from PR 16497

4 years agoMerge pull request #16588 from vpisarev:fix_macos_move_window
Vadim Pisarevsky [Mon, 17 Feb 2020 11:54:36 +0000 (14:54 +0300)]
Merge pull request #16588 from vpisarev:fix_macos_move_window

fixed cv::moveWindow() on mac

* fixed cv::moveWindow() on mac (issue #16343). Thanks to cwreynolds and saskatchewancatch for the help!

* fixed warnings about _x0 and _y0

* fixed warnings about _x0 and _y0

4 years agoMerge pull request #16497 from keeper121:master
keeper121 [Sun, 16 Feb 2020 16:33:25 +0000 (19:33 +0300)]
Merge pull request #16497 from keeper121:master

* Fix NN resize with dimentions > 4

* add test check for nn resize with channels > 4

* Change types from float to double

* Del unnecessary test file. Move nn test to test_imgwarp. Add 5 channels test only.

4 years agoMerge pull request #16445 from atinfinity:fixed-typo
atinfinity [Sun, 16 Feb 2020 16:16:33 +0000 (01:16 +0900)]
Merge pull request #16445 from atinfinity:fixed-typo

* fixed typo

* add compatibility code to handle migration

4 years agoMerge pull request #16424 from czgdp1807:issue-16370
Gagandeep Singh [Sat, 15 Feb 2020 11:12:20 +0000 (16:42 +0530)]
Merge pull request #16424 from czgdp1807:issue-16370

* fixed Split layer in ONNXImporter

* added test for fix of split layer

* fixed tests for Split layer

* applied reviews

* updated tests

* fixed paths in tests

4 years agoMerge pull request #16580 from dkurt:fix_14566
Alexander Alekhin [Fri, 14 Feb 2020 16:11:36 +0000 (16:11 +0000)]
Merge pull request #16580 from dkurt:fix_14566

4 years agoResolve #14566
Dmitry Kurtaev [Thu, 13 Feb 2020 21:21:38 +0000 (00:21 +0300)]
Resolve #14566

4 years agoMerge pull request #16559 from alalek:cmake_msvc_mp_customize
Alexander Alekhin [Thu, 13 Feb 2020 19:28:56 +0000 (19:28 +0000)]
Merge pull request #16559 from alalek:cmake_msvc_mp_customize

4 years agoMerge pull request #16567 from alalek:dnn_updates_from_openvino_2020.1
Alexander Alekhin [Wed, 12 Feb 2020 18:17:44 +0000 (18:17 +0000)]
Merge pull request #16567 from alalek:dnn_updates_from_openvino_2020.1

4 years agodnn: turn off visibility workaround for OpenVINO 2020.1
Alexander Alekhin [Wed, 12 Feb 2020 14:22:44 +0000 (17:22 +0300)]
dnn: turn off visibility workaround for OpenVINO 2020.1

4 years agodnn: use OpenVINO 2020.1 defines
Alexander Alekhin [Tue, 14 Jan 2020 13:20:12 +0000 (16:20 +0300)]
dnn: use OpenVINO 2020.1 defines

4 years agocmake: update handling of MSVC /MP flag
Alexander Alekhin [Tue, 11 Feb 2020 14:24:52 +0000 (17:24 +0300)]
cmake: update handling of MSVC /MP flag

4 years agoMerge pull request #16516 from alalek:dnn_dump_network
Alexander Alekhin [Tue, 11 Feb 2020 16:22:32 +0000 (16:22 +0000)]
Merge pull request #16516 from alalek:dnn_dump_network

4 years agoMerge pull request #16552 from dkurt:3.4_docs
Alexander Alekhin [Tue, 11 Feb 2020 10:03:12 +0000 (10:03 +0000)]
Merge pull request #16552 from dkurt:3.4_docs

4 years agoMerge pull request #16549 from rayonnant14:objdetect_QRCode_issue_memory_allocation
Alexander Alekhin [Tue, 11 Feb 2020 10:02:52 +0000 (10:02 +0000)]
Merge pull request #16549 from rayonnant14:objdetect_QRCode_issue_memory_allocation

4 years ago3.4 docs for 3.4 branch
Dmitry Kurtaev [Tue, 11 Feb 2020 06:31:16 +0000 (09:31 +0300)]
3.4 docs for 3.4 branch

4 years agofix wrong memory allocation
rayonnant14 [Mon, 10 Feb 2020 17:21:58 +0000 (20:21 +0300)]
fix wrong memory allocation

4 years agoMerge pull request #16539 from baka-gori:bugfix_cudacodec
Alexander Alekhin [Mon, 10 Feb 2020 16:28:31 +0000 (16:28 +0000)]
Merge pull request #16539 from baka-gori:bugfix_cudacodec

4 years agoMerge pull request #16531 from paroj:featlinepy
Alexander Alekhin [Mon, 10 Feb 2020 16:28:07 +0000 (16:28 +0000)]
Merge pull request #16531 from paroj:featlinepy

4 years agoMerge pull request #16527 from mshabunin:fix-msmf-fmt-34
Alexander Alekhin [Mon, 10 Feb 2020 16:27:00 +0000 (16:27 +0000)]
Merge pull request #16527 from mshabunin:fix-msmf-fmt-34

4 years agoMerge pull request #16520 from GArik:3.4
Alexander Alekhin [Mon, 10 Feb 2020 16:25:30 +0000 (16:25 +0000)]
Merge pull request #16520 from GArik:3.4

4 years agoMerge pull request #16505 from alalek:issue_16326
Alexander Alekhin [Mon, 10 Feb 2020 15:51:49 +0000 (15:51 +0000)]
Merge pull request #16505 from alalek:issue_16326

4 years agoMerge pull request #16546 from alalek:backport_16544
Alexander Alekhin [Mon, 10 Feb 2020 15:49:11 +0000 (15:49 +0000)]
Merge pull request #16546 from alalek:backport_16544

4 years agoCMAKE: more robust custom IE libraries support
Ilya Lavrenov [Fri, 7 Feb 2020 15:10:14 +0000 (18:10 +0300)]
CMAKE: more robust custom IE libraries support

backporting of commit 98d96f2cc84ea4192e278125b431eb2ced29b786

4 years agocore: export getCPUFeaturesLine to bindings
Pavel Rojtberg [Fri, 7 Feb 2020 14:59:34 +0000 (15:59 +0100)]
core: export getCPUFeaturesLine to bindings

4 years agoadd cuda 10 support
baka-gori [Sun, 9 Feb 2020 13:18:29 +0000 (22:18 +0900)]
add cuda 10 support

4 years agoMerge pull request #16473 from ashishkrshrivastava:opencvtf
Alexander Alekhin [Sun, 9 Feb 2020 08:52:24 +0000 (11:52 +0300)]
Merge pull request #16473 from ashishkrshrivastava:opencvtf

4 years agocommit: Corrected end tensor_content parsing for StridedSlice layer.
ashishiva3@gmail.com [Fri, 31 Jan 2020 19:10:03 +0000 (00:40 +0530)]
commit: Corrected end tensor_content parsing for StridedSlice layer.

4 years agoMerge pull request #16463 from alalek:core_strong_ptr_alignment
Alexander Alekhin [Sat, 8 Feb 2020 19:45:42 +0000 (19:45 +0000)]
Merge pull request #16463 from alalek:core_strong_ptr_alignment

4 years agoMerge pull request #16529 from alalek:dnn_skip_failed_ngraph_tests
Alexander Alekhin [Sat, 8 Feb 2020 18:53:10 +0000 (18:53 +0000)]
Merge pull request #16529 from alalek:dnn_skip_failed_ngraph_tests

4 years agodnn(test): skip failed ngraph tests
Alexander Alekhin [Fri, 7 Feb 2020 13:40:50 +0000 (16:40 +0300)]
dnn(test): skip failed ngraph tests

4 years agoMerge pull request #16421 from mshabunin:add-local-pool
Alexander Alekhin [Fri, 7 Feb 2020 21:44:50 +0000 (21:44 +0000)]
Merge pull request #16421 from mshabunin:add-local-pool

4 years agovideoio/MSMF: refactored format handling and selection, property reading and writing
Maksim Shabunin [Fri, 7 Feb 2020 12:03:20 +0000 (15:03 +0300)]
videoio/MSMF: refactored format handling and selection, property reading and writing

4 years agoMerge pull request #16530 from collinbrake:imread_unchanged_exif_doc
Alexander Alekhin [Fri, 7 Feb 2020 20:37:44 +0000 (20:37 +0000)]
Merge pull request #16530 from collinbrake:imread_unchanged_exif_doc

4 years agoMerge pull request #16438 from ashishkrshrivastava:opencvc
Alexander Alekhin [Fri, 7 Feb 2020 20:17:59 +0000 (23:17 +0300)]
Merge pull request #16438 from ashishkrshrivastava:opencvc

4 years agoimproved documentation for imread()
Collin Brake [Fri, 7 Feb 2020 13:54:34 +0000 (08:54 -0500)]
improved documentation for imread()

4 years agoBufferArea: initial version, usage in StereoBM
Maksim Shabunin [Thu, 23 Jan 2020 11:25:58 +0000 (14:25 +0300)]
BufferArea: initial version, usage in StereoBM

New class BufferArea is used to hide complexity of buffers allocations and allow instrumentation with valgrind and sanitizers.

4 years agoMerge pull request #16523 from collinbrake:imread_unchanged_exif_doc
Alexander Alekhin [Fri, 7 Feb 2020 10:42:39 +0000 (10:42 +0000)]
Merge pull request #16523 from collinbrake:imread_unchanged_exif_doc

4 years agoMerge pull request #16522 from alalek:dnn_build_warnings_from_ngraph
Alexander Alekhin [Fri, 7 Feb 2020 10:33:00 +0000 (10:33 +0000)]
Merge pull request #16522 from alalek:dnn_build_warnings_from_ngraph

4 years agoAdded parsing for Connected and Dropout. Modified maxpool padding
ashishiva3@gmail.com [Sun, 26 Jan 2020 11:32:13 +0000 (17:02 +0530)]
Added parsing for Connected and Dropout. Modified maxpool padding

4 years agoimproved documentation for IMREAD_UNCHANGED flag
Collin Brake [Thu, 6 Feb 2020 22:49:14 +0000 (17:49 -0500)]
improved documentation for IMREAD_UNCHANGED flag

4 years agodnn: eliminate MSVC warnings from ngraph.hpp
Alexander Alekhin [Thu, 6 Feb 2020 19:35:11 +0000 (22:35 +0300)]
dnn: eliminate MSVC warnings from ngraph.hpp

4 years agoMerge pull request #16509 from omasaht:imwrite-throwerr-permissiondenied
Alexander Alekhin [Thu, 6 Feb 2020 19:32:09 +0000 (19:32 +0000)]
Merge pull request #16509 from omasaht:imwrite-throwerr-permissiondenied

4 years agoInstall all CMake files required to build samples
Igor Murzov [Thu, 6 Feb 2020 15:04:09 +0000 (18:04 +0300)]
Install all CMake files required to build samples

CMakeLists.txt includes samples_utils.cmake, so the later should be
installed as well to make samples build successfully

4 years agoMerge pull request #16518 from asmorkalov:as/gstreamer_docs
Alexander Alekhin [Thu, 6 Feb 2020 11:38:27 +0000 (11:38 +0000)]
Merge pull request #16518 from asmorkalov:as/gstreamer_docs

4 years agoImproved GStreamer documentation.
Alexander Smorkalov [Thu, 6 Feb 2020 09:51:09 +0000 (12:51 +0300)]
Improved GStreamer documentation.

4 years agodnn: auto network dump through parameter
Alexander Alekhin [Wed, 5 Feb 2020 21:20:10 +0000 (21:20 +0000)]
dnn: auto network dump through parameter

4 years agodnn: don't require setInput in .dump()
Alexander Alekhin [Wed, 5 Feb 2020 19:22:37 +0000 (19:22 +0000)]
dnn: don't require setInput in .dump()

4 years agoIf applied, this commit will describe permission denied message in imwrite_ function...
Omar Hassan [Wed, 5 Feb 2020 09:16:45 +0000 (14:16 +0500)]
If applied, this commit will describe permission denied message in imwrite_ function when user does not have write permission

4 years agoMerge pull request #16490 from dkurt:dnn_refactor_resize
Alexander Alekhin [Tue, 4 Feb 2020 16:45:35 +0000 (16:45 +0000)]
Merge pull request #16490 from dkurt:dnn_refactor_resize

4 years agoMerge pull request #16504 from alalek:issue_16501
Alexander Alekhin [Tue, 4 Feb 2020 16:39:17 +0000 (16:39 +0000)]
Merge pull request #16504 from alalek:issue_16501

4 years agoMerge pull request #16495 from vpisarev:drawing_aa_border_fix
Vadim Pisarevsky [Tue, 4 Feb 2020 16:37:33 +0000 (19:37 +0300)]
Merge pull request #16495 from vpisarev:drawing_aa_border_fix

* fixed antialiased line rendering to process image border correctly

* fixed warning on Windows

* imgproc(test): circle drawing regression

4 years agoMerge pull request #16491 from rayonnant14:objdetect_decodeMulti_issue
Polina Smolnikova [Tue, 4 Feb 2020 16:31:11 +0000 (19:31 +0300)]
Merge pull request #16491 from rayonnant14:objdetect_decodeMulti_issue

* fixed issue with Mat reshape in decodeMulti()

* added test for decodeMulti

* used assign

4 years agocmake: hide IPPICV symbols using --exclude-libs
Alexander Alekhin [Tue, 4 Feb 2020 15:10:00 +0000 (18:10 +0300)]
cmake: hide IPPICV symbols using --exclude-libs

4 years agoimgproc(resize): drop optimization for channels>4
Alexander Alekhin [Tue, 4 Feb 2020 14:14:52 +0000 (17:14 +0300)]
imgproc(resize): drop optimization for channels>4

4 years agoMerge pull request #16499 from ankit6979:3.4
ankit6979 [Tue, 4 Feb 2020 12:22:18 +0000 (17:52 +0530)]
Merge pull request #16499 from ankit6979:3.4

* Update py_thresholding.markdown

* :memo: Update py_thresholding.markdown

4 years agoMerge pull request #16502 from tomoaki0705:fixTypo
Alexander Alekhin [Tue, 4 Feb 2020 12:18:50 +0000 (12:18 +0000)]
Merge pull request #16502 from tomoaki0705:fixTypo

4 years agoMerge pull request #16493 from vpisarev:bordertype_sgbm_doc_fixes
Vadim Pisarevsky [Tue, 4 Feb 2020 11:30:16 +0000 (14:30 +0300)]
Merge pull request #16493 from vpisarev:bordertype_sgbm_doc_fixes

* added note about BORDER_TYPE in separable filters; fixed SGBMStereo description

* added # to BORDER_ constants to generate hyperlinks

4 years agoapply to correct range (entire 3.0 and 4.0 series)
Tomoaki Teshima [Tue, 4 Feb 2020 09:49:19 +0000 (18:49 +0900)]
apply to correct range (entire 3.0 and 4.0 series)

4 years agoFix dnn::ResizeLayer to manage varying input shapes
Dmitry Kurtaev [Mon, 3 Feb 2020 15:54:59 +0000 (18:54 +0300)]
Fix dnn::ResizeLayer to manage varying input shapes

4 years agoMerge pull request #16483 from saskatchewancatch:issue-16458
Alexander Alekhin [Mon, 3 Feb 2020 13:49:21 +0000 (13:49 +0000)]
Merge pull request #16483 from saskatchewancatch:issue-16458

4 years agoMerge pull request #15464 from tallestorange:3.4
Alexander Alekhin [Mon, 3 Feb 2020 12:54:03 +0000 (12:54 +0000)]
Merge pull request #15464 from tallestorange:3.4

4 years agofixed incorrect dump of the pixel format
Vadim Pisarevsky [Mon, 3 Feb 2020 10:22:56 +0000 (13:22 +0300)]
fixed incorrect dump of the pixel format

4 years agoGCC 10 warnings not caught by CMake ignore regex
Rajkiran Natarajan [Mon, 3 Feb 2020 06:39:14 +0000 (06:39 +0000)]
GCC 10 warnings not caught by CMake ignore regex

4 years agoMerge pull request #16479 from StefanBruens:fix_gles_glx_h_include
StefanBruens [Sun, 2 Feb 2020 13:29:04 +0000 (14:29 +0100)]
Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include

Fix compilation errors on GLES platforms

* Do not include glx.h when using GLES

GL/glx.h is included on all LINUX plattforms, which is wrong
for a number of reasons:

- GL_PERSPECTIVE_CORRECTION_HINT is defined in GL/gl.h, so we
  want gl.h not glx.h, the latter just includes the former
- GL/gl.h is a Desktop GL header, and should not be included
  on GLES plattforms
- GL/gl.h is already included via QtOpenGL ->
  QtGui/qopengl.h on desktop plattforms

This fixes a problem when Qt is compiled with GLES, which
is often done on ARM platforms where desktop GL is not or
only poorly supported (e.g. slow due to emulation).

Fixes part of #9171.

* Only set GL_PERSPECTIVE_CORRECTION_HINT when GL version defines it

GL_PERSPECTIVE_CORRECTION_HINT does not exist in GLES 2.0/3.x,
and has been deprecated in OpenGL 3.0 core profiles.

Fixes part of #9171.

4 years agoMerge pull request #16474 from gapry:issue_16336
Alexander Alekhin [Sat, 1 Feb 2020 17:22:12 +0000 (17:22 +0000)]
Merge pull request #16474 from gapry:issue_16336

4 years agoMerge pull request #16366 from themechanicalcoder:features2D-tutorial-python
Gourav Roy [Sat, 1 Feb 2020 17:20:00 +0000 (22:50 +0530)]
Merge pull request #16366 from themechanicalcoder:features2D-tutorial-python

* Add python version of panorama_stitching_rotating_camera and perspective_correction

* Updated code

* added in the docs

* added python code in the docs

* docs change

* Add java tutorial as well

* Add toggle in documentation

* Added the link for Java code

* format code

* Refactored code

4 years agoFixed Compilation warnings | Issue #16336
gapry [Fri, 31 Jan 2020 15:33:32 +0000 (23:33 +0800)]
Fixed Compilation warnings | Issue #16336