platform/upstream/opencv.git
2 years agoMerge pull request #20245 from dbudniko:dbudniko/mtcnn_roi_size_hotfix
Dmitry Budnikov [Wed, 9 Jun 2021 10:28:32 +0000 (13:28 +0300)]
Merge pull request #20245 from dbudniko:dbudniko/mtcnn_roi_size_hotfix

Hot fix negative MTCNN PNet ROI coordinates

* fix negative roi start

* some more experiments

* clean up

2 years agopython(loader): add workaround to detect and patch sys.path[0]
Alexander Alekhin [Wed, 9 Jun 2021 09:51:07 +0000 (09:51 +0000)]
python(loader): add workaround to detect and patch sys.path[0]

2 years agohighgui(gtk): fix initialization order of global objects
Alexander Alekhin [Wed, 9 Jun 2021 09:04:29 +0000 (09:04 +0000)]
highgui(gtk): fix initialization order of global objects

2 years agohighgui: update error messages if no builtin backend
Alexander Alekhin [Wed, 9 Jun 2021 08:36:32 +0000 (08:36 +0000)]
highgui: update error messages if no builtin backend

2 years agohighgui: force loading of imgcodecs module
Alexander Alekhin [Wed, 9 Jun 2021 08:34:58 +0000 (08:34 +0000)]
highgui: force loading of imgcodecs module

- required for plugins on Linux (they use imwrite, but there is no link dependency)

2 years agocore: fix nSize initialization in cvIplImage()
Alexander Alekhin [Wed, 9 Jun 2021 07:31:38 +0000 (07:31 +0000)]
core: fix nSize initialization in cvIplImage()

2 years agoMerge pull request #20244 from alalek:update_ffmpeg_4.x
Alexander Alekhin [Tue, 8 Jun 2021 19:23:25 +0000 (19:23 +0000)]
Merge pull request #20244 from alalek:update_ffmpeg_4.x

2 years agoMerge pull request #20221 from komakai:java-at-function
Alexander Alekhin [Tue, 8 Jun 2021 18:45:38 +0000 (18:45 +0000)]
Merge pull request #20221 from komakai:java-at-function

2 years agoMerge pull request #20220 from komakai:swift-at-function
Alexander Alekhin [Tue, 8 Jun 2021 18:45:20 +0000 (18:45 +0000)]
Merge pull request #20220 from komakai:swift-at-function

2 years agovideoio(test): skip AV1 HW tests
Alexander Alekhin [Tue, 8 Jun 2021 17:25:09 +0000 (17:25 +0000)]
videoio(test): skip AV1 HW tests

- FFMPEG: "[av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding."

2 years agoMerge pull request #20243 from APrigarina:fix_tracking_api
Anna Prigarina [Tue, 8 Jun 2021 15:46:57 +0000 (18:46 +0300)]
Merge pull request #20243 from APrigarina:fix_tracking_api

Tracking API: fix incorrect structure

* fix incorrect structure of best score id

* video(DaSiamRPN): specify sizes of scalar arrays

2 years agoMerge pull request #20138 from YashasSamaga:cuda4dnn-runtime-matmul
Alexander Alekhin [Tue, 8 Jun 2021 14:47:17 +0000 (14:47 +0000)]
Merge pull request #20138 from YashasSamaga:cuda4dnn-runtime-matmul

2 years agoffmpeg/4.x: update FFmpeg wrapper 2021.06
Alexander Alekhin [Tue, 8 Jun 2021 14:18:24 +0000 (14:18 +0000)]
ffmpeg/4.x: update FFmpeg wrapper 2021.06

- FFmpeg 4.4
- libvpx 1.10.0

2 years agoMerge pull request #20242 from alalek:update_version_4.5.3-pre
Alexander Alekhin [Tue, 8 Jun 2021 13:54:50 +0000 (13:54 +0000)]
Merge pull request #20242 from alalek:update_version_4.5.3-pre

2 years agoMake Kotlin plugin version compatible with the Gradle version
Giles Payne [Tue, 8 Jun 2021 13:51:07 +0000 (22:51 +0900)]
Make Kotlin plugin version compatible with the Gradle version

2 years agoMerge pull request #20241 from alalek:fixup_20149
Alexander Alekhin [Tue, 8 Jun 2021 13:44:58 +0000 (13:44 +0000)]
Merge pull request #20241 from alalek:fixup_20149

2 years agoMerge pull request #20240 from alalek:fixup_20149_4.x
Alexander Alekhin [Tue, 8 Jun 2021 13:44:24 +0000 (13:44 +0000)]
Merge pull request #20240 from alalek:fixup_20149_4.x

2 years agoMerge pull request #20235 from IanMaquignaz:calib3d_update_hyperlinks
Vadim Pisarevsky [Tue, 8 Jun 2021 13:27:12 +0000 (13:27 +0000)]
Merge pull request #20235 from IanMaquignaz:calib3d_update_hyperlinks

2 years agohighgui(gtk): fix NULL ptr checks
Alexander Alekhin [Tue, 8 Jun 2021 08:39:06 +0000 (08:39 +0000)]
highgui(gtk): fix NULL ptr checks

2 years agohighgui(gtk): fix NULL ptr checks
Alexander Alekhin [Tue, 8 Jun 2021 08:39:06 +0000 (08:39 +0000)]
highgui(gtk): fix NULL ptr checks

2 years agoMerge pull request #20169 from TolyaTalamanov:at/doc-generic-type
Anatoliy Talamanov [Tue, 8 Jun 2021 08:59:57 +0000 (11:59 +0300)]
Merge pull request #20169 from TolyaTalamanov:at/doc-generic-type

[G-API] Generic type documentation

* Put doc about generic type

* Fix comments to review

2 years agoMerge pull request #20151 from smirnov-alexey:as/extend_media_frame
Alexey Smirnov [Tue, 8 Jun 2021 08:58:51 +0000 (11:58 +0300)]
Merge pull request #20151 from smirnov-alexey:as/extend_media_frame

G-API: Extend MediaFrame to be able to extract additional info besides access

* Extend MediaFrame to be able to extract additional info besides access

* Add default implementation for blobParams()

* Add comment on the default blobParams()

2 years agopre: OpenCV 4.5.3 (version++)
Alexander Alekhin [Mon, 17 May 2021 10:43:38 +0000 (10:43 +0000)]
pre: OpenCV 4.5.3 (version++)

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 8 Jun 2021 05:04:57 +0000 (05:04 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20165 from IanMaquignaz:inverseRectification
Vadim Pisarevsky [Tue, 8 Jun 2021 01:44:56 +0000 (01:44 +0000)]
Merge pull request #20165 from IanMaquignaz:inverseRectification

2 years agoMerge pull request #20236 from alalek:update_version_3.4.15-pre
Alexander Alekhin [Mon, 7 Jun 2021 22:05:29 +0000 (22:05 +0000)]
Merge pull request #20236 from alalek:update_version_3.4.15-pre

2 years agoMerge pull request #20203 from JoeHowse:clMath-patches
JoeHowse [Mon, 7 Jun 2021 20:24:27 +0000 (17:24 -0300)]
Merge pull request #20203 from JoeHowse:clMath-patches

Fix dynamic loading of clBLAS and clFFT (formerly, clAmdBlas and clAmdFft)

* Fix dynamic loading of clBLAS and clFFT

* Update filenames and function names for clBLAS (formerly, clAmdBlas)

* Update filenames and function names for clFFT (formerly, clAmdFft)

* Uncomment teardown of clFFT; tear down clFFT in same way as clBLAS

* Fix generators for clBLAS and clFFT headers

* Update generators to parse recent clBLAS and clFFT library headers

* Update generators to be compatible with Python 3

* Re-generate OpenCV's clBLAS and clFFT headers

* Update function calls to match names in newly generated headers

* Disable (and comment on) teardown code for clBLAS and clFFT

* Renaming *clamd* files

* Renaming *clamdblas* files to *clblas*

* Renaming *clamdfft* files to *clfft*

* Update generator for CL headers

* Update generator to be compatible with Python 3

2 years agoMerge pull request #20027 from diablodale:fix19807-UMat-usageFlags
Alexander Alekhin [Mon, 7 Jun 2021 20:20:13 +0000 (20:20 +0000)]
Merge pull request #20027 from diablodale:fix19807-UMat-usageFlags

2 years agopre: OpenCV 3.4.15 (version++)
Alexander Alekhin [Mon, 7 Jun 2021 20:10:34 +0000 (20:10 +0000)]
pre: OpenCV 3.4.15 (version++)

2 years agoAdded declaration, definition and unit test for initInverseRectificationMap()
Ian Maquignaz [Fri, 28 May 2021 20:47:36 +0000 (16:47 -0400)]
Added declaration, definition and unit test for initInverseRectificationMap()

Fixed trailing whitespace

Update to initInverseRectificationMap documentation for clarity

Added test case for initInverseRectificationMap()
Updated documentation.

Fixed whitespace error in docs

Small update to test function
Now passes success_error_level

final update to inverseRectification documentation

2 years agoAdded markup to enable hyperlinking of functions in calib3d documentation
Ian Maquignaz [Mon, 7 Jun 2021 15:30:58 +0000 (11:30 -0400)]
Added markup to enable hyperlinking of functions in calib3d documentation

fixed find*, calibrate*, stereo*

fixed decompose*, convert*

Fixed recoverPose, and projectPoints

Fixed typo in docs which resulted in a docs warning

2 years agoMerge pull request #20229 from alalek:fix_highgui_build
Alexander Alekhin [Mon, 7 Jun 2021 17:36:44 +0000 (17:36 +0000)]
Merge pull request #20229 from alalek:fix_highgui_build

2 years agoMerge pull request #20223 from jogo-:3.4_wp8_samples_typos
jogo- [Mon, 7 Jun 2021 17:32:14 +0000 (19:32 +0200)]
Merge pull request #20223 from jogo-:3.4_wp8_samples_typos

* Fix typo in App.xaml.cs

* Fix typo in App.xaml.cs

* Fix typo in App.xaml.cs

2 years agoAdd Thickness parameter in drawMatches function
Tiago De Gaspari [Mon, 7 Jun 2021 13:55:23 +0000 (10:55 -0300)]
Add Thickness parameter in drawMatches function

This commit adds the feature of selecting the thickness
of the matches drawn by the drawMatches function.

In larger images, the default thickness of 1 pixel creates images
that are hard to visualize.

2 years agohighgui: update backends handling, fix WITH_OPENGL=ON build
Alexander Alekhin [Fri, 4 Jun 2021 17:15:07 +0000 (17:15 +0000)]
highgui: update backends handling, fix WITH_OPENGL=ON build

2 years agoAdd test for Java Mat.at
Giles Payne [Sun, 6 Jun 2021 10:13:27 +0000 (19:13 +0900)]
Add test for Java Mat.at

2 years agoAt-like function for Java/Kotlin
Giles Payne [Sat, 5 Jun 2021 11:46:09 +0000 (20:46 +0900)]
At-like function for Java/Kotlin

2 years agoAdd tests for Mat.at function
Giles Payne [Sun, 6 Jun 2021 05:19:30 +0000 (14:19 +0900)]
Add tests for Mat.at function

2 years agoAt-like function for Swift
Giles Payne [Sat, 5 Jun 2021 12:32:31 +0000 (21:32 +0900)]
At-like function for Swift

2 years agoMerge pull request #20211 from kstuedem:fix_dshow_memory_leak
Alexander Alekhin [Sat, 5 Jun 2021 16:02:12 +0000 (16:02 +0000)]
Merge pull request #20211 from kstuedem:fix_dshow_memory_leak

2 years agoMerge pull request #20210 from kstuedem:fix_invalid_media_type
Alexander Alekhin [Sat, 5 Jun 2021 16:01:51 +0000 (16:01 +0000)]
Merge pull request #20210 from kstuedem:fix_invalid_media_type

2 years agovideoio(dshow) fix incompatible media type left set on video device
Kai Stüdemann [Thu, 3 Jun 2021 20:11:24 +0000 (22:11 +0200)]
videoio(dshow) fix incompatible media type left set on video device

2 years agovideoio(dshow) fix memory leak
Kai Stüdemann [Thu, 3 Jun 2021 20:12:46 +0000 (22:12 +0200)]
videoio(dshow) fix memory leak

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 3 Jun 2021 16:23:36 +0000 (16:23 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20201 from PolarNick239:3.4
Alexander Alekhin [Thu, 3 Jun 2021 16:20:24 +0000 (16:20 +0000)]
Merge pull request #20201 from PolarNick239:3.4

2 years agoUMat usageFlags fixes opencv/opencv#19807
Dale Phurrough [Tue, 4 May 2021 20:29:15 +0000 (22:29 +0200)]
UMat usageFlags fixes opencv/opencv#19807

- corrects code to support non- USAGE_DEFAULT settings
- accuracy, regression, perf test cases
- not tested on the 3.x branch

2 years agoMerge pull request #20080 from pauljurczak:patch-3
Paul Jurczak [Wed, 2 Jun 2021 19:15:52 +0000 (13:15 -0600)]
Merge pull request #20080 from pauljurczak:patch-3

* Update dnn.hpp

getPerfProfile is not supported by the CUDA backend, see https://github.com/opencv/opencv/issues/20077

* dnn.hpp: fix doxygen formatting

2 years agoMerge pull request #20146 from asmorkalov:as/java_test_filter
Alexander Alekhin [Wed, 2 Jun 2021 17:50:29 +0000 (17:50 +0000)]
Merge pull request #20146 from asmorkalov:as/java_test_filter

2 years agoMerge pull request #20149 from rogday:on_mouse_floor
Alexander Alekhin [Wed, 2 Jun 2021 17:48:43 +0000 (17:48 +0000)]
Merge pull request #20149 from rogday:on_mouse_floor

2 years agoMerge pull request #20194 from mshabunin:doc-plugins
Alexander Alekhin [Wed, 2 Jun 2021 16:36:40 +0000 (16:36 +0000)]
Merge pull request #20194 from mshabunin:doc-plugins

2 years agoMerge pull request #20192 from alalek:update_libjpeg-turbo
Alexander Alekhin [Wed, 2 Jun 2021 16:30:24 +0000 (16:30 +0000)]
Merge pull request #20192 from alalek:update_libjpeg-turbo

2 years agoMerge pull request #20191 from alalek:issue_20032
Alexander Alekhin [Wed, 2 Jun 2021 16:29:50 +0000 (16:29 +0000)]
Merge pull request #20191 from alalek:issue_20032

2 years agoMerge pull request #20189 from dbudniko:dbudniko/mtcnn_sample_with_regular_transpose_...
Dmitry Budnikov [Wed, 2 Jun 2021 16:26:22 +0000 (19:26 +0300)]
Merge pull request #20189 from dbudniko:dbudniko/mtcnn_sample_with_regular_transpose_kernel

Remove custom transpose kernel from MTCNN sample

2 years agodocs/tutorials: improve plugin sections
Maksim Shabunin [Tue, 1 Jun 2021 22:54:00 +0000 (01:54 +0300)]
docs/tutorials: improve plugin sections

2 years agoEXR reading: support Z channel if no Y channel
Nikolay Polyarniy [Wed, 2 Jun 2021 12:53:32 +0000 (15:53 +0300)]
EXR reading: support Z channel if no Y channel

2 years ago3rdparty: libjpeg-turbo 2.0.6 => 2.1.0
Alexander Alekhin [Tue, 1 Jun 2021 19:48:49 +0000 (19:48 +0000)]
3rdparty: libjpeg-turbo 2.0.6 => 2.1.0

https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.0

2 years agots: migrate from cgi.escape to html.escape in .py file
Alexander Alekhin [Tue, 1 Jun 2021 19:19:05 +0000 (19:19 +0000)]
ts: migrate from cgi.escape to html.escape in .py file

2 years agoMerge pull request #20157 from mpashchenkov:mp/ocv-gapi-pnetworks
Maxim Pashchenkov [Tue, 1 Jun 2021 14:42:44 +0000 (17:42 +0300)]
Merge pull request #20157 from mpashchenkov:mp/ocv-gapi-pnetworks

G-API: Python. Wrapper for networks.

* Python networks

* Added pyopencv_to

* Changed work with pyopencv_to

2 years agoMerge pull request #20175 from rogday:dnn_samples_cuda
rogday [Tue, 1 Jun 2021 14:00:51 +0000 (17:00 +0300)]
Merge pull request #20175 from rogday:dnn_samples_cuda

add cuda and vulkan backends to dnn samples

2 years agoMerge pull request #20150 from rogday:svm_detector_test
Alexander Alekhin [Tue, 1 Jun 2021 13:31:12 +0000 (13:31 +0000)]
Merge pull request #20150 from rogday:svm_detector_test

2 years agoMerge pull request #20187 from alalek:highgui_plugins_cleanup
Alexander Alekhin [Tue, 1 Jun 2021 13:16:23 +0000 (13:16 +0000)]
Merge pull request #20187 from alalek:highgui_plugins_cleanup

2 years agoAnalog of gtest_filter for java tests.
Alexander Smorkalov [Mon, 24 May 2021 12:10:38 +0000 (15:10 +0300)]
Analog of gtest_filter for java tests.

2 years agoMerge pull request #20011 from Developer-Ecosystem-Engineering:3.4
Developer-Ecosystem-Engineering [Tue, 1 Jun 2021 06:39:55 +0000 (23:39 -0700)]
Merge pull request #20011 from Developer-Ecosystem-Engineering:3.4

Improve performance on Arm64

* Improve performance on Apple silicon

This patch will
- Enable dot product intrinsics for macOS arm64 builds
- Enable for macOS arm64 builds
- Improve HAL primitives
  - reduction (sum, min, max, sad)
  - signmask
  - mul_expand
  - check_any / check_all

Results on a M1 Macbook Pro

* Updates to #20011 based on feedback

  - Removes Apple Silicon specific workarounds
  - Makes #ifdef sections smaller for v_mul_expand cases
  - Moves dot product optimization to compiler optimization check
  - Adds 4x4 matrix transpose optimization

* Remove dotprod and fix v_transpose

Based on the latest, we've removed dotprod entirely and will revisit in a future PR.

Added explicit cats with v_transpose4x4()

This should resolve all opens with this PR

* Remove commented out lines

Remove two extraneous comments

2 years agoMerge pull request #20036 from APrigarina:tracking_api
Anna Prigarina [Mon, 31 May 2021 20:23:37 +0000 (23:23 +0300)]
Merge pull request #20036 from APrigarina:tracking_api

Tracking API: added DaSiamRPN tracker

* added dasiamrpn tracker

* dasiamrpn: add test, rewrite sample

* change python samples

* fix tests

* fix params

2 years agohighgui: cleanup and fixes
Alexander Alekhin [Fri, 28 May 2021 01:41:20 +0000 (01:41 +0000)]
highgui: cleanup and fixes

2 years agobring back bounds check and switch to floor
Smirnov Egor [Mon, 24 May 2021 13:39:02 +0000 (16:39 +0300)]
bring back bounds check and switch to floor

2 years agoMerge pull request #20182 from hanliutong:master
Alexander Alekhin [Mon, 31 May 2021 09:21:46 +0000 (09:21 +0000)]
Merge pull request #20182 from hanliutong:master

2 years agoMerge pull request #20054 from danielenricocahall:fix-robertson-calibration-bug
Danny [Sun, 30 May 2021 20:29:39 +0000 (16:29 -0400)]
Merge pull request #20054 from danielenricocahall:fix-robertson-calibration-bug

Fix Robertson Calibration NaN Bug

* add epsilon value for numerical stability in robertson merge

* update test to use range based for loop

* add comment to test

* move the epsilon

* address test comments

fix windows build warnings

fix vector type for tests

update tests

make threshold float

address test comments

fix tests and move epsilon again

* use scalar::all, move epsilon, and remove print

2 years agoFix RVV toolchain conflicts.
HAN Liutong [Sun, 30 May 2021 08:00:18 +0000 (16:00 +0800)]
Fix RVV toolchain conflicts.

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 29 May 2021 19:00:14 +0000 (19:00 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20102 from yo1990:master
yo1990 [Sat, 29 May 2021 14:43:21 +0000 (23:43 +0900)]
Merge pull request #20102 from yo1990:master

Add missing sqrt to magSpectrum().

* https://github.com/opencv/opencv/issues/20100

* slight optimization + fix for double-precision case

Co-authored-by: Yuma Oyama <yuma.oyama@acuity-inc.co.jp>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com>
2 years agoMerge pull request #19883 from jondea:arm-neon-optimised-color-lab-3.4
Jonathan Deakin [Fri, 28 May 2021 14:20:26 +0000 (15:20 +0100)]
Merge pull request #19883 from jondea:arm-neon-optimised-color-lab-3.4

* Add Neon optimised RGB2Lab conversion

* Fix compile errors, change lambda to macro

* Change NEON optimised RGB2Lab to just use HAL

* Change [] to v_extract_n in RGB2Lab

* RGB2LAB Code quality, change to nlane agnostic

* Change RGB2Lab to use function rather than macro

* Remove whitespace

Co-authored-by: Francesco Petrogalli <25690309+fpetrogalli@users.noreply.github.com>
2 years agoMerge pull request #20174 from alalek:issue_20159
Alexander Alekhin [Fri, 28 May 2021 14:10:17 +0000 (14:10 +0000)]
Merge pull request #20174 from alalek:issue_20159

2 years agoMerge pull request #20172 from alalek:fixup_19334
Alexander Alekhin [Fri, 28 May 2021 14:09:52 +0000 (14:09 +0000)]
Merge pull request #20172 from alalek:fixup_19334

2 years agoMerge pull request #20173 from alalek:videoio_test_vp9_skip
Alexander Alekhin [Fri, 28 May 2021 09:57:43 +0000 (09:57 +0000)]
Merge pull request #20173 from alalek:videoio_test_vp9_skip

2 years agovideoio(test): bailout from VP9 tests if first frame can't be read
Alexander Alekhin [Fri, 28 May 2021 01:04:07 +0000 (01:04 +0000)]
videoio(test): bailout from VP9 tests if first frame can't be read

2 years agohighgui: fix trackbar value pointer handling
Alexander Alekhin [Fri, 28 May 2021 01:58:58 +0000 (01:58 +0000)]
highgui: fix trackbar value pointer handling

2 years agocore(ocl): avoid limit of Image kernel args
Alexander Alekhin [Fri, 28 May 2021 00:36:56 +0000 (00:36 +0000)]
core(ocl): avoid limit of Image kernel args

2 years agoMerge pull request #20155 from dbudniko:dbudniko/G-API_mtcnn_demo_queue_option
Dmitry Budnikov [Thu, 27 May 2021 15:50:13 +0000 (18:50 +0300)]
Merge pull request #20155 from dbudniko:dbudniko/G-API_mtcnn_demo_queue_option

Add streaming queue capacity option choice to MTCNN G-API sample

* Add streaming queue capacity option

* trying to fix mac build

* rename face detection sample

2 years agoMerge pull request #20164 from mshabunin:fix-gtk-check
Alexander Alekhin [Thu, 27 May 2021 07:10:28 +0000 (07:10 +0000)]
Merge pull request #20164 from mshabunin:fix-gtk-check

2 years agohighgui: fix config verification for GTK
Maksim Shabunin [Wed, 26 May 2021 15:50:01 +0000 (18:50 +0300)]
highgui: fix config verification for GTK

2 years agoMerge pull request #20116 from alalek:highgui_backends
Alexander Alekhin [Wed, 26 May 2021 08:32:14 +0000 (08:32 +0000)]
Merge pull request #20116 from alalek:highgui_backends

2 years agoMerge pull request #20158 from hyrodium:fix/latex
Alexander Alekhin [Wed, 26 May 2021 06:31:05 +0000 (06:31 +0000)]
Merge pull request #20158 from hyrodium:fix/latex

2 years agofix latex script in the docs
hyrodium [Tue, 25 May 2021 15:21:10 +0000 (00:21 +0900)]
fix latex script in the docs

2 years agoMerge pull request #20107 from sivanov-work:gapi_transpose_op
Sergey Ivanov [Tue, 25 May 2021 17:36:01 +0000 (20:36 +0300)]
Merge pull request #20107 from sivanov-work:gapi_transpose_op

G-API: Add transpose operation

* Add kernels decl & def

* Add draft for UT

* Fix UT for Transpose

* Add perf test

* Fix docs

* Apply comments

2 years agoMerge pull request #19778 from damonyu1989:master-riscv-0.7.1
damonyu1989 [Tue, 25 May 2021 17:15:12 +0000 (01:15 +0800)]
Merge pull request #19778 from damonyu1989:master-riscv-0.7.1

* Add the support for riscv64 vector 0.7.1.

* fixed GCC warnings

* cleaned whitespaces

* Remove the worning by the use of internal API of compiler.

* Update the license header.

* removed trailing whitespaces

Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com>
Co-authored-by: yulj <linjie.ylj@alibaba-inc.com>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2 years agoMerge pull request #19689 from andy-held:umeyama
Vadim Pisarevsky [Tue, 25 May 2021 13:18:21 +0000 (13:18 +0000)]
Merge pull request #19689 from andy-held:umeyama

2 years agoMerge pull request #20135 from mightbxg:bugfix_GaussianBlur
Vadim Pisarevsky [Tue, 25 May 2021 12:54:56 +0000 (12:54 +0000)]
Merge pull request #20135 from mightbxg:bugfix_GaussianBlur

2 years agoadd reproducer and bugfix
Smirnov Egor [Mon, 24 May 2021 14:09:33 +0000 (17:09 +0300)]
add reproducer and bugfix

2 years agoMerge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity
Anatoliy Talamanov [Mon, 24 May 2021 18:48:23 +0000 (21:48 +0300)]
Merge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity

* Support queue capacity as graph compilation argument

* Fix comments to review

* Fix comments to review

* Fix comments to review

2 years agoMerge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake
Ilya Lavrenov [Mon, 24 May 2021 16:19:07 +0000 (19:19 +0300)]
Merge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake

* Extract IE version from IE cmake config

* Update cmake/OpenCVDetectInferenceEngine.cmake

Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
2 years agohighgui: backends and plugins
Alexander Alekhin [Sat, 1 May 2021 13:13:58 +0000 (13:13 +0000)]
highgui: backends and plugins

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 23 May 2021 21:21:48 +0000 (21:21 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoadd MatMulOp
YashasSamaga [Fri, 21 May 2021 19:31:29 +0000 (01:01 +0530)]
add MatMulOp

3 years agoMerge pull request #20137 from fpetrogalli:move-option
Alexander Alekhin [Fri, 21 May 2021 18:56:23 +0000 (18:56 +0000)]
Merge pull request #20137 from fpetrogalli:move-option

3 years ago[build] Move `OPENCV_DISABLE_FILESYSTEM_SUPPORT`. [NFC]
Francesco Petrogalli [Fri, 21 May 2021 12:50:08 +0000 (12:50 +0000)]
[build] Move `OPENCV_DISABLE_FILESYSTEM_SUPPORT`. [NFC]

The option as been moved away from python-related options.

3 years agoMerge pull request #19987 from daksayli:stitching_detailed_branch
Alexander Alekhin [Fri, 21 May 2021 11:01:13 +0000 (11:01 +0000)]
Merge pull request #19987 from daksayli:stitching_detailed_branch

3 years agofix data overflow problem in GaussianBlur
Xinguang Bian [Fri, 21 May 2021 07:17:20 +0000 (15:17 +0800)]
fix data overflow problem in GaussianBlur

3 years agoMerge pull request #19967 from HattrickGenerator:master
HattrickGenerator [Thu, 20 May 2021 19:21:34 +0000 (21:21 +0200)]
Merge pull request #19967 from HattrickGenerator:master

* Adding functions rbegin() and rend() functions to matrix class.
This is important to be more standard compliant with C++ and an ever increasing number of people using standard algorithms for better code readability- and maintainability.

The functions are copy pated from their counterparts (even though they should probably call the counterparts but this gave me some troube).
They return iterators using std::reverse_iterators

Follow up of an open feature request:
https://github.com/opencv/opencv/issues/4641

* Fix rbegin() and rend() and provide tests for them

* Removing unnecessary whitespaces

* Adding rbegin and rend to Mat_ class with the right parameters so we don't need to repeat the template argument.
An instantiating cv::Mat_<int> for example can call it's rbegin() function and doesn't need rbegin<int>() with this convience addition.

Follows what is done for forward iterators

* static cast the vector size (return size_t) to an int (that is required for opencv mat constructor)

Co-authored-by: Stefan <stefan.gerl@tum.de>
3 years agoMerge pull request #19982 from TolyaTalamanov:at/new-python-operation-api
Anatoliy Talamanov [Thu, 20 May 2021 18:59:53 +0000 (21:59 +0300)]
Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api

G-API: New python operations API

* Reimplement test using decorators

* Custom python operation API

* Remove wip status

* python: support Python code in bindings (through loader only)

* cleanup, skip tests for Python 2.x (not supported)

* python 2.x can't skip unittest modules

* Clean up

* Clean up

* Fix segfault python3.9

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>