Anatoliy Talamanov [Fri, 18 Jun 2021 17:16:07 +0000 (20:16 +0300)]
Merge pull request #20196 from TolyaTalamanov:at/support-vaargs-compile-args
G-API: Support vaargs for cv.compile_args
* Support cv.compile_args to work with variadic number of inputs
* Disable python2.x G-API
* Move compile_args to gapi pkg
Alexander Alekhin [Thu, 17 Jun 2021 11:01:37 +0000 (11:01 +0000)]
Merge pull request #20272 from rogday:pollKey_link
Alexander Alekhin [Wed, 16 Jun 2021 15:06:04 +0000 (15:06 +0000)]
Merge pull request #20238 from dmatveev:dm/gframe_docs
Smirnov Egor [Wed, 16 Jun 2021 08:36:13 +0000 (11:36 +0300)]
reorder defined checks according to cmake file
Dmitry Matveev [Mon, 31 May 2021 19:02:05 +0000 (22:02 +0300)]
G-API: Documentation updates
1) Document GFrame/MediaFrame (and also other G-API types)
- Added doxygen comments for GMat, GScalar, GArray<T>, GOpaque classes;
- Documented GFrame and its host-side counterpart MediaFrame;
- Added some more notes to the data type classes.
2) Give @brief descriptions to most of the cv::gapi::* namespaces
3) Make some symbols private
- These structures are mainly internal and shouldn't be used directly
Maxim Pashchenkov [Tue, 15 Jun 2021 19:02:17 +0000 (22:02 +0300)]
Merge pull request #19341 from mpashchenkov:mp/ocv-gapi-parsessd-fix
G-API: Removing ParseSSD overload.
* Removed specialization.
* Removed united
Alexander Alekhin [Fri, 11 Jun 2021 20:13:11 +0000 (20:13 +0000)]
Merge pull request #20260 from JoeHowse:DirectX-float16-conversions
Joe Howse [Fri, 11 Jun 2021 02:56:55 +0000 (23:56 -0300)]
DirectX: Support more types, including float16
Support the following type conversions:
* CV_16FC4 --> DXGI_FORMAT_R16G16B16A16_FLOAT
* CV_16FC2 --> DXGI_FORMAT_R16G16_FLOAT
* CV_16FC1 --> DXGI_FORMAT_R16_FLOAT
* CV_32FC2 --> DXGI_FORMAT_R32G32_FLOAT
* CV_32FC1 --> DXGI_FORMAT_D32_FLOAT
* CV_32SC2 --> DXGI_FORMAT_R32G32_UINT
* CV_32SC2 --> DXGI_FORMAT_R32G32_SINT
* CV_8UC4 --> DXGI_FORMAT_R8G8_B8G8_UNORM
* CV_8UC4 --> DXGI_FORMAT_G8R8_G8B8_UNORM
Alexander Alekhin [Thu, 10 Jun 2021 13:49:13 +0000 (13:49 +0000)]
Merge pull request #20257 from alalek:python_fix_extra_py_code_installation
Sergey Ivanov [Thu, 10 Jun 2021 11:05:46 +0000 (14:05 +0300)]
Merge pull request #20184 from sivanov-work:fix_gapi_empty_input
G-API: Add standalone fix for graph empty input
* Add sandalone fix for graph empty input
* Apply some review comments
* Fix whitespace
* Apply review comment: make Mat check more deeper
* Apply some comments
* Remove tracer apply exception throwing
* Apply comments: move validatio into gproto_priv.hpp
* Apply minor text correction
* Fix alignment, remove try-catch
Alexander Alekhin [Thu, 10 Jun 2021 10:51:30 +0000 (13:51 +0300)]
cmake: fix installation of python extra code
Alexander Alekhin [Wed, 9 Jun 2021 13:28:33 +0000 (13:28 +0000)]
Merge pull request #20250 from alalek:highgui_fixes
Ian Maquignaz [Wed, 9 Jun 2021 13:27:43 +0000 (09:27 -0400)]
Merge pull request #20247 from IanMaquignaz:inverseRectification_update
Update to initInverseRectificationMap()
* update to initInverseRectificationMap() documentation
* Restructured Calib3d_InitInverseRectificationMap unit test per feedback from alalek
* whitespace
Pinaev Danil [Wed, 9 Jun 2021 13:24:50 +0000 (16:24 +0300)]
Merge pull request #20129 from aDanPin:dp/improvement_gapi_stereo_documentation
G-API: Improvement stereo documentation.
* Documentation improvement
* Set valid default values for gapi stereo
* Small doc fix
* Review response
* Review response
* Review response
* Review response
* Revie response
* Review response
* Review response
* Review response
Maxim Pashchenkov [Wed, 9 Jun 2021 13:23:51 +0000 (16:23 +0300)]
Merge pull request #20112 from mpashchenkov:mp/ocv-gapi-docs-part1
G-API: Documentation for Params (IE and ONNX).
* Applying comments
* Removed type of model from PramsDesc
* Added message for onnx ParamDesc
* Whitespaces
* Review
* Fix comments to review
* Fix comments
Co-authored-by: Anatoliy Talamanov <anatoliy.talamanov@intel.com>
Alexander Alekhin [Wed, 9 Jun 2021 10:58:37 +0000 (10:58 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 9 Jun 2021 10:58:18 +0000 (10:58 +0000)]
Merge pull request #20251 from alalek:python_sys_path_0_workaround
Alexander Alekhin [Wed, 9 Jun 2021 10:52:16 +0000 (10:52 +0000)]
Merge pull request #20248 from alalek:issue_20246
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
Alexander Alekhin [Wed, 9 Jun 2021 09:51:07 +0000 (09:51 +0000)]
python(loader): add workaround to detect and patch sys.path[0]
Alexander Alekhin [Wed, 9 Jun 2021 09:04:29 +0000 (09:04 +0000)]
highgui(gtk): fix initialization order of global objects
Alexander Alekhin [Wed, 9 Jun 2021 08:36:32 +0000 (08:36 +0000)]
highgui: update error messages if no builtin backend
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)
Alexander Alekhin [Wed, 9 Jun 2021 07:31:38 +0000 (07:31 +0000)]
core: fix nSize initialization in cvIplImage()
Alexander Alekhin [Tue, 8 Jun 2021 19:23:25 +0000 (19:23 +0000)]
Merge pull request #20244 from alalek:update_ffmpeg_4.x
Alexander Alekhin [Tue, 8 Jun 2021 18:45:38 +0000 (18:45 +0000)]
Merge pull request #20221 from komakai:java-at-function
Alexander Alekhin [Tue, 8 Jun 2021 18:45:20 +0000 (18:45 +0000)]
Merge pull request #20220 from komakai:swift-at-function
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."
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
Alexander Alekhin [Tue, 8 Jun 2021 14:47:17 +0000 (14:47 +0000)]
Merge pull request #20138 from YashasSamaga:cuda4dnn-runtime-matmul
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
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
Giles Payne [Tue, 8 Jun 2021 13:51:07 +0000 (22:51 +0900)]
Make Kotlin plugin version compatible with the Gradle version
Alexander Alekhin [Tue, 8 Jun 2021 13:44:58 +0000 (13:44 +0000)]
Merge pull request #20241 from alalek:fixup_20149
Alexander Alekhin [Tue, 8 Jun 2021 13:44:24 +0000 (13:44 +0000)]
Merge pull request #20240 from alalek:fixup_20149_4.x
Vadim Pisarevsky [Tue, 8 Jun 2021 13:27:12 +0000 (13:27 +0000)]
Merge pull request #20235 from IanMaquignaz:calib3d_update_hyperlinks
Alexander Alekhin [Tue, 8 Jun 2021 08:39:06 +0000 (08:39 +0000)]
highgui(gtk): fix NULL ptr checks
Alexander Alekhin [Tue, 8 Jun 2021 08:39:06 +0000 (08:39 +0000)]
highgui(gtk): fix NULL ptr checks
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
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()
Alexander Alekhin [Mon, 17 May 2021 10:43:38 +0000 (10:43 +0000)]
pre: OpenCV 4.5.3 (version++)
Alexander Alekhin [Tue, 8 Jun 2021 05:04:57 +0000 (05:04 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Vadim Pisarevsky [Tue, 8 Jun 2021 01:44:56 +0000 (01:44 +0000)]
Merge pull request #20165 from IanMaquignaz:inverseRectification
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
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
Alexander Alekhin [Mon, 7 Jun 2021 20:20:13 +0000 (20:20 +0000)]
Merge pull request #20027 from diablodale:fix19807-UMat-usageFlags
Alexander Alekhin [Mon, 7 Jun 2021 20:10:34 +0000 (20:10 +0000)]
pre: OpenCV 3.4.15 (version++)
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
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
Alexander Alekhin [Mon, 7 Jun 2021 17:36:44 +0000 (17:36 +0000)]
Merge pull request #20229 from alalek:fix_highgui_build
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
Alexander Alekhin [Fri, 4 Jun 2021 17:15:07 +0000 (17:15 +0000)]
highgui: update backends handling, fix WITH_OPENGL=ON build
Giles Payne [Sun, 6 Jun 2021 10:13:27 +0000 (19:13 +0900)]
Add test for Java Mat.at
Giles Payne [Sat, 5 Jun 2021 11:46:09 +0000 (20:46 +0900)]
At-like function for Java/Kotlin
Giles Payne [Sun, 6 Jun 2021 05:19:30 +0000 (14:19 +0900)]
Add tests for Mat.at function
Giles Payne [Sat, 5 Jun 2021 12:32:31 +0000 (21:32 +0900)]
At-like function for Swift
Alexander Alekhin [Sat, 5 Jun 2021 16:02:12 +0000 (16:02 +0000)]
Merge pull request #20211 from kstuedem:fix_dshow_memory_leak
Alexander Alekhin [Sat, 5 Jun 2021 16:01:51 +0000 (16:01 +0000)]
Merge pull request #20210 from kstuedem:fix_invalid_media_type
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
Kai Stüdemann [Thu, 3 Jun 2021 20:12:46 +0000 (22:12 +0200)]
videoio(dshow) fix memory leak
Alexander Alekhin [Thu, 3 Jun 2021 16:23:36 +0000 (16:23 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Thu, 3 Jun 2021 16:20:24 +0000 (16:20 +0000)]
Merge pull request #20201 from PolarNick239:3.4
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
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
Alexander Alekhin [Wed, 2 Jun 2021 17:50:29 +0000 (17:50 +0000)]
Merge pull request #20146 from asmorkalov:as/java_test_filter
Alexander Alekhin [Wed, 2 Jun 2021 17:48:43 +0000 (17:48 +0000)]
Merge pull request #20149 from rogday:on_mouse_floor
Alexander Alekhin [Wed, 2 Jun 2021 16:36:40 +0000 (16:36 +0000)]
Merge pull request #20194 from mshabunin:doc-plugins
Alexander Alekhin [Wed, 2 Jun 2021 16:30:24 +0000 (16:30 +0000)]
Merge pull request #20192 from alalek:update_libjpeg-turbo
Alexander Alekhin [Wed, 2 Jun 2021 16:29:50 +0000 (16:29 +0000)]
Merge pull request #20191 from alalek:issue_20032
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
Maksim Shabunin [Tue, 1 Jun 2021 22:54:00 +0000 (01:54 +0300)]
docs/tutorials: improve plugin sections
Nikolay Polyarniy [Wed, 2 Jun 2021 12:53:32 +0000 (15:53 +0300)]
EXR reading: support Z channel if no Y channel
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
Alexander Alekhin [Tue, 1 Jun 2021 19:19:05 +0000 (19:19 +0000)]
ts: migrate from cgi.escape to html.escape in .py file
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
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
Alexander Alekhin [Tue, 1 Jun 2021 13:31:12 +0000 (13:31 +0000)]
Merge pull request #20150 from rogday:svm_detector_test
Alexander Alekhin [Tue, 1 Jun 2021 13:16:23 +0000 (13:16 +0000)]
Merge pull request #20187 from alalek:highgui_plugins_cleanup
Alexander Smorkalov [Mon, 24 May 2021 12:10:38 +0000 (15:10 +0300)]
Analog of gtest_filter for java tests.
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
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
Alexander Alekhin [Fri, 28 May 2021 01:41:20 +0000 (01:41 +0000)]
highgui: cleanup and fixes
Smirnov Egor [Mon, 24 May 2021 13:39:02 +0000 (16:39 +0300)]
bring back bounds check and switch to floor
Alexander Alekhin [Mon, 31 May 2021 09:21:46 +0000 (09:21 +0000)]
Merge pull request #20182 from hanliutong:master
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
HAN Liutong [Sun, 30 May 2021 08:00:18 +0000 (16:00 +0800)]
Fix RVV toolchain conflicts.
Alexander Alekhin [Sat, 29 May 2021 19:00:14 +0000 (19:00 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
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>
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>
Alexander Alekhin [Fri, 28 May 2021 14:10:17 +0000 (14:10 +0000)]
Merge pull request #20174 from alalek:issue_20159
Alexander Alekhin [Fri, 28 May 2021 14:09:52 +0000 (14:09 +0000)]
Merge pull request #20172 from alalek:fixup_19334
Alexander Alekhin [Fri, 28 May 2021 09:57:43 +0000 (09:57 +0000)]
Merge pull request #20173 from alalek:videoio_test_vp9_skip
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
Alexander Alekhin [Fri, 28 May 2021 01:58:58 +0000 (01:58 +0000)]
highgui: fix trackbar value pointer handling
Alexander Alekhin [Fri, 28 May 2021 00:36:56 +0000 (00:36 +0000)]
core(ocl): avoid limit of Image kernel args
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
Alexander Alekhin [Thu, 27 May 2021 07:10:28 +0000 (07:10 +0000)]
Merge pull request #20164 from mshabunin:fix-gtk-check
Maksim Shabunin [Wed, 26 May 2021 15:50:01 +0000 (18:50 +0300)]
highgui: fix config verification for GTK
Alexander Alekhin [Wed, 26 May 2021 08:32:14 +0000 (08:32 +0000)]
Merge pull request #20116 from alalek:highgui_backends
Alexander Alekhin [Wed, 26 May 2021 06:31:05 +0000 (06:31 +0000)]
Merge pull request #20158 from hyrodium:fix/latex