10000 (5.x) Merge 4.x by opencv-pushbot · Pull Request #21903 · opencv/opencv · GitHub
[go: up one dir, main page]

Skip to content

(5.x) Merge 4.x #21903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 134 commits into from
Apr 24, 2022
Merged

(5.x) Merge 4.x #21903

merged 134 commits into from
Apr 24, 2022

Conversation

opencv-pushbot
Copy link
Contributor
@opencv-pushbot opencv-pushbot commented Apr 23, 2022

PRs (81):

#20938 from JulieBar:lstm_cuda2
#21036 from fengyuentau:timvx_backend_support
#21351 from hanliutong:rvv-clang
#21458 from SinM9:speech_recognition_cpp
#21488 from VadimLevin:dev/vlevin/scope-for-classes
#21504 from smirnov-alexey:as/oak_infer
#21522 from rogday:lstm
#21530 from anna-khakimova:ak/simd_divrc
#21531 from fengyuentau:add_3rdparty_mirrors
#21542 from rogday:split_expand
#21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port
#21601 from zihaomu:add_reduceLayer
#21618 from sivanov-work:vpp_preproc_core
#21625 from hanliutong:rvv1p0
#21630 from shibayan:arm64-msvc-neon
#21636 from TolyaTalamanov:at/gapi_modeling_tool_drop_frames
#21644 from sturkmen72:patch-5
#21645 from chacha21:applyColorMap_8UC1_optimized
#21646 from zchrissirhcz:seamless_cloning-remove-const
#21658 from sivanov-work:vpp_core_add_roi
#21660 from TolyaTalamanov:at/handle-exception-in-streamingexecutor
#21662 from alalek:dnn_split
#21669 from rgarnov:rg/cpu_backend_reshape
#21674 from jeremyephron:patch-1
#21676 from masa-iwm:fix-convertFromD3D11Texture2D
#21677 from chacha21:rectangle_intersection
#21678 from anna-khakimova:ak/resize_f32c1_scalar
#21684 from vrabaud:34_vec
#21686 from anna-khakimova:ak/dynamic_disp_add_kernel
#21687 from sivanov-work:vpp_pp_integr
#21688 from sivanov-work:vpp_ie_integration
#21692 from UnaNancyOwen:add_softmax
#21701 from chacha21:tiff_10_12_14
#21703 from rogday:transpose
#21710 from alalek:fix_21696
#21715 from ilyachur:change_type_info_creation
#21719 from TolyaTalamanov:at/pipeline_modeling_tool-skip-frames-for-nodes
#21722 from mshabunin:fix-va-link
#21728 from anna-khakimova:ak/resize_f32c1_avx_simd
#21731 from AsyaPronina:asyadev/fix_new_stream_event
#21739 from mshabunin:fix-cart-polar
#21743 from luzpaz:typos
#21746 from anna-khakimova:ak/dynamic_dispatch_sub
#21750 from alalek:dnn_fix_index_access
#21752 from fengyuentau:add_github_actions_for_timvx_backend
#21754 from mshabunin:fix-ffmpeg5
#21756 from komakai:fix-pow
#21759 from pkubaj:patch-1
#21764 from alexanderconner:fixes/CameraBridgeViewBase-error-message
#21768 from stal12:4.x
#21772 from luzpaz:typo/dnn
#21775 from luzpaz:typos/gapi
#21777 from anna-khakimova:ak/convertto_simd
#21779 from eplankin:fix_11303
#21781 from VadimLevin:dev/vlevin/skip-inline-namespaces
#21782 from TolyaTalamanov:at/fix-1d-mat-problems
#21785 from alalek:python_fix_subclass_order
#21794 from yash112-lang:3.4
#21795 from alalek:dnn_test_update_openvino_3.4
#21796 from alalek:dnn_reduce_fixup_21601
#21798 from gititgo:4.x
#21803 from oguzhanguclu:matches_info_pybinding
#21805 from rogday:pretty_fix
#21811 from fengyuentau:update_mirrors
#21812 from cpoerschke:BackgroundSubtractor-getDefaultName
#21815 from sivanov-work:gapi_fix_ov_warning
#21819 from alalek:fix_videoio_ffmpeg_memory_leak_4.x
#21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4
#21821 from alalek:update_zlib
#21822 from alalek:dnn_test_update_openvino_4.x
#21831 from zihaomu:sign_layer_onnx
#21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_undistortpoints
#21841 from victor1234:calib3d-undistortPoints-tests
#21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x
#21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
#21861 from rogday:21852_fix
#21864 from rogday:21851_fix
#21873 from asmorkalov:as/jpeg_options
#21875 from asenyaev:asen/workflow_only_linux
#21876 from asenyaev:asen/workflow_only_linux_4x
#21884 from rogday:cuda_cleanup

Previous "Merge 4.x": #21651

build_image:Docs=docs-js:18.04
build_image:Custom=javascript
buildworker:Custom=linux-f1

hanliutong and others added 30 commits February 16, 2022 16:01
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
…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
* 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
AudioIO: add dnn speech recognition sample on C++

* add speech recognition cpp

* fix warnings

* fixes

* fix warning

* microphone fix
…mized

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
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
* GAPI Fluid: SIMD for DivRC kernel.

* Fluid: Div kernel's SIMD refactoring

* SIMD for DivRC 3 channel case

* Applied comments
###  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
 G-API: Add ROI processing in VPP preproc

* Add ROI in VPP prepro

* Apply comments
* 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
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
opencv-pushbot and others added 22 commits April 11, 2022 20:26
* GAPI: fix various gapi related typos

Fixes source comments and documentation related to gapi code.

* Fix source typos

* Fixed typos requested

* Follow-up typo fix
DNN: Add sign, shrink and reciprocal for onnx_impoter
Add assert to address tf simplifier security concerns
…riteria_to_fisheye_undistortpoints

* Add termination criteria to cv::fisheye::undistortPoints()

* Add criteria.type check
Fix CUDA compilation issues and adjust thresholds.

* Fix CUDA compilation issues and adjust thresholds.

* add conformance tests to denylist
…ts-tests

Add distort/undistort test for fisheye::undistortPoints()

* Add distort/undistort test for fisheye::undistortPoints()

Lack of test has allowed error described in 19138 to be unnoticed.
In addition to random points, four corners and principal center
added to point set

* Add random distortion coefficients set

* Move undistortPoints test to google test, refactor

* Add fisheye::undistortPoints() perf test

* Add negative distortion coefficients to undistortPoints test, increase value

* Move to theRNG()

* Change test check from cvtest::norm(L2) to EXPECT_MAT_NEAR()

* Layout fix

* Add points number parameters, comments
Mat pretty printer: fix submatrix indexation

* fix submatrix indexation

* fix channels
Added workflow for Github Actions to build and test OpenCV on Linux

* Added workflow for Github Actions to build and test OpenCV

* Merged a build and tests in one job, changed naming

* Renamed job names, split workflows by branch, removed and added some cmake flags, save unit tests results as a html file

* Split tests by steps, removed workflows for 4.x and 5.x branches
…x_4x

Added workflow for Github Actions to build and test OpenCV on Linux for 4.x

* Added workflow for Github Actions to build and test OpenCV

* Merged a build and tests jobs into one, split tests by steps, renamed job names
Support mirrors for TIM-VX and others 3rdparty components in opencv_contrib
@opencv-pushbot opencv-pushbot merged commit 0fbd58b into opencv:5.x Apr 24, 2022
@opencv-pushbot opencv-pushbot deleted the 5.x-merge-4.x branch May 15, 2022 09:30
@alalek alalek mentioned this pull request Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0