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
645930387c
Merge pull request #23012 from cudawarped/fix_win32_cuda_warning
...
Fix nvcc compile errors when built against CUDA SDK < 11.2
2022-12-22 14:05:35 +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
Alexander Alekhin
dafc4e456d
Merge pull request #23004 from erasta:patch-2
2022-12-21 19:49:38 +00:00
Alexander Alekhin
2a884cc179
Merge pull request #23013 from vrabaud:mertens_fix
2022-12-21 19:45:58 +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
cudawarped
5e03305da5
build: only disable win32 cuda warnings on CUDA SDK >= 11.2
2022-12-21 17:09:41 +02:00
Alexander Smorkalov
3ff1ec99ac
Merge pull request #23009 from asmorkalov:as/aruco_js_update2
...
Update Javascript bindings for Aruco after migration
2022-12-21 17:43:09 +03: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 Alekhin
35e771daab
Merge pull request #22999 from mshabunin:ffmpeg-valgrind-supp
2022-12-21 14:08:35 +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
Maksim Shabunin
8e49560709
valgrind: suppressed FFV1 16 bit issue in avcodec-57
2022-12-21 15:49:03 +03:00
Alexander Smorkalov
b8f57c9a96
Update Javascript bindings for Aruco after migration
2022-12-21 15:46:04 +03:00
Alexander Alekhin
c6a15e1835
aruco(cleanup): don't use Ptr<FileStorage>
2022-12-21 10:52:43 +00:00
Eran Geva
05f4416ba0
SourceForge folder update
...
The folder `http://sourceforge.net/projects/opencvlibrary/files/opencv-win/ ` is stale and wasn't updated since 2018. The parent folder `http://sourceforge.net/projects/opencvlibrary/files/ ` has fresh windows install exe files.
2022-12-21 12:26:07 +02: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
41d172f22d
Merge pull request #22994 from alalek:gapi_build_issues
2022-12-20 09:42:16 +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
Alexander Alekhin
d44c58a1fb
Merge pull request #22988 from vrabaud:mm_pause_fix
2022-12-19 17:06:50 +00: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
07ed5e5346
Merge pull request #22980 from alalek:samples_python_3.11
2022-12-18 02:07:46 +00:00
Alexander Alekhin
4824ce300f
core: freeze cache directory prefix - "4.x"
2022-12-18 00:24:52 +00:00
Alexander Alekhin
5855eba9f3
samples: query for Python 3.11 setup
2022-12-18 00:14:41 +00:00