platform/upstream/opencv.git
2 years agoMerge pull request #20897 from ThalesGroup:master
Alexander Alekhin [Tue, 19 Oct 2021 13:27:54 +0000 (13:27 +0000)]
Merge pull request #20897 from ThalesGroup:master

2 years agoAllow to set av_log_set_level to reduce ffmpeg level below AV_LOG_ERROR
Michel Promonet [Mon, 18 Oct 2021 16:30:13 +0000 (18:30 +0200)]
Allow to set av_log_set_level to reduce ffmpeg level below AV_LOG_ERROR

2 years agoMerge pull request #20895 from sergiud:avx-error-immediate
Alexander Alekhin [Mon, 18 Oct 2021 19:08:50 +0000 (19:08 +0000)]
Merge pull request #20895 from sergiud:avx-error-immediate

2 years agofixed AVX compile error
Sergiu Deitsch [Mon, 18 Oct 2021 12:56:15 +0000 (14:56 +0200)]
fixed AVX compile error

Some older compilers do not allow to pass a `const int` as an immediate. Use an unnamed enum instead.

2 years agoMerge pull request #20879 from Wehzie:patch-1
Alexander Alekhin [Sun, 17 Oct 2021 16:50:13 +0000 (16:50 +0000)]
Merge pull request #20879 from Wehzie:patch-1

2 years agoFixed typo in CV_Error message
Wehzie [Thu, 14 Oct 2021 19:39:49 +0000 (22:39 +0300)]
Fixed typo in CV_Error message

Error was "Input parameters must be a matrices!", but "matrices" is plural and doesn't allow the unspecific article "a".

2 years agoMerge pull request #20740 from Nicholas-Ho-arm:3.4_SymmColumnVec_32f8u
Nicholas Ho [Fri, 15 Oct 2021 11:47:53 +0000 (12:47 +0100)]
Merge pull request #20740 from Nicholas-Ho-arm:3.4_SymmColumnVec_32f8u

* Add SymmColumnVec_32f8u

* Fix double to float warnings

2 years agoMerge pull request #20868 from icestraw:fix-type-error-of-slice-indices
Alexander Alekhin [Thu, 14 Oct 2021 16:11:37 +0000 (16:11 +0000)]
Merge pull request #20868 from icestraw:fix-type-error-of-slice-indices

2 years agofix type error of slice indices
icestraw [Wed, 13 Oct 2021 14:35:29 +0000 (22:35 +0800)]
fix type error of slice indices

2 years agoMerge pull request #20867 from alalek:fix_CV_POPCNT_U64_msvs
Alexander Alekhin [Wed, 13 Oct 2021 17:08:58 +0000 (17:08 +0000)]
Merge pull request #20867 from alalek:fix_CV_POPCNT_U64_msvs

2 years agoMerge pull request #20834 from sthalik:msvc-shared-library-static-crt
Alexander Alekhin [Wed, 13 Oct 2021 14:21:08 +0000 (14:21 +0000)]
Merge pull request #20834 from sthalik:msvc-shared-library-static-crt

2 years agocore: ensure 'int' result from CV_POPCNT_U64(x)
Alexander Alekhin [Wed, 13 Oct 2021 01:14:37 +0000 (01:14 +0000)]
core: ensure 'int' result from CV_POPCNT_U64(x)

2 years agofix link error on shared libs with -MT
Stanislaw Halik [Mon, 4 Oct 2021 12:42:51 +0000 (14:42 +0200)]
fix link error on shared libs with -MT

2 years agoMerge pull request #20860 from rogday:sum_fix
Alexander Alekhin [Tue, 12 Oct 2021 15:36:32 +0000 (15:36 +0000)]
Merge pull request #20860 from rogday:sum_fix

2 years agoMerge pull request #20859 from rogday:sub_const_fix
Alexander Alekhin [Mon, 11 Oct 2021 18:51:46 +0000 (18:51 +0000)]
Merge pull request #20859 from rogday:sub_const_fix

2 years agochange asserts for Sum
Smirnov Egor [Mon, 11 Oct 2021 17:59:44 +0000 (20:59 +0300)]
change asserts for Sum

2 years agofix const - input and remove unimplemented function
Smirnov Egor [Mon, 11 Oct 2021 15:58:10 +0000 (18:58 +0300)]
fix const - input and remove unimplemented function

2 years agoMerge tag '3.4.16'
Alexander Alekhin [Fri, 8 Oct 2021 19:05:00 +0000 (19:05 +0000)]
Merge tag '3.4.16'

2 years agorelease: OpenCV 3.4.16
Alexander Alekhin [Fri, 8 Oct 2021 18:31:56 +0000 (18:31 +0000)]
release: OpenCV 3.4.16

2 years agoMerge pull request #20841 from alalek:core_keep_TlsAbstraction_singleton_3.4
Alexander Alekhin [Fri, 8 Oct 2021 07:01:05 +0000 (07:01 +0000)]
Merge pull request #20841 from alalek:core_keep_TlsAbstraction_singleton_3.4

2 years agoMerge pull request #20842 from alalek:valgrind_suppression
Alexander Alekhin [Fri, 8 Oct 2021 06:29:41 +0000 (09:29 +0300)]
Merge pull request #20842 from alalek:valgrind_suppression

2 years agoMerge pull request #20840 from alalek:dnn_ocl_cleanup_code
Alexander Alekhin [Fri, 8 Oct 2021 05:07:51 +0000 (05:07 +0000)]
Merge pull request #20840 from alalek:dnn_ocl_cleanup_code

2 years agocore(tls): avoid destruction of TlsAbstraction singleton
Alexander Alekhin [Fri, 8 Oct 2021 01:36:58 +0000 (04:36 +0300)]
core(tls): avoid destruction of TlsAbstraction singleton

2 years agoMerge pull request #20839 from alalek:issue_20828_netbsd
Alexander Alekhin [Fri, 8 Oct 2021 02:19:54 +0000 (02:19 +0000)]
Merge pull request #20839 from alalek:issue_20828_netbsd

2 years agoMerge pull request #20838 from alalek:fix_20833
Alexander Alekhin [Fri, 8 Oct 2021 02:09:46 +0000 (02:09 +0000)]
Merge pull request #20838 from alalek:fix_20833

2 years agoMerge pull request #20801 from JonasVautherin:fix-gst-error-handling
Jonas Vautherin [Fri, 8 Oct 2021 02:07:04 +0000 (04:07 +0200)]
Merge pull request #20801 from JonasVautherin:fix-gst-error-handling

* Fix gst error handling

* Use the return value instead of the error, which gives no guarantee of being NULL in case of error
* Test err pointer before accessing it
* Remove unreachable code

* videoio(gstreamer): restore check in writer code

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agodnn(ocl4dnn): cleanup dead code, improve logging
Alexander Alekhin [Fri, 8 Oct 2021 00:12:14 +0000 (00:12 +0000)]
dnn(ocl4dnn): cleanup dead code, improve logging

2 years agocore: add __NetBSD__ build fix in parallel.cpp
Alexander Alekhin [Thu, 7 Oct 2021 23:27:10 +0000 (23:27 +0000)]
core: add __NetBSD__ build fix in parallel.cpp

2 years agodnn(ocl4dnn): add extra checks to convolution layer
Alexander Alekhin [Thu, 7 Oct 2021 17:58:19 +0000 (17:58 +0000)]
dnn(ocl4dnn): add extra checks to convolution layer

- prevent running code over unsupported/non-tested configurations
- prevent integer div by zero

2 years agoMerge pull request #20823 from AleksandrPanov:fix_orb_integer_overflow
Alexander Panov [Thu, 7 Oct 2021 22:46:25 +0000 (01:46 +0300)]
Merge pull request #20823 from AleksandrPanov:fix_orb_integer_overflow

Fix ORB integer overflow

* set size_t step to fix integer overflow in ptr0 offset

* added issue_537 test

* minor fix tags, points

* added size_t_step and offset to remove mixed unsigned and signed operations

* features2d: update ORB checks

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoMerge pull request #20831 from sthalik:fix-msvc-build-3.4
Alexander Alekhin [Thu, 7 Oct 2021 16:16:59 +0000 (16:16 +0000)]
Merge pull request #20831 from sthalik:fix-msvc-build-3.4

2 years agoadd new supported MSVC version
Stanislaw Halik [Mon, 4 Oct 2021 12:42:32 +0000 (14:42 +0200)]
add new supported MSVC version

2 years agoMerge pull request #20725 from mologie:fix-dnn-tf-on-arm
Oliver Kuckertz [Wed, 6 Oct 2021 16:41:05 +0000 (18:41 +0200)]
Merge pull request #20725 from mologie:fix-dnn-tf-on-arm

* dnn: fix unaligned memory access crash on armv7

The getTensorContent function would return a Mat pointing to some
member of a Protobuf-encoded message. Protobuf does not make any
alignment guarantees, which results in a crash on armv7 when loading
models while bit 2 is set in /proc/cpu/alignment (or the relevant
kernel feature for alignment compatibility is disabled). Any read
attempt from the previously unaligned data member would send SIGBUS.

As workaround, this commit makes an aligned copy via existing clone
functionality in getTensorContent. The unsafe copy=false option is
removed. Unfortunately, a rather crude hack in PReLUSubgraph in fact
writes(!) to the Protobuf message. We limit ourselves to fixing the
alignment issues in this commit, and add getTensorContentRefUnaligned
to cover the write case with a safe memcpy. A FIXME marks the issue.

* dnn: reduce amount of .clone() calls

* dnn: update FIXME comment

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoMerge pull request #20815 from alalek:fix_20649_revert_19859
Alexander Alekhin [Wed, 6 Oct 2021 12:05:45 +0000 (15:05 +0300)]
Merge pull request #20815 from alalek:fix_20649_revert_19859

features2d: repair SimpleBlobDetector

* features2d: revert code change by PR #19859

Reverted commit 76860933f0a31c0abd1b26c1f11b25972cda031e

* features2d: check SimpleBlobDetector parameters consistency

2 years agoMerge pull request #20814 from alalek:dnn_pytest_input_3d
Alexander Alekhin [Wed, 6 Oct 2021 12:02:34 +0000 (12:02 +0000)]
Merge pull request #20814 from alalek:dnn_pytest_input_3d

2 years agoMerge pull request #20802 from alalek:core_tls_init_TlsAbstraction
Alexander Alekhin [Wed, 6 Oct 2021 12:01:06 +0000 (12:01 +0000)]
Merge pull request #20802 from alalek:core_tls_init_TlsAbstraction

2 years agodnn(pytest/test_input_3d): reload model between switching targets
Alexander Alekhin [Tue, 5 Oct 2021 23:21:27 +0000 (23:21 +0000)]
dnn(pytest/test_input_3d): reload model between switching targets

2 years agoMerge pull request #20808 from alalek:update_ffmpeg_3.4
Alexander Alekhin [Tue, 5 Oct 2021 15:06:08 +0000 (15:06 +0000)]
Merge pull request #20808 from alalek:update_ffmpeg_3.4

2 years agoffmpeg/3.4: update FFmpeg wrapper 2021.10
Alexander Alekhin [Tue, 5 Oct 2021 07:09:27 +0000 (10:09 +0300)]
ffmpeg/3.4: update FFmpeg wrapper 2021.10

- FFmpeg 3.4.8 (no changes)

2 years agoMerge pull request #20806 from alalek:update_version_3.4.16-pre
Alexander Alekhin [Mon, 4 Oct 2021 22:50:26 +0000 (22:50 +0000)]
Merge pull request #20806 from alalek:update_version_3.4.16-pre

2 years agopre: OpenCV 3.4.16 (version++)
Alexander Alekhin [Mon, 4 Oct 2021 20:47:07 +0000 (20:47 +0000)]
pre: OpenCV 3.4.16 (version++)

2 years agoMerge pull request #20803 from alalek:core_parallel_workaround_tsan
Alexander Alekhin [Mon, 4 Oct 2021 19:16:27 +0000 (19:16 +0000)]
Merge pull request #20803 from alalek:core_parallel_workaround_tsan

2 years agoMerge pull request #20743 from keroiber:prefix_js_function_bindings_with_namespace
keroiber [Mon, 4 Oct 2021 16:51:49 +0000 (18:51 +0200)]
Merge pull request #20743 from keroiber:prefix_js_function_bindings_with_namespace

* Prefix global javascript functions with sub-namespaces

* js: handle 'namespace_prefix_override', update filtering

- avoid functions override with same name but different namespace

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agoMerge pull request #20183 from xhawk18:3.4
xhawk18 [Mon, 4 Oct 2021 16:44:57 +0000 (00:44 +0800)]
Merge pull request #20183 from xhawk18:3.4

* improve compatibility for qt 6.

* cmake(highgui): rework Qt dependency support

* cmake(highgui): workaround Qt5Config.cmake "components" bug

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2 years agovalgrind: update suppressions
Alexander Alekhin [Mon, 4 Oct 2021 16:27:05 +0000 (16:27 +0000)]
valgrind: update suppressions

2 years agocore(TLS): force TlsAbstraction initialization before main()
Alexander Alekhin [Mon, 4 Oct 2021 09:40:16 +0000 (09:40 +0000)]
core(TLS): force TlsAbstraction initialization before main()

2 years agocore(parallel): suppress TSAN warning
Alexander Alekhin [Mon, 4 Oct 2021 10:46:32 +0000 (10:46 +0000)]
core(parallel): suppress TSAN warning

2 years agoMerge pull request #20797 from sturkmen72:restore_LSD
Alexander Alekhin [Sat, 2 Oct 2021 17:50:38 +0000 (17:50 +0000)]
Merge pull request #20797 from sturkmen72:restore_LSD

2 years agoMerge pull request #20796 from JonasVautherin:patch-1
Alexander Alekhin [Sat, 2 Oct 2021 17:48:23 +0000 (17:48 +0000)]
Merge pull request #20796 from JonasVautherin:patch-1

2 years agoFix gst_initializer
Jonas Vautherin [Sat, 2 Oct 2021 01:07:25 +0000 (03:07 +0200)]
Fix gst_initializer

Use the return value of gst_init_check instead of testing the error pointer

2 years agoMerge pull request #20795 from JBamberger:gradle-dynamic-cv-version
Alexander Alekhin [Sat, 2 Oct 2021 15:35:56 +0000 (15:35 +0000)]
Merge pull request #20795 from JBamberger:gradle-dynamic-cv-version

2 years agoAutomatically set the correct OpenCV version in build.gradle
Jannik Bamberger [Fri, 1 Oct 2021 22:04:23 +0000 (00:04 +0200)]
Automatically set the correct OpenCV version in build.gradle

Automatically sets the correct OpenCV version in the CMAKE example contained in the build.gradle
file of the Android SDK.

2 years agoadditional changes
Suleyman TURKMEN [Sat, 2 Oct 2021 10:32:11 +0000 (13:32 +0300)]
additional changes

2 years agoMerge pull request #20794 from alalek:dnn_ocl_fix_conv_dwconv_workgroup
Alexander Alekhin [Fri, 1 Oct 2021 22:25:47 +0000 (22:25 +0000)]
Merge pull request #20794 from alalek:dnn_ocl_fix_conv_dwconv_workgroup

2 years agodnn(ocl): fix conv DWCONV workgroup
Alexander Alekhin [Fri, 1 Oct 2021 18:51:01 +0000 (18:51 +0000)]
dnn(ocl): fix conv DWCONV workgroup

2 years agoMerge pull request #20793 from tomoaki0705:fixGaussianOverflow
Alexander Alekhin [Fri, 1 Oct 2021 15:53:15 +0000 (15:53 +0000)]
Merge pull request #20793 from tomoaki0705:fixGaussianOverflow

2 years agosuppress GaussianBlur to generate empty images
Tomoaki Teshima [Fri, 1 Oct 2021 14:17:02 +0000 (23:17 +0900)]
suppress GaussianBlur to generate empty images
  * sharp Gaussian kernel causes over flow and ends up in blank image

2 years agorestore LSD
Suleyman TURKMEN [Fri, 1 Oct 2021 13:23:16 +0000 (16:23 +0300)]
restore LSD

2 years agoMerge pull request #20774 from alalek:dnn_ocl_fix_conv_basic_workgroup
Alexander Alekhin [Thu, 30 Sep 2021 10:16:26 +0000 (10:16 +0000)]
Merge pull request #20774 from alalek:dnn_ocl_fix_conv_basic_workgroup

2 years agodnn(ocl): fix conv BASIC workgroup
Alexander Alekhin [Wed, 29 Sep 2021 13:16:46 +0000 (13:16 +0000)]
dnn(ocl): fix conv BASIC workgroup

2 years agoMerge pull request #20763 from Cavendish-Koo:houghlines_sdiv_bug_fix
Alexander Alekhin [Wed, 29 Sep 2021 11:04:13 +0000 (11:04 +0000)]
Merge pull request #20763 from Cavendish-Koo:houghlines_sdiv_bug_fix

2 years agoMerge pull request #20748 from sturkmen72:clean_up_test_data
Alexander Alekhin [Tue, 28 Sep 2021 17:45:39 +0000 (20:45 +0300)]
Merge pull request #20748 from sturkmen72:clean_up_test_data

2 years agoMerge pull request #20762 from fishmandev:patch-1
Alexander Alekhin [Tue, 28 Sep 2021 15:00:13 +0000 (15:00 +0000)]
Merge pull request #20762 from fishmandev:patch-1

2 years agofix the bug of HoughlinesSDIV
Cavendish-Koo [Tue, 28 Sep 2021 13:18:07 +0000 (21:18 +0800)]
fix the bug of HoughlinesSDIV

2 years agoUpdate video_input_psnr_ssim.markdown
Dmitriy Fishman [Tue, 28 Sep 2021 12:29:47 +0000 (15:29 +0300)]
Update video_input_psnr_ssim.markdown

2 years agoMerge pull request #20754 from asmorkalov:as/parser_verbose_print
Alexander Alekhin [Tue, 28 Sep 2021 11:47:55 +0000 (11:47 +0000)]
Merge pull request #20754 from asmorkalov:as/parser_verbose_print

2 years agoVerbose output for errors found by header parser.
Alexander Smorkalov [Mon, 27 Sep 2021 07:53:23 +0000 (10:53 +0300)]
Verbose output for errors found by header parser.

2 years agoUpdate perf_bgfg_mog2.cpp, perf_bgfg_knn.cpp
Suleyman TURKMEN [Sat, 25 Sep 2021 06:31:44 +0000 (09:31 +0300)]
Update perf_bgfg_mog2.cpp, perf_bgfg_knn.cpp

2 years agoMerge pull request #20712 from Nicholas-Ho-arm:3.4_RowVec_8u32f
Nicholas Ho [Sat, 25 Sep 2021 17:43:33 +0000 (18:43 +0100)]
Merge pull request #20712 from Nicholas-Ho-arm:3.4_RowVec_8u32f

* Add RowVec_8u32f

* Fix build errors in Linux x64 Debug and armeabi-v7a

* Reformat code to make it more clean and conventional

* Optimise with vx_load_expand_q()

2 years agoMerge pull request #20746 from easonycwang:easonycwang/inpaint_perf_opt
Alexander Alekhin [Fri, 24 Sep 2021 17:38:56 +0000 (17:38 +0000)]
Merge pull request #20746 from easonycwang:easonycwang/inpaint_perf_opt

2 years agoTile:
easonycwang [Fri, 24 Sep 2021 09:44:58 +0000 (17:44 +0800)]
Tile:
This submission is used to improve the performance of the inpaint algorithm for 3 channels images(RGB or BGR).

Reason:
The original algorithm implementation did not consider the cache hits.
The loop of channels is outside the core loop, so the perfmance is not very good.
Moving the channel loop inside the core loop can significantly improve cache hits, thereby improving performance.

Performance:
360P, about >= 30% improvement
iphone8P: 5.52ms -> 3.75ms
iphone6s: 14.04ms -> 9.15ms

2 years agoMerge pull request #20742 from UnaNancyOwen:fix_text_detection
Alexander Alekhin [Fri, 24 Sep 2021 10:56:22 +0000 (10:56 +0000)]
Merge pull request #20742 from UnaNancyOwen:fix_text_detection

2 years agofix cast in text detection sample
Tsukasa Sugiura [Fri, 24 Sep 2021 06:35:42 +0000 (15:35 +0900)]
fix cast in text detection sample

2 years agoMerge pull request #19554 from amirtu:OCV-215_cvtColorTwoPlane_wrong_output_when_Y_Pl...
Amir Tulegenov [Wed, 22 Sep 2021 14:42:32 +0000 (20:42 +0600)]
Merge pull request #19554 from amirtu:OCV-215_cvtColorTwoPlane_wrong_output_when_Y_Plane_Mat_has_step

different paddings in cvtColorTwoPlane() for biplane YUV420

* Different paddings support in cvtColorTwoPlane() for biplane YUV420

* Build fix for dispatch case.

* Resoted old behaviour for y.step==uv.step to exclude perf regressions.

Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai>
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
2 years agoMerge pull request #20729 from MikaelUrankar:3.4
Alexander Alekhin [Tue, 21 Sep 2021 22:30:49 +0000 (22:30 +0000)]
Merge pull request #20729 from MikaelUrankar:3.4

2 years agoDetect FP16 on FreeBSD aarch64
mikael [Tue, 21 Sep 2021 17:46:33 +0000 (19:46 +0200)]
Detect FP16 on FreeBSD aarch64

2 years agoMerge pull request #20713 from SamFC10:unsqueeze-opset13
Alexander Alekhin [Tue, 21 Sep 2021 15:27:48 +0000 (15:27 +0000)]
Merge pull request #20713 from SamFC10:unsqueeze-opset13

2 years agofix for unsqueeze opset version 13
SamFC10 [Fri, 17 Sep 2021 12:10:57 +0000 (17:40 +0530)]
fix for unsqueeze opset version 13

2 years agoMerge pull request #20699 from alalek:dnn_perf_update_convolution_tests
Alexander Alekhin [Thu, 16 Sep 2021 17:11:32 +0000 (17:11 +0000)]
Merge pull request #20699 from alalek:dnn_perf_update_convolution_tests

2 years agoMerge pull request #20671 from rogday:yolov4x-mish
rogday [Tue, 14 Sep 2021 17:49:49 +0000 (20:49 +0300)]
Merge pull request #20671 from rogday:yolov4x-mish

Add support for YOLOv4x-mish

* backport to 3.4 for supporting yolov4x-mish

* add YOLOv4x-mish test

* address review comments

Co-authored-by: Guo Xu <guoxu@1school.com.cn>
2 years agoMerge pull request #20700 from alalek:cmake_fix_handling_ie_version
Alexander Alekhin [Tue, 14 Sep 2021 17:17:53 +0000 (17:17 +0000)]
Merge pull request #20700 from alalek:cmake_fix_handling_ie_version

2 years agoMerge pull request #20692 from sturkmen72:update_convexhull_cpp
Alexander Alekhin [Tue, 14 Sep 2021 08:59:35 +0000 (08:59 +0000)]
Merge pull request #20692 from sturkmen72:update_convexhull_cpp

2 years agocmake: fix handling of INF_ENGINE_RELEASE
Alexander Alekhin [Tue, 14 Sep 2021 04:15:35 +0000 (04:15 +0000)]
cmake: fix handling of INF_ENGINE_RELEASE

- default value should be handled earlier

2 years agoMerge pull request #20676 from AleksandrPanov:delete_createConvexHull_convertTo
Alexander Panov [Mon, 13 Sep 2021 16:27:00 +0000 (19:27 +0300)]
Merge pull request #20676 from AleksandrPanov:delete_createConvexHull_convertTo

* deleted dublicated createConvexHull and convertTo

* replaced checkVector(2) with points.empty()

2 years agoMerge pull request #20693 from alalek:backport_merge34_fix
Alexander Alekhin [Sun, 12 Sep 2021 11:09:51 +0000 (11:09 +0000)]
Merge pull request #20693 from alalek:backport_merge34_fix

2 years agodnn(onnx): fix format specifier
Alexander Alekhin [Sat, 11 Sep 2021 22:26:52 +0000 (22:26 +0000)]
dnn(onnx): fix format specifier

2 years agoUpdate convexhull.cpp
Suleyman TURKMEN [Sat, 11 Sep 2021 19:58:45 +0000 (22:58 +0300)]
Update convexhull.cpp

2 years agoMerge pull request #20690 from alalek:build_opencv_winpack_dldt_2021.4.1
Alexander Alekhin [Sat, 11 Sep 2021 16:26:51 +0000 (16:26 +0000)]
Merge pull request #20690 from alalek:build_opencv_winpack_dldt_2021.4.1

2 years agoMerge pull request #20687 from alalek:core_ocl_fix_intel_gemm
Alexander Alekhin [Sat, 11 Sep 2021 16:26:25 +0000 (16:26 +0000)]
Merge pull request #20687 from alalek:core_ocl_fix_intel_gemm

2 years agoMerge pull request #20686 from zihaomu:tf_biasadd_bug
Alexander Alekhin [Sat, 11 Sep 2021 16:25:04 +0000 (19:25 +0300)]
Merge pull request #20686 from zihaomu:tf_biasadd_bug

DNN: BiasAdd tf_importer.cpp could load Const from First Place

2 years agoBiasAdd could load Const from second place.
Zihao Mu [Fri, 10 Sep 2021 10:15:22 +0000 (18:15 +0800)]
BiasAdd could load Const from second place.

2 years agobuild: winpack_dldt with dldt 2021.4.1
Alexander Alekhin [Fri, 10 Sep 2021 20:58:37 +0000 (20:58 +0000)]
build: winpack_dldt with dldt 2021.4.1

2 years agoMerge pull request #20689 from diablodale:fix20613-selectocldevice
Alexander Alekhin [Fri, 10 Sep 2021 22:26:36 +0000 (22:26 +0000)]
Merge pull request #20689 from diablodale:fix20613-selectocldevice

2 years agofix opencv/opencv#20613
Dale Phurrough [Fri, 10 Sep 2021 15:59:56 +0000 (17:59 +0200)]
fix opencv/opencv#20613

* copy 4.x selectOpenCLDevice() -- it is compatible
* filter platforms rather than trying only first matching
* this works on 3.4 and 4.x master

2 years agodnn(perf): update convolution tests
Alexander Alekhin [Fri, 10 Sep 2021 12:42:28 +0000 (12:42 +0000)]
dnn(perf): update convolution tests

2 years agocore(ocl): buffer bounds in intelblas_gemm_buffer_NT
Alexander Alekhin [Tue, 7 Sep 2021 04:39:28 +0000 (04:39 +0000)]
core(ocl): buffer bounds in intelblas_gemm_buffer_NT

2 years agoMerge pull request #20670 from alalek:core_ocl_fix_intel_gpu_gemm_requirements
Alexander Alekhin [Fri, 10 Sep 2021 12:00:11 +0000 (15:00 +0300)]
Merge pull request #20670 from alalek:core_ocl_fix_intel_gpu_gemm_requirements

core(OpenCL): fix intel_gpu_gemm kernel requirements

* core(ocl): fix intel_gpu_gemm integration

- allow bailout to generic OpenCL kernel

* core(ocl): avoid failures of generic OpenCL gemm kernel

* core(ocl): define alignment requirements of intel_gpu_gemm kernels

2 years agoMerge pull request #20661 from alalek:dnn_ocl_fix_gemm_like_kernel
Alexander Alekhin [Fri, 10 Sep 2021 11:58:52 +0000 (11:58 +0000)]
Merge pull request #20661 from alalek:dnn_ocl_fix_gemm_like_kernel

2 years agoMerge pull request #20674 from rogday:prelu_slope
rogday [Fri, 10 Sep 2021 11:07:16 +0000 (14:07 +0300)]
Merge pull request #20674 from rogday:prelu_slope

Fix PReLU negative slope access pattern

* fix prelu negative slope access pattern

* change begin() to ptr()

2 years agoMerge pull request #20675 from diablodale:fix2-20544
Alexander Alekhin [Thu, 9 Sep 2021 21:35:02 +0000 (21:35 +0000)]
Merge pull request #20675 from diablodale:fix2-20544