OpenCV Developers [Sat, 14 May 2022 11:21:33 +0000 (11:21 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Pushbot [Sat, 14 May 2022 11:03:17 +0000 (11:03 +0000)]
Merge pull request #21980 from asenyaev:asen/move_variables_to_the_host
Andrey Senyaev [Fri, 13 May 2022 15:14:45 +0000 (18:14 +0300)]
Move environment variables on a host side (GHA Windows)
OpenCV Pushbot [Fri, 13 May 2022 20:59:51 +0000 (20:59 +0000)]
Merge pull request #21977 from asenyaev:asen/win_contrib
OpenCV Pushbot [Fri, 13 May 2022 18:13:30 +0000 (18:13 +0000)]
Merge pull request #21964 from Julian-Sz:patch-1
Documentation Fix: Python and Java switched in Explanation
Manolis Lourakis [Fri, 13 May 2022 18:11:14 +0000 (21:11 +0300)]
Merge pull request #21702 from mlourakis:4.x
Fixes and optimizations for the SQPnP solver
* Fixes and optimizations
- optimized the calculation of qa_sum by moving equal elements outside the loop
- unrolled copying of the lower triangle of omega
- substituted SVD with eigendecomposition in the factorization of omega (2-3 times faster)
- fixed the initialization of lambda in FOAM
- added a cheirality test that checks a solution on all 3D points rather than on their mean. The old test rejected valid poses in some cases
- fixed some typos & errors in comments
* reverted to SVD
Eigen decomposition seems to yield larger errors in certain tests, reverted to SVD
* nearestRotationMatrixSVD
Added nearestRotationMatrixSVD()
Previous nearestRotationMatrix() renamed to nearestRotationMatrixFOAM() and reverts to nearestRotationMatrixSVD() for singular matrices
* fixed checks order
Fixed the order of checks in PoseSolver::solveInternal()
Andrey Senyaev [Fri, 13 May 2022 12:38:51 +0000 (15:38 +0300)]
Added opencv_contrib branch check on Windows
OpenCV Pushbot [Fri, 13 May 2022 17:34:30 +0000 (17:34 +0000)]
Merge pull request #21975 from asenyaev:asen/fix_terminating_windows_actions
Kumataro [Fri, 13 May 2022 17:32:05 +0000 (02:32 +0900)]
Merge pull request #21937 from Kumataro:4.x-fix-21911
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
OpenCV Pushbot [Fri, 13 May 2022 17:30:57 +0000 (17:30 +0000)]
Merge pull request #21935 from Yulv-git:3.4-typos3
OpenCV Pushbot [Fri, 13 May 2022 17:28:08 +0000 (17:28 +0000)]
Merge pull request #21933 from Yulv-git:3.4-typos1
Yuantao Feng [Fri, 13 May 2022 17:27:01 +0000 (01:27 +0800)]
Merge pull request #21924 from fengyuentau:workflow_arm64_3.4
Workflow to build and test on ARM64 for 3.4 branch
* add ARM64 workflow for 3.4
* add opencv_contrib fork check
* rename RET to OPENCV_EXTRA_FORK
OpenCV Pushbot [Fri, 13 May 2022 17:25:59 +0000 (17:25 +0000)]
Merge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only
TIFFTAG_PREDICTOR should not be applied unless LZW, DEFLATE or ADOBE_DEFLATE
OpenCV Pushbot [Fri, 13 May 2022 17:23:23 +0000 (17:23 +0000)]
Merge pull request #21847 from lamm45:imgproc-tform-doc
Minor documentation fixes for geometric image transformations
xiongzhen [Fri, 13 May 2022 06:44:25 +0000 (09:44 +0300)]
Apply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases for smaller files.
Andrey Senyaev [Thu, 12 May 2022 22:37:55 +0000 (01:37 +0300)]
Moved from https to ssh for Windows in Github Actions
Julian Szigethy [Tue, 10 May 2022 16:11:27 +0000 (18:11 +0200)]
Fix: Python and Java switched in Explanation
OpenCV Pushbot [Thu, 12 May 2022 10:01:11 +0000 (10:01 +0000)]
Merge pull request #21916 from chenjunnn:patch-1
OpenCV Pushbot [Thu, 12 May 2022 09:02:54 +0000 (09:02 +0000)]
Merge pull request #21963 from hellodoge:imwrite_fix
OpenCV Pushbot [Thu, 12 May 2022 08:59:10 +0000 (08:59 +0000)]
Merge pull request #21954 from Darkyenus:patch-1
Victor [Thu, 12 May 2022 08:56:58 +0000 (11:56 +0300)]
Merge pull request #21931 from victor1234:calib3d-add-undistortImagePoints
Add undistortImagePoints function
* Add undistortImagePoints function
undistortPoints has unclear interface and additional functionality. New function computes only undistorted image points position
* Add undistortImagePoints test
* Add TermCriteria
* Fix layout
Andrey Senyaev [Thu, 12 May 2022 08:52:23 +0000 (11:52 +0300)]
Merge pull request #21917 from asenyaev:asen/self_hosted_runner_linux_3.4
Workflow to use a self-hosted Github runner on Linux x86_64 for 3.4 branch
* Changed a workflow to use a self-hosted Github runner for 3.4 branch
Chen Jun [Wed, 27 Apr 2022 10:13:57 +0000 (18:13 +0800)]
Fix KalmanFilter comment error
If there will be measurement before the next predict, `statePost` would be assigned to updated value. So I guess these steps are meant to handle when no measurement and KF only do the predict step.
```cpp
statePre.copyTo(statePost);
errorCovPre.copyTo(errorCovPost);
```
OpenCV Pushbot [Thu, 12 May 2022 08:46:36 +0000 (08:46 +0000)]
Merge pull request #21608 from zihaomu:depth2space
DNN: add depth2space and space2depth layer for onnx importer
OpenCV Pushbot [Thu, 12 May 2022 08:44:00 +0000 (08:44 +0000)]
Merge pull request #21974 from cxcorp:fix-js-test-globals
Sergey [Thu, 12 May 2022 08:42:38 +0000 (11:42 +0300)]
Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux
G-API: VPL Source turn on Linux CPU version
* Turn on linux compilation
* Apply comments
* Change new files headline
* Add license header
OpenCV Pushbot [Thu, 12 May 2022 07:41:39 +0000 (07:41 +0000)]
Merge pull request #21882 from duanqn:improve-doc
OpenCV Pushbot [Thu, 12 May 2022 07:40:06 +0000 (07:40 +0000)]
Merge pull request #21971 from asenyaev:asen/filtering_tests_4.x
GTest filtered list for 4.x
OpenCV Pushbot [Thu, 12 May 2022 07:39:05 +0000 (07:39 +0000)]
Merge pull request #21970 from asenyaev:asen/filtering_tests_3.4
GTest filtered list for 3.4 branch
Joona Heikkilä [Wed, 11 May 2022 20:15:34 +0000 (23:15 +0300)]
Fix global variable assignment in JS test suite
In test_imgproc.js, the test_filter suite's last test assigns a variable
to `size` without declaring it with `let`, polluting the global scope.
This commit adds `let` to the statement, so that the variable is scoped
to the test block.
Andrey Senyaev [Wed, 11 May 2022 15:08:44 +0000 (18:08 +0300)]
GTest filtered list for 4.x
Andrey Senyaev [Wed, 11 May 2022 14:53:40 +0000 (17:53 +0300)]
GTest filtered list
Jan Polák [Fri, 6 May 2022 12:41:52 +0000 (14:41 +0200)]
Small imencode documentation improvement
It was previously not clear that the extension should include the period, [and I am not the only person that encountered this problem](https://stackoverflow.com/questions/4254460/opencv-could-not-find-encoder-for-the-specified-extension).
I assume that this is true for all supported extensions, but I haven't checked the source.
hellodoge [Mon, 9 May 2022 12:52:43 +0000 (15:52 +0300)]
fix JpegEncoder::write
3rdparty/libjpeg-turbo/src/jpeglib.h:
`* NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.`
Andrey Senyaev [Thu, 5 May 2022 08:09:20 +0000 (11:09 +0300)]
Merge pull request #21896 from asenyaev:asen/worflow_windows_4.x
Added workflow for Github Actions to build and test OpenCV on Windows for 4.x branch
Vincent Rabaud [Thu, 5 May 2022 07:59:29 +0000 (09:59 +0200)]
Merge pull request #21943 from vrabaud:3.4_proc
* Fix compilation with non glibc.
_SC_NPROCESSORS_ONLN is non standard as defined on https://man7.org/linux/man-pages/man3/sysconf.3.html
It seems to only be on glibc, cf https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html
* Fix to defined(_SC_NPROCESSORS_ONLN)
OpenCV Pushbot [Wed, 4 May 2022 09:40:39 +0000 (09:40 +0000)]
Merge pull request #21940 from hakaboom:python_wrap
huangziqing [Sun, 1 May 2022 16:54:17 +0000 (00:54 +0800)]
Wrap gpuMat::release to Python
OpenCV Developers [Sat, 30 Apr 2022 18:40:34 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Yulv-git [Sat, 30 Apr 2022 05:40:07 +0000 (13:40 +0800)]
Fix some typos in modules/.
Yulv-git [Sat, 30 Apr 2022 05:29:25 +0000 (13:29 +0800)]
Fix some typos in doc.
OpenCV Pushbot [Fri, 29 Apr 2022 18:18:02 +0000 (18:18 +0000)]
Merge pull request #21856 from LaurentBerger:I21853
Try to solve I21853 mouse wheel problem with GTK3
OpenCV Pushbot [Fri, 29 Apr 2022 18:14:06 +0000 (18:14 +0000)]
Merge pull request #21920 from asenyaev:asen/contrib_fork_check
OpenCV Pushbot [Fri, 29 Apr 2022 18:12:56 +0000 (18:12 +0000)]
Merge pull request #21923 from victor1234:calib3d-undistortPoints-R-P-test
LaurentBerger [Tue, 12 Apr 2022 11:48:33 +0000 (13:48 +0200)]
Try to solve I21853 mouse wheel problem with GTK3
Zihao Mu [Fri, 29 Apr 2022 02:17:02 +0000 (10:17 +0800)]
parsing depth2space and space2depth of ONNX importer
OpenCV Pushbot [Thu, 28 Apr 2022 19:11:40 +0000 (19:11 +0000)]
Merge pull request #21919 from asmorkalov:as/cuda_buffer_pool_python
Andrey Senyaev [Thu, 28 Apr 2022 19:07:07 +0000 (22:07 +0300)]
Merge pull request #21888 from asenyaev:asen/workflow_only_windows_3.4
Added workflow for Github Actions to build and test OpenCV on Windows for 3.4 branch
* Added workflow for Github Actions to build and test OpenCV on Windows
* Updated Github Actions for 3.4 branch on Windows using self-hosted runner
* Fixed url for a fork in Windows workflow (3.4 branch)
* opencv_extra fork usage in Github Actions
Kataev Victor [Thu, 28 Apr 2022 18:46:52 +0000 (21:46 +0300)]
Add use of R and P parameters to cv::undistortPoints test
Andrey Senyaev [Thu, 28 Apr 2022 13:19:00 +0000 (16:19 +0300)]
opencv_contrib fork usage in Github Actions (3.4 branch)
Alexander Smorkalov [Thu, 28 Apr 2022 09:18:26 +0000 (12:18 +0300)]
Fix #21894: Wrap constructor to Python to create initialized cuda::BufferPool object.
OpenCV Pushbot [Wed, 27 Apr 2022 17:26:01 +0000 (17:26 +0000)]
Merge pull request #21915 from asenyaev:asen/fork_opencv_extra_4_x
OpenCV Pushbot [Wed, 27 Apr 2022 17:25:30 +0000 (17:25 +0000)]
Merge pull request #21914 from asenyaev:asen/fork_opencv_extra
Andrey Senyaev [Tue, 26 Apr 2022 11:20:44 +0000 (14:20 +0300)]
opencv_extra fork usage in Github Actions (4.x branch)
Andrey Senyaev [Tue, 26 Apr 2022 11:05:21 +0000 (14:05 +0300)]
opencv_extra fork usage in Github Actions
OpenCV Pushbot [Tue, 26 Apr 2022 05:27:43 +0000 (05:27 +0000)]
Merge pull request #21905 from asenyaev:asen/fix_fork_url_4.x
OpenCV Pushbot [Mon, 25 Apr 2022 19:06:52 +0000 (19:06 +0000)]
Merge pull request #21904 from asenyaev:asen/fix_fork_url
Andrey Senyaev [Sat, 23 Apr 2022 22:53:53 +0000 (01:53 +0300)]
Fixed url for a fork (4.x branch)
Andrey Senyaev [Sat, 23 Apr 2022 22:44:15 +0000 (01:44 +0300)]
Fixed url for a fork
OpenCV Developers [Sat, 23 Apr 2022 18:59:59 +0000 (18:59 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Pushbot [Fri, 22 Apr 2022 18:46:23 +0000 (18:46 +0000)]
Merge pull request #21811 from fengyuentau:update_mirrors
Support mirrors for TIM-VX and others 3rdparty components in opencv_contrib
Andrey Senyaev [Thu, 21 Apr 2022 15:04:22 +0000 (18:04 +0300)]
Merge pull request #21876 from asenyaev:asen/workflow_only_linux_4x
Added workflow for Github Actions to build and test OpenCV on Linux for 4.x
* Added workflow for Github Actions to build and test OpenCV
* Merged a build and tests jobs into one, split tests by steps, renamed job names
Andrey Senyaev [Thu, 21 Apr 2022 14:59:56 +0000 (17:59 +0300)]
Merge pull request #21875 from asenyaev:asen/workflow_only_linux
Added workflow for Github Actions to build and test OpenCV on Linux
* Added workflow for Github Actions to build and test OpenCV
* Merged a build and tests in one job, changed naming
* Renamed job names, split workflows by branch, removed and added some cmake flags, save unit tests results as a html file
* Split tests by steps, removed workflows for 4.x and 5.x branches
fengyuentau [Thu, 21 Apr 2022 06:48:40 +0000 (14:48 +0800)]
add mirrors for tim-vx and others in opencv_contrib
rogday [Wed, 20 Apr 2022 04:55:04 +0000 (07:55 +0300)]
Merge pull request #21805 from rogday:pretty_fix
Mat pretty printer: fix submatrix indexation
* fix submatrix indexation
* fix channels
Victor [Tue, 19 Apr 2022 18:07:34 +0000 (21:07 +0300)]
Merge pull request #21841 from victor1234:calib3d-undistortPoints-tests
Add distort/undistort test for fisheye::undistortPoints()
* Add distort/undistort test for fisheye::undistortPoints()
Lack of test has allowed error described in 19138 to be unnoticed.
In addition to random points, four corners and principal center
added to point set
* Add random distortion coefficients set
* Move undistortPoints test to google test, refactor
* Add fisheye::undistortPoints() perf test
* Add negative distortion coefficients to undistortPoints test, increase value
* Move to theRNG()
* Change test check from cvtest::norm(L2) to EXPECT_MAT_NEAR()
* Layout fix
* Add points number parameters, comments
rogday [Tue, 19 Apr 2022 16:40:25 +0000 (19:40 +0300)]
Merge pull request #21884 from rogday:cuda_cleanup
Fix CUDA compilation issues and adjust thresholds.
* Fix CUDA compilation issues and adjust thresholds.
* add conformance tests to denylist
Qingnan Duan [Mon, 18 Apr 2022 06:18:27 +0000 (14:18 +0800)]
Remove extra not in doc
Victor [Sat, 16 Apr 2022 17:59:53 +0000 (20:59 +0300)]
Merge pull request #21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_undistortpoints
* Add termination criteria to cv::fisheye::undistortPoints()
* Add criteria.type check
OpenCV Developers [Sat, 16 Apr 2022 14:41:15 +0000 (14:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
OpenCV Pushbot [Fri, 15 Apr 2022 18:49:49 +0000 (18:49 +0000)]
Merge pull request #21873 from asmorkalov:as/jpeg_options
Document defaults for JPEG settings.
OpenCV Pushbot [Fri, 15 Apr 2022 18:07:38 +0000 (18:07 +0000)]
Merge pull request #21864 from rogday:21851_fix
Alexander Smorkalov [Fri, 15 Apr 2022 11:36:48 +0000 (14:36 +0300)]
Document defaults for JPEG settings.
rogday [Wed, 13 Apr 2022 19:45:43 +0000 (22:45 +0300)]
address security concerns in persistence
OpenCV Pushbot [Thu, 14 Apr 2022 09:59:44 +0000 (09:59 +0000)]
Merge pull request #21861 from rogday:21852_fix
Add assert to address tf simplifier security concerns
rogday [Wed, 13 Apr 2022 12:55:36 +0000 (15:55 +0300)]
add assert to tf graph simplifier to address security concerns
OpenCV Pushbot [Wed, 13 Apr 2022 17:08:30 +0000 (17:08 +0000)]
Merge pull request #21831 from zihaomu:sign_layer_onnx
DNN: Add sign, shrink and reciprocal for onnx_impoter
luzpaz [Wed, 13 Apr 2022 17:06:37 +0000 (13:06 -0400)]
Merge pull request #21775 from luzpaz:typos/gapi
* GAPI: fix various gapi related typos
Fixes source comments and documentation related to gapi code.
* Fix source typos
* Fixed typos requested
* Follow-up typo fix
OpenCV Pushbot [Tue, 12 Apr 2022 17:33:13 +0000 (17:33 +0000)]
Merge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
OpenCV Pushbot [Tue, 12 Apr 2022 17:20:22 +0000 (17:20 +0000)]
Merge pull request #21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x
OpenCV Developers [Mon, 11 Apr 2022 19:14:33 +0000 (19:14 +0000)]
dnn(test): update opencv_face_detector checks
original commit:
be4a432bea6f714bf14c8d9a4883b56d0effb4a0
OpenCV Developers [Mon, 11 Apr 2022 19:14:33 +0000 (19:14 +0000)]
dnn(test): update opencv_face_detector checks
lamm45 [Sun, 10 Apr 2022 17:13:30 +0000 (13:13 -0400)]
Fix some doc references in geometric image transformations module
zihaomu [Thu, 7 Apr 2022 07:32:12 +0000 (15:32 +0800)]
add ONNX OP sign, shrink and reciprocal
Alexander Alekhin [Tue, 5 Apr 2022 18:08:46 +0000 (18:08 +0000)]
Merge pull request #21822 from alalek:dnn_test_update_openvino_4.x
Alexander Alekhin [Tue, 5 Apr 2022 18:03:59 +0000 (18:03 +0000)]
Merge pull request #21819 from alalek:fix_videoio_ffmpeg_memory_leak_4.x
Alexander Alekhin [Tue, 5 Apr 2022 18:03:27 +0000 (18:03 +0000)]
Merge pull request #21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4
Alexey Smirnov [Tue, 5 Apr 2022 18:00:32 +0000 (21:00 +0300)]
Merge pull request #21504 from smirnov-alexey:as/oak_infer
[GAPI] Support basic inference in OAK backend
* Combined commit which enables basic inference and other extra capabilities of OAK backend
* Remove unnecessary target options from the cmakelist
eplankin [Tue, 5 Apr 2022 15:58:15 +0000 (18:58 +0300)]
Merge pull request #21779 from eplankin:fix_11303
Fixed out-of-bounds read in parallel version of ippGaussianBlur()
* Fixed out-of-memory read in parallel version of ippGaussianBlur()
* Fixed check
* Revert changes in CMakeLists.txt
Alexander Alekhin [Fri, 1 Apr 2022 18:02:14 +0000 (18:02 +0000)]
videoio(ffmpeg): avoid memory leaks
Alexander Alekhin [Mon, 4 Apr 2022 22:02:40 +0000 (22:02 +0000)]
dnn(test): update OpenVINO tests 2022.1.0 (OpenCV 4.x)
Alexander Alekhin [Tue, 5 Apr 2022 11:29:36 +0000 (14:29 +0300)]
Merge pull request #21821 from alalek:update_zlib
* 3rdparty: zlib 1.2.11 => 1.2.12
https://github.com/madler/zlib/releases/tag/v1.2.12
* 3rdparty(zlib): re-apply patch
20190330-ununitialized-use-state-check.diff
Alexander Alekhin [Mon, 4 Apr 2022 18:57:00 +0000 (18:57 +0000)]
Merge pull request #21812 from cpoerschke:BackgroundSubtractor-getDefaultName
Alexander Alekhin [Fri, 1 Apr 2022 18:02:14 +0000 (18:02 +0000)]
videoio(ffmpeg): avoid memory leaks
Anastasiya(Asya) Pronina [Mon, 4 Apr 2022 17:39:02 +0000 (20:39 +0300)]
Merge pull request #21731 from AsyaPronina:asyadev/fix_new_stream_event
Fixed handling of new stream, especially for stateful OCV kernels
* Fixed handling of new stream, especially for stateful OCV kernels
* Removed duplication from StateInitOnce tests
* Addressed review comments for PR #21731
- Fixed explanation comments
- Expanded test for stateful OCV kernels in Regular mode
* Addressed review comments for PR #21731
- Moved notification about new stream to the constructor
- Added test on state reset for Regular mode
* Addresed review comments
* Addressed review comments
Co-authored-by: Ruslan Garnov <ruslan.garnov@intel.com>
Alexander Alekhin [Mon, 4 Apr 2022 12:20:25 +0000 (12:20 +0000)]
Merge pull request #21815 from sivanov-work:gapi_fix_ov_warning
sivanov-work [Mon, 4 Apr 2022 05:25:03 +0000 (08:25 +0300)]
Fix warning
Christine Poerschke [Sun, 3 Apr 2022 19:35:55 +0000 (20:35 +0100)]
add BackgroundSubtractor(KNN|MOG2).getDefaultName() implementation
Alexander Alekhin [Sat, 2 Apr 2022 19:45:44 +0000 (19:45 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 2 Apr 2022 19:36:48 +0000 (19:36 +0000)]
Merge pull request #21795 from alalek:dnn_test_update_openvino_3.4