Alexander Alekhin
17e860a288
Merge pull request #16189 from mshabunin:enable-two-channels
2023-01-20 08:51:46 +00:00
Tomoaki Teshima
1833b034fe
make test tolerate to rounding error
2023-01-19 22:06:52 +09:00
Alexander Alekhin
69020666fe
test: reproducible results, enabled 2-channel tests, increased some thresholds
2023-01-19 15:39:33 +03:00
Alexander Alekhin
53144ee0eb
perf: drop runtime time adjustment calibration
2023-01-18 22:13:30 +00:00
Funatomi Takuya
dbdd357b0a
Extend USAC coverage.
...
Add `estimateSE2(...)`, `estimateSE3(...)`, `estimateSIM2(...)`, `estimateSIM3(...)` for estimating an geometric transformation with rotation and translation (with scaling for SIM) using USAC: as alternative for `estimateAffinePartial2D` and `estimateAffine3D`.
Modified test module.
Remove unused variables.
Remove initializer of unused variable.
Add interfaces to accept UsacParams() and corresponding test codes.
Revise test code.
PartialNd removed
Umeyama rewritten for code quality & speed
comments & minors
rise number of points
fix, and +30% faster!
only one number should be that big
remove USAC code, leave fix only
big number
2023-01-18 02:12:57 +01:00
Rostislav Vasilikhin
f3a03aefad
cvIsInf(double) fix + regression test
2023-01-17 23:06:39 +01:00
Maksim Shabunin
c1e5c16ff3
Backport C-API cleanup (imgproc) from 5.x
2023-01-16 23:29:50 +03:00
Yuantao Feng
c63d79c5b1
Merge pull request #23095 from fengyuentau:fix_omp_macos
...
* fix openmp include and link issue on macos
* turn off have_openmp if OpenMP_CXX_INCLUDE_DIRS is empty
* test commit
* use condition HAVE_OPENMP and OpenMP_CXX_LIBRARIES for linking
* remove trailing whitespace
* remove notes
* update conditions
* use OpenMP_CXX_LIBRARIES for linking
2023-01-16 12:44:13 +03:00
Alexander Alekhin
a9d02f096e
Merge pull request #23126 from cudawarped:fix_issue_3412
2023-01-13 13:08:27 +00:00
Ihsan Soydemir
6a7d54f550
Merge pull request #23128 from Isydmr:update-fastNlMeansDenoising-documentation
...
Fix broken paper link for fastNlMeansDenoising
* Fix broken link
* Move citation to `opencv.bib`
* Cite researchgate reference
* Correct citation label
* Use semantic scholar BibTex
2023-01-12 19:54:40 +03:00
Alexander Alekhin
3d5e3a910f
Merge pull request #23096 from zihaomu:issue_23074
2023-01-12 00:51:04 +00:00
Xxfore
ef0fcb9238
Merge pull request #22938 from Xxfore:4.x
...
Use reinterpret instead of c-style casting for GCC
Co-authored-by: Xu Zhang <xu.zhang@hexintek.com>
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
2023-01-11 14:11:16 +00:00
cudawarped
b5bf756ca0
core: define cuda test size with row/col of 1
2023-01-11 14:52:46 +02:00
zihaomu
840b1d5c94
add depthwise add fuse
2023-01-11 08:42:51 +08:00
Alexander Alekhin
974102bc7f
Merge pull request #23120 from alalek:fixup_22246_2
2023-01-10 10:01:17 +00:00
Alexander Alekhin
5bacd8753b
build: eliminate GCC9 warning from sift.simd.hpp
2023-01-10 01:38:12 +00:00
Alexander Alekhin
65c2d6a2be
Merge pull request #23112 from zihaomu:fix_x86_winograd
2023-01-09 19:37:29 +00:00
Yang Chao
e0aa677388
Open CV_CPU_NEON_DOTPROD on Apple silicon devices
2023-01-09 19:27:35 +08:00
Alexander Alekhin
36815fe3f3
videoio(test): skip unstable Media.audio test
2023-01-09 10:06:10 +00:00
Christoph Rackwitz
a64b51dd94
Merge pull request #23108 from crackwitz:issue-23107
...
Usage of imread(): magic number 0, unchecked result
* docs: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* samples, apps: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* tests: rewrite 0/1 to IMREAD_GRAYSCALE/IMREAD_COLOR in imread()
* doc/py_tutorials: check imread() result
2023-01-09 09:55:31 +00:00
zihaomu
82616eec41
fix possible segmentation fault error in winograd on x86
2023-01-09 13:40:04 +08:00
inayd
54449b614b
Fix occuring artifacts in fillPoly
2023-01-03 16:29:13 +01:00
Alexander Alekhin
9208dcb07c
Merge tag '4.7.0'
2022-12-28 15:23:46 +00:00
Alexander Smorkalov
725e440d27
release: OpenCV 4.7.0
2022-12-28 17:31:52 +03:00
Alexander Panov
121034876d
Merge pull request #22986 from AleksandrPanov:move_contrib_charuco_to_main_objdetect
...
merge with https://github.com/opencv/opencv_contrib/pull/3394
move Charuco API from contrib to main repo:
- add CharucoDetector:
```
CharucoDetector::detectBoard(InputArray image, InputOutputArrayOfArrays markerCorners, InputOutputArray markerIds,
OutputArray charucoCorners, OutputArray charucoIds) const // detect charucoCorners and/or markerCorners
CharucoDetector::detectDiamonds(InputArray image, InputOutputArrayOfArrays _markerCorners,
InputOutputArrayOfArrays _markerIds, OutputArrayOfArrays _diamondCorners,
OutputArray _diamondIds) const
```
- add `matchImagePoints()` for `CharucoBoard`
- remove contrib aruco dependencies from interactive-calibration tool
- move almost all aruco tests to objdetect
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-28 17:28:59 +03:00
Alexander Alekhin
9627ab9462
Merge pull request #23050 from zihaomu:fix_memory
2022-12-28 10:04:25 +00:00
zihaomu
71765858dc
fix invalid memory access
2022-12-28 17:16:11 +08:00
Alexander Alekhin
9a2a34f94e
dnn(openvino): remove undefined status
2022-12-28 06:55:00 +00:00
Alexander Alekhin
38f7cd7173
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-27 08:58:28 +00:00
Alexander Alekhin
eab7faf536
Merge tag '3.4.19'
2022-12-27 08:41:49 +00:00
Alexander Alekhin
83391ac59d
release: OpenCV 3.4.19
2022-12-27 03:50:12 +00:00
Alexander Alekhin
a8a93a57e7
Merge pull request #23029 from savuor:backport3_fix_fisheye_aspect_ratio
2022-12-27 03:47:01 +00:00
Alexander Alekhin
f637629c5a
Merge pull request #23037 from cudawarped:fix_for_cuda_12
2022-12-27 03:43:59 +00:00
Rostislav Vasilikhin
93aa94e71e
backported changes
...
no lambda
whitespace
fixing build Java tests
2022-12-27 00:54:39 +01:00
Alexander Alekhin
86b46a27cf
Merge pull request #23039 from alalek:cmake_3.5_fix
2022-12-26 20:31:39 +00:00
Alexander Alekhin
1bc3077890
cmake: VERSION_GREATER_EQUAL is not supported in CMake 3.5.1
2022-12-26 17:41:53 +00:00
Alexander Alekhin
fc27a343e9
Merge pull request #22905 from zihaomu:clean_up_conv3d_1d
2022-12-26 17:39:18 +00:00
cudawarped
692d6168b3
cuda: fix CUDA 12.0 build errors
2022-12-26 15:25:29 +02:00
Alexander Alekhin
de9787a6ac
Merge pull request #23036 from asmorkalov:as/blobdetect_range_fix
2022-12-26 12:47:45 +00:00
Alexander Smorkalov
b7292bc899
Fixed blob detector parameters range.
2022-12-26 15:02:24 +03:00
Alexander Alekhin
dbd4a0e5e6
videoio(ffmpeg): update tests with new Windows wrapper
2022-12-26 02:32:11 +00:00
Alexander Alekhin
b42c11de82
pre: OpenCV 4.7.0 (version++)
2022-12-25 17:00:22 +00:00
Alexander Alekhin
a494c75bfe
pre: OpenCV 3.4.19 (version++)
2022-12-25 16:59:47 +00:00
Alexander Alekhin
bc8c912c7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-24 13:54:58 +00:00
zihaomu
8e6aae0d7a
Add spaces to make links clickable.
2022-12-24 15:26:42 +08:00
Dmitry Kurtaev
8681686d8f
Merge pull request #22957 from dkurt:new_openvino_api
...
Switch to new OpenVINO API after 2022.1 release
* Pass Layer_Test_Convolution_DLDT.Accuracy/0 test
* Pass test Test_Caffe_layers.Softmax
* Failed 136 tests
* Fix Concat. Failed 120 tests
* Custom nGraph ops. 19 failed tests
* Set and get properties from Core
* Read model from buffer
* Change MaxPooling layer output names. Restore reshape
* Cosmetic changes
* Cosmetic changes
* Override getOutputsInfo
* Fixes for OpenVINO < 2022.1
* Async inference for 2021.4 and less
* Compile model with config
* Fix serialize for 2022.1
* Asynchronous inference with 2022.1
* Handle 1d outputs
* Work with model with dynamic output shape
* Fixes with 1d output for old API
* Control outputs by nGraph function for all OpenVINO versions
* Refer inputs in PrePostProcessor by indices
* Fix cycled dependency between InfEngineNgraphNode and InfEngineNgraphNet.
Add InferRequest callback only for async inference. Do not capture InferRequest object.
* Fix tests thresholds
* Fix HETERO:GPU,CPU plugin issues with unsupported layer
2022-12-23 16:58:41 +00:00
Alexander Smorkalov
9012e6dd9b
Merge pull request #22965 from vrabaud:numpy_fix
...
Remove references to deprecated NumPy type aliases.
2022-12-23 15:34:02 +03:00
Alexander Smorkalov
4930516652
Merge pull request #22898 from fengyuentau:slice_neg_steps
...
dnn: support ONNX Slice with negative steps by adding and using cv::flipND
2022-12-23 14:15:06 +03:00
Vincent Rabaud
ad568edd7f
Remove references to deprecated NumPy type aliases.
...
This change replaces references to a number of deprecated NumPy
type aliases (np.bool, np.int, np.float, np.complex, np.object,
np.str) with their recommended replacement (bool, int, float,
complex, object, str).
Those types were deprecated in 1.20 and are removed in 1.24,
cf https://github.com/numpy/numpy/pull/22607 .
2022-12-23 13:53:49 +03:00
Maxim Milashchenko
62b3a20da5
Merge pull request #22930 from MaximMilashchenko:gstreamer_support
...
Support one-time audio video reading
* stream switching functionality
* audio+video pipeline with switch stream functionality
* audio video sync
* fixed sync
* removed switch swtream functionality
* changed test for gstreamer audio
* fixed error
* fixed error
* fixed issue
* fixed issue
* fixed error
* fixed error
* fixed error
2022-12-23 10:15:22 +00:00
Alexander Alekhin
1f41d06f9a
Merge pull request #23008 from mshabunin:fix-yolov4-tiny-hash
2022-12-23 10:14:25 +00:00
Sergei Shutov
1339c7f30c
Define the number of dstChannels for Lab, Luv, YCrCb and XYZ conversions
2022-12-23 12:04:30 +02:00
Alexander Smorkalov
734fb18c4d
Merge pull request #23017 from asmorkalov:as/qrcode_valgrind
...
Valgrind issues fix in QRCode detector.
2022-12-23 12:10:29 +03:00
zihaomu
71c6339af0
remove old convolution branch, and optimize conv3d and conv1d.
2022-12-23 16:50:28 +08:00
fengyuentau
34a0897f90
add cv::flipND; support onnx slice with negative steps via cv::flipND
2022-12-23 16:39:53 +08:00
Alexander Smorkalov
a32100d9ba
Valgrind issues fix in QRCode detector.
2022-12-23 10:50:31 +03:00
Alexander Alekhin
b5400902a7
Merge pull request #23002 from alalek:issue_22206
...
* obj-c: de-duplicate values of nested enums
- prefix with outer class name
* obj-c: handle enum names change in assigned values
* obj-c: switch on 'const_fix'
* obj-c: add NS_SWIFT_NAME
2022-12-22 14:01:21 +00:00
Maksim Shabunin
d35fbe6bfc
dnn: updated YOLOv4-tiny model and tests
2022-12-22 15:49:21 +03:00
Alexander Smorkalov
44dfe62af0
Merge pull request #22914 from tozanski:tomoz/ransac-bugfix
...
Bugfix for solvePnPRansac with SOLVEPNP_ITERATIVE
2022-12-22 11:58:14 +03:00
Alexander Alekhin
4acb267cf4
Merge pull request #23014 from alalek:ffmpeg_default_threads
2022-12-22 07:57:24 +00:00
Alexander Alekhin
8676d19dc3
videoio(ffmpeg): limit number of default threads
2022-12-22 04:45:29 +00:00
Alexander Alekhin
6b4f3e5fab
Merge pull request #22993 from alalek:fixup_21738
2022-12-21 19:50:51 +00:00
Vincent Rabaud
b774753922
Fix self converTo.
...
We still need images[i] = img because it is used below in buildPyramid.
2022-12-21 18:28:26 +01:00
Marco Feuerstein
bc8d494617
Merge pull request #22959 from feuerste:parallel_mertens
...
Parallelize implementation of HDR MergeMertens.
* Parallelize MergeMertens.
* Added performance tests for HDR.
* Ran clang-format.
* Optimizations.
* Fix data path for Windows.
* Remove compiiation warning on Windows.
* Remove clang-format for existing file.
* Addressing reviewer comments.
* Ensure correct summation order.
* Add test for determinism.
* Move result pyramid into sync struct.
* Reuse sync for first loop as well.
* Use OpenCV's threading primitives.
* Remove cout.
2022-12-21 14:10:59 +00:00
Alexander Smorkalov
1ab259df9a
Merge pull request #23005 from alalek:objdetect_cleanup_aruco_ptr_filestorage
...
aruco(cleanup): don't use Ptr<FileStorage>
2022-12-21 16:45:14 +03:00
augustinmanecy
0bd54a60e9
Merge pull request #20367 from augustinmanecy:features2d-rw
...
**Merge with contrib**: https://github.com/opencv/opencv_contrib/pull/3003
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
- [x] The PR is proposed to proper branch
- [ ] There is reference to original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2022-12-21 16:03:00 +03:00
Alexander Smorkalov
63b6b24cd0
Merge pull request #22967 from stopmosk:usac-maxiters-bugfix
...
Fix maxIter parameter in usac findEssentialMat
2022-12-21 15:58:44 +03:00
Alexander Alekhin
c6a15e1835
aruco(cleanup): don't use Ptr<FileStorage>
2022-12-21 10:52:43 +00:00
Alexander Smorkalov
91ac790249
Merge pull request #23001 from alalek:videoio_init_vars
...
videoio(v4l): initialize variables
2022-12-21 09:56:55 +03:00
Sergei Shutov
3cfe737581
Fix hardcoded maxIters
2022-12-21 09:51:59 +03:00
Yuantao Feng
a2b3acfc6e
dnn: add the CANN backend ( #22634 )
...
* cann backend impl v1
* cann backend impl v2: use opencv parsers to build models for cann
* adjust fc according to the new transA and transB
* put cann net in cann backend node and reuse forwardLayer
* use fork() to create a child process and compile cann model
* remove legacy code
* remove debug code
* fall bcak to CPU backend if there is one layer not supoorted by CANN backend
* fix netInput forward
2022-12-21 09:04:41 +03:00
Alexander Alekhin
f4b23de9dd
videoio(v4l): initialize variables
2022-12-21 03:28:09 +00:00
Alexander Alekhin
a08c98cdfb
Merge pull request #22995 from alalek:dnn_fix_opencl_matmul
2022-12-20 14:52:35 +00:00
Alexander Smorkalov
279e2be56b
Merge pull request #22963 from cudawarped:replace_texture_ref_with_texture_obj
...
Replace all instances of CUDA texture references with texture objects
2022-12-20 15:07:10 +03:00
Alexander Alekhin
cdbb893b27
dnn: disable OpenCL code path in MatMul processing
...
- this mode is not supported by 22828
2022-12-20 09:46:48 +00:00
Alexander Alekhin
3f7ec99166
build: eliminate build warnings on Ubuntu 20.04/16.04
2022-12-20 06:46:30 +00:00
Alexander Alekhin
1102b7eff8
dnn: fix gather layer implementation
...
- support FP16 data
2022-12-20 06:09:34 +00:00
Alexander Alekhin
da43778c1f
Merge pull request #22981 from alalek:core_freeze_cache_dir_prefix_4.x
2022-12-19 17:29:57 +00:00
cudawarped
9aa5ab7557
cv::cuda: Replace all instances of texture references/objects with texture objects using the existing updated cv::cudev::Texture class.
...
Fixes bugs in cv::cuda::demosaicing, cv::cuda::resize and cv::cuda::HoughSegmentDetector.
2022-12-19 19:28:15 +02:00
Vincent Rabaud
7463e9b8bb
Even faster CV_PAUSE on SkyLake and above.
...
No need to loop as RDTSC is 3/4 times faster than _mm_pause.
2022-12-19 14:15:34 +01:00
Alexander Smorkalov
9f201a8ebe
Merge pull request #22979 from alalek:fix_videio_test_limit_threads
...
videoio(test): reduce number of test threads
2022-12-19 10:01:43 +03:00
Alexander Alekhin
91998d6424
Merge pull request #22935 from alalek:gapi_error
...
G-API: replace GAPI_Assert() with 'false' and '0' to GAPI_Error()
* gapi: GAPI_Error() macro
* gapi: replace GAPI_Assert() with 'false' and '0' to GAPI_Error()
* build: eliminate 'unreachable code' after CV_Error() (MSVC 2015)
* build: eliminate 'unreachable code' warning for MSVS 2015/2017
- observed in constructors stubs with throwing exception
2022-12-19 06:05:15 +00:00
Alexander Alekhin
420db56ffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-18 02:17:17 +00:00
Alexander Alekhin
4824ce300f
core: freeze cache directory prefix - "4.x"
2022-12-18 00:24:52 +00:00
Alexander Alekhin
cdaf4c7321
videoio(test): reduce number of test threads
2022-12-18 00:02:07 +00:00
Alexander Alekhin
eace6adb6d
Merge pull request #22934 from alalek:fix_filestorage_binding
2022-12-17 03:28:13 +00:00
Alexander Panov
b4b35cff15
Merge pull request #22368 from AleksandrPanov:move_contrib_aruco_to_main_objdetect
...
Megre together with https://github.com/opencv/opencv_contrib/pull/3325
1. Move aruco_detector, aruco_board, aruco_dictionary, aruco_utils to objdetect
1.1 add virtual Board::draw(), virtual ~Board()
1.2 move `testCharucoCornersCollinear` to Board classes (and rename to `checkCharucoCornersCollinear`)
1.3 add wrappers to keep the old api working
3. Reduce inludes
4. Fix java tests (add objdetect import)
5. Refactoring
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
```
**WIP**
force_builders=linux,win64,docs,Linux x64 Debug,Custom
Xbuild_contrib:Docs=OFF
build_image:Custom=ubuntu:22.04
build_worker:Custom=linux-1
```
2022-12-16 12:28:47 +03:00
hzc
47fb79bd8c
Merge pull request #22936 from hzcyf:orbbec_new_cam_support
...
videoio: add Orbbec Gemini 2 and Astra 2 camera support
### Test Result
| OS | Compiler | Camera | Result |
|-----|-----------|---------|--------|
|Windows11| (VS2022)MSVC17.3|Orbbec Gemini 2|Pass|
|Windows11| (VS2022)MSVC17.3|Orbbec Astra 2|Pass|
|Ubuntu22.04|GCC9.2|Orbbec Gemini 2|Pass|
|Ubuntu22.04|GCC9.2|Orbbec Astra 2|Pass|
### Pull Request Readiness Checklist
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-16 12:23:12 +03:00
Alexander Alekhin
6e3700593f
compatibility: keep Ptr<FileStorage> stubs till OpenCV 5.0
2022-12-16 00:47:44 +00:00
Alexander Alekhin
6a8c5a1d27
python: resolve Ptr<FileStorage> requirement issue
2022-12-16 00:47:44 +00:00
Vincent Rabaud
b7b08fa0c3
Fix slower CV_PAUSE on SkyLake and above.
...
This is fixing https://github.com/opencv/opencv/issues/22852
2022-12-15 14:18:57 +01:00
Alexander Smorkalov
ac6fb17784
Merge pull request #22828 from WanliZhong:improve_matmul
...
DNN: make MatMul support 3D or 4D with broadcast
2022-12-15 13:36:22 +03:00
Alexander Smorkalov
3f22f4727c
Merge pull request #22919 from asmorkalov:as/gstreamer_read_timeout
...
Address https://github.com/opencv/opencv/issues/22868
Used the same defaults as it's done for FFmpeg
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
```
force_builders=Custom
build_image:Custom=gstreamer:16.04
buildworker:Custom=linux-1
```
2022-12-15 12:53:22 +03:00
Alexander Smorkalov
0153e796cc
Merge pull request #22891 from AleksandrPanov:qr_add_alignment
...
Use QR code alignment markers
2022-12-15 09:39:58 +03:00
zoom
4891818114
make MatMul support 3D or 4D with broadcast
2022-12-15 10:36:08 +08:00
Alexander Alekhin
db4a557187
Merge pull request #22951 from zihaomu:update_nanotrack_comment
2022-12-14 21:21:49 +00:00
Alexander Alekhin
04c3a534af
Merge pull request #22958 from asmorkalov:as/ffmpeg_missing_include
2022-12-14 21:16:07 +00:00
AleksandrPanov
a32143003d
add alignment detect
2022-12-14 23:56:57 +03:00
Sergei Shutov
8bd17163c7
Merge pull request #22939 from stopmosk:21826-python-bindings-for-videocapturewaitany
...
Add Python bindings for VideoCapture::waitAny #21826
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-14 22:15:02 +03:00
Alexander Smorkalov
189e1b228d
Fix missing FFmpeg include needed for av_get_pix_fmt_name
2022-12-14 13:09:37 +03:00
Alexander Smorkalov
52709c7771
Merge pull request #22954 from VadimLevin:dev/vlevin/fix-merge-artifacts-in-python-misc-tests
...
fix: remove function duplicates in test_misc.py
2022-12-14 09:42:43 +03:00
zihaomu
7dbb125a34
add nanotrack v2 at regression test.
2022-12-14 14:41:49 +08:00
Vadim Levin
3f5f09e730
fix: add _ suffix to properties having reserved keyword names
2022-12-13 20:56:39 +03:00
Vadim Levin
253a4c113e
fix: remove function duplicates in test_misc.py
2022-12-13 19:14:52 +03:00
Alexander Smorkalov
1788c93aea
Merge pull request #22924 from alalek:logger_strip_base_dir
...
core(logger): strip opencv's modules base path
2022-12-13 15:28:10 +03:00
Alexander Alekhin
4203c903f8
Merge pull request #22928 from alalek:riscv_toolchains
2022-12-13 06:32:16 +00:00
Vadim Levin
727feda935
fix: AVFoundation inconsistent camera indices
2022-12-12 17:15:46 +03:00
Alexander Alekhin
39087fecdc
Merge pull request #22942 from alalek:videoio_test_update_hw_checks
...
* videoio(test): update PSNR check for H264/265
* videoio(test): reduce size for ffmpeg tests on 32-bit platforms
2022-12-12 12:38:14 +00:00
Alexander Alekhin
c725771e11
build(riscv): suppress massive -Wignored-attributes warnings
2022-12-11 17:10:00 +00:00
Alexander Alekhin
be326ff752
build: fix/eliminate MSVC warnings
2022-12-10 12:19:31 +00:00
Alexander Smorkalov
423bc515e5
Integer underflow fix for morphologyEx in Carotene (arm).
2022-12-09 18:08:22 +03:00
Alexander Alekhin
941d89e06d
cmake: fix RISC-V toolchains
...
- RVV options are moved to configuration scripts instead of toolchains
2022-12-09 12:02:28 +00:00
Alexander Alekhin
281b790618
Merge pull request #22922 from alalek:fix_riscv_intrin_rvv
2022-12-08 22:07:46 +00:00
Alexander Alekhin
93c4bca04d
Merge pull request #22933 from alalek:fixup_22894
2022-12-08 22:07:04 +00:00
Alexander Alekhin
24d7eb0ca5
videoio(test): test skip due to non-updated FFmpeg wrapper
2022-12-08 17:18:29 +00:00
Alexander Alekhin
8ba44e7d55
Merge pull request #22882 from zihaomu:gemm_first_const
2022-12-08 14:18:33 +00:00
Alexander Alekhin
49f539cb46
Merge pull request #22894 from mshabunin:ffmpeg-16bit
2022-12-08 14:12:51 +00:00
Zihao Mu
0a650b573b
Merge pull request #22840 from zihaomu:optimze_conv_memory_usage
...
DNN: reduce the memory used in convolution layer
* reduce the memory in winograd and disabel the test when usage memory is larger than 2gb.
* remove VERY_LOG tag
2022-12-08 12:57:13 +00:00
Alexander Alekhin
7e3c53b9d3
core(logger): strip path prefix
2022-12-07 23:58:36 +00:00
Alexander Smorkalov
ab912329b6
Merge pull request #22885 from asmorkalov:as/new_qt_icons
...
Switch QT UI to icons with Google Material Design
2022-12-07 14:25:31 +03:00
Maksim Shabunin
6ad216576d
videoio/FFmpeg: added CV_16UC1 read/write support
2022-12-07 12:12:31 +03:00
Alexander Alekhin
c5a4df30c6
risc-v: fix RVV backend on clang with undefined CV_RVV_SCALABLE
...
- v_interleave_quads
- v_pack_triplets
- v_signmask
2022-12-06 13:49:05 +00:00
Zihao Mu
cb8f1dca3b
Merge pull request #22808 from zihaomu:nanotrack
...
[teset data in opencv_extra](https://github.com/opencv/opencv_extra/pull/1016 )
NanoTrack is an extremely lightweight and fast object-tracking model.
The total size is **1.1 MB**.
And the FPS on M1 chip is **150**, on Raspberry Pi 4 is about **30**. (Float32 CPU only)
With this model, many users can run object tracking on the edge device.
The author of NanoTrack is @HonglinChu.
The original repo is https://github.com/HonglinChu/NanoTrack .
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2022-12-06 08:54:32 +03:00
Tomasz Ożański
d1ff87d94d
Bugfix for solvePnPRansac with SOLVEPNP_ITERATIVE
...
The current implementation overwrites the result rotation and translation in every iteration.
If SOLVEPNP_ITERATIVE was run as a refinement it will start from the incorrect initial
transformation thus degrading the final outcome.
2022-12-03 16:46:03 +01:00
Alexander Alekhin
b16f76eede
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-03 12:39:41 +00:00
Christine Poerschke
4792837f2e
Merge pull request #22865 from cpoerschke:3.4-issue-22860
...
ocl_minMaxIdx to call minmaxloc.cl for OpenCL 1.2+ only
2022-12-03 05:29:04 +00:00
Alexander Alekhin
416830fb59
Merge pull request #22888 from alalek:dnn_ov_fix_custom_layers
2022-12-03 05:24:28 +00:00
Alexander Alekhin
d16b3b2487
dnn(test): restore openvino tests with 'Cannot get memory' message
2022-12-03 01:34:48 +00:00
Alexander Alekhin
74d0b4cc78
dnn(openvino): fix custom layers BlockingDesc
2022-12-03 01:34:10 +00:00
Alexander Smorkalov
c55613ccf7
Switch QT UI to icons with Google Material Design.
2022-12-02 11:21:02 +03:00
Maksim Shabunin
5862b50217
videoio: fixed FFmpeg plugin build
2022-12-01 20:26:08 +03:00
Alexander Smorkalov
5696629b13
Merge pull request #22594 from ZhaoChuyang:pr_test_for_22253
...
add test for PR #22253
2022-12-01 13:47:32 +03:00
Vadim Levin
3a15152be5
refactor: rework test to be more specific
2022-11-30 18:31:03 +03:00
赵楚洋
f1055a7e91
add test
2022-11-30 18:31:03 +03:00
Alexander Smorkalov
1192779d05
Merge pull request #22792 from tailsu:sd/avfoundation-orientation-meta
...
Add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend
2022-11-30 14:25:09 +03:00
Alexander Duda
2eb7bf4cfa
core: improve doc for setNumThreads
...
The old documentation implies that the call is only valid for the next parallel region and must be called again if addtional regions should be affected as well.
2022-11-30 11:37:35 +01:00
Alexander Smorkalov
e14ca39fd7
Merge pull request #22857 from fengyuentau:batched_nms
...
dnn: add batched nms
2022-11-30 12:37:49 +03:00
Alexander Smorkalov
421ba8730a
Merge pull request #22809 from fengyuentau:tile
...
dnn: support ONNX Tile
2022-11-29 14:42:28 +03:00
zihaomu
0d56524b72
gemm support transA and transB, and first input is constance.
2022-11-29 17:13:36 +08:00
fengyuentau
9fded9ca53
batched nms impl
2022-11-29 15:32:34 +08:00
fengyuentau
441624a5fb
tile impl
2022-11-29 11:15:38 +08:00
Alexander Alekhin
25ac77e010
Merge pull request #22873 from WanliZhong:issue22859
2022-11-28 19:10:51 +00:00
Alexander Alekhin
77d887898d
Merge pull request #22875 from asmorkalov:as/cl_error_code_fix
2022-11-28 19:05:59 +00:00
HAN Liutong
a32f2cd24a
Merge pull request #22520 from hanliutong:hsv
...
Modify the SIMD loop in color_hsv.
* Modify the SIMD loops in color_hsv.
* Add FP supporting in bit logic.
* Add temporary compatibility code.
* Use max_nlanes instead of vlanes for array declaration.
* Use "CV_SIMD || CV_SIMD_SCALABLE".
* Revert the modify of the Universal Intrinsic API
* Fix warnings.
* Use v_select instead of bits manipulation.
2022-11-28 18:28:14 +00:00
Alexander Smorkalov
eb68de9268
Merge pull request #22695 from AleksandrPanov:qr_improve_version_detect
...
Improve QR code version estimation
2022-11-28 19:50:02 +03:00
AleksandrPanov
ed3810f7a5
add getNumModules(), add decode version
2022-11-28 17:45:09 +03:00
Alexander Smorkalov
1c3e287d32
More fixes for OpenCL error reporting.
2022-11-28 09:47:51 +03:00
zoom
5044af69d1
let MatMul can work when both two inputs are const
2022-11-27 17:32:41 +08:00
Stefan Dragnev
a462f49b99
add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend
...
* extract rotateFrame as free function, rename to applyMetadataRotation
* LegacyCapture::get() always return 0, if cap is null
2022-11-25 17:25:13 +01:00
Alexander Smorkalov
7622fbf895
Fixed OpenGL errors formatting.
2022-11-25 16:46:12 +03:00
Amir Hassan
3f371fe2dd
Merge pull request #22855 from kallaballa:print_cl_status_on_fail
...
Print CL status code on error in opengl interop functions
2022-11-25 09:13:57 +03:00
Alexander Smorkalov
6ca205a029
Merge pull request #22478 from WanliZhong:nary_eltwise_cuda
...
DNN: Let part of the operators in nary_eltwise support CUDA
2022-11-22 16:15:50 +03:00
Dan Mašek
aba2167d9c
Merge pull request #22838 from dan-masek:fix_issue_22837
...
Fix issue 22837: No more blank buttons on toolbar after resizing the window
2022-11-22 13:47:27 +03:00
Alexander Smorkalov
5db4f1f7df
Merge pull request #22830 from alalek:issue_22752
...
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2022-11-22 12:50:02 +03:00
Alexander Alekhin
a0a8d2160d
Merge pull request #22775 from WanliZhong:issue22713
2022-11-21 19:55:48 +00:00
Alexander Alekhin
2a5da50902
Merge pull request #22806 from dan-masek:fix_issue_22767
2022-11-21 19:53:34 +00:00
fwcd
90b144cf0a
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-21 12:49:08 +03:00
Alexander Smorkalov
529bd0425e
Merge pull request #22737 from fwcd:activate-cocoa-window-on-top
...
Cocoa/highgui: Set `[NSApp activateIgnoringOtherApps]` to spawn window on top
2022-11-21 12:28:00 +03:00
Zhuo Zhang
c63a6c472d
fix typo: Gausssian to Gaussian
2022-11-21 10:44:12 +08:00
Dan Mašek
e5bea2bde4
Fix #22766 : Corrected off-by one error causing inconsistent row spacing. (rebased to 3.4)
2022-11-20 21:48:23 +01:00
Dan Mašek
e9d64e0a8c
Fix #22767 : Ensure that the buttons are spaced to the size of the toolbar window, which is always visible. (rebased to 3.x)
2022-11-20 20:53:23 +01:00
Alexander Alekhin
f0df78b7e7
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2022-11-20 13:08:46 +00:00
Maksim Shabunin
e93d976d00
gapi: fix InferWithReshape test crash when data is not found
2022-11-19 01:56:45 +03:00
Anatoliy Talamanov
64aad34cb4
Merge pull request #22735 from TolyaTalamanov:at/expose-all-imgproc-to-python
...
G-API Expose all imgproc operations to python
* Expose imgproc operations
* Fix alignment
2022-11-18 15:25:51 +00:00
Alexander Smorkalov
7592d58f0c
Merge pull request #22771 from kallaballa:opencl_hls_and_hsv_conversions_bug
...
define the number of dstChannels for HLS and HSV conversion as well
2022-11-17 13:36:18 +03:00
Alexander Smorkalov
08906ddd4b
Merge pull request #22814 from AleksandrPanov:log_qr_version
...
log QR version and corners
2022-11-17 11:02:11 +03:00
Alexander Alekhin
5d14cc68b7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-11-16 16:54:11 +00:00
Alexander Alekhin
ce80e0dc57
Merge pull request #22559 from smirnov-alexey:as/vpl_ocl
...
G-API: Connect OneVPL source and OpenCL backend
2022-11-16 19:24:48 +03:00
Alexey Smirnov
4c74e6d89d
Copy mpashchenkov's changes
...
Minor refactoring
Partially address review comments
Move DX-related stuff from the sample to a default source
Simplify the default OneVPL config
Address minor review comments
Add class for the default VPL source
WIP: Add initial stub for tests with description
Removing default vpl source and minor refactoring
Refactor default files
Fix build and application crash
Address review comments
Add test on VPL + OCL interaction compared to CPU behavior
Fix test
2022-11-16 14:17:02 +01:00
AleksandrPanov
687c9b7b29
log QR version and corners
2022-11-16 10:41:13 +03:00
Alexander Alekhin
d9f66413ee
Merge pull request #22811 from alalek:core_check_bool
2022-11-16 04:06:23 +00:00
Alexander Alekhin
54531f8e3b
core: support CV_Check*() macros with 'bool' parameters
2022-11-15 11:47:16 +00:00
Alexander Smorkalov
b5a68f235a
Merge pull request #22802 from zihaomu:fix_infinit_loop_in_tf_34
...
Fix infinit loop in tf 3.4 branch
2022-11-15 11:45:14 +03:00
zihaomu
5bf64e7dfe
fix the infinite loop in tf importer of 3.4 branch
2022-11-15 11:42:10 +08:00
Dan Mašek
51b897b672
Fix #22765 : Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the window
parameters.
2022-11-15 00:44:51 +01:00
Amir Hassan
da4ac6b7ef
Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2
...
Introduce libavdevice to make v4l2 available to the ffmpeg backend
* introduce libavdevice to make v4l2 available to the ffmpeg backend
* downgrade the min required libavdevice version to 53.2.0
* make libavdevice optional
* create OCV_OPTION OPENCV_FFMPEG_ENABLE_LIBAVDEVICE and add definition through ocv_add_external_target
* move OCV_OPTION 'OPENCV_FFMPEG_ENABLE_LIBAVDEVICE' to detect_ffmpeg.cmake
2022-11-11 22:28:02 +00:00
Juha Reunanen
1ba0984203
Merge pull request #22790 from reunanen:add-capability-to-set-DWA-compression-level-in-OpenEXR-encoding
...
OpenEXR encoder: add capability to set the DWA compression level
* OpenEXR encoder: add capability to set the DWA compression level from outside
* Do not try to call `header.dwaCompressionLevel()` if OpenEXR is not version 3 or later
* Minor cleanup
2022-11-11 08:40:53 +00:00
kallaballa
f5e852cdf0
define the number of dstChannels for HLS and HSV conversion as well
2022-11-11 09:23:28 +01:00
zoom
ef2677b0a6
Make MatMul layer support 3d or 4d operation with const input
2022-11-10 11:41:44 +08:00
Anatoliy Talamanov
2aad039b4f
Merge pull request #22494 from TolyaTalamanov:at/expose-all-core-to-python
...
G-API Expose all core operations to python
* Expose all G-API core operations to python
* Fix typo in python gapi types test
2022-11-08 11:43:38 +00:00
Juha Reunanen
63bff33e85
Fix floodFill for very large images
2022-11-07 13:42:20 +02:00
zoom
11d492b0b9
Let part of the operators in nary_eltwise support cuda
2022-11-02 14:08:21 +08:00
Zihao Mu
17f2b56291
remove never used code in onnximporter
2022-11-02 10:45:16 +08:00
fwcd
d1d8ac57f3
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-01 18:24:10 +01:00
Alexander Alekhin
ee9137f176
Merge pull request #22725 from zihaomu:fix_infinit_loop_in_tf
2022-10-31 17:03:03 +00:00
Zihao Mu
903bf0147e
Merge pull request #22666 from zihaomu:support_onnx_qdq_model
...
DNN: let Quant and Dequant of ONNX_importer support the Constant input.
* let Quant and Dequant support the Constant input.
* fix negative value of axis.
2022-10-31 16:06:31 +00:00
Alexander Alekhin
540aa13300
Merge pull request #22718 from zihaomu:improve_stackblur
2022-10-31 15:54:53 +00:00
Zihao Mu
18fbb72f7d
fix the infinite loop in tf importer.
2022-10-31 20:10:25 +08:00
JopKnoppers
0b5fd4f6bb
Included thread in gapi_async_test.cpp
...
Preventing: gapi_async_test.cpp:448:26: error: ‘sleep_for’ is not a member of ‘std::this_thread’
2022-10-31 12:19:04 +01:00
Alexander Alekhin
87360c2ae5
Merge pull request #22601 from cpoerschke:4.x-issue-22595
2022-10-30 16:49:01 +00:00
Zihao Mu
17b98dd005
improve code style and Doc of stackblur.
2022-10-29 17:34:28 +08:00
Alexander Alekhin
028d4d83d3
imgproc: sigma2=sigma1 in top-level function of GaussianBlur
2022-10-28 17:04:53 +00:00
Dmitry Matveev
b619477be9
Fix issues with VA_INCLUDE_HEADERS when building with CUDA support
...
...and not only?
2022-10-28 04:02:35 +00:00
Alexander Smorkalov
778faddbd8
Merge pull request #22463 from hanliutong:rvv
...
Redesign the SIMD macro.
2022-10-27 14:16:03 +03:00
Alexander Smorkalov
f644634aa6
Merge pull request #22702 from kallaballa:ffmpeg_environment_variables
...
Dump the values of OPENCV_FFMPEG_CAPTURE_OPTIONS and OPENCV_FFMPEG_WRITER_OPTIONS to debug log
2022-10-27 12:18:52 +03:00
kallaballa
547f4c2c5a
print a debug message if the environment variables OPENCV_FFMPEG_CAPTURE_OPTIONS and OPENCV_FFMPEG_WRITER_OPTIONS are set
2022-10-27 00:27:17 +02:00
HAN Liutong
5462a6be6e
Update SIMD macro for RVV backend.
2022-10-26 13:02:03 +00:00
Alexander Smorkalov
a60496f9df
Merge pull request #22633 from cudawarped:fix_3361
...
Reset cuda runtime error code to cudasuccess on runtime failure.
2022-10-26 15:48:06 +03:00
Alexander Smorkalov
a6fadfe1c2
libav for jetson tk1 does not provide libavutil/display.h.
2022-10-25 10:21:20 +03:00
Alexander Smorkalov
22f8fb4d5c
Do not fail tests in Yolo v7 model was not found.
2022-10-24 17:59:18 +03:00
Alexander Smorkalov
23edec83fb
Merge pull request #22667 from zihaomu:bug_fix_in_winograd
...
DNN: bug fixed in Winograd
2022-10-21 17:54:13 +03:00
Alexander Smorkalov
e4cd430710
Merge pull request #22653 from WanliZhong:issue22597
...
DNN-TF: let StridedSlice layer support const input
2022-10-21 17:51:00 +03:00
Dmitry Kurtaev
35b2cff295
Merge pull request #22656 from dkurt:halide_fixes
...
* Fixes for Halide
* Enable some Halide tests
2022-10-21 17:49:49 +03:00
Zihao Mu
cee8c86b6e
fixed bug at winograd of SIMD128 and more robust code.
2022-10-21 19:14:54 +08:00
Maksim Shabunin
c0a84dcc85
Merge pull request #22651 from mshabunin:script-doc
...
ts: basic documentation for utility scripts
2022-10-20 14:11:02 +03:00
Alexander Smorkalov
e80b443cd9
Merge pull request #22659 from AleksandrPanov:qr_reduce_extra_adaptiveThreshold
...
QR code, reduce extra adaptiveThreshold()
2022-10-20 12:05:17 +03:00
Alexander Smorkalov
5d292826b2
Merge pull request #22593 from zihaomu:optimize_wino
...
optimize winograd futher more
2022-10-19 13:08:32 +03:00
Alexander Smorkalov
f378f02954
Merge pull request #22652 from rogday:cuda_test_fixes
...
Address CUDA-related errors
2022-10-19 09:37:12 +03:00
Zhi-Qiang Zhou
c8561eae2d
Update region_layer.cpp
...
Fix objectness (dstData[index + 4]) is not assigned if new_coords == 1.
2022-10-19 11:17:23 +08:00
AleksandrPanov
ba575fd4ad
reduce extra adaptiveThreshold()
2022-10-18 23:25:41 +03:00
Smirnov Egor
dd14cf6a9c
address CUDA-related errors and enable cuda in elementwise ops
2022-10-18 16:54:42 +03:00
Hashem Zavvari
6eb34716b8
Merge pull request #22635 from hzawary:4.x
...
Setting CAP_PROP_AUTO_EXPOSURE on VideoCapture with backend DSHOW does not change anything. Now with this implementation the property can be used with value 1 for availability.
2022-10-18 11:13:08 +03:00
Alexander Smorkalov
ec7fc5adca
Merge pull request #22529 from fengyuentau:scatter_scatternd
...
DNN: supports Scatter and ScatterND from ONNX
2022-10-17 14:57:46 +03:00
Alexander Smorkalov
02143cd0e2
Merge pull request #22531 from zihaomu:stop_rely_name
...
Parsing quantized nodes does not rely on names
2022-10-17 11:20:24 +03:00
Alexander Smorkalov
1c5dcbcac8
Merge pull request #22639 from WanliZhong:issue#22625
...
DNN: Make Unsqueeze layer support negative axes
2022-10-17 09:27:49 +03:00
fengyuentau
d24d8f2abe
implementation of scatter and scatternd with conformance tests enabled
2022-10-17 11:30:32 +08:00
Alexander Alekhin
584ea43b2f
Merge pull request #22527 from paroj:misc
2022-10-16 19:08:13 +00:00
Alexander Alekhin
762481411d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-10-15 16:44:47 +00:00
zoom
d816442e4d
Make Unsqueeze layer support negative axes.
2022-10-14 18:00:19 +08:00
Alexander Alekhin
ea5ca16036
Merge pull request #22617 from changh95:4.x
2022-10-14 09:17:16 +00:00
Alexander Smorkalov
2991717191
Merge pull request #22637 from alalek:docs_fix_links_generation_22572
...
docs: prefer # for links generation
2022-10-14 09:18:27 +03:00
Zihao Mu
0fa43e3aac
Optimize the winograd futher more.
2022-10-14 10:15:45 +08:00
Hyunggi Chang
085fb78e85
fix typo (portatibility -> portability)
2022-10-13 21:39:52 +00:00
Alexander Alekhin
a565aa6db9
docs: prefer # for links generation
...
- avoid `@ref`
- align with 4.x branch (minimize merge conflicts)
2022-10-13 20:55:53 +00:00
Alexander Alekhin
2763f988da
Merge pull request #22526 from paroj:pyrect
2022-10-13 11:46:28 +00:00
cudawarped
f89dee4f3e
Reset cuda error code to cudasuccess.
2022-10-13 10:15:40 +03:00
Pavel Rojtberg
70779d4e66
calib3d: use OCV_LAPACK_FUNC
2022-10-12 17:01:28 +02:00
Pavel Rojtberg
35f43cc429
core: expose rectangle intersection to bindings
2022-10-12 14:08:12 +02:00
zoom
9119692bb8
let StridedSlice layer support const input
2022-10-12 11:50:44 +08:00
Harvey Huang
8b0aa6a64d
Merge pull request #21966 from Harvey-Huang:Unicode_Path
...
Support use memory buffer to read multi-page image
2022-10-11 14:25:35 +03:00
Alexander Smorkalov
ec26541771
Merge pull request #22577 from zihaomu:Disable_winograd_branch_in_tryquantize
...
DNN: add enableWinograd API for Net
2022-10-11 09:44:00 +03:00
Alexander Smorkalov
1c825dd509
Merge pull request #22613 from erasta:patch-1
...
Opencv.js: on imread add willReadFrequently to getContext
2022-10-11 09:42:55 +03:00
Zihao Mu
d9eff7daeb
parse quantized nodes does not rely on name.
2022-10-10 17:08:46 +08:00
Alexander Smorkalov
3419e64dcf
Merge pull request #22611 from zihaomu:greaterOrEqual
...
DNN: support GreaterOrEqual and LessOrEqual op in ONNX
2022-10-10 11:43:44 +03:00
Zihao Mu
1e2ceca4df
add enableWinograd API for Net.
2022-10-09 09:33:07 +08:00
Alexander Alekhin
347246901e
Merge pull request #21745 from alalek:dnn_plugin_openvino
2022-10-08 22:32:25 +00:00
Eran Geva
68bd156a71
add willReadFrequently on imread in js
2022-10-08 12:05:33 +03:00
Zihao Mu
9821fae59d
add greater_or_equal and less_or_equal ONNX support
2022-10-08 15:51:40 +08:00
Alexander Alekhin
43b2bb2c25
dnn: plugin support for OpenVINO
2022-10-07 16:57:31 +00:00
Petr Glotov
a3ebafbdeb
Merge pull request #21942 from pglotov:add-blob-contours
...
added blob contours to blob detector
* added blob contours
* Fixed Java regression test after new parameter addition to SimpleBlobDetector.
* Added stub implementation of SimpleBlobDetector::getBlobContours to presume source API compatibility.
2022-10-07 19:07:51 +03:00
Alexander Smorkalov
5cd07006f6
Merge pull request #22329 from chinery:stitching-py-fixes
...
Fix stitching Python bindings (and one stitching_detailed.cpp bug)
2022-10-07 15:03:37 +03:00
Alexander Smorkalov
3d350a002e
Merge pull request #22562 from cudawarped:add_bindings_to_cuda_fastNlMeansDenoising
...
Add bindings to CUDA photo denoising functions
2022-10-07 14:55:14 +03:00
Alexander Smorkalov
f18b8cd569
Merge pull request #22606 from savuor:doc_fix_lmsolver
...
Doc fix for LMSolver
2022-10-07 12:42:48 +03:00
Rostislav Vasilikhin
07c795408d
doc fix
2022-10-07 01:40:50 +02:00
TolyaTalamanov
5f50e7bafe
Criteria -> Criterion
2022-10-06 09:41:30 +00:00
TolyaTalamanov
e92716a1b6
Merge branch '4.x' of github.com:opencv/opencv into at/add-num-iter
2022-10-06 07:12:14 +00:00
Christine Poerschke
40ae06091d
add cvGetPropVisible_COCOA
2022-10-05 21:51:26 +01:00
TolyaTalamanov
839321642e
Move impl from class
2022-10-05 12:01:45 +00:00
TolyaTalamanov
9f88a65873
Fix functional pipeline tool tests
2022-10-04 14:23:05 +00:00
Alexander Smorkalov
4103567776
Merge pull request #22194 from heavyrain-lzy:fixbug_pyrup
...
Fix the pyramid bug when src*2 < dst
2022-10-04 15:37:01 +03:00
Alexander Smorkalov
8f0edf6a1c
Merge pull request #22074 from bwang30:opencv-warpAffine-ippiw
...
Add warpAffine IPPIW implementation to replace with old version
2022-10-04 14:38:00 +03:00
TolyaTalamanov
1113c9ab10
Support num_iters criteria for pipeline tool
2022-10-04 08:37:56 +00:00
Alexander Smorkalov
bf5d7c0c10
Merge pull request #22588 from TolyaTalamanov:at/sync-ie-request-pool
...
G-API: Add synchronous execution for IE backend
2022-10-04 11:32:21 +03:00
Alexander Smorkalov
fef8d4c990
Merge pull request #22017 from xiong-jie-y:py_onnx
...
Add python bindings for G-API onnx
2022-10-04 10:33:10 +03:00
TolyaTalamanov
5a0c85b3ef
Refactor tests
2022-10-04 07:05:40 +00:00
TolyaTalamanov
9fd877acc9
Merge branch '4.x' of github.com:opencv/opencv into at/sync-ie-request-pool
2022-10-04 06:48:28 +00:00
robin
ed3b56d763
Add warpAffine IPPIW implementation protected by ipp NE flag
...
Signed-off-by: robin <bin.wang@intel.com>
2022-10-04 08:40:44 +03:00
Kumataro
2f79b1b087
Merge pull request #22404 from Kumataro:3.4-fix22388_2
...
* imgcodecs: tiff: Reduce memory usage to read 16bit image.
* imgcodecs: tiff: Reduce memory usage to read 8bit images
* imgcodecs: tiff: split basic test and full test.
* imgcodecs: tiff: fix to warning C4244
* imgcodecs: tiff: fix to warning C4244
2022-10-03 18:24:15 +03:00
Alexander Smorkalov
7208f63221
Merge pull request #22583 from TolyaTalamanov:at/add-cfg-output-precision-for-ie-backend
...
G-API: API for configuring model output precision for IE backend
2022-10-03 15:54:00 +03:00
TolyaTalamanov
0cd4396180
Expand modeling tool to support infer_mode
2022-10-03 11:08:15 +00:00
TolyaTalamanov
aafb7567c1
Add tests
2022-10-03 10:58:21 +00:00
TolyaTalamanov
cf5db9b94f
Add handle to configure async/sync infer mode
2022-10-03 09:43:50 +00:00
TolyaTalamanov
589b6c15f0
Fix windows warning
2022-10-03 09:43:50 +00:00
TolyaTalamanov
2af0813634
Add sync/async executors for infer request
2022-10-03 09:43:50 +00:00
TolyaTalamanov
15d2a5faf8
Add sync infer request
2022-10-03 09:43:50 +00:00
TolyaTalamanov
b1d28d5b4a
Expand performance report
2022-10-03 09:04:49 +00:00
TolyaTalamanov
a6fbd8287c
Fix comments to review
2022-10-03 08:04:31 +00:00
TolyaTalamanov
b0b77b3047
Add cfgOutputPrecision
2022-10-03 08:04:31 +00:00
Alexander Smorkalov
96844b0ca5
Merge pull request #22554 from WanliZhong:slice_axes_no_seq
...
DNN: Let Slice layer support non-sequential and negative axes
2022-10-03 10:15:55 +03:00
Biswapriyo Nath
6cf0910842
Merge pull request #22462 from Biswa96:fix-directx-check
...
* cmake: Fix DirectX detection in mingw
The pragma comment directive is valid for MSVC only. So, the DirectX detection
fails in mingw. The failure is fixed by adding the required linking library
(here d3d11) in the try_compile() function in OpenCVDetectDirectX.cmake file.
Also add a message if the first DirectX check fails.
* gapi: Fix compilation with mingw
These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.
* samples: Fix compilation with mingw
These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.
2022-10-03 08:37:36 +03:00
Alexander Alekhin
1646a21197
Merge pull request #22505 from asmorkalov:as/matcher_score_thresh
2022-10-01 12:05:03 +00:00
zoom
4557971481
enhance slice layer
...
refactor the code for parsing Slice layer
add test for Slice layer
let 'begin' and 'end' resize to dims
add opset message comment
2022-10-01 17:12:07 +08:00
cudawarped
8baf46c0a8
Add bindings and test
2022-09-30 12:31:24 +03:00
ocpalo
d18362c726
fix warnings in ImageCollection
2022-09-29 20:48:51 +03:00
Alexander Smorkalov
b403d37267
Merge pull request #20379 from zihaomu:stackblur
...
Add StackBlur for imgproc
2022-09-29 16:24:20 +03:00
Alexander Smorkalov
2d189e24ee
Merge pull request #22580 from seanm:Wextra-semi
...
Fixed most clang -Wextra-semi warnings
2022-09-29 11:50:20 +03:00
Alexander Smorkalov
c8c29b0f1a
Merge pull request #22585 from opencv:zm/remove-code-1
...
DNN: Remove unused code in onnx_importer.cpp
2022-09-29 11:44:19 +03:00
Alexander Smorkalov
784dd55d88
Extracted matches_confindece_thresh as stitching matcher parameter.
2022-09-29 09:04:24 +03:00
Alexander Smorkalov
adb916ce82
Merge pull request #22358 from AleksandrPanov:qrcode_x86_arm
...
QRcode, change INTER_LINEAR to INTER_LINEAR_EXACT
2022-09-29 08:56:07 +03:00
Zihao Mu
15cfafb360
DNN: Remove unused code in onnx_importer.cpp
2022-09-29 10:53:43 +08:00
AleksandrPanov
d43cb4fe7c
change resize flag INTER_LINEAR to INTER_LINEAR_EXACT
...
fix python test_detect_and_decode_multi, sort QR in multiDetect/multiDecode
enable tests with "version_5_up.jpg", "version_5_top.jpg"
2022-09-28 23:52:24 +03:00
Vincent Rabaud
38c9c20a35
Move marking memory as initialized earlier.
2022-09-28 21:58:17 +02:00
Alexander Smorkalov
c189f31f23
Merge pull request #22552 from alvoron:ocv_ov_instruction
...
OpenCV for OpenVINO documentation
2022-09-28 15:14:57 +03:00
Voron
cbf43a54fb
added opencv for openvino tutorial
2022-09-28 12:05:28 +02:00
Zihao Mu
2918071a3e
add stackblur for imgproc.
2022-09-28 17:47:32 +08:00
Sean McBride
1829eba584
Fixed most clang -Wextra-semi warnings
2022-09-27 18:06:46 -04:00
Alexander Smorkalov
3a64607d94
Merge pull request #22518 from TolyaTalamanov:at/expand-modeling-tool-to-support-config-in-yml
...
[G-API] Pipeline modeling tool - support local infer node config
2022-09-27 14:24:35 +03:00
catree
c34c4b50d0
Add information about the disparity-to-depth mapping matrix. Add more references about other related functions in the calib3d doc.
2022-09-26 18:40:18 +02:00
TolyaTalamanov
4521d66103
Remove r-value ref
2022-09-26 11:53:57 +00:00
Alexander Smorkalov
3d9f27b877
Report that animated webp is not supported for now.
2022-09-26 13:53:49 +03:00
HAN Liutong
df24bd295d
Fix v_signmask for RISC-V Vector.
2022-09-23 11:28:50 +00:00
Alexander Smorkalov
04ebedb6f0
Merge pull request #22128 from ocpalo:multipage_img_decoder
...
[GSoC 2022] Multipage Image Decoder API
2022-09-21 16:10:22 +03:00
Alexander Smorkalov
bfeeb0ad70
Merge pull request #22285 from asenyaev:asen/disabled_compiling_warnings_3.4
...
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 15:14:36 +03:00
Alexander Smorkalov
2273af0166
Merge pull request #22286 from asenyaev:asen/disabled_compiling_warnings_4.x
...
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 15:13:06 +03:00
Andrey Senyaev
ccfc34b13f
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 13:35:48 +03:00
Andrey Senyaev
3f4abcb228
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 13:34:17 +03:00
Alexander Smorkalov
f2ccce23f3
Merge pull request #22512 from alalek:build_warning_gcc12_uninitialized
...
build: eliminate uninitialized warnings from GCC12
2022-09-20 09:29:00 +03:00
Berke
062cee2933
new multipage image decoder api - ImageCollection
2022-09-19 20:27:01 +03:00
Alexander Smorkalov
fcf9f117b0
Merge pull request #22519 from stefan-spiss:stereo_calib_per_obj_extr_ret
...
Stereo Calibration: Return rotation and transformation vectors for each calibration object
2022-09-19 17:37:40 +03:00
Alexander Smorkalov
0ab4872032
Merge pull request #22511 from alalek:dnn_build_warning_gcc12
...
dnn: eliminate GCC12 warning in total() call
2022-09-19 16:22:54 +03:00
Alexander Smorkalov
a6274647a4
Merge pull request #21738 from rogday:gather
...
add Gather implementation
2022-09-19 16:21:14 +03:00
Egor Smirnov
65f71ce2eb
add Gather implementation
2022-09-19 15:06:44 +03:00
Alexander Smorkalov
6aefb8e86f
Merge pull request #22290 from fengyuentau:naive_yolov7
...
Support for YOLOv7 ONNX (not simplified)
2022-09-19 14:43:18 +03:00
fengyuentau
4aef9b1c93
dnn: support yolov7 (not simplified)
2022-09-19 18:38:03 +08:00
Alexander Smorkalov
0ac67ee8d9
Merge pull request #22343 from komakai:android_cam_polling
...
Poll for frame data if acquisition fails after OnCaptureCompleted
2022-09-19 08:51:13 +03:00
Alexander Alekhin
66b3155a48
Merge pull request #22332 from komakai:android-cam-stride
2022-09-18 14:26:11 +00:00
Giles Payne
b3adffe437
Android Camera: poll for frame data if acquisition fails after OnCaptureCompleted
2022-09-18 13:41:36 +09:00
TolyaTalamanov
ec92f3fefa
Apply comments
...
* Rename intersectMapWith -> mergeMapWith
* Remove macro
* Add r-value ref
2022-09-16 15:24:13 +00:00
Alexander Smorkalov
1ae801554d
Merge pull request #22507 from TolyaTalamanov:at/replace-mfx-major-version-assert-to-warning
...
G-API: Replace MFX major version assertion to warning
2022-09-16 11:21:08 +03:00
Alexander Smorkalov
e1e9261450
Merge pull request #22479 from scottchou007:master
...
Fix issues in opencv_test_dnn from conv48 kernels without bias
2022-09-16 09:05:55 +03:00
scottchou007
a3cb2020bc
Fix issues in opencv_test_dnn from conv48 kernels using uninitialized tensors when there is no bias.
2022-09-15 13:41:27 -07:00
Alexander Smorkalov
a6017ac550
Merge pull request #22145 from danopdev:issues-22141
...
Fixed time value obtained on some frames at the end of the video #22141
2022-09-15 19:18:58 +03:00
Alexander Smorkalov
48e50a7674
Extended video timestamp test to cover fix for the issue #22141 .
2022-09-15 18:03:23 +03:00
Stefan Spiss
66cbb7b911
Extended tests for stereoCalibrate function of fisheye camera model.
2022-09-15 13:28:41 +02:00
Stefan Spiss
9ca3a3139a
Extended tests for stereoCalibrate function of pinhole camera model.
2022-09-15 13:28:41 +02:00
Stefan Spiss
6fb465cb4e
Extended stereoCalibrate function for fisheye model to return per view rotation and translation vectors between the calibration object coordinate space and the coordinate space of the first camera of the stereo pair. Added overloaded versions of the function for downward compatibility.
2022-09-15 13:28:41 +02:00
Stefan Spiss
8ae03fcd6e
Extended stereoCalibrate function for pinhole model to return per view rotation and translation vectors between the calibration object coordinate space and the coordinate space of the first camera of the stereo pair. Added overloaded versions of the function for downward compatibility.
2022-09-15 13:28:41 +02:00
Dan
122250b554
fix #22490
2022-09-15 13:24:18 +02:00
TolyaTalamanov
eb8883160d
Support config as part of Infer node in yml
2022-09-15 10:47:13 +00:00
Alexander Smorkalov
8af4fe9ed3
Merge pull request #22495 from cpoerschke:4.x-issue-22483
...
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-14 20:40:24 +03:00
Dan
13823f117b
#22214 and #22198
2022-09-14 14:19:04 +02:00
Alexander Alekhin
2e15582799
build: eliminate uninitialized warnings from GCC12
2022-09-14 11:58:43 +00:00
Alexander Alekhin
65bdb3a544
dnn: eliminate GCC12 warning in total() call
2022-09-14 11:37:00 +00:00
Alexander Smorkalov
ac91c45b0f
Merge pull request #22498 from alalek:update_ffmpeg_4.x
...
ffmpeg/4.x: update FFmpeg wrapper 2022.09
2022-09-14 09:34:12 +03:00
Henrik Dobbe Flemmen
6481cfd048
Update the fourcc codes link
2022-09-14 09:25:57 +03:00
Alexander Smorkalov
364b3f181d
Merge pull request #22372 from ocpalo:libjpegturbo_nasm
...
[GSoC 2022] nasm/simd support for libjpeg-turbo
2022-09-14 09:08:28 +03:00
Andrew Chinery
26a7647e0e
Fix stitching Python bindings PR #22329
2022-09-13 14:35:42 +01:00
Alexander Smorkalov
8eb036fb3c
Merge pull request #22040 from CNClareChen:4.x
...
Optimize the cvCeil and cvFloor functions for LoongArch
2022-09-13 16:26:20 +03:00
Hao Chen
fce8349c99
Optimize the cvCeil and cvFloor functions.
...
This patch optimizes the cvCeil and cvFloor functions on
the LoongArch platform.
Signed-off-by: Hao Chen <chenhao@loongson.cn>
2022-09-13 10:49:09 +03:00
TolyaTalamanov
5ea912e778
Change warning message
2022-09-13 08:28:34 +01:00
Alexander Smorkalov
c2c8da2517
Merge pull request #22448 from Ichini24:reshape-permutations-fix
...
changed names of permutations if Reshpe is in NHWC
2022-09-13 09:24:56 +03:00
ocpalo
d717de5719
nasm/simd support for libjpeg-turbo
2022-09-12 20:26:26 +03:00
TolyaTalamanov
bcc19a622d
Replace MFX major version assertion to warning
2022-09-12 17:54:00 +01:00
Alexander Alekhin
fb3fc5322c
videoio(ffmpeg): update tests with new Windows wrapper
2022-09-12 13:09:40 +00:00
cudawarped
46d988e2cb
Merge pull request #22248 from cudawarped:ffmpeg_rtsp_low_fps
...
* Allow the number of threads FFMpeg uses to be selected during VideoCapture::open().
Reset interupt timer in grab if
err = avformat_find_stream_info(ic, NULL);
is interupted but open is successful.
* Correct the returned number of threads and amend test cases.
* Update container test case.
* Reverse changes added to existing videoio_container test case and include test combining thread change and raw read in the newly added videoio_read test case.
2022-09-12 09:12:28 +03:00
Christine Poerschke
cb1a1e9a51
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-11 16:40:27 +01:00
wxsheng
4154bd0667
Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
...
* Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
* Add resize.lasx.cpp for Loongson SIMD acceleration
* Add imgwarp.lasx.cpp for Loongson SIMD acceleration
* Add LASX acceleration support for dnn/conv
* Add CV_PAUSE(v) for Loongarch
* Set LASX by default on Loongarch64
* LoongArch: tune test threshold for Core/HAL.mat_decomp/15
Co-authored-by: shengwenxue <shengwenxue@loongson.cn>
2022-09-10 09:39:43 +03:00
Alexander Smorkalov
866191478f
Merge pull request #22037 from xiong-jie-y:py_gapi_add_state_kernel
...
Add stateful kernel to python G-API
2022-09-09 15:13:22 +03:00
Alexander Smorkalov
c9060b053d
Merge pull request #22451 from dmatveev:dm/abstract_execs
...
G-API: Introduce abstract base classes for GExecutor and GStreamingExecutor
2022-09-09 13:42:42 +03:00
Yuantao Feng
9dc844a6e1
Merge pull request #22346 from fengyuentau:mat1d_part1
...
Changes separated from Mat 1D support in core #18594 (#22346 )
2022-09-09 12:56:30 +03:00
Alexander Alekhin
ca7f964104
dnn: use inheritance for OpenVINO net impl
2022-09-06 18:05:00 +00:00
Alexander Smorkalov
b26fc6f31b
Merge pull request #22466 from sturkmen72:patch-4
...
Improvement on error handling for HoughCircles
2022-09-06 12:01:59 +03:00
TolyaTalamanov
7955469f7c
Fix problem with handleNewStream functionality
2022-09-06 08:52:35 +01:00
Alexander Alekhin
2ac62bccec
videoio(test): fix build warning
2022-09-05 16:53:08 +00:00
Suleyman TURKMEN
22eb91a7e0
Update hough.cpp
2022-09-05 18:58:20 +03:00
Alexander Smorkalov
448e3a7e58
Merge pull request #22226 from ocpalo:libspng
...
[GSoC 2022] spng encoder/decoder added as optional png codec
2022-09-05 13:25:41 +03:00
TolyaTalamanov
bf54a370e5
Add tests for stateful kernel functionality
2022-09-04 20:15:53 +01:00
anton
337452b4c0
changed names of permutations if Reshpe is in NHWC
2022-09-03 19:02:41 +02:00
Alexander Alekhin
5bb098ba5d
Merge pull request #22456 from TolyaTalamanov:at/onevpl-fixes-linux
2022-09-02 21:55:49 +00:00
Alexander Alekhin
4159842195
Merge pull request #22454 from zihaomu:bug_fix_22450
2022-09-02 21:55:29 +00:00