Alexander Alekhin
397e9bc8d6
Merge pull request #22137 from danopdev:issues-22126
2022-06-25 15:21:55 +00:00
dan
2366f2cb2e
issues-22126
2022-06-25 15:12:59 +02:00
Sean McBride
35f1a90df7
Merge pull request #22149 from seanm:sprintf
...
Replaced sprintf with safer snprintf
* Straightforward replacement of sprintf with safer snprintf
* Trickier replacement of sprintf with safer snprintf
Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
2022-06-25 06:48:22 +03:00
lamm45
9faefa0c96
Fix minor errors in the first documentation page (Introduction)
...
This markdown file corresponds to the first link on the landing
page of OpenCV documentation.
2022-06-24 14:03:14 -04:00
Vadim Pisarevsky
b5adffd5c2
* cleaned cvRound(), cvFloor() and cvCeil() implementations, removed the old non-banking rounding branch completely
...
* enable the use of GCC/clang __builtin_*() functions more broadly
2022-06-24 14:58:32 +03:00
Zihao Mu
ef94275eb6
bug fixed of GEMM node in ONNX_importer
2022-06-22 21:08:48 +08:00
Wanli
a6ca48a1c2
Merge pull request #22100 from WanliZhong:issue_22015
...
Fix issue 22015, let Clip layer support 1-3 inputs
* Fix issue 22015.
Let layer Clip support 1-3 inputs.
* Resolve other problems caused by modifications
* Update onnx_importer.cpp
added extra checks to min/max handling in Clip
* Add assertions to check the size of the input
* Add test for clip with min and max initializers
* Separate test for "clip_init_min_max". Change the check method for input_size to provide a clearer message in case of problem.
* Add tests for clip with min or max initializers
* Change the implementation of getting input
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2022-06-22 14:21:16 +03:00
Zihao Mu
2411b825b4
bug fixed of GEMM node in ONNX_importer
2022-06-22 15:00:17 +08:00
Kumataro
dd7b9000ad
Merge pull request #22064 from Kumataro:3.4-fix22052
...
* imgcodecs: jpeg: add IMWRITE_JPEG_SAMPLING_FACTOR parameter
* fix compile error
* imgcodecs: jpeg: add CV_LOG_WARNING() and fix how to initilize Mat
* imgcodecs: jpeg: fix for C++98 mode.
* samples: imgcodec_jpeg: Remove license
2022-06-20 21:42:50 +03:00
Alexander Alekhin
9d06e58c3c
Merge pull request #22127 from catree:update_homography_tutorial
2022-06-19 10:52:52 +00:00
catree
a04f9e7a59
Add more references. Update missing references with webarchive. Use mathbf for matrices. Check that the determinant of the rotation matrix is not negative (reflection), and correct it if it is the case.
2022-06-19 01:27:32 +02:00
Vincent Rabaud
0d52c37e11
Fix typo that prevents compilation with sanitizer.
2022-06-17 11:40:22 +02:00
Alexander Alekhin
734e309b3e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-16 11:04:50 +00:00
Vincent Rabaud
7a46d7efde
Fix compilation on some ARM architecture.
...
This condition is the same as the line above.
2022-06-13 17:39:24 +02:00
Stefan Dragnev
d09bd6f862
correct direction of displaymatrix rotation
2022-06-13 14:15:39 +00:00
Alexander Alekhin
dda2e9374b
Merge pull request #22018 from RidgeRun:gstreamer-consider-video-meta-if-available
2022-06-08 20:25:24 +00:00
Alexander Alekhin
14754deb21
Merge tag '4.6.0'
2022-06-05 19:23:41 +00:00
Alexander Alekhin
b0dc474160
release: OpenCV 4.6.0
2022-06-05 15:32:44 +00:00
Juan López Rubio
adf89bbb33
Merge pull request #22047 from jlopezr:trackbar-ordered-in-mac
...
* In Mac highgui now shows trackbars in creation order
* In Mac highgui trackbars show current value
* Remove trailing spaces in objectivec code
2022-06-05 15:30:16 +00:00
Alexander Alekhin
c103b63fe1
Merge tag '3.4.18'
2022-06-05 15:16:54 +00:00
Alexander Alekhin
a3d0882317
release: OpenCV 3.4.18
2022-06-05 07:52:44 +00:00
Alexander Alekhin
583bd1a6e2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-04 19:10:35 +00:00
Alexander Panov
53eda42da7
Merge pull request #22025 from AleksandrPanov:fix_samplingForVersion_multiplyingFactor
...
Fix sampling for version multiplying factor
* reduce experimentalFrequencyElem and listFrequencyElem
* fix large resize
* fix tile in postIntermediate
* add getMinSideLen(), add corrected_index
* add test decode_regression_21929 author Kumataro, add test decode_regression_version_25
2022-06-04 17:33:08 +03:00
Alexander Alekhin
c26c4a61c6
Merge pull request #22061 from alalek:imgproc_color_hsv_use_singleton
2022-06-03 09:03:33 +00:00
Alexander Alekhin
65fcf22670
imgproc: use singleton in color_hsv.simd.hpp
2022-06-01 19:02:56 +00:00
Kumataro
3577265508
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
2022-06-01 21:45:53 +09:00
Kumataro
1a24e316d5
Merge pull request #22030 from Kumataro:3.4-fix22029
...
* objdetect: qrcode_encoder: fix to missing timing pattern
* objdetect: qrcode_encoder: Add SCOPED_TRACE() and replace CV_Assert() to ASSERT_EQ().
- Add SCOPED_TRACE() for version loop.
- Replace CV_Assert() to ASSERT_EQ().
- Rename expect_msg to msg.
2022-05-31 13:58:17 +03:00
Alexander Alekhin
9da9e8244b
Merge pull request #22041 from nglee:fix_return_by_const_value
2022-05-31 10:51:55 +00:00
Alexander Alekhin
d6151eae23
Merge pull request #22019 from victor1234:calib3d-fix-cameracalibration-test
2022-05-30 18:27:14 +00:00
Alexander Alekhin
4a0a3281c6
Merge pull request #22021 from victor1234:issue-10947_calib3d-update-fisheye-distortpoint-doc
2022-05-30 18:21:02 +00:00
Victor
1230075011
Merge pull request #22045 from victor1234:calib3d-fisheye-model-reference
...
* Add fisheye camera model summary description with reference
* Fix layout
* Move reference to bibtex
2022-05-30 18:03:08 +00:00
Namgoo Lee
24547f40ff
remove const from functions returning by value
2022-05-26 21:30:41 +09:00
mohawk2
72debee125
typo: Minkowsky is actually Minkowski
2022-05-26 12:54:26 +01:00
Alexander Alekhin
e585453c2e
videoio(test): skip failed tests in misconfigured environments
2022-05-25 06:40:03 +00:00
Alexander Alekhin
86f4524010
Merge pull request #22028 from alalek:build_warnings_4.x
2022-05-25 06:39:37 +00:00
Alexander Alekhin
434c96e625
build: eliminate warnings
2022-05-24 23:34:11 +00:00
Alexander Alekhin
e9187ae38c
Merge pull request #22026 from alalek:update_version_3.4.18-pre
2022-05-24 20:23:28 +00:00
Alexander Alekhin
978dc76653
Merge pull request #22006 from rogday:21947_fix
2022-05-24 19:26:02 +00:00
rogday
a2ad997e97
fix vector access in TF::sortByExecutionOrder
2022-05-24 00:05:13 +03:00
Alexander Alekhin
e9428726ca
pre: OpenCV 4.6.0 (version++)
2022-05-23 19:25:16 +00:00
Alexander Alekhin
400906b433
pre: OpenCV 3.4.18 (version++)
2022-05-23 19:18:02 +00:00
berak
50d7c61c01
Update darknet_importer.cpp
...
make it more obvious, that this is a '404', not a 'parsing' problem
2022-05-23 19:18:31 +02:00
Alexander Alekhin
d9bf522b27
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-23 16:06:14 +00:00
rogday
93dc0679ec
Merge pull request #21818 from rogday:revert_renaming
...
* add prefixes to layer names and layer output names
* dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2022-05-23 14:50:42 +00:00
Kataev Victor
1ddc51cfd1
Update fisheye::distortPoints() documentation
2022-05-23 14:30:09 +03:00
Kataev Victor
50bf0e10f5
Fix cameracalibration test
...
* Remove transpose for rvec after calibration
* Change compare threshold from 110% to 10% for perViewErrors
* Add transpose to goodRotMatrs load
2022-05-23 14:07:34 +03:00
Michael Gruner
6a22c5b2b5
Consider video meta on GStreamer video capture
...
Some GStreamer elements may produce buffers with very non
standard strides, offsets and/or even transport each plane
in different, non-contiguous pointers. This non-standard
layout is communicated via GstVideoMeta structures attached
to the buffers. Given this, when a GstVideoMeta is available,
one should parse the layout from it instead of generating
a generic one from the caps.
The GstVideoFrame utility does precisely this: if the buffer
contains a video meta, it uses that to fill the format and
memory layout. If there is no meta available, the layout is
inferred from the caps.
2022-05-22 20:08:44 -06:00
Alexander Alekhin
bb5462e327
Merge pull request #21991 from fengyuentau:qconv_asympad
2022-05-19 17:20:04 +00:00
Martin Tůma
df2e7fa6eb
Merge pull request #21992 from tumicdq:v4l2
...
* Added support for 4B RGB V4L2 pixel formats
Added support for V4L2_PIX_FMT_XBGR32 and V4L2_PIX_FMT_ABGR32 pixel
formats.
* Added workaround for missing V4L2_PIX_FMT_ABGR32 and V4L2_PIX_FMT_XBGR32
defines
2022-05-19 12:37:10 +00:00
Alexander Alekhin
11f36bdf9a
Merge pull request #21941 from cpoerschke:4.x-fix-imgproc-typos
2022-05-17 21:42:36 +00:00
Alexander Alekhin
bc0d4585b3
Merge pull request #21984 from xiong-jie-y:add_make_capture_for_camera_stream
2022-05-17 21:22:17 +00:00
Alexander Alekhin
9f6f0c7424
Merge pull request #21987 from alalek:gapi_test_reduce_used_memory
2022-05-17 16:26:14 +00:00
xiong-jie-y
c929f1b62f
Add make_capture_src for video stream to Python
2022-05-16 20:46:08 +09:00
fengyuentau
ff88132620
support asymmetric paddings for qconv
2022-05-16 19:01:37 +08:00
Alexander Alekhin
89f8d4ae12
build: GCC12 warnings
2022-05-15 16:21:16 +00:00
dbudnikov
3f4ffe7844
Merge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number
...
Reduce G-API tests number
* reduce number of G-API tests
* reduce number of G-API tests
* Address more comments from Dmitry.
2022-05-15 10:07:01 +00:00
Alexander Alekhin
22a00036e2
gapi(test): reduce used amount of memory
2022-05-15 09:41:25 +00:00
OpenCV Developers
d9a444ca1a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-14 11:23:21 +00:00
Manolis Lourakis
8d0fbc6a1e
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()
2022-05-13 18:11:14 +00:00
Kumataro
602caa9cd6
Merge pull request #21937 from Kumataro:4.x-fix-21911
...
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
2022-05-13 17:32:05 +00:00
OpenCV Pushbot
f35ec8c955
Merge pull request #21935 from Yulv-git:3.4-typos3
2022-05-13 17:30:57 +00:00
OpenCV Pushbot
612d43f284
Merge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only
...
TIFFTAG_PREDICTOR should not be applied unless LZW, DEFLATE or ADOBE_DEFLATE
2022-05-13 17:25:59 +00:00
OpenCV Pushbot
56824d1769
Merge pull request #21847 from lamm45:imgproc-tform-doc
...
Minor documentation fixes for geometric image transformations
2022-05-13 17:23:23 +00:00
xiongzhen
2238ac7d59
Apply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases for smaller files.
2022-05-13 09:44:25 +03:00
OpenCV Pushbot
40d2904f3d
Merge pull request #21916 from chenjunnn:patch-1
2022-05-12 10:01:11 +00:00
OpenCV Pushbot
9712cc479b
Merge pull request #21963 from hellodoge:imwrite_fix
2022-05-12 09:02:54 +00:00
OpenCV Pushbot
0ef1fb0b67
Merge pull request #21954 from Darkyenus:patch-1
2022-05-12 08:59:10 +00:00
Victor
2b67bc448d
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
2022-05-12 08:56:58 +00:00
Chen Jun
8d0dae4cec
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);
```
2022-05-12 08:48:23 +00:00
OpenCV Pushbot
dda96264df
Merge pull request #21608 from zihaomu:depth2space
...
DNN: add depth2space and space2depth layer for onnx importer
2022-05-12 08:46:36 +00:00
OpenCV Pushbot
4af8e5c5c4
Merge pull request #21974 from cxcorp:fix-js-test-globals
2022-05-12 08:44:00 +00:00
Sergey
eff5605be5
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
2022-05-12 08:42:38 +00:00
OpenCV Pushbot
2b53ab23c0
Merge pull request #21882 from duanqn:improve-doc
2022-05-12 07:41:39 +00:00
Joona Heikkilä
646025589b
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.
2022-05-11 23:15:34 +03:00
Jan Polák
dea0815199
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.
2022-05-11 14:57:38 +02:00
hellodoge
e4ed2d2e42
fix JpegEncoder::write
...
3rdparty/libjpeg-turbo/src/jpeglib.h:
`* NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.`
2022-05-11 13:08:02 +03:00
Vincent Rabaud
667e5e4f89
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)
2022-05-05 07:59:29 +00:00
Christine Poerschke
9e1e960116
imgproc: fix two typos (imput, magnutude)
2022-05-01 19:59:55 +01:00
huangziqing
82ae9ef541
Wrap gpuMat::release to Python
2022-05-02 00:54:17 +08:00
OpenCV Developers
1b07274e34
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-30 18:54:20 +00:00
Yulv-git
15ac54d5d6
Fix some typos in modules/.
2022-04-30 13:40:07 +08:00
OpenCV Pushbot
fbac38d98b
Merge pull request #21923 from victor1234:calib3d-undistortPoints-R-P-test
2022-04-29 18:12:56 +00:00
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
2022-04-29 08:59:29 +03:00
Zihao Mu
64ded50bbf
parsing depth2space and space2depth of ONNX importer
2022-04-29 10:17:02 +08:00
Kataev Victor
6d0f1275c2
Add use of R and P parameters to cv::undistortPoints test
2022-04-28 21:47:53 +03:00
Alexander Smorkalov
2402fa4824
Fix #21894 : Wrap constructor to Python to create initialized cuda::BufferPool object.
2022-04-28 12:18:26 +03:00
Victor
5cc154147f
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
2022-04-19 18:07:34 +00:00
rogday
9cd5a0a1e6
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
2022-04-19 16:40:25 +00:00
Qingnan Duan
2958142e31
Remove extra not in doc
2022-04-18 14:18:27 +08:00
Victor
27c15bed60
Merge pull request #21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_undistortpoints
...
* Add termination criteria to cv::fisheye::undistortPoints()
* Add criteria.type check
2022-04-16 17:59:53 +00:00
OpenCV Developers
2985739b8c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-16 14:41:15 +00:00
OpenCV Pushbot
556d211136
Merge pull request #21864 from rogday:21851_fix
2022-04-15 18:07:38 +00:00
Alexander Smorkalov
0ee2a58cdc
Document defaults for JPEG settings.
2022-04-15 14:36:48 +03:00
rogday
7daf84fb44
address security concerns in persistence
2022-04-14 22:18:00 +03:00
rogday
a2b84e9897
add assert to tf graph simplifier to address security concerns
2022-04-13 22:50:27 +03:00
OpenCV Pushbot
66f3c2673c
Merge pull request #21831 from zihaomu:sign_layer_onnx
...
DNN: Add sign, shrink and reciprocal for onnx_impoter
2022-04-13 17:08:30 +00:00
luzpaz
554d08c3a1
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
2022-04-13 17:06:37 +00:00
OpenCV Pushbot
3a595ea5c4
Merge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
2022-04-12 17:33:13 +00:00
OpenCV Pushbot
03c9648f2e
Merge pull request #21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x
2022-04-12 17:20:22 +00:00
OpenCV Developers
e3a55af336
dnn(test): update opencv_face_detector checks
...
original commit: be4a432bea
2022-04-11 20:27:06 +00:00