Alexander Alekhin [Fri, 20 Aug 2021 07:41:21 +0000 (07:41 +0000)]
Merge pull request #20572 from TolyaTalamanov:at/check-adapter-in-executor
Vadim Pisarevsky [Thu, 19 Aug 2021 08:09:01 +0000 (08:09 +0000)]
Merge pull request #20228 from SamFC10:int8
SamFC10 [Thu, 19 Aug 2021 04:26:47 +0000 (09:56 +0530)]
int8 layers and 8-bit quantization support
Anatoliy Talamanov [Wed, 18 Aug 2021 15:12:27 +0000 (18:12 +0300)]
Check adapter in executor
Anatoliy Talamanov [Wed, 18 Aug 2021 07:42:32 +0000 (10:42 +0300)]
Merge pull request #20528 from TolyaTalamanov:at/fix-overwrite-blob-precision-bug
[G-API] Prohibit setPrecision & preprocessing for importedNetworks
* Prohibit preprocessing for imported networks
* Fix typo
input_names -> output_names
* Move setBlob logic to separate function
* Change comment
Sergey Ivanov [Tue, 17 Aug 2021 17:11:22 +0000 (20:11 +0300)]
Merge pull request #20546 from sivanov-work:initial_vpl_source
G-API: oneVPL (simplification) source base commit
* oneVPL source initial
* Fix compilation
* Fix compilation path
* Fix NO VPL compile
* Fix unused vars
* Fix unused vars in example
* Simplify oneVPL search: no custom path & download
* Fix standalone GAPI
* Apply comments
thezane [Tue, 17 Aug 2021 17:09:25 +0000 (13:09 -0400)]
Merge pull request #20483 from thezane:support-cumsum-layer-for-onnx
* Support cumsum layer for onnx
* Add unit tests
* Address review comments
rogday [Tue, 17 Aug 2021 15:23:27 +0000 (18:23 +0300)]
Merge pull request #20547 from rogday:gdb_pretty_printer
* add gdb rpetty printer for cv::Mat
* address review comments
zyp [Mon, 16 Aug 2021 16:20:10 +0000 (18:20 +0200)]
Merge pull request #18694 from zyp:gstreamer_gray16
* videoio/gstreamer: Add support for GRAY16_LE.
* videoio/gstreamer: added BGRA/BGRx support
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com>
Alexander Alekhin [Sun, 15 Aug 2021 12:30:25 +0000 (12:30 +0000)]
Merge pull request #20524 from yichenj:dnn_text_recognition_enhance
Alexander Alekhin [Sun, 15 Aug 2021 10:40:00 +0000 (10:40 +0000)]
Merge pull request #20460 from cv3d:flannHeapPool
Alexander Alekhin [Sat, 14 Aug 2021 18:24:00 +0000 (18:24 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
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
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
Alexander Alekhin [Fri, 13 Aug 2021 10:06:55 +0000 (10:06 +0000)]
Merge pull request #20525 from SamFC10:fix-prior-variances
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
Alexander Alekhin [Thu, 12 Aug 2021 15:13:21 +0000 (15:13 +0000)]
Merge pull request #20545 from AleksandrPanov:resize_docummentation
JIANG Yichen [Mon, 9 Aug 2021 05:46:11 +0000 (13:46 +0800)]
Implement ctc prefix beam search decode for TextRecognitionModel.
The algorithm is based on Hannun's paper: First-Pass Large Vocabulary
Continuous Speech Recognition using Bi-Directional Recurrent DNNs
AleksandrPanov [Thu, 12 Aug 2021 11:40:40 +0000 (14:40 +0300)]
add note about Python's dsize to doc
Alexander Alekhin [Thu, 12 Aug 2021 08:14:42 +0000 (08:14 +0000)]
Merge pull request #20529 from saikatnanda:master
Alexander Alekhin [Thu, 12 Aug 2021 08:12:48 +0000 (08:12 +0000)]
Merge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad
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
Alexander Alekhin [Wed, 11 Aug 2021 17:56:33 +0000 (17:56 +0000)]
Merge pull request #20533 from AleksandrPanov:minAreaRect_fix_rotatingCalipers
AleksandrPanov [Wed, 11 Aug 2021 16:08:52 +0000 (19:08 +0300)]
fix choose minimum angle in rotatingCalipers
utibenkei [Sat, 7 Aug 2021 16:08:31 +0000 (01:08 +0900)]
fix testSaveLoad
Hamdi Sahloul [Mon, 26 Jul 2021 10:03:13 +0000 (19:03 +0900)]
Improves FLANN's heap allocations by a memory pool
Alexander Alekhin [Tue, 10 Aug 2021 22:18:17 +0000 (22:18 +0000)]
Merge pull request #20466 from rogday:efficientnet_fix_34
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.
Alexander Alekhin [Tue, 10 Aug 2021 17:21:32 +0000 (17:21 +0000)]
Merge pull request #20500 from AleksandrPanov:findContours_documentation
AleksandrPanov [Tue, 10 Aug 2021 15:53:28 +0000 (18:53 +0300)]
add 19769 and 19769_lightweight tests
Saikat Nanda [Tue, 10 Aug 2021 01:41:00 +0000 (21:41 -0400)]
Fix YUV indexes + YUV Planner detection condition
Alexander Alekhin [Mon, 9 Aug 2021 17:45:51 +0000 (17:45 +0000)]
Merge pull request #20457 from komakai:ios-macos-mat-quicklook
Alexander Alekhin [Mon, 9 Aug 2021 15:42:27 +0000 (15:42 +0000)]
Merge pull request #20510 from mpashchenkov:mp/python-ge-update
Smirnov Egor [Mon, 9 Aug 2021 10:28:33 +0000 (13:28 +0300)]
add Max layer to TFImporter
SamFC10 [Mon, 9 Aug 2021 06:38:55 +0000 (12:08 +0530)]
fix bug in prior-box variances
Alexander Alekhin [Sat, 7 Aug 2021 17:25:06 +0000 (17:25 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
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
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
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
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
Alexander Alekhin [Fri, 6 Aug 2021 07:09:26 +0000 (07:09 +0000)]
Merge pull request #20505 from AleksandrPanov:contours_tutorial_documentation
Alexander Alekhin [Fri, 6 Aug 2021 07:06:51 +0000 (07:06 +0000)]
Merge pull request #20502 from ddacw:3.4
Maxim Pashchenkov [Fri, 6 Aug 2021 06:52:46 +0000 (09:52 +0300)]
Applying of comments
Alexander Alekhin [Thu, 5 Aug 2021 15:38:02 +0000 (15:38 +0000)]
Merge pull request #20507 from alalek:cmake_fix_crosscompilation
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>
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
AleksandrPanov [Thu, 5 Aug 2021 11:21:34 +0000 (14:21 +0300)]
add links in python and js contours tutorial
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
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
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.
Duong Dac [Wed, 4 Aug 2021 13:17:25 +0000 (15:17 +0200)]
Avoid adding false UMat/GpuMat declaration
AleksandrPanov [Wed, 4 Aug 2021 12:37:20 +0000 (15:37 +0300)]
add note about hierarchy in python version
Alexander Alekhin [Tue, 3 Aug 2021 18:19:28 +0000 (18:19 +0000)]
Merge pull request #20384 from rogday:find_package_cache
Alexander Alekhin [Tue, 3 Aug 2021 12:06:46 +0000 (12:06 +0000)]
Merge pull request #20487 from AleksandrPanov:traincascade_documentation
AleksandrPanov [Mon, 2 Aug 2021 15:41:53 +0000 (18:41 +0300)]
add note about using version 3.4 to traincascade documentation
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
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
Alexander Alekhin [Sun, 1 Aug 2021 14:22:09 +0000 (14:22 +0000)]
Merge pull request #20451 from kumar-mahendra:patch-1
Vadim Levin [Sun, 1 Aug 2021 08:59:16 +0000 (11:59 +0300)]
fix: convert arguments names that are keywords reserved by Python
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 .
Alexander Alekhin [Sat, 31 Jul 2021 14:49:03 +0000 (14:49 +0000)]
Merge pull request #20446 from alalek:cmake_eliminate_modules_scope
Alexander Alekhin [Fri, 30 Jul 2021 14:43:17 +0000 (14:43 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 30 Jul 2021 14:38:45 +0000 (14:38 +0000)]
Merge pull request #20478 from rogday:onnx_refactor_master
Smirnov Egor [Fri, 30 Jul 2021 10:00:13 +0000 (13:00 +0300)]
reimplement onnx refactor for master
Alexander Alekhin [Thu, 29 Jul 2021 13:11:02 +0000 (13:11 +0000)]
Merge pull request #20472 from zchrissirhcz:fix-typo-in-comment
Zhuo Zhang [Thu, 29 Jul 2021 01:34:09 +0000 (09:34 +0800)]
Fix typo in comment, OpenMP => TBB
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
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
Alexander Alekhin [Mon, 26 Jul 2021 09:57:44 +0000 (09:57 +0000)]
Merge pull request #20459 from xerxesb:bugfix/cuda-cmake-typo
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
Giles Payne [Sun, 25 Jul 2021 05:23:52 +0000 (14:23 +0900)]
Add Quicklook for Mat on iOS and macOS
Alexander Alekhin [Sat, 24 Jul 2021 15:34:58 +0000 (15:34 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
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
Alexander Alekhin [Sat, 24 Jul 2021 15:28:01 +0000 (15:28 +0000)]
Merge pull request #20424 from sbajtl:worker-importscript-bugfix
Alexander Alekhin [Sat, 24 Jul 2021 13:41:01 +0000 (13:41 +0000)]
Merge pull request #20369 from shreyastaware:master
Alexander Alekhin [Fri, 23 Jul 2021 14:34:57 +0000 (14:34 +0000)]
Merge pull request #20447 from snoyes:patch-1
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>
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>
Scott Noyes [Thu, 22 Jul 2021 19:58:20 +0000 (14:58 -0500)]
minor grammar edits
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
Alexander Alekhin [Thu, 22 Jul 2021 16:44:47 +0000 (16:44 +0000)]
Merge pull request #20429 from rogday:tf_importer_asym_pads
Alexander Alekhin [Wed, 21 Jul 2021 04:06:31 +0000 (04:06 +0000)]
cmake: process modules in the same CMake scope
Smirnov Egor [Mon, 19 Jul 2021 15:24:15 +0000 (18:24 +0300)]
implement asymmetric padding for conv2d, max_pool and conv2d_backprop_input
Dmitry Budnikov [Thu, 22 Jul 2021 13:52:11 +0000 (16:52 +0300)]
single transpose MTCNN version
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.
Alexander Alekhin [Wed, 21 Jul 2021 09:47:10 +0000 (09:47 +0000)]
Merge pull request #20437 from pytianxxiao:fix#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
Alexander Alekhin [Tue, 20 Jul 2021 16:25:43 +0000 (16:25 +0000)]
Merge pull request #20431 from lukasalexanderweber:debug-stitching_detailed.py
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)
Alexander Alekhin [Mon, 19 Jul 2021 20:43:18 +0000 (20:43 +0000)]
Merge pull request #20143 from rogday:base64_encoding
Saša Bajtl [Sun, 18 Jul 2021 08:12:39 +0000 (10:12 +0200)]
Bugfix on import script with web worker.
Alexander Alekhin [Fri, 16 Jul 2021 15:44:29 +0000 (15:44 +0000)]
Merge pull request #20402 from rogday:tf_diag_dummy
Smirnov Egor [Tue, 13 Jul 2021 09:20:35 +0000 (12:20 +0300)]
add NotImplemented layer
Alexander Alekhin [Fri, 16 Jul 2021 10:35:42 +0000 (10:35 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 16 Jul 2021 10:33:42 +0000 (10:33 +0000)]
Merge pull request #20394 from SamFC10:conv-asymmetric-pads
Alexander Alekhin [Fri, 16 Jul 2021 10:19:25 +0000 (10:19 +0000)]
Merge pull request #20200 from rmeertens:update_grabcut
SamFC10 [Fri, 16 Jul 2021 04:09:41 +0000 (09:39 +0530)]
Fix convolution asymmetric padding bug in onnx importer
Alexander Alekhin [Thu, 15 Jul 2021 22:43:42 +0000 (22:43 +0000)]
Merge pull request #20410 from alalek:fix_dnn_dldt_output_layout
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
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