platform/upstream/opencv.git
2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 14 Aug 2021 18:24:00 +0000 (18:24 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20549 from iyadahmed:video_capture_timeout_set_get
Iyad Ahmed [Fri, 13 Aug 2021 20:12:05 +0000 (20:12 +0000)]
Merge pull request #20549 from iyadahmed:video_capture_timeout_set_get

* VideoCapture add open/read timeout params to FFMPEG backend

* Fix wrong enum name

* Fix wrong enum name

2 years agoMerge pull request #20506 from JulieBar:lstm_activations
Julia Bareeva [Fri, 13 Aug 2021 12:41:00 +0000 (15:41 +0300)]
Merge pull request #20506 from JulieBar:lstm_activations

* Support activations(Sigmoid, Tanh) for LSTM

* fix warning

2 years agoMerge pull request #20525 from SamFC10:fix-prior-variances
Alexander Alekhin [Fri, 13 Aug 2021 10:06:55 +0000 (10:06 +0000)]
Merge pull request #20525 from SamFC10:fix-prior-variances

2 years agoMerge pull request #20541 from iyadahmed:video_capture_timeout_prop
Iyad Ahmed [Thu, 12 Aug 2021 16:51:02 +0000 (16:51 +0000)]
Merge pull request #20541 from iyadahmed:video_capture_timeout_prop

* VideoCapture timeout set/get

* Common formatting for enum values

* Fix enum values wrongly in videoio.hpp

* Define timeout enum values in public api and align with master

2 years agoMerge pull request #20545 from AleksandrPanov:resize_docummentation
Alexander Alekhin [Thu, 12 Aug 2021 15:13:21 +0000 (15:13 +0000)]
Merge pull request #20545 from AleksandrPanov:resize_docummentation

2 years agoadd note about Python's dsize to doc
AleksandrPanov [Thu, 12 Aug 2021 11:40:40 +0000 (14:40 +0300)]
add note about Python's dsize to doc

2 years agoMerge pull request #20529 from saikatnanda:master
Alexander Alekhin [Thu, 12 Aug 2021 08:14:42 +0000 (08:14 +0000)]
Merge pull request #20529 from saikatnanda:master

2 years agoMerge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad
Alexander Alekhin [Thu, 12 Aug 2021 08:12:48 +0000 (08:12 +0000)]
Merge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad

2 years agoMerge pull request #20536 from hedgepigdaniel:fix/ocl-context-create-ownership
Daniel Playfair Cal [Wed, 11 Aug 2021 17:58:08 +0000 (03:58 +1000)]
Merge pull request #20536 from hedgepigdaniel:fix/ocl-context-create-ownership

docs(core/ocl): clarify ownership of arguments passed into OpenCL related functions

* docs(core/ocl): clarify ownership in OpenCLExecutionContext::create

Although it is technically true that OpenCLExecutionContext::create
calls `clRetainContext` on its context argument, it is misleading
because it does not increase the reference count overall. Clarify that
the ownership of one reference of the passed context and device is
taken.

* docs(core/ocl): document ownership transfer in ocl::Device::fromHandle

2 years agoMerge pull request #20533 from AleksandrPanov:minAreaRect_fix_rotatingCalipers
Alexander Alekhin [Wed, 11 Aug 2021 17:56:33 +0000 (17:56 +0000)]
Merge pull request #20533 from AleksandrPanov:minAreaRect_fix_rotatingCalipers

2 years agofix choose minimum angle in rotatingCalipers
AleksandrPanov [Wed, 11 Aug 2021 16:08:52 +0000 (19:08 +0300)]
fix choose minimum angle in rotatingCalipers

2 years agofix testSaveLoad
utibenkei [Sat, 7 Aug 2021 16:08:31 +0000 (01:08 +0900)]
fix testSaveLoad

2 years agoMerge pull request #20466 from rogday:efficientnet_fix_34
Alexander Alekhin [Tue, 10 Aug 2021 22:18:17 +0000 (22:18 +0000)]
Merge pull request #20466 from rogday:efficientnet_fix_34

2 years agoMerge pull request #20287 from hanliutong:dev-rvv-0.10
HAN Liutong [Tue, 10 Aug 2021 22:16:03 +0000 (06:16 +0800)]
Merge pull request #20287 from hanliutong:dev-rvv-0.10

Optimization of DNN using native RISC-V vector intrinsics.

* Use RVV to optimize fastGEMM (FP32) in DNN.

* Use RVV to optimize fastGEMM1T in DNN.

* Use RVV to optimize fastConv in DNN.

* Use RVV to optimize fastDepthwiseConv in DNN.

* Vectorize tails using vl.

* Use "vl" instead of scalar to handle small block in fastConv.

* Fix memory access out of bound in "fastGEMM1T".

* Remove setvl.

* Remove useless initialization.

* Use loop unrolling to handle tail part instead of switch.

2 years agoMerge pull request #20500 from AleksandrPanov:findContours_documentation
Alexander Alekhin [Tue, 10 Aug 2021 17:21:32 +0000 (17:21 +0000)]
Merge pull request #20500 from AleksandrPanov:findContours_documentation

2 years agoadd 19769 and 19769_lightweight tests
AleksandrPanov [Tue, 10 Aug 2021 15:53:28 +0000 (18:53 +0300)]
add 19769 and 19769_lightweight tests

2 years agoFix YUV indexes + YUV Planner detection condition
Saikat Nanda [Tue, 10 Aug 2021 01:41:00 +0000 (21:41 -0400)]
Fix YUV indexes + YUV Planner detection condition

2 years agoMerge pull request #20457 from komakai:ios-macos-mat-quicklook
Alexander Alekhin [Mon, 9 Aug 2021 17:45:51 +0000 (17:45 +0000)]
Merge pull request #20457 from komakai:ios-macos-mat-quicklook

2 years agoMerge pull request #20510 from mpashchenkov:mp/python-ge-update
Alexander Alekhin [Mon, 9 Aug 2021 15:42:27 +0000 (15:42 +0000)]
Merge pull request #20510 from mpashchenkov:mp/python-ge-update

2 years agoadd Max layer to TFImporter
Smirnov Egor [Mon, 9 Aug 2021 10:28:33 +0000 (13:28 +0300)]
add Max layer to TFImporter

2 years agofix bug in prior-box variances
SamFC10 [Mon, 9 Aug 2021 06:38:55 +0000 (12:08 +0530)]
fix bug in prior-box variances

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 7 Aug 2021 17:25:06 +0000 (17:25 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20442 from JulieBar:gru_layer
Julia Bareeva [Sat, 7 Aug 2021 07:07:37 +0000 (10:07 +0300)]
Merge pull request #20442 from JulieBar:gru_layer

* Add initialization and inference for GRU layer

* fix issues found on review

2 years agoMerge pull request #20508 from TolyaTalamanov:at/expand-python-pyparams
Anatoliy Talamanov [Fri, 6 Aug 2021 11:41:56 +0000 (14:41 +0300)]
Merge pull request #20508 from TolyaTalamanov:at/expand-python-pyparams

[G-API] Expand PyParams to support constInput

* Wrap constInputs to python

* Wrap cfgNumRequests

* Fix alignment

* Move macro to the line above

2 years agoMerge pull request #20476 from TolyaTalamanov:at/support-unet-camvid-0001-segm-sample
Anatoliy Talamanov [Fri, 6 Aug 2021 10:26:49 +0000 (13:26 +0300)]
Merge pull request #20476 from TolyaTalamanov:at/support-unet-camvid-0001-segm-sample

[G-API] Support postprocessing for not argmaxed outputs

* Support postprocessing for not argmaxed outputs

* Fix typo

* Add assert

* Remove static cast

* CamelCast to snake_case

* Fix windows warning

* Add static_cast to uint8_t

* Add const to variables

2 years agoMerge pull request #20503 from asmorkalov:as/riscv_rvv_v_rshr_pack_store
Alexander Alekhin [Fri, 6 Aug 2021 09:54:05 +0000 (09:54 +0000)]
Merge pull request #20503 from asmorkalov:as/riscv_rvv_v_rshr_pack_store

2 years agoMerge pull request #20505 from AleksandrPanov:contours_tutorial_documentation
Alexander Alekhin [Fri, 6 Aug 2021 07:09:26 +0000 (07:09 +0000)]
Merge pull request #20505 from AleksandrPanov:contours_tutorial_documentation

2 years agoMerge pull request #20502 from ddacw:3.4
Alexander Alekhin [Fri, 6 Aug 2021 07:06:51 +0000 (07:06 +0000)]
Merge pull request #20502 from ddacw:3.4

2 years agoApplying of comments
Maxim Pashchenkov [Fri, 6 Aug 2021 06:52:46 +0000 (09:52 +0300)]
Applying of comments

2 years agoMerge pull request #20507 from alalek:cmake_fix_crosscompilation
Alexander Alekhin [Thu, 5 Aug 2021 15:38:02 +0000 (15:38 +0000)]
Merge pull request #20507 from alalek:cmake_fix_crosscompilation

2 years agoMerge pull request #20480 from JulieBar:lstm_pytest
Julia Bareeva [Thu, 5 Aug 2021 15:13:17 +0000 (18:13 +0300)]
Merge pull request #20480 from JulieBar:lstm_pytest

Add Python's test for LSTM layer

* Add Python's test for LSTM layer

* Set different test threshold for FP16 target

* rename test to test_input_3d

Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
2 years agocmake: fix cross-compilation problems
Alexander Alekhin [Thu, 5 Aug 2021 11:42:58 +0000 (11:42 +0000)]
cmake: fix cross-compilation problems

- unexpected pkg-config module (we should not use host binary)
- bump cmake_minimum_required to 3.5 in toolchain files

2 years agoadd links in python and js contours tutorial
AleksandrPanov [Thu, 5 Aug 2021 11:21:34 +0000 (14:21 +0300)]
add links in python and js contours tutorial

2 years agoMerge pull request #20490 from TolyaTalamanov:at/support-fp16-input-precision
Anatoliy Talamanov [Thu, 5 Aug 2021 08:59:24 +0000 (11:59 +0300)]
Merge pull request #20490 from TolyaTalamanov:at/support-fp16-input-precision

[G-API] Support FP16 input precision for IE backend

* Support fp16 input precision IE backend

* Add support to wrapIE

2 years agoMerge pull request #20493 from abhi-bhatra:patch-1
Abhinav Sharma [Wed, 4 Aug 2021 17:28:59 +0000 (22:58 +0530)]
Merge pull request #20493 from abhi-bhatra:patch-1

Fix Broken Link

* Update README.md

Fix broken link

* Update Readme.txt

* Update readme.txt

Add missing link

* Update readme.txt

Fix names

2 years agoFixed memory access issue in v_rshr_pack_store intrinsic on RISC-V RVV.
Alexander Smorkalov [Wed, 4 Aug 2021 17:04:03 +0000 (20:04 +0300)]
Fixed memory access issue in v_rshr_pack_store intrinsic on RISC-V RVV.

2 years agoAvoid adding false UMat/GpuMat declaration
Duong Dac [Wed, 4 Aug 2021 13:17:25 +0000 (15:17 +0200)]
Avoid adding false UMat/GpuMat declaration

2 years agoadd note about hierarchy in python version
AleksandrPanov [Wed, 4 Aug 2021 12:37:20 +0000 (15:37 +0300)]
add note about hierarchy in python version

2 years agoMerge pull request #20384 from rogday:find_package_cache
Alexander Alekhin [Tue, 3 Aug 2021 18:19:28 +0000 (18:19 +0000)]
Merge pull request #20384 from rogday:find_package_cache

2 years agoMerge pull request #20487 from AleksandrPanov:traincascade_documentation
Alexander Alekhin [Tue, 3 Aug 2021 12:06:46 +0000 (12:06 +0000)]
Merge pull request #20487 from AleksandrPanov:traincascade_documentation

2 years agoadd note about using version 3.4 to traincascade documentation
AleksandrPanov [Mon, 2 Aug 2021 15:41:53 +0000 (18:41 +0300)]
add note about using version 3.4 to traincascade documentation

2 years agoMerge pull request #20474 from dbudniko:dbudniko/mtcnn_graph_without_resizes
Dmitry Budnikov [Mon, 2 Aug 2021 10:58:18 +0000 (13:58 +0300)]
Merge pull request #20474 from dbudniko:dbudniko/mtcnn_graph_without_resizes

Remove explicit PNet resizes from MTCNN graph

* remove PNet resizes

* address comment from Ruslan

2 years agoMerge pull request #20485 from VadimLevin:dev/vlevin/fix-reserved-python-keyword...
Alexander Alekhin [Mon, 2 Aug 2021 08:09:55 +0000 (08:09 +0000)]
Merge pull request #20485 from VadimLevin:dev/vlevin/fix-reserved-python-keyword-arguments

2 years agoMerge pull request #20451 from kumar-mahendra:patch-1
Alexander Alekhin [Sun, 1 Aug 2021 14:22:09 +0000 (14:22 +0000)]
Merge pull request #20451 from kumar-mahendra:patch-1

2 years agofix: convert arguments names that are keywords reserved by Python
Vadim Levin [Sun, 1 Aug 2021 08:59:16 +0000 (11:59 +0300)]
fix: convert arguments names that are keywords reserved by Python

2 years agoClosing brackets missing
Mahendra Kumar [Fri, 23 Jul 2021 11:14:48 +0000 (16:44 +0530)]
Closing brackets missing

In line 94,  closing brackets are added which were missing .

2 years agoMerge pull request #20446 from alalek:cmake_eliminate_modules_scope
Alexander Alekhin [Sat, 31 Jul 2021 14:49:03 +0000 (14:49 +0000)]
Merge pull request #20446 from alalek:cmake_eliminate_modules_scope

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 30 Jul 2021 14:43:17 +0000 (14:43 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20478 from rogday:onnx_refactor_master
Alexander Alekhin [Fri, 30 Jul 2021 14:38:45 +0000 (14:38 +0000)]
Merge pull request #20478 from rogday:onnx_refactor_master

2 years agoreimplement onnx refactor for master
Smirnov Egor [Fri, 30 Jul 2021 10:00:13 +0000 (13:00 +0300)]
reimplement onnx refactor for master

2 years agoMerge pull request #20472 from zchrissirhcz:fix-typo-in-comment
Alexander Alekhin [Thu, 29 Jul 2021 13:11:02 +0000 (13:11 +0000)]
Merge pull request #20472 from zchrissirhcz:fix-typo-in-comment

2 years agoFix typo in comment, OpenMP => TBB
Zhuo Zhang [Thu, 29 Jul 2021 01:34:09 +0000 (09:34 +0800)]
Fix typo in comment, OpenMP => TBB

2 years agoMerge pull request #20453 from rogday:onnx_importer_fix
rogday [Wed, 28 Jul 2021 15:06:24 +0000 (18:06 +0300)]
Merge pull request #20453 from rogday:onnx_importer_fix

Split layer dispatch into functions in ONNXImporter

* split layer dispatch into functions

* fixes

* identation and comment fixes

* fix constness

2 years agoMerge pull request #20445 from dbudniko:dbudniko/G-API_mtcnn_demo_single_transpose
Alexander Alekhin [Mon, 26 Jul 2021 10:09:04 +0000 (10:09 +0000)]
Merge pull request #20445 from dbudniko:dbudniko/G-API_mtcnn_demo_single_transpose

2 years agoMerge pull request #20459 from xerxesb:bugfix/cuda-cmake-typo
Alexander Alekhin [Mon, 26 Jul 2021 09:57:44 +0000 (09:57 +0000)]
Merge pull request #20459 from xerxesb:bugfix/cuda-cmake-typo

2 years agoFixed typo in error message in OpenCVDetectCUDA.cmake
Xerxes Battiwalla [Mon, 26 Jul 2021 04:54:27 +0000 (14:54 +1000)]
Fixed typo in error message in OpenCVDetectCUDA.cmake

There was a minor typo in the FATAL error message when the specified CUDA generation does not match any known generation

2 years agoAdd Quicklook for Mat on iOS and macOS
Giles Payne [Sun, 25 Jul 2021 05:23:52 +0000 (14:23 +0900)]
Add Quicklook for Mat on iOS and macOS

2 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 24 Jul 2021 15:34:58 +0000 (15:34 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

2 years agoMerge pull request #20440 from parsa-ra:patch-1
Parsa [Sat, 24 Jul 2021 15:29:24 +0000 (19:59 +0430)]
Merge pull request #20440 from parsa-ra:patch-1

* Update config_reference.markdown

Added description for `WITH_CLP` build option.

* Added extra description

Can't cross-reference with anchors to other sections of the markdown file due to the presence of markdown link extension in the form of
`## Header {#id-of-header}`

* Fixed trailing space issue

2 years agoMerge pull request #20424 from sbajtl:worker-importscript-bugfix
Alexander Alekhin [Sat, 24 Jul 2021 15:28:01 +0000 (15:28 +0000)]
Merge pull request #20424 from sbajtl:worker-importscript-bugfix

2 years agoMerge pull request #20369 from shreyastaware:master
Alexander Alekhin [Sat, 24 Jul 2021 13:41:01 +0000 (13:41 +0000)]
Merge pull request #20369 from shreyastaware:master

2 years agoMerge pull request #20447 from snoyes:patch-1
Alexander Alekhin [Fri, 23 Jul 2021 14:34:57 +0000 (14:34 +0000)]
Merge pull request #20447 from snoyes:patch-1

2 years agoMerge pull request #20450 from JulieBar:lstm_inside
Julia Bareeva [Fri, 23 Jul 2021 14:11:50 +0000 (17:11 +0300)]
Merge pull request #20450 from JulieBar:lstm_inside

Support non-zero hidden state for LSTM

* fully support non-zero hidden state for LSTM

* check dims of hidden state for LSTM

* fix failed test Test_Model.TextRecognition

* add new tests for LSTM w/ non-zero hidden params

Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
2 years agoMerge pull request #20412 from joy2myself:rvv-0.10
ZhangYin [Fri, 23 Jul 2021 14:08:43 +0000 (22:08 +0800)]
Merge pull request #20412 from joy2myself:rvv-0.10

bug fixes for universal intrinsics of RISC-V back-end

* Align universal intrinsic comparator behaviour with other platforms

Set all bits to one for return value of int and fp comparators.

* fix v_pack_triplets, v_pack_store and v_pack_u_store

* Remove redundant CV_DECL_ALIGNED statements

Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
2 years agominor grammar edits
Scott Noyes [Thu, 22 Jul 2021 19:58:20 +0000 (14:58 -0500)]
minor grammar edits

2 years agoUpdate py_canny.markdown
Shreyas Taware [Wed, 7 Jul 2021 09:10:08 +0000 (14:40 +0530)]
Update py_canny.markdown

Fixed a word that was previously written as third argument but it is instead the fourth argument of cv.Canny() function

2 years agoMerge pull request #20429 from rogday:tf_importer_asym_pads
Alexander Alekhin [Thu, 22 Jul 2021 16:44:47 +0000 (16:44 +0000)]
Merge pull request #20429 from rogday:tf_importer_asym_pads

2 years agocmake: process modules in the same CMake scope
Alexander Alekhin [Wed, 21 Jul 2021 04:06:31 +0000 (04:06 +0000)]
cmake: process modules in the same CMake scope

2 years agoimplement asymmetric padding for conv2d, max_pool and conv2d_backprop_input
Smirnov Egor [Mon, 19 Jul 2021 15:24:15 +0000 (18:24 +0300)]
implement asymmetric padding for conv2d, max_pool and conv2d_backprop_input

2 years agosingle transpose MTCNN version
Dmitry Budnikov [Thu, 22 Jul 2021 13:52:11 +0000 (16:52 +0300)]
single transpose MTCNN version

2 years agoMerge pull request #20392 from fpetrogalli:aarch64-semihosting
Francesco Petrogalli [Wed, 21 Jul 2021 15:46:05 +0000 (16:46 +0100)]
Merge pull request #20392 from fpetrogalli:aarch64-semihosting

AArch64 semihosting

* [ts] Disable filesystem support in the TS module.

Because of this change, all the tests loading data will file, but tat
least the core module can be tested with the following line:

    opencv_test_core --gtest_filter=-"*Core_InputOutput*:*Core_globbing.accuracy*"

* [aarch64] Build OpenCV for AArch64 semihosting.

This patch provide a toolchain file that allows to build the library
for semihosting applications [1]. Minimal changes have been applied to
the code to be able to compile with a baremetal toolchain.

[1] https://developer.arm.com/documentation/100863/latest

The option `CV_SEMIHOSTING` is used to guard the bits in the code that
are specific to the target.

To build the code:

    cmake ../opencv/ \
        -DCMAKE_TOOLCHAIN_FILE=../opencv/platforms/semihosting/aarch64-semihosting.toolchain.cmake \
        -DSEMIHOSTING_TOOLCHAIN_PATH=/path/to/baremetal-toolchain/bin/ \
        -DBUILD_EXAMPLES=ON -GNinja

A barematel toolchain for targeting aarch64 semihosting can be found
at [2], under `aarch64-none-elf`.

[2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

The folder `samples/semihosting` provides two example semihosting
applications.

The two binaries can be executed on the host platform with:

    qemu-aarch64 ./bin/example_semihosting_histogram
    qemu-aarch64 ./bin/example_semihosting_norm

Similarly, the test and perf executables of the modules can be run
with:

    qemu-aarch64 ./bin/opecv_[test|perf]_<module>

Notice that filesystem support is disabled by the toolchain file,
hence some of the test that depend on filesystem support will fail.

* [semihosting] Remove blank like at the end of file. [NFC]

The spurious blankline was reported by
https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31158.

* [semihosting] Make the raw pixel file generation OS independent.

Use the facilities provided by Cmake to generate the header file
instead of a shell script, so that the build doesn't fail on systems
that do not have a unix shell.

* [semihosting] Rename variable for semihosting compilation.

* [semihosting] Move the cmake configuration to a variable file.

* [semihosting] Make the guard macro private for the core module.

* [semihosting] Remove space. [NFC]

* [semihosting] Improve comment with information about semihosting. [NFC]

* [semihosting] Update license statement on top of sourvce file. [NFC]

* [semihosting] Replace BM_SUFFIX with SEMIHOSTING_SUFFIX. [NFC]

* [semihosting] Remove double space. [NFC]

* [semihosting] Add some text output to the sample applications.

* [semihosting] Remove duplicate entry in cmake configuration. [NFCI]

* [semihosting] Replace `long` with `int` in sample apps. [NFCI]

* [semihosting] Use `configure_file` to create the random pixels. [NFCI]

* [semihosting][bugfix] Fix name of cmakedefine variable.

* [semihosting][samples] Use CV_8UC1 for grayscale images. [NFCI]

* [semihosting] Add readme file.

* [semihosting] Remove blank like at the end of README. [NFC]

This fixes the failure at
https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31272.

2 years agoMerge pull request #20437 from pytianxxiao:fix#20430
Alexander Alekhin [Wed, 21 Jul 2021 09:47:10 +0000 (09:47 +0000)]
Merge pull request #20437 from pytianxxiao:fix#20430

2 years agofix: ocv_target_link_libraries could not handle the keyword rightly #20430
Xiaoxiao Tian [Wed, 21 Jul 2021 05:32:50 +0000 (13:32 +0800)]
fix: ocv_target_link_libraries could not handle the keyword rightly #20430

3 years agoMerge pull request #20431 from lukasalexanderweber:debug-stitching_detailed.py
Alexander Alekhin [Tue, 20 Jul 2021 16:25:43 +0000 (16:25 +0000)]
Merge pull request #20431 from lukasalexanderweber:debug-stitching_detailed.py

3 years agofix TypeError when specifying compose_megapix
Lukas-Alexander Weber [Tue, 20 Jul 2021 08:59:15 +0000 (10:59 +0200)]
fix TypeError when specifying compose_megapix

without rounding the composed image sizes (variable "sz") they will be odly fractions of a pixel (e.g. (5300.965, 3772.897)) and therefore cause a "TypeError: integer argument expected, got float" in line

456        roi = warper.warpRoi(sz, K, cameras[i].R)

3 years agoMerge pull request #20143 from rogday:base64_encoding
Alexander Alekhin [Mon, 19 Jul 2021 20:43:18 +0000 (20:43 +0000)]
Merge pull request #20143 from rogday:base64_encoding

3 years agoBugfix on import script with web worker.
Saša Bajtl [Sun, 18 Jul 2021 08:12:39 +0000 (10:12 +0200)]
Bugfix on import script with web worker.

3 years agoMerge pull request #20402 from rogday:tf_diag_dummy
Alexander Alekhin [Fri, 16 Jul 2021 15:44:29 +0000 (15:44 +0000)]
Merge pull request #20402 from rogday:tf_diag_dummy

3 years agoadd NotImplemented layer
Smirnov Egor [Tue, 13 Jul 2021 09:20:35 +0000 (12:20 +0300)]
add NotImplemented layer

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 16 Jul 2021 10:35:42 +0000 (10:35 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #20394 from SamFC10:conv-asymmetric-pads
Alexander Alekhin [Fri, 16 Jul 2021 10:33:42 +0000 (10:33 +0000)]
Merge pull request #20394 from SamFC10:conv-asymmetric-pads

3 years agoMerge pull request #20200 from rmeertens:update_grabcut
Alexander Alekhin [Fri, 16 Jul 2021 10:19:25 +0000 (10:19 +0000)]
Merge pull request #20200 from rmeertens:update_grabcut

3 years agoFix convolution asymmetric padding bug in onnx importer
SamFC10 [Fri, 16 Jul 2021 04:09:41 +0000 (09:39 +0530)]
Fix convolution asymmetric padding bug in onnx importer

3 years agoMerge pull request #20410 from alalek:fix_dnn_dldt_output_layout
Alexander Alekhin [Thu, 15 Jul 2021 22:43:42 +0000 (22:43 +0000)]
Merge pull request #20410 from alalek:fix_dnn_dldt_output_layout

3 years agodnn(ie): fix handling of 1D and non-32F outputs of InferenceEngine
Alexander Alekhin [Wed, 14 Jul 2021 23:31:41 +0000 (23:31 +0000)]
dnn(ie): fix handling of 1D and non-32F outputs of InferenceEngine

3 years agodnn(test): add extra IR models, more checks in IE testing code
Alexander Alekhin [Sat, 10 Jul 2021 13:06:33 +0000 (13:06 +0000)]
dnn(test): add extra IR models, more checks in IE testing code

3 years agoMerge pull request #20420 from berak:python_fix_trackbar_warning
Alexander Alekhin [Thu, 15 Jul 2021 20:06:22 +0000 (20:06 +0000)]
Merge pull request #20420 from berak:python_fix_trackbar_warning

3 years agopython: fix trackbar warning
berak [Thu, 15 Jul 2021 15:02:23 +0000 (17:02 +0200)]
python: fix trackbar warning

3 years agodnn(test): backport test_ie_models.cpp from 4.5.3
Alexander Alekhin [Fri, 9 Jul 2021 16:22:13 +0000 (16:22 +0000)]
dnn(test): backport test_ie_models.cpp from 4.5.3

3 years agoUpdated grabcut example to show the background in a transparant way
Roland Meertens [Thu, 3 Jun 2021 18:59:22 +0000 (20:59 +0200)]
Updated grabcut example to show the background in a transparant way

3 years agoMerge pull request #20399 from pablorcum:3.4
Pablo Romero [Tue, 13 Jul 2021 19:40:15 +0000 (21:40 +0200)]
Merge pull request #20399 from pablorcum:3.4

Improves support for Unix non-Linux systems, including QNX

* Fixes #20395. Improves support for Unix non-Linux systems. Focus on QNX Neutrino.

Signed-off-by: promero <promero@mathworks.com>
* Update system.cpp

3 years agoMerge pull request #20383 from dbudniko:dbudniko/mtcnn_1st_pnet_simplification
Dmitry Budnikov [Tue, 13 Jul 2021 19:33:13 +0000 (22:33 +0300)]
Merge pull request #20383 from dbudniko:dbudniko/mtcnn_1st_pnet_simplification

MTCNN 1st pnet simplification to ensure single graph input

* 1st pnet simplification to ensure single graph input

* address comment from Dmitry M regarding unused variable

3 years agoMerge pull request #20329 from smirnov-alexey:as/mediaframe_serialization
Alexey Smirnov [Tue, 13 Jul 2021 19:31:46 +0000 (22:31 +0300)]
Merge pull request #20329 from smirnov-alexey:as/mediaframe_serialization

[G-API]: Add serialization mechanism for cv::MediaFrame

* Stub initial interface

* Fix templates for deserialization

* Fix tests

* Disable a warning on windows

* Address review comments

* Change enable_ifs to other template helpers

* Resolve ambiguous template

* Fix warnings in docs

3 years agoMerge pull request #20400 from alalek:cmake_fix_mode_vars
Alexander Alekhin [Tue, 13 Jul 2021 10:18:43 +0000 (10:18 +0000)]
Merge pull request #20400 from alalek:cmake_fix_mode_vars

3 years agocmake: use relative path for mode vars
Alexander Alekhin [Tue, 13 Jul 2021 09:15:03 +0000 (09:15 +0000)]
cmake: use relative path for mode vars

3 years agoMerge pull request #20397 from alalek:fix_winpack_dldt_stale_sysroot
Alexander Alekhin [Mon, 12 Jul 2021 21:14:22 +0000 (21:14 +0000)]
Merge pull request #20397 from alalek:fix_winpack_dldt_stale_sysroot

3 years agobuild(winpack_dldt): avoid stale sysroot contents
Alexander Alekhin [Mon, 12 Jul 2021 19:32:11 +0000 (19:32 +0000)]
build(winpack_dldt): avoid stale sysroot contents

3 years agoMerge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 10 Jul 2021 13:01:03 +0000 (13:01 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4

3 years agoMerge pull request #20278 from joy2myself:rvv-0.10
Alexander Alekhin [Fri, 9 Jul 2021 22:42:29 +0000 (22:42 +0000)]
Merge pull request #20278 from joy2myself:rvv-0.10