platform/upstream/opencv.git
4 years agoMerge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml
hannesa2 [Mon, 3 Feb 2020 13:34:03 +0000 (14:34 +0100)]
Merge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml

* delete old AndroidManifrst.xml

* fix tutorial generation

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 1 Feb 2020 17:25:39 +0000 (17:25 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

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

4 years agoMerge pull request #15993 from midjji:master
midjji [Fri, 31 Jan 2020 14:50:21 +0000 (15:50 +0100)]
Merge pull request #15993 from midjji:master

This is a correction of the previously missleading documentation and a warning related to a common calibration failure described in issue 15992

* corrected incorrect description of failed calibration state.

see issue 15992

* calib3d: apply suggestions from code review by catree

4 years agoMerge pull request #16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup
Alexander Alekhin [Fri, 31 Jan 2020 13:08:43 +0000 (13:08 +0000)]
Merge pull request #16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup

4 years agoMerge pull request #16118 from smirnov-alexey:as/gopaque
Alexey Smirnov [Thu, 30 Jan 2020 18:08:11 +0000 (21:08 +0300)]
Merge pull request #16118 from smirnov-alexey:as/gopaque

G-API: GOpaque implementation

* Stub initial copypasted solution

* Fix mov test and add a couple of others

* Fix warnings

* More code coverage and tests

* fix macos warning

* address review comments

* Address review comments and fix indentation

* Fix build on armv7

4 years agoMerge pull request #16459 from nh2:patch-1
Alexander Alekhin [Thu, 30 Jan 2020 14:25:18 +0000 (14:25 +0000)]
Merge pull request #16459 from nh2:patch-1

4 years agoMerge pull request #16220 from YashasSamaga:cuda4dnn-roi-pooling-test_fix-optim
Alexander Alekhin [Wed, 29 Jan 2020 20:57:14 +0000 (20:57 +0000)]
Merge pull request #16220 from YashasSamaga:cuda4dnn-roi-pooling-test_fix-optim

4 years agoMerge pull request #16415 from arnaudbrejeon:bug_fix_16410
Arnaud Brejeon [Wed, 29 Jan 2020 20:55:43 +0000 (12:55 -0800)]
Merge pull request #16415 from arnaudbrejeon:bug_fix_16410

* Fix bug 16410 and add test

* imgproc(connectedcomponents): avoid manual uninitialized allocations

* imgproc(connectedcomponents): force 'odd' chunk range size

* imgproc(connectedcomponents): reuse stripeFirstLabel{4/8}Connectivity

* imgproc(connectedcomponents): extend fix from PR14964

4 years agoMerge pull request #16452 from alalek:objdetect_align_with_master
Alexander Alekhin [Wed, 29 Jan 2020 16:12:31 +0000 (16:12 +0000)]
Merge pull request #16452 from alalek:objdetect_align_with_master

4 years agoMerge pull request #16461 from seiko2plus:issue16455
Alexander Alekhin [Wed, 29 Jan 2020 15:56:59 +0000 (15:56 +0000)]
Merge pull request #16461 from seiko2plus:issue16455

4 years agocvdef.h: Don't use C's limits.h under C++
Niklas Hambüchen [Wed, 29 Jan 2020 01:39:33 +0000 (02:39 +0100)]
cvdef.h: Don't use C's limits.h under C++

Just like with the other headers in the rest of the file.

See e.g. https://stackoverflow.com/questions/36831465/what-difference-does-it-make-when-i-include-limits-or-limits-h-in-my-c-cod
for the reasons, the most important one being that limits.h does not respect
namespaces, which can make problems for downstream consumers of cvdef.h.

4 years agocore:vsx workaround for the unexpected results of `vec_vbpermq` in gcc4.9
Sayed Adel [Wed, 29 Jan 2020 12:20:55 +0000 (14:20 +0200)]
core:vsx workaround for the unexpected results of `vec_vbpermq` in gcc4.9

4 years agoMerge pull request #15714 from neurodroid:patch-1
Alexander Alekhin [Wed, 29 Jan 2020 10:54:22 +0000 (10:54 +0000)]
Merge pull request #15714 from neurodroid:patch-1

4 years agoMerge pull request #16453 from seiko2plus:issue16448
Alexander Alekhin [Wed, 29 Jan 2020 10:34:17 +0000 (10:34 +0000)]
Merge pull request #16453 from seiko2plus:issue16448

4 years agoMerge pull request #16248 from cudawarped:fix_python_cudawarping_cudaarithm
cudawarped [Wed, 29 Jan 2020 09:54:02 +0000 (09:54 +0000)]
Merge pull request #16248 from cudawarped:fix_python_cudawarping_cudaarithm

* Move python CUDA  tests to the contrib repo.

4 years agocore:vsx fix inline asm constraints
Sayed Adel [Tue, 28 Jan 2020 13:16:48 +0000 (15:16 +0200)]
core:vsx fix inline asm constraints

  generalize constraints to 'wa' for VSX registers

4 years agoobjdetect(QR): don't introduce deprecated API, compatibility code
Alexander Alekhin [Tue, 28 Jan 2020 12:20:37 +0000 (15:20 +0300)]
objdetect(QR): don't introduce deprecated API, compatibility code

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 28 Jan 2020 10:16:03 +0000 (13:16 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16338 from alalek:abi_checker_exclude_modules
Alexander Alekhin [Tue, 28 Jan 2020 09:58:45 +0000 (12:58 +0300)]
Merge pull request #16338 from alalek:abi_checker_exclude_modules

4 years agoMerge pull request #16423 from alalek:issue_16321
Alexander Alekhin [Tue, 28 Jan 2020 09:57:48 +0000 (09:57 +0000)]
Merge pull request #16423 from alalek:issue_16321

4 years agoMerge pull request #16223 from l-bat:lip_jppnet
Alexander Alekhin [Mon, 27 Jan 2020 19:17:43 +0000 (19:17 +0000)]
Merge pull request #16223 from l-bat:lip_jppnet

4 years agoFix indentation
Liubov Batanina [Mon, 27 Jan 2020 14:59:58 +0000 (17:59 +0300)]
Fix indentation

4 years agoMerge pull request #16441 from alalek:abi_checker_exclude_modules_3.4
Alexander Alekhin [Mon, 27 Jan 2020 13:26:23 +0000 (13:26 +0000)]
Merge pull request #16441 from alalek:abi_checker_exclude_modules_3.4

4 years agoMove instruction
Liubov Batanina [Mon, 27 Jan 2020 13:18:14 +0000 (16:18 +0300)]
Move instruction

4 years agocmake: support OPENCV_ABI_SKIP_MODULES_LIST
Alexander Alekhin [Mon, 13 Jan 2020 14:09:24 +0000 (17:09 +0300)]
cmake: support OPENCV_ABI_SKIP_MODULES_LIST

backporting of commit f163778da7132304ad9f1bf3f3743660042ba406

4 years agoChange link
Liubov Batanina [Mon, 27 Jan 2020 07:07:48 +0000 (10:07 +0300)]
Change link

4 years agoMerge pull request #15338 from rayonnant14:my_detect_and_decode_3.4
Polina Smolnikova [Sun, 26 Jan 2020 19:18:42 +0000 (22:18 +0300)]
Merge pull request #15338 from rayonnant14:my_detect_and_decode_3.4

QR-Code detector : multiple detection

* change in qr-codes detection

* change in qr-codes detection

* change in test

* change in test

* add multiple detection

* multiple detection

* multiple detect

* add parallel implementation

* add functional for performance tests

* change in test

* add perftest

* returned implementation for 1 qr-code, added support for vector<Mat> and vector<vector<Point2f>> in MultipleDetectAndDecode

* deleted all lambda expressions

* changing in triangle sort

* fixed warnings

* fixed errors

* add java and python tests

* change in java tests

* change in java and python tests

* change in perf test

* change in qrcode.cpp

* add spaces

* change in qrcode.cpp

* change in qrcode.cpp

* change in qrcode.cpp

* change in java tests

* change in java tests

* solved problems

* solved problems

* change in java and python tests

* change in python tests

* change in python tests

* change in python tests

* change in methods name

* deleted sample qrcode_multi, change in qrcode.cpp

* change in perf tests

* change in objdetect.hpp

* deleted code duplication in sample qrcode.cpp

* returned spaces

* added spaces

* deleted draw function

* change in qrcode.cpp

* change in qrcode.cpp

* deleted all draw functions

* objdetect(QR): extractVerticalLines

* objdetect(QR): whitespaces

* objdetect(QR): simplify operations, avoid duplicated code

* change in interface, additional checks in java and python tests, added new key in sample for saving original image from camera

* fix warnings and errors in python test

* fix

* write in file with space key

* solved error with empty mat check in python test

* correct path to test image

* deleted spaces

* solved error with check empty mat in python tests

* added check of empty vector of points

* samples: rework qrcode.cpp

* objdetect(QR): fix API, input parameters must be first

* objdetect(QR): test/fix points layout

4 years agoMerge pull request #16434 from alalek:fix_build_i386
Alexander Alekhin [Sun, 26 Jan 2020 07:21:59 +0000 (07:21 +0000)]
Merge pull request #16434 from alalek:fix_build_i386

4 years agoMerge pull request #16422 from alalek:issue_16419
Alexander Alekhin [Sun, 26 Jan 2020 07:21:05 +0000 (07:21 +0000)]
Merge pull request #16422 from alalek:issue_16419

4 years agoMerge pull request #16413 from l-bat:ngraph_deconv
Alexander Alekhin [Sun, 26 Jan 2020 07:19:58 +0000 (07:19 +0000)]
Merge pull request #16413 from l-bat:ngraph_deconv

4 years agoMerge pull request #16190 from pletessier:videocapture_skip_frames
Pierre Letessier [Sun, 26 Jan 2020 07:19:09 +0000 (08:19 +0100)]
Merge pull request #16190 from pletessier:videocapture_skip_frames

Videocapture skip frames

* enable skipping frames

* update videoio_skip test

4 years agocore(build): fix i386 compilation
Alexander Alekhin [Sun, 26 Jan 2020 00:00:25 +0000 (00:00 +0000)]
core(build): fix i386 compilation

4 years agoMerge pull request #16418 from l-bat:ngraph_logsoftmax
Alexander Alekhin [Fri, 24 Jan 2020 21:46:28 +0000 (21:46 +0000)]
Merge pull request #16418 from l-bat:ngraph_logsoftmax

4 years agoMerge pull request #16170 from themechanicalcoder:tutorial_1
Alexander Alekhin [Fri, 24 Jan 2020 21:26:18 +0000 (21:26 +0000)]
Merge pull request #16170 from themechanicalcoder:tutorial_1

4 years agoMerge pull request #16374 from alalek:imgproc_dispatch_sumpixels
Alexander Alekhin [Fri, 24 Jan 2020 21:21:48 +0000 (21:21 +0000)]
Merge pull request #16374 from alalek:imgproc_dispatch_sumpixels

4 years agoMerge pull request #16375 from ChipKerchner:vectorizeMultTranspose
Chip Kerchner [Fri, 24 Jan 2020 15:00:49 +0000 (10:00 -0500)]
Merge pull request #16375 from ChipKerchner:vectorizeMultTranspose

* Reduce LLC loads, stores and multiplies on MulTransposed - 8% faster on VSX

* Add is_same method so c++11 is not required

* Remove trailing whitespaces.

* Change is_same to DataType depth check

4 years agoMerge pull request #16414 from alalek:samples_fix_async
Alexander Alekhin [Fri, 24 Jan 2020 14:57:24 +0000 (14:57 +0000)]
Merge pull request #16414 from alalek:samples_fix_async

4 years agogapi(test): update test tolerance for DIV operation on ARM
Alexander Alekhin [Fri, 24 Jan 2020 11:20:08 +0000 (14:20 +0300)]
gapi(test): update test tolerance for DIV operation on ARM

4 years agocmake: reuse OpenCV NEON detection in carotene
Alexander Alekhin [Fri, 24 Jan 2020 12:23:50 +0000 (15:23 +0300)]
cmake: reuse OpenCV NEON detection in carotene

- use carotene if NEON available only

4 years agoUpdate sample
Liubov Batanina [Fri, 24 Jan 2020 13:30:10 +0000 (16:30 +0300)]
Update sample

4 years agoMerge pull request #16356 from alalek:dnn_ie_prevent_plugins_unloading
Alexander Alekhin [Fri, 24 Jan 2020 12:07:05 +0000 (12:07 +0000)]
Merge pull request #16356 from alalek:dnn_ie_prevent_plugins_unloading

4 years agoMerge pull request #16409 from smirnov-alexey:as/gapi_fix_standalone_streaming
Alexander Alekhin [Fri, 24 Jan 2020 08:47:57 +0000 (08:47 +0000)]
Merge pull request #16409 from smirnov-alexey:as/gapi_fix_standalone_streaming

4 years agoFix diff
Liubov Batanina [Fri, 24 Jan 2020 08:00:06 +0000 (11:00 +0300)]
Fix diff

4 years agosamples(dnn): avoid 'async' keyword (Python 3.7+)
Alexander Alekhin [Thu, 23 Jan 2020 15:43:36 +0000 (18:43 +0300)]
samples(dnn): avoid 'async' keyword (Python 3.7+)

4 years agoSupport logSoftMax
Liubov Batanina [Thu, 23 Jan 2020 12:32:16 +0000 (15:32 +0300)]
Support logSoftMax

4 years agoMerge pull request #16405 from ganesh-k13:bugfix/solvepnp-crash
Ganesh Kathiresan [Thu, 23 Jan 2020 12:23:03 +0000 (17:53 +0530)]
Merge pull request #16405 from ganesh-k13:bugfix/solvepnp-crash

Added type check for solvePnPGeneric | Issue: #16049

* Added type check

* Added checks before type fix

* Tests for 16049

* calib3d: update solvePnP regression check (16049)

4 years agoExtend nGraph Deconvolution layer support
Liubov Batanina [Thu, 23 Jan 2020 12:10:42 +0000 (15:10 +0300)]
Extend nGraph Deconvolution layer support

4 years agoRefactoring
Liubov Batanina [Wed, 22 Jan 2020 14:36:17 +0000 (17:36 +0300)]
Refactoring

4 years agoMade automated triggering for ARAVIS cameras optional.
Alexander Smorkalov [Thu, 23 Jan 2020 05:59:01 +0000 (08:59 +0300)]
Made automated triggering for ARAVIS cameras optional.

4 years agoAdded tutorial for text skewness correction in C++ and Python.
Gourav Roy [Mon, 16 Dec 2019 05:42:32 +0000 (11:12 +0530)]
Added tutorial for text skewness correction in C++ and Python.

4 years agoMerge pull request #16396 from miguelps:android_modules
Alexander Alekhin [Wed, 22 Jan 2020 19:59:10 +0000 (19:59 +0000)]
Merge pull request #16396 from miguelps:android_modules

4 years agodnn: prevent unloading of InferenceEngine plugins
Alexander Alekhin [Wed, 15 Jan 2020 12:54:18 +0000 (15:54 +0300)]
dnn: prevent unloading of InferenceEngine plugins

4 years agofeat(android): add support for android modules selection
Miguel Pari Soto [Wed, 22 Jan 2020 14:48:33 +0000 (11:48 -0300)]
feat(android): add support for android modules selection

4 years agoFix linkage in standalone mode
Smirnov Alexey [Wed, 22 Jan 2020 14:51:16 +0000 (17:51 +0300)]
Fix linkage in standalone mode

4 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 22 Jan 2020 13:58:30 +0000 (16:58 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

4 years agoMerge pull request #16408 from alalek:dnn_test_tolerance_myriad
Alexander Alekhin [Wed, 22 Jan 2020 13:56:15 +0000 (13:56 +0000)]
Merge pull request #16408 from alalek:dnn_test_tolerance_myriad

4 years agoMerge pull request #16146 from pmur:reg_16137x2
Alexander Alekhin [Wed, 22 Jan 2020 13:53:51 +0000 (13:53 +0000)]
Merge pull request #16146 from pmur:reg_16137x2

4 years agoFix comments
Liubov Batanina [Wed, 22 Jan 2020 11:57:54 +0000 (14:57 +0300)]
Fix comments

4 years agodnn(test): adjust test tolerance for MYRIAD
Alexander Alekhin [Wed, 22 Jan 2020 11:42:52 +0000 (14:42 +0300)]
dnn(test): adjust test tolerance for MYRIAD

4 years agoFix axis
Liubov Batanina [Wed, 22 Jan 2020 10:36:29 +0000 (13:36 +0300)]
Fix axis

4 years agoMerge pull request #16358 from ashishkrshrivastava:opencv-2
Alexander Alekhin [Wed, 22 Jan 2020 09:57:41 +0000 (09:57 +0000)]
Merge pull request #16358 from ashishkrshrivastava:opencv-2

4 years agoVideoIO classes refactoring
Vadim Levin [Fri, 27 Dec 2019 09:42:09 +0000 (12:42 +0300)]
VideoIO classes refactoring

  - Added `explicit` to `VideoCapture` constructors with 2
    arguments, 1 of them has default value
  - Applied library code style
  - Introduced 2 debug macros to improve readability of the code

4 years agoRefactoring
Liubov Batanina [Wed, 22 Jan 2020 07:52:40 +0000 (10:52 +0300)]
Refactoring

4 years agoMerge pull request #16400 from alalek:issue_7001
Alexander Alekhin [Tue, 21 Jan 2020 19:16:39 +0000 (19:16 +0000)]
Merge pull request #16400 from alalek:issue_7001

4 years agoMerge pull request #16393 from alalek:build_videoio_fix_15020
Alexander Alekhin [Tue, 21 Jan 2020 19:16:00 +0000 (19:16 +0000)]
Merge pull request #16393 from alalek:build_videoio_fix_15020

4 years agocmake: apply '-Wl,--as-needed' linker option
Alexander Alekhin [Tue, 21 Jan 2020 14:19:30 +0000 (17:19 +0300)]
cmake: apply '-Wl,--as-needed' linker option

4 years agoMerge pull request #16391 from l-bat:ngraph_lrn
Alexander Alekhin [Tue, 21 Jan 2020 10:08:54 +0000 (10:08 +0000)]
Merge pull request #16391 from l-bat:ngraph_lrn

4 years agoFix comment
Liubov Batanina [Tue, 21 Jan 2020 07:28:50 +0000 (10:28 +0300)]
Fix comment

4 years agoSupport lrn with SPATIAL_NRM
Liubov Batanina [Mon, 20 Jan 2020 14:07:35 +0000 (17:07 +0300)]
Support lrn with SPATIAL_NRM

4 years agoUpdate check params
Liubov Batanina [Tue, 21 Jan 2020 07:09:24 +0000 (10:09 +0300)]
Update check params

4 years agoMerge pull request #16389 from alalek:core_fix_msa_build
Alexander Alekhin [Mon, 20 Jan 2020 16:31:38 +0000 (16:31 +0000)]
Merge pull request #16389 from alalek:core_fix_msa_build

4 years agobuild: workaround for FORTIFY_SOURCE=2 builds on Alpine
Alexander Alekhin [Mon, 20 Jan 2020 14:45:56 +0000 (17:45 +0300)]
build: workaround for FORTIFY_SOURCE=2 builds on Alpine

4 years agoRemove useless condition
Liubov Batanina [Mon, 20 Jan 2020 14:31:58 +0000 (17:31 +0300)]
Remove useless condition

4 years agoAdd global pool flags
Liubov Batanina [Mon, 20 Jan 2020 12:03:17 +0000 (15:03 +0300)]
Add global pool flags

4 years agocore(SIMD): fix MSA build - add v_reduce_min/max for u8/s8
Alexander Alekhin [Mon, 20 Jan 2020 12:08:51 +0000 (15:08 +0300)]
core(SIMD): fix MSA build - add v_reduce_min/max for u8/s8

4 years agoMerge pull request #16309 from ganesh-k13:bugfix/imdecode-resize
Ganesh Kathiresan [Mon, 20 Jan 2020 11:00:45 +0000 (16:30 +0530)]
Merge pull request #16309 from ganesh-k13:bugfix/imdecode-resize

* Added flag handlers for imread and imdecode | Issue 16203

Undo imread change

Added Imread resize tests

Added imdecode flags check

Added imdecode tests for resize

Removed trailing whitespace

Removed IMREAD_IGNORE_ORIENTATION check

Added else condition

Removed IMREAD_IGNORE_ORIENTATION check in decode

Added HAVE_JPEG guards

Added static_cast for Win32

Added resize for non jpegs

Added tests for non jpeg resize case

Fixed resize value in assert

Changed tests to Value-Parameterized Tests

Changed tests to Value-Parameterized Tests | handled >> in cpp

Changed tests to Value-Parameterized Tests | removed trailing whitespace

* imgcodecs: update test

4 years agoMerge pull request #16385 from alalek:ts_update_optional_message
Alexander Alekhin [Mon, 20 Jan 2020 10:54:40 +0000 (10:54 +0000)]
Merge pull request #16385 from alalek:ts_update_optional_message

4 years agoMerge pull request #16378 from alalek:dnn_getMemoryShapes_error_dump_blobs
Alexander Alekhin [Mon, 20 Jan 2020 10:49:17 +0000 (10:49 +0000)]
Merge pull request #16378 from alalek:dnn_getMemoryShapes_error_dump_blobs

4 years agoMerge pull request #16377 from alalek:fix_16373
Alexander Alekhin [Mon, 20 Jan 2020 10:48:21 +0000 (10:48 +0000)]
Merge pull request #16377 from alalek:fix_16373

4 years agoFix demo
Liubov Batanina [Mon, 20 Jan 2020 07:22:01 +0000 (10:22 +0300)]
Fix demo

4 years agoConvolutional padding parsing modified
ashishiva3@gmail.com [Wed, 15 Jan 2020 13:31:01 +0000 (19:01 +0530)]
Convolutional padding parsing modified

4 years agots: move message about misused 'optional' under the configuration parameter
Alexander Alekhin [Sun, 19 Jan 2020 16:09:40 +0000 (16:09 +0000)]
ts: move message about misused 'optional' under the configuration parameter

4 years agoMerge pull request #15929 from sturkmen72:patch-3
Alexander Alekhin [Sun, 19 Jan 2020 12:45:28 +0000 (12:45 +0000)]
Merge pull request #15929 from sturkmen72:patch-3

4 years agoMerge pull request #16372 from alalek:backport_16350
Alexander Alekhin [Sat, 18 Jan 2020 17:57:46 +0000 (17:57 +0000)]
Merge pull request #16372 from alalek:backport_16350

4 years agoMerge pull request #16350 from hannesa2:fixLintIssuesAndroid
Alexander Alekhin [Sat, 18 Jan 2020 17:57:02 +0000 (17:57 +0000)]
Merge pull request #16350 from hannesa2:fixLintIssuesAndroid

4 years agoMerge pull request #15488 from ChipKerchner:vectorizeMinMax2
Chip Kerchner [Fri, 17 Jan 2020 16:37:35 +0000 (11:37 -0500)]
Merge pull request #15488 from ChipKerchner:vectorizeMinMax2

Vectorize minMaxIdx functions

* Updated documentation and intrinsic tests for v_reduce

* Add other files back in from the forced push

* Prevent an constant overflow with v_reduce for int8 type

* Another alternative to fix constant overflow warning.

* Fix another compiler warning.

* Update comments and change comparison form to be consistent with other vectorized loops.

* Change return type of v_reduce_min & max for v_uint8 and v_uint16 to be same as lane type.

* Cast v_reduce functions to int to avoid overflow. Reduce number of parameters in MINMAXIDX_REDUCE macro.

* Restore cast type for v_reduce_min & max to LaneType

4 years agoMerge pull request #16273 from JulienMaille:wrapper_available_target
Julien [Fri, 17 Jan 2020 16:24:37 +0000 (17:24 +0100)]
Merge pull request #16273 from JulienMaille:wrapper_available_target

* add a wrapper for getAvailableTargets

* add java wrapper on Target enum

4 years agodnn(onnx): handle unaligned access in ONNX importer
Alexander Alekhin [Fri, 17 Jan 2020 13:38:58 +0000 (16:38 +0300)]
dnn(onnx): handle unaligned access in ONNX importer

4 years agoMerge pull request #16376 from JulienMaille:cuda-dnn-for-older-gpus
Alexander Alekhin [Fri, 17 Jan 2020 15:42:50 +0000 (15:42 +0000)]
Merge pull request #16376 from JulienMaille:cuda-dnn-for-older-gpus

4 years agoimgproc: dispatch sumpixels (integral)
Alexander Alekhin [Fri, 17 Jan 2020 13:54:08 +0000 (16:54 +0300)]
imgproc: dispatch sumpixels (integral)

4 years agoimgproc: rename sumpixels.avx512_skx.{cpp,hpp}
Alexander Alekhin [Fri, 17 Jan 2020 13:49:46 +0000 (16:49 +0300)]
imgproc: rename sumpixels.avx512_skx.{cpp,hpp}

4 years agoFIX: disable dnn cuda input_shortcut on _half for CC<5.3
Julien Maille [Fri, 17 Jan 2020 13:21:25 +0000 (14:21 +0100)]
FIX: disable dnn cuda input_shortcut on _half for CC<5.3

4 years agofix lint errors and warnings ins Android samples
Hannes Achleitner [Wed, 15 Jan 2020 05:29:49 +0000 (06:29 +0100)]
fix lint errors and warnings ins Android samples

backporting of commit 4057e81b7649d8d814908157478456c6889271cd

4 years agoMerge pull request #16367 from dkurt:dnn_ie_ngraph_mvn
Alexander Alekhin [Fri, 17 Jan 2020 09:12:36 +0000 (09:12 +0000)]
Merge pull request #16367 from dkurt:dnn_ie_ngraph_mvn

4 years agoMerge pull request #16369 from kraj:gcc10
Alexander Alekhin [Fri, 17 Jan 2020 08:58:19 +0000 (08:58 +0000)]
Merge pull request #16369 from kraj:gcc10

4 years agoMerge pull request #16294 from h6197627:master
Alexander Alekhin [Fri, 17 Jan 2020 08:53:09 +0000 (08:53 +0000)]
Merge pull request #16294 from h6197627:master

4 years agocmake: fix Linux system OpenEXR detection
h6197627 [Mon, 6 Jan 2020 13:52:40 +0000 (15:52 +0200)]
cmake: fix Linux system OpenEXR detection