Alexander Alekhin [Thu, 24 Feb 2022 12:08:55 +0000 (12:08 +0000)]
Merge pull request #21625 from hanliutong:rvv1p0
Sergey Ivanov [Thu, 24 Feb 2022 10:35:52 +0000 (13:35 +0300)]
Merge pull request #21618 from sivanov-work:vpp_preproc_core
G-API: Add VPL/VPP preproc core module
* Add BaseMediAdapter for VPL
* Add PreprocSession & PreprocEngine interface part
* Implement preproc UT, Fix base path
* Add common PP interface, add common pp_params
* Rough decoupling VPL & Preproc
* Add syntax sugar for PP interface
* Integrate VPP preproc in GIEbackend
* Add PP bypass
* Add perf tests for PP
* Fix warning in vpl core UT
* Add inner preproc resolution Unit Test
* Remove VPP preproc description from single ROI sample
* Apply SetROIBlob for diferent Infer operations
* Eliminate extra branch-lines for cfg_param_parser & transcode_engine
* Fix UT warning &PreprocSession compile
* Fix compilation & warnings
* Reduce Session&Engine code amount
* Apply some comments
* Revert IE changes, rename preproc
* Fix for DX11 infer for OV: turn off texture array
* Remove dependency PP on IE
* Change fixture tests params
* Apply other comments & turn off ROI for GPU
* Fix compilation: remove forgotten INFER define
* Apply debt comments
* Fix PP UTs: add FrameInfo value comparator
* Fix style
* Remove standalone map for preproc frames storage
* Add other comments
Alexander Alekhin [Tue, 22 Feb 2022 19:23:32 +0000 (19:23 +0000)]
Merge pull request #21613 from YusukeKameda:patch-1
Alexander Alekhin [Mon, 21 Feb 2022 22:17:16 +0000 (22:17 +0000)]
Merge pull request #21534 from alexgiving:atrutnev/simd_for_merge4
Aleksei Trutnev [Mon, 7 Feb 2022 09:54:50 +0000 (12:54 +0300)]
enable dynamic dispatching for merge4
Yuantao Feng [Mon, 21 Feb 2022 13:49:07 +0000 (21:49 +0800)]
Merge pull request #21607 from fengyuentau:fix_FaceDetectorYN_dynamic_shape
Use YuNet of fixed input shape to fix not-supported-dynamic-zero-shape for FaceDetectorYN
* use yunet with input of fixed shape
* update yunet used in face recognition regression
Alexander Alekhin [Sat, 19 Feb 2022 21:04:35 +0000 (21:04 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 19 Feb 2022 20:58:57 +0000 (20:58 +0000)]
Merge pull request #21639 from georgthegreat:patch-1
Alexander Alekhin [Sat, 19 Feb 2022 20:58:35 +0000 (20:58 +0000)]
Merge pull request #21598 from KaurkerDevourer:patch-1
KaurkerDevourer [Fri, 11 Feb 2022 11:38:48 +0000 (14:38 +0300)]
Fix DpSeamFinder::hasOnlyOneNeighbor
std::lower_bound is linear for set
https://en.cppreference.com/w/cpp/algorithm/lower_bound
Artem Saratovtsev [Fri, 18 Feb 2022 14:58:58 +0000 (17:58 +0300)]
Merge pull request #21635 from DumDereDum:issue_21595_3.4
Issue 21595 fix 3.4 branch
* bug fix; add test
* rewrite tests avoiding vector in tests
Yuriy Chernyshov [Fri, 18 Feb 2022 14:57:46 +0000 (17:57 +0300)]
Аix -Winvalid-noreturn under clang-cl
Alexander Alekhin [Thu, 17 Feb 2022 12:16:06 +0000 (12:16 +0000)]
Merge pull request #21628 from anna-khakimova:ak/resize_fix_32bit_builds
Anna Khakimova [Wed, 16 Feb 2022 13:29:17 +0000 (16:29 +0300)]
GAPI Fluid: Fix for 32bit build issue.
Alexander Alekhin [Wed, 16 Feb 2022 18:37:15 +0000 (18:37 +0000)]
Merge pull request #21602 from paroj:hidpi
Alexander Alekhin [Wed, 16 Feb 2022 17:47:48 +0000 (17:47 +0000)]
Merge pull request #21626 from anna-khakimova:ak/workaround_for_16s
Alexander Alekhin [Wed, 16 Feb 2022 17:45:19 +0000 (17:45 +0000)]
Merge pull request #21529 from alexgiving:atrutnev/simd_for_merge3
Anna Khakimova [Wed, 16 Feb 2022 11:21:14 +0000 (14:21 +0300)]
GAPI Perf Tests:Workaround for the OpenCV's issue.
Alexander Alekhin [Wed, 16 Feb 2022 09:57:25 +0000 (09:57 +0000)]
Merge pull request #21612 from seanm:tsan-call-once
HAN Liutong [Wed, 16 Feb 2022 08:01:38 +0000 (16:01 +0800)]
Update clang toolchain for RVV.
Sean McBride [Mon, 14 Feb 2022 21:33:04 +0000 (16:33 -0500)]
Replaced incorrect double checked locking with a static
Thread Sanitizer identified an incorrect implementation of double checked locking.
Replaced it with a static, which therefore can only be created once.
Alexander Alekhin [Tue, 15 Feb 2022 18:19:51 +0000 (18:19 +0000)]
Merge pull request #21622 from alalek:imgcodecs_checks_3.4
Alexander Alekhin [Tue, 15 Feb 2022 11:48:09 +0000 (11:48 +0000)]
imgcodecs: add runtime checks to validate input
backport of commit:
f9b1dbe2ac3da4ed87647ea27d9060879acc20fe
Alexander Alekhin [Tue, 15 Feb 2022 16:30:47 +0000 (16:30 +0000)]
Merge pull request #21620 from alalek:imgcodecs_checks
Alexander Alekhin [Tue, 15 Feb 2022 15:31:23 +0000 (15:31 +0000)]
Merge pull request #21614 from alalek:fix_build_power8_vec_absd
Alexander Alekhin [Tue, 15 Feb 2022 13:11:59 +0000 (13:11 +0000)]
Merge pull request #21617 from mshabunin:disable-onnx-tests-34
Alexander Alekhin [Tue, 15 Feb 2022 11:48:09 +0000 (11:48 +0000)]
imgcodecs: add runtime checks to validate input
Maksim Shabunin [Tue, 8 Feb 2022 17:32:55 +0000 (20:32 +0300)]
Update filters in ONNX tests
Alexander Alekhin [Tue, 15 Feb 2022 04:23:32 +0000 (07:23 +0300)]
core(vsx): update vec_absd() workaround condition
Alexander Alekhin [Mon, 14 Feb 2022 15:53:24 +0000 (15:53 +0000)]
Merge pull request #21609 from mshabunin:disable-onnx-tests
Maksim Shabunin [Tue, 8 Feb 2022 17:32:55 +0000 (20:32 +0300)]
Update filters in ONNX tests
Alexander Alekhin [Mon, 14 Feb 2022 14:14:30 +0000 (14:14 +0000)]
Merge pull request #21606 from sturkmen72:hog_update
Yusuke Kameda [Mon, 14 Feb 2022 10:31:45 +0000 (19:31 +0900)]
Incorrect kernel matrix size when Scharr
Incorrect Mat size ksize==-1
Suleyman TURKMEN [Sun, 13 Feb 2022 08:18:30 +0000 (11:18 +0300)]
update HOGDescriptor documentation
Pavel Rojtberg [Sat, 12 Feb 2022 13:56:42 +0000 (14:56 +0100)]
highui: qt - enable hidpi by default
can be overriden by environment:
QT_AUTO_SCREEN_SCALE_FACTOR=0
Alexander Alekhin [Fri, 11 Feb 2022 17:32:37 +0000 (17:32 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 11 Feb 2022 16:46:55 +0000 (16:46 +0000)]
Merge pull request #21599 from alalek:winpack_dldt_force_cmake_config
Alexander Alekhin [Fri, 11 Feb 2022 12:13:09 +0000 (15:13 +0300)]
build(winpack_dldt): force using CMake config for InferenceEngine
Alexander Alekhin [Thu, 10 Feb 2022 21:47:30 +0000 (21:47 +0000)]
Merge pull request #21591 from alalek:dnn_drop_legacy_ie
cudawarped [Thu, 10 Feb 2022 16:45:34 +0000 (16:45 +0000)]
Merge pull request #21561 from cudawarped:ffmpeg_prefer_tcp_default
Default FFMPEG VideoCapture backend to rtsp_flags=prefer_tcp
* Make the VideoCapture ffmpeg backends default rtsp connection type prefer_tcp.
* Ensure that the ffmpeg version of avformat is checked.
Vincent Rabaud [Thu, 10 Feb 2022 16:44:14 +0000 (17:44 +0100)]
Merge pull request #21594 from vrabaud:3.4_msan
* Fix harmless MSAN error.
This is similar to https://github.com/opencv/opencv/pull/21527
A macro is also created to simplify the code.
* Declare fallback only once.
Alexander Alekhin [Wed, 9 Feb 2022 14:25:08 +0000 (14:25 +0000)]
dnn: drop legacy Inference Engine NN builder API
Alexander Alekhin [Wed, 9 Feb 2022 18:49:41 +0000 (18:49 +0000)]
Merge pull request #21590 from berak:patch-1
Alexander Alekhin [Wed, 9 Feb 2022 18:49:24 +0000 (18:49 +0000)]
Merge pull request #21582 from gfiumara:3.4
Sergey Ivanov [Wed, 9 Feb 2022 18:48:06 +0000 (21:48 +0300)]
Merge pull request #21567 from sivanov-work:gapi_streaming_fix
G-API: Fix streaming hangs for ConstSource & Improve troubleshooting logger messages
Greg Fiumara [Tue, 8 Feb 2022 21:21:53 +0000 (16:21 -0500)]
Fix cv::FileStorage::Mode::Memory doxygen layout
Anatoliy Talamanov [Wed, 9 Feb 2022 16:52:23 +0000 (19:52 +0300)]
Merge pull request #21579 from TolyaTalamanov:at/handle-errors-in-iebackend
[G-API] Handle errors in IEBackend & modeling tool
* Handle errors in IEBackend & modeling tool
* Handle exceptions in callback
* Add const cv to exception
berak [Wed, 9 Feb 2022 16:14:05 +0000 (17:14 +0100)]
Update text_detection.py
there is a recent change, how `std::vector<int>` is wrapped in python,
it used to be a 2d array (requirig that weird `[0]` indexing), now it is only 1d
Dmitry Budnikov [Tue, 8 Feb 2022 13:51:53 +0000 (16:51 +0300)]
Merge pull request #21560 from dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source
G-API gst source gray support
Alexander Alekhin [Tue, 8 Feb 2022 13:30:29 +0000 (13:30 +0000)]
Merge pull request #21577 from sturkmen72:upd_floodfill
Suleyman TURKMEN [Tue, 8 Feb 2022 05:37:04 +0000 (08:37 +0300)]
fix cv::floodfill() for calling it with an empty mask
Alexander Alekhin [Mon, 7 Feb 2022 17:55:12 +0000 (17:55 +0000)]
Merge pull request #21573 from lamm45:lineiterator-doc
Anatoliy Talamanov [Mon, 7 Feb 2022 16:48:43 +0000 (19:48 +0300)]
Merge pull request #21566 from TolyaTalamanov:at/gapi-modeling-tool_fix_handling_fp16_precision
[G-API] Pipeline modeling tool - Fix generating FP16 Mat
* Fix handling fp16 precision
* Disable preproc in case FP16 input inside IE backend
* Fix isApplicableForResize function
lamm45 [Sun, 6 Feb 2022 23:42:26 +0000 (18:42 -0500)]
Update LineIterator documentation
Alexander Alekhin [Sun, 6 Feb 2022 16:10:43 +0000 (16:10 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 6 Feb 2022 16:06:23 +0000 (16:06 +0000)]
Merge pull request #21564 from alalek:dnn_fix_openvino_outputs
Alexander Alekhin [Sun, 6 Feb 2022 16:04:38 +0000 (16:04 +0000)]
Merge pull request #21569 from alalek:fixup_18031
Alexander Alekhin [Sat, 5 Feb 2022 16:16:45 +0000 (16:16 +0000)]
dnn(ngraph): fix output names
Alexander Alekhin [Sat, 5 Feb 2022 02:51:44 +0000 (02:51 +0000)]
dnn(ngraph): fix outputs handling, drop 'unconnected' logic
Alexander Alekhin [Sat, 5 Feb 2022 14:36:57 +0000 (14:36 +0000)]
dnn(ngraph): add debuging messages
Alexander Alekhin [Thu, 3 Feb 2022 20:23:17 +0000 (20:23 +0000)]
dnn: don't fuse 'outputs' with OpenVINO backend
Alexander Alekhin [Sat, 5 Feb 2022 03:31:39 +0000 (03:31 +0000)]
dnn(test): re-enable ONNX split tests for OpenVINO
Alexander Alekhin [Sat, 5 Feb 2022 03:28:36 +0000 (03:28 +0000)]
dnn(ngraph): fixup get_output_as_single_output_node() replacement patch
Alexander Alekhin [Thu, 3 Feb 2022 19:18:26 +0000 (19:18 +0000)]
Merge pull request #21562 from alalek:cmake_carotene_use_cv_disable_optimization
Alexander Alekhin [Thu, 3 Feb 2022 17:25:52 +0000 (17:25 +0000)]
cmake(carotene): disable with CV_DISABLE_OPTIMIZATION
Alexander Alekhin [Thu, 3 Feb 2022 12:28:49 +0000 (12:28 +0000)]
Merge pull request #21555 from cudawarped:fix_gpumat_dataend_bug
Dmitry Budnikov [Thu, 3 Feb 2022 12:20:21 +0000 (15:20 +0300)]
Merge pull request #21511 from dbudniko:dbudniko/gapi_media_format_gray
G-API media format gray
Anna Khakimova [Wed, 2 Feb 2022 18:47:01 +0000 (21:47 +0300)]
Merge pull request #21474 from anna-khakimova:ak/simd_for_divc
GAPI Fluid: SIMD for DivC kernel.
* GAPI Fluid:SIMD for DivC
* Applied comment
Alexander Alekhin [Wed, 2 Feb 2022 18:04:50 +0000 (18:04 +0000)]
Merge pull request #21551 from alalek:cmake_dnn_backport_3.4
cudawarped [Wed, 2 Feb 2022 14:25:46 +0000 (14:25 +0000)]
Fix GpuMat to correctly calculate dataend when using GpuMat::create().
Add output to createMat() to be used by locateROI test cases.
Maksim Shabunin [Fri, 14 Jan 2022 21:53:19 +0000 (00:53 +0300)]
3.4: Use modern OpenVINO package interface
original commit:
437af37b1341e5cef90aa1a4ce60210feacc6c8a
Ilya Lavrenov [Thu, 9 Sep 2021 07:56:34 +0000 (10:56 +0300)]
3.4: Support of OpenVINO interface libraries
original commit:
c703f1eed6c3da4f14b37cc151e03463bb4ff54f
Alexander Alekhin [Tue, 1 Feb 2022 18:59:59 +0000 (18:59 +0000)]
Merge pull request #21452 from mshabunin:ov-pkg
Alexander Alekhin [Tue, 1 Feb 2022 17:01:36 +0000 (17:01 +0000)]
Merge pull request #21547 from mshabunin:plugin-link
Alexander Alekhin [Tue, 1 Feb 2022 17:01:16 +0000 (17:01 +0000)]
Merge pull request #21538 from edman007:fixup-21536
Lukas-Alexander Weber [Tue, 1 Feb 2022 16:56:44 +0000 (17:56 +0100)]
Merge pull request #21420 from lukasalexanderweber:4.x
Introduce Cropping to OpenCV Stitching Tool
* Introduced Cropping
* integrate https://github.com/opencv/opencv/pull/21413/
* fixed failing subsetter tests
* updated stuff
Maksim Shabunin [Fri, 14 Jan 2022 21:53:19 +0000 (00:53 +0300)]
Use modern OpenVINO package interface
Aleksei Trutnev [Thu, 27 Jan 2022 13:12:53 +0000 (16:12 +0300)]
Enable dynamic dispatching for Merge3
Anatoliy Talamanov [Tue, 1 Feb 2022 13:32:56 +0000 (16:32 +0300)]
Merge pull request #21477 from TolyaTalamanov:at/pipeline-builder-tool
[G-API] Implement G-API pipeline modeling tool
* Implement G-API pipeline builder tool
* Remove whitespaces from config
* Remove unused unittest stuff
* Fix comments to review
* Fix MAC warning
* Rename to pipeline_modeling_tool
* Move to opencv apps
* Move config to gapi/samples/data
* gapi: samples sources are installed automatically
Maksim Shabunin [Fri, 13 Aug 2021 11:20:32 +0000 (14:20 +0300)]
Option to enable/disable plugin linking with OpenCV
Ed Martin [Sat, 29 Jan 2022 04:01:03 +0000 (23:01 -0500)]
Fallback to vaCreateImage + vaPutImage/vaGetImage when vaDeriveImage fails
Per intel docs for libva, when vaDeriveImage fails vaCreateImage +
vaPutImage should be tried. This is important as mesa with AMD HW
will always fail because the image is interlaced so a indirect
method must be used to get the surface to/from and image
Fixes https://github.com/opencv/opencv/issues/21536
Harvey [Mon, 31 Jan 2022 17:54:27 +0000 (01:54 +0800)]
Merge pull request #21428 from Harvey-Huang:TIFF
TiffEncoder write support more depth type
* TiffEncoder write support more depth type
* testing code
* update testing code
* add fallthrough
Alexander Alekhin [Mon, 31 Jan 2022 17:51:23 +0000 (17:51 +0000)]
Merge pull request #21508 from tailsu:sd/fix-zlib-png-android
Trutnev Aleksei [Mon, 31 Jan 2022 17:45:56 +0000 (20:45 +0300)]
Merge pull request #21520 from alexgiving:atrutnev/simd_for_split4
GAPI FLUID: Enable dynamic dispatching for Split4
* Enable dynamic dispatching for split4
* Add tail proc for split3 and split4
Alexander Alekhin [Sat, 29 Jan 2022 20:01:15 +0000 (20:01 +0000)]
dnn(test): fix int8 tolerances
Alexander Alekhin [Mon, 31 Jan 2022 12:53:45 +0000 (12:53 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 31 Jan 2022 12:46:14 +0000 (12:46 +0000)]
Merge pull request #21540 from alalek:dnn_support_outputs_registration_3.4
Alexander Alekhin [Sat, 29 Jan 2022 19:58:46 +0000 (19:58 +0000)]
dnn(test): fix outputs handling in ONNX conformance
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
Alexander Alekhin [Sat, 29 Jan 2022 19:11:58 +0000 (19:11 +0000)]
dnn: support outputs registration under new names
- fixed ONNX importer
Vincent Rabaud [Fri, 28 Jan 2022 15:35:47 +0000 (16:35 +0100)]
Merge pull request #21527 from vrabaud:3.4_msan
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
Alexander Alekhin [Fri, 28 Jan 2022 15:31:43 +0000 (15:31 +0000)]
Merge pull request #21521 from alalek:dnn_ignore_denormals
Zihao Mu [Fri, 28 Jan 2022 14:55:01 +0000 (22:55 +0800)]
Merge pull request #21518 from zihaomu:resize_onnx_opset13
Add resize layer compatible with ONNX opset13 version
Alexander Alekhin [Fri, 28 Jan 2022 13:11:22 +0000 (13:11 +0000)]
Merge pull request #21533 from alexgiving:atrutnev/tolerance_for_divc_kernel
Aleksei Trutnev [Fri, 28 Jan 2022 14:12:20 +0000 (17:12 +0300)]
tolerance for divc
Alexander Alekhin [Fri, 28 Jan 2022 12:52:25 +0000 (12:52 +0000)]
Merge pull request #21528 from sturkmen72:patch-5
Suleyman TURKMEN [Thu, 27 Jan 2022 19:40:39 +0000 (22:40 +0300)]
Update window.cpp
Trutnev Aleksei [Thu, 27 Jan 2022 12:27:41 +0000 (15:27 +0300)]
Merge pull request #21475 from alexgiving:atrutnev/fix_tests
GAPI: Replace resize perf test to imgproc
* resize + test configs
* fluid kernel "add"
* Add fluid core
Alexander Alekhin [Thu, 27 Jan 2022 10:16:13 +0000 (10:16 +0000)]
Merge pull request #21489 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix-backport
Alexander Alekhin [Thu, 27 Jan 2022 10:15:21 +0000 (10:15 +0000)]
Merge pull request #21525 from VadimLevin:dev/vlevin/pysubmodules-refcounter-fix
Vadim Levin [Thu, 27 Jan 2022 09:04:56 +0000 (12:04 +0300)]
fix: wrong reference counter after module initialization