platform/upstream/opencv.git
2 years agoSupport for some reduce layers for onnx
Zihao Mu [Fri, 18 Mar 2022 02:19:13 +0000 (10:19 +0800)]
Support for some reduce layers for onnx

2 years agoMerge pull request #21678 from anna-khakimova:ak/resize_f32c1_scalar
Anna Khakimova [Thu, 17 Mar 2022 16:45:14 +0000 (19:45 +0300)]
Merge pull request #21678 from anna-khakimova:ak/resize_f32c1_scalar

GAPI Fluid: Resize F32C1 scalar version.

* GAPI Fluid: Resize F32C1 scalar.

* Final version

* Applied comments

2 years agoMerge pull request #21662 from alalek:dnn_split
Alexander Alekhin [Thu, 17 Mar 2022 16:09:17 +0000 (16:09 +0000)]
Merge pull request #21662 from alalek:dnn_split

2 years agoMerge pull request #21677 from chacha21:rectangle_intersection
Pierre Chatelier [Wed, 16 Mar 2022 14:46:11 +0000 (15:46 +0100)]
Merge pull request #21677 from chacha21:rectangle_intersection

* better accuracy of _rotatedRectangleIntersection

instead of just migrating to double-precision (which would work), some computations are scaled by a factor that depends on the length of the smallest vectors.
There is a better accuracy even with floats, so this is certainly better for very sensitive cases

* Update intersection.cpp

use L2SQR norm to tune the numeric scale

* Update intersection.cpp

adapt samePointEps with L2 norm

* Update intersection.cpp

move comment

* Update intersection.cpp

fix wrong numericalScalingFactor usage

* added tests

* fixed warnings returned by buildbot

* modifications suggested by reviewer

renaming numericalScaleFctor to normalizationScale
refactor some computations
more "const"

* modifications as suggested by reviewer

2 years agoMerge pull request #21722 from mshabunin:fix-va-link
Alexander Alekhin [Wed, 16 Mar 2022 09:45:35 +0000 (09:45 +0000)]
Merge pull request #21722 from mshabunin:fix-va-link

2 years agoFix libva dynamic loading
Maksim Shabunin [Tue, 15 Mar 2022 16:00:52 +0000 (19:00 +0300)]
Fix libva dynamic loading

2 years agoMerge pull request #21686 from anna-khakimova:ak/dynamic_disp_add_kernel
Alexander Alekhin [Tue, 15 Mar 2022 15:28:48 +0000 (15:28 +0000)]
Merge pull request #21686 from anna-khakimova:ak/dynamic_disp_add_kernel

2 years agoMerge pull request #21636 from TolyaTalamanov:at/gapi_modeling_tool_drop_frames
Anatoliy Talamanov [Tue, 15 Mar 2022 15:27:39 +0000 (18:27 +0300)]
Merge pull request #21636 from TolyaTalamanov:at/gapi_modeling_tool_drop_frames

[G-API] Pipeline modeling tool - support frame dropping for source

* Implement drop frames functionality for dummy src

* Reconsider frame dropping

* Fix comments

2 years agoMerge pull request #21687 from sivanov-work:vpp_pp_integr
Sergey Ivanov [Tue, 15 Mar 2022 08:01:03 +0000 (11:01 +0300)]
Merge pull request #21687 from sivanov-work:vpp_pp_integr

G-API: Add VPP preproc CPU/GPU dispatcher

* Add VPP preproc acceleration dispatcher & UTs

* Fix compilation

* Apply some comments

2 years agoMerge pull request #21703 from rogday:transpose
rogday [Mon, 14 Mar 2022 13:10:04 +0000 (16:10 +0300)]
Merge pull request #21703 from rogday:transpose

Add n-dimensional transpose to core

* add n-dimensional transpose to core

* add performance test, write sequentially and address review comments

2 years agoMerge pull request #21715 from ilyachur:change_type_info_creation
Alexander Alekhin [Mon, 14 Mar 2022 09:18:58 +0000 (09:18 +0000)]
Merge pull request #21715 from ilyachur:change_type_info_creation

2 years agoChanged call of NodeTypeInfo constructor
Ilya Churaev [Mon, 14 Mar 2022 05:28:43 +0000 (08:28 +0300)]
Changed call of NodeTypeInfo constructor

2 years agoMerge pull request #21710 from alalek:fix_21696
Alexander Alekhin [Sun, 13 Mar 2022 13:59:03 +0000 (13:59 +0000)]
Merge pull request #21710 from alalek:fix_21696

2 years agovideoio(ffmpeg): fix memory leak
Alexander Alekhin [Sun, 13 Mar 2022 04:08:51 +0000 (04:08 +0000)]
videoio(ffmpeg): fix memory leak

2 years agoMerge pull request #21701 from chacha21:tiff_10_12_14
Pierre Chatelier [Fri, 11 Mar 2022 18:07:12 +0000 (19:07 +0100)]
Merge pull request #21701 from chacha21:tiff_10_12_14

Add 10-12-14bit (integer) TIFF decoding support

* Add 12bit (integer) TIFF decoding support

An (slow) unpacking step is inserted when the native bpp is not equal to the dst_bpp

Currently, I do not know if there can be several packing flavours in TIFF data.

* added tests

* move sample files to opencv_extra

* added 10b and 14b unpacking

* fix compilation for non MSVC compilers by using more standard typedefs

* yet another typdef usage change to fix buildbot Mac compilation

* fixed unpacking of partial packets

* fixed warnings returned by buildbot

* modifications as suggested by reviewer

2 years agoMerge pull request #21669 from rgarnov:rg/cpu_backend_reshape
Alexander Alekhin [Wed, 9 Mar 2022 17:25:43 +0000 (17:25 +0000)]
Merge pull request #21669 from rgarnov:rg/cpu_backend_reshape

2 years agodnn: add dnn.cpp file with information about git commits history
Alexander Alekhin [Mon, 28 Feb 2022 09:42:38 +0000 (09:42 +0000)]
dnn: add dnn.cpp file with information about git commits history

2 years agodnn: split dnn.cpp code
Alexander Alekhin [Wed, 16 Feb 2022 21:55:56 +0000 (21:55 +0000)]
dnn: split dnn.cpp code

base commit: 19926e2979ef049a89dd029e2231555db40c2776
original dnn.cpp content: https://github.com/opencv/opencv/blame/19926e2979ef049a89dd029e2231555db40c2776/modules/dnn/src/dnn.cpp

2 years agoMerge pull request #21692 from UnaNancyOwen:add_softmax
Tsukasa Sugiura [Mon, 7 Mar 2022 20:26:15 +0000 (05:26 +0900)]
Merge pull request #21692 from UnaNancyOwen:add_softmax

* add apply softmax option to ClassificationModel

* remove default arguments of ClassificationModel::setSoftMax()

* fix build for python

* fix docs warning for setSoftMax()

* add impl for ClassficationModel()

* fix failed build for docs by trailing whitespace

* move to implement classify() to ClassificationModel_Impl

* move to implement softmax() to ClassificationModel_Impl

* remove softmax from public method in ClassificationModel

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 5 Mar 2022 19:41:20 +0000 (19:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoAdded reshape() functionality to CPU backend
Ruslan Garnov [Tue, 1 Mar 2022 12:09:05 +0000 (15:09 +0300)]
Added reshape() functionality to CPU backend

2 years agoMerge pull request #21658 from sivanov-work:vpp_core_add_roi
Sergey Ivanov [Sat, 5 Mar 2022 10:50:40 +0000 (13:50 +0300)]
Merge pull request #21658 from sivanov-work:vpp_core_add_roi

 G-API: Add ROI processing in VPP preproc

* Add ROI in VPP prepro

* Apply comments

2 years agoGAPI Fluid: Dynamic dispatching for Add kernel.
Anna Khakimova [Fri, 4 Mar 2022 18:57:49 +0000 (21:57 +0300)]
GAPI Fluid: Dynamic dispatching for Add kernel.

2 years agoMerge pull request #21674 from jeremyephron:patch-1
Alexander Alekhin [Fri, 4 Mar 2022 09:50:29 +0000 (09:50 +0000)]
Merge pull request #21674 from jeremyephron:patch-1

2 years agoMerge pull request #21676 from masa-iwm:fix-convertFromD3D11Texture2D
Alexander Alekhin [Thu, 3 Mar 2022 08:46:46 +0000 (08:46 +0000)]
Merge pull request #21676 from masa-iwm:fix-convertFromD3D11Texture2D

2 years agobugfix convertFromD3D11Texture2D
masa-iwm [Wed, 2 Mar 2022 22:21:53 +0000 (07:21 +0900)]
bugfix convertFromD3D11Texture2D

2 years agoUpdate stitching_detailed.py
Jeremy Ephron [Wed, 2 Mar 2022 19:01:53 +0000 (11:01 -0800)]
Update stitching_detailed.py

###  Critical bugs fixed:
- `seam_finder.find()` returns None and overwrites `masks_warped`
- `indices` is only 1-dimensional

### Nice-to-have bugs fixed:
- avoid invalid value in sqrt and subsequent runtime warning
- avoid printing help string on each run (use argparse builtin behavior)

### New features:
- added graphcut seam finder support

### Test Summary:
Tested on Ubuntu 20.04 with python 3.8.10 and opencv-python-contrib 4.5.5.62

2 years agoMerge pull request #21488 from VadimLevin:dev/vlevin/scope-for-classes
Alexander Alekhin [Wed, 2 Mar 2022 18:44:00 +0000 (18:44 +0000)]
Merge pull request #21488 from VadimLevin:dev/vlevin/scope-for-classes

2 years agoMerge pull request #21530 from anna-khakimova:ak/simd_divrc
Anna Khakimova [Wed, 2 Mar 2022 13:36:16 +0000 (16:36 +0300)]
Merge pull request #21530 from anna-khakimova:ak/simd_divrc

* GAPI Fluid: SIMD for DivRC kernel.

* Fluid: Div kernel's SIMD refactoring

* SIMD for DivRC 3 channel case

* Applied comments

2 years agofeature: submodule or a class scope for exported classes
Vadim Levin [Thu, 20 Jan 2022 12:21:47 +0000 (15:21 +0300)]
feature: submodule or a class scope for exported classes

All classes are registered in the scope that corresponds to C++
namespace or exported class.

Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`

For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type

2 years agoMerge pull request #21645 from chacha21:applyColorMap_8UC1_optimized
Pierre Chatelier [Tue, 1 Mar 2022 16:55:00 +0000 (17:55 +0100)]
Merge pull request #21645 from chacha21:applyColorMap_8UC1_optimized

Optimize cv::applyColorMap() for simple case

* Optimize cv::applyColorMap() for simple case

PR for 21640
For regular cv::Mat CV_8UC1 src, applying the colormap is simpler than calling the cv::LUT() mechanism.

* add support for src as CV_8UC3

src as CV_8UC3 is handled with a BGR2GRAY conversion, the same optimized code being used afterwards

* code style

rely on cv::Mat.ptr() to index data

* Move new implementation to ColorMap::operator()

Changes as suggested by reviewer

* style

improvements suggsted by reviewer

* typo

* tune parallel work

* better usage of parallel_for_

use nstripes parameter of parallel_for_
assume _lut is continuous to bring faster pixel indexing
optimize src/dst access by contiguous rows of pixels
do not locally copy the LUT any more, it is no more relevant with the new optimizations

2 years agoMerge pull request #21542 from rogday:split_expand
Alexander Alekhin [Mon, 28 Feb 2022 22:38:24 +0000 (22:38 +0000)]
Merge pull request #21542 from rogday:split_expand

2 years agoMerge pull request #21458 from SinM9:speech_recognition_cpp
Sinitsina Maria [Mon, 28 Feb 2022 15:23:00 +0000 (18:23 +0300)]
Merge pull request #21458 from SinM9:speech_recognition_cpp

AudioIO: add dnn speech recognition sample on C++

* add speech recognition cpp

* fix warnings

* fixes

* fix warning

* microphone fix

2 years agofix slice and expand
Egor Smirnov [Thu, 17 Feb 2022 17:30:44 +0000 (20:30 +0300)]
fix slice and expand

2 years agoMerge pull request #21630 from shibayan:arm64-msvc-neon
Tatsuro Shibamura [Sat, 26 Feb 2022 17:35:03 +0000 (02:35 +0900)]
Merge pull request #21630 from shibayan:arm64-msvc-neon

* Added NEON support in builds for Windows on ARM

* Fixed `HAVE_CPU_NEON_SUPPORT` display broken during compiler test

* Fixed a build error prior to Visual Studio 2022

2 years agoMerge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port
Vadim Levin [Thu, 24 Feb 2022 22:17:43 +0000 (01:17 +0300)]
Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port

4.x: submodule or a class scope for exported classes

* feature: submodule or a class scope for exported classes

All classes are registered in the scope that corresponds to C++
namespace or exported class.

Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`

For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type

* refactor: remove redundant GAPI aliases

* fix: use explicit string literals in CVPY_TYPE macro

* fix: add handling for class aliases

2 years agoMerge pull request #21625 from hanliutong:rvv1p0
Alexander Alekhin [Thu, 24 Feb 2022 12:08:55 +0000 (12:08 +0000)]
Merge pull request #21625 from hanliutong:rvv1p0

2 years agoMerge pull request #21618 from sivanov-work:vpp_preproc_core
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

2 years agoMerge pull request #21613 from YusukeKameda:patch-1
Alexander Alekhin [Tue, 22 Feb 2022 19:23:32 +0000 (19:23 +0000)]
Merge pull request #21613 from YusukeKameda:patch-1

2 years agoMerge pull request #21534 from alexgiving:atrutnev/simd_for_merge4
Alexander Alekhin [Mon, 21 Feb 2022 22:17:16 +0000 (22:17 +0000)]
Merge pull request #21534 from alexgiving:atrutnev/simd_for_merge4

2 years agoenable dynamic dispatching for merge4
Aleksei Trutnev [Mon, 7 Feb 2022 09:54:50 +0000 (12:54 +0300)]
enable dynamic dispatching for merge4

2 years agoMerge pull request #21646 from zchrissirhcz:seamless_cloning-remove-const
Alexander Alekhin [Mon, 21 Feb 2022 16:34:10 +0000 (16:34 +0000)]
Merge pull request #21646 from zchrissirhcz:seamless_cloning-remove-const

2 years agoMerge pull request #21607 from fengyuentau:fix_FaceDetectorYN_dynamic_shape
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

2 years agoremove const in seamless_cloding APIs for better semantics
Zhuo Zhang [Mon, 21 Feb 2022 12:39:41 +0000 (20:39 +0800)]
remove const in seamless_cloding APIs for better semantics

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 19 Feb 2022 21:04:35 +0000 (21:04 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21639 from georgthegreat:patch-1
Alexander Alekhin [Sat, 19 Feb 2022 20:58:57 +0000 (20:58 +0000)]
Merge pull request #21639 from georgthegreat:patch-1

2 years agoMerge pull request #21598 from KaurkerDevourer:patch-1
Alexander Alekhin [Sat, 19 Feb 2022 20:58:35 +0000 (20:58 +0000)]
Merge pull request #21598 from KaurkerDevourer:patch-1

2 years agoFix DpSeamFinder::hasOnlyOneNeighbor
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

2 years agoMerge pull request #21635 from DumDereDum:issue_21595_3.4
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

2 years agoАix -Winvalid-noreturn under clang-cl
Yuriy Chernyshov [Fri, 18 Feb 2022 14:57:46 +0000 (17:57 +0300)]
Аix -Winvalid-noreturn under clang-cl

2 years agoMerge pull request #21628 from anna-khakimova:ak/resize_fix_32bit_builds
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

2 years agoGAPI Fluid: Fix for 32bit build issue.
Anna Khakimova [Wed, 16 Feb 2022 13:29:17 +0000 (16:29 +0300)]
GAPI Fluid: Fix for 32bit build issue.

2 years agoMerge pull request #21602 from paroj:hidpi
Alexander Alekhin [Wed, 16 Feb 2022 18:37:15 +0000 (18:37 +0000)]
Merge pull request #21602 from paroj:hidpi

2 years agoMerge pull request #21626 from anna-khakimova:ak/workaround_for_16s
Alexander Alekhin [Wed, 16 Feb 2022 17:47:48 +0000 (17:47 +0000)]
Merge pull request #21626 from anna-khakimova:ak/workaround_for_16s

2 years agoMerge pull request #21529 from alexgiving:atrutnev/simd_for_merge3
Alexander Alekhin [Wed, 16 Feb 2022 17:45:19 +0000 (17:45 +0000)]
Merge pull request #21529 from alexgiving:atrutnev/simd_for_merge3

2 years agoGAPI Perf Tests:Workaround for the OpenCV's issue.
Anna Khakimova [Wed, 16 Feb 2022 11:21:14 +0000 (14:21 +0300)]
GAPI Perf Tests:Workaround for the OpenCV's issue.

2 years agoMerge pull request #21612 from seanm:tsan-call-once
Alexander Alekhin [Wed, 16 Feb 2022 09:57:25 +0000 (09:57 +0000)]
Merge pull request #21612 from seanm:tsan-call-once

2 years ago Update clang toolchain for RVV.
HAN Liutong [Wed, 16 Feb 2022 08:01:38 +0000 (16:01 +0800)]
 Update clang toolchain for RVV.

2 years agoReplaced incorrect double checked locking with a static
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.

2 years agoMerge pull request #21622 from alalek:imgcodecs_checks_3.4
Alexander Alekhin [Tue, 15 Feb 2022 18:19:51 +0000 (18:19 +0000)]
Merge pull request #21622 from alalek:imgcodecs_checks_3.4

2 years agoimgcodecs: add runtime checks to validate input
Alexander Alekhin [Tue, 15 Feb 2022 11:48:09 +0000 (11:48 +0000)]
imgcodecs: add runtime checks to validate input

backport of commit: f9b1dbe2ac3da4ed87647ea27d9060879acc20fe

2 years agoMerge pull request #21620 from alalek:imgcodecs_checks
Alexander Alekhin [Tue, 15 Feb 2022 16:30:47 +0000 (16:30 +0000)]
Merge pull request #21620 from alalek:imgcodecs_checks

2 years agoMerge pull request #21614 from alalek:fix_build_power8_vec_absd
Alexander Alekhin [Tue, 15 Feb 2022 15:31:23 +0000 (15:31 +0000)]
Merge pull request #21614 from alalek:fix_build_power8_vec_absd

2 years agoMerge pull request #21617 from mshabunin:disable-onnx-tests-34
Alexander Alekhin [Tue, 15 Feb 2022 13:11:59 +0000 (13:11 +0000)]
Merge pull request #21617 from mshabunin:disable-onnx-tests-34

2 years agoimgcodecs: add runtime checks to validate input
Alexander Alekhin [Tue, 15 Feb 2022 11:48:09 +0000 (11:48 +0000)]
imgcodecs: add runtime checks to validate input

2 years agoUpdate filters in ONNX tests
Maksim Shabunin [Tue, 8 Feb 2022 17:32:55 +0000 (20:32 +0300)]
Update filters in ONNX tests

2 years agocore(vsx): update vec_absd() workaround condition
Alexander Alekhin [Tue, 15 Feb 2022 04:23:32 +0000 (07:23 +0300)]
core(vsx): update vec_absd() workaround condition

2 years agoMerge pull request #21609 from mshabunin:disable-onnx-tests
Alexander Alekhin [Mon, 14 Feb 2022 15:53:24 +0000 (15:53 +0000)]
Merge pull request #21609 from mshabunin:disable-onnx-tests

2 years agoUpdate filters in ONNX tests
Maksim Shabunin [Tue, 8 Feb 2022 17:32:55 +0000 (20:32 +0300)]
Update filters in ONNX tests

2 years agoMerge pull request #21606 from sturkmen72:hog_update
Alexander Alekhin [Mon, 14 Feb 2022 14:14:30 +0000 (14:14 +0000)]
Merge pull request #21606 from sturkmen72:hog_update

2 years agoIncorrect kernel matrix size when Scharr
Yusuke Kameda [Mon, 14 Feb 2022 10:31:45 +0000 (19:31 +0900)]
Incorrect kernel matrix size when Scharr

Incorrect Mat size ksize==-1

2 years agoupdate HOGDescriptor documentation
Suleyman TURKMEN [Sun, 13 Feb 2022 08:18:30 +0000 (11:18 +0300)]
update HOGDescriptor documentation

2 years agohighui: qt - enable hidpi by default
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

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 11 Feb 2022 17:32:37 +0000 (17:32 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21599 from alalek:winpack_dldt_force_cmake_config
Alexander Alekhin [Fri, 11 Feb 2022 16:46:55 +0000 (16:46 +0000)]
Merge pull request #21599 from alalek:winpack_dldt_force_cmake_config

2 years agobuild(winpack_dldt): force using CMake config for InferenceEngine
Alexander Alekhin [Fri, 11 Feb 2022 12:13:09 +0000 (15:13 +0300)]
build(winpack_dldt): force using CMake config for InferenceEngine

2 years agoMerge pull request #21591 from alalek:dnn_drop_legacy_ie
Alexander Alekhin [Thu, 10 Feb 2022 21:47:30 +0000 (21:47 +0000)]
Merge pull request #21591 from alalek:dnn_drop_legacy_ie

2 years agoMerge pull request #21561 from cudawarped:ffmpeg_prefer_tcp_default
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.

2 years agoMerge pull request #21594 from vrabaud:3.4_msan
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.

2 years agodnn: drop legacy Inference Engine NN builder API
Alexander Alekhin [Wed, 9 Feb 2022 14:25:08 +0000 (14:25 +0000)]
dnn: drop legacy Inference Engine NN builder API

2 years agoMerge pull request #21590 from berak:patch-1
Alexander Alekhin [Wed, 9 Feb 2022 18:49:41 +0000 (18:49 +0000)]
Merge pull request #21590 from berak:patch-1

2 years agoMerge pull request #21582 from gfiumara:3.4
Alexander Alekhin [Wed, 9 Feb 2022 18:49:24 +0000 (18:49 +0000)]
Merge pull request #21582 from gfiumara:3.4

2 years agoMerge pull request #21567 from sivanov-work:gapi_streaming_fix
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

2 years agoFix cv::FileStorage::Mode::Memory doxygen layout
Greg Fiumara [Tue, 8 Feb 2022 21:21:53 +0000 (16:21 -0500)]
Fix cv::FileStorage::Mode::Memory doxygen layout

2 years agoMerge pull request #21579 from TolyaTalamanov:at/handle-errors-in-iebackend
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

2 years agoUpdate text_detection.py
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

2 years agoMerge pull request #21560 from dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source
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

2 years agoMerge pull request #21577 from sturkmen72:upd_floodfill
Alexander Alekhin [Tue, 8 Feb 2022 13:30:29 +0000 (13:30 +0000)]
Merge pull request #21577 from sturkmen72:upd_floodfill

2 years agofix cv::floodfill() for calling it with an empty mask
Suleyman TURKMEN [Tue, 8 Feb 2022 05:37:04 +0000 (08:37 +0300)]
fix cv::floodfill() for calling it with an empty mask

2 years agoMerge pull request #21573 from lamm45:lineiterator-doc
Alexander Alekhin [Mon, 7 Feb 2022 17:55:12 +0000 (17:55 +0000)]
Merge pull request #21573 from lamm45:lineiterator-doc

2 years agoMerge pull request #21566 from TolyaTalamanov:at/gapi-modeling-tool_fix_handling_fp16...
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

2 years agoUpdate LineIterator documentation
lamm45 [Sun, 6 Feb 2022 23:42:26 +0000 (18:42 -0500)]
Update LineIterator documentation

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sun, 6 Feb 2022 16:10:43 +0000 (16:10 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #21564 from alalek:dnn_fix_openvino_outputs
Alexander Alekhin [Sun, 6 Feb 2022 16:06:23 +0000 (16:06 +0000)]
Merge pull request #21564 from alalek:dnn_fix_openvino_outputs

2 years agoMerge pull request #21569 from alalek:fixup_18031
Alexander Alekhin [Sun, 6 Feb 2022 16:04:38 +0000 (16:04 +0000)]
Merge pull request #21569 from alalek:fixup_18031

2 years agodnn(ngraph): fix output names
Alexander Alekhin [Sat, 5 Feb 2022 16:16:45 +0000 (16:16 +0000)]
dnn(ngraph): fix output names

2 years agodnn(ngraph): fix outputs handling, drop 'unconnected' logic
Alexander Alekhin [Sat, 5 Feb 2022 02:51:44 +0000 (02:51 +0000)]
dnn(ngraph): fix outputs handling, drop 'unconnected' logic

2 years agodnn(ngraph): add debuging messages
Alexander Alekhin [Sat, 5 Feb 2022 14:36:57 +0000 (14:36 +0000)]
dnn(ngraph): add debuging messages

2 years agodnn: don't fuse 'outputs' with OpenVINO backend
Alexander Alekhin [Thu, 3 Feb 2022 20:23:17 +0000 (20:23 +0000)]
dnn: don't fuse 'outputs' with OpenVINO backend

2 years agodnn(test): re-enable ONNX split tests for OpenVINO
Alexander Alekhin [Sat, 5 Feb 2022 03:31:39 +0000 (03:31 +0000)]
dnn(test): re-enable ONNX split tests for OpenVINO