platform/upstream/opencv.git
3 years agoocl: avoid rescheduling of async kernels
Alexander Alekhin [Fri, 18 Sep 2020 03:45:27 +0000 (06:45 +0300)]
ocl: avoid rescheduling of async kernels

3 years agoMerge pull request #18360 from tomoaki0705:fixClampFailure
Alexander Alekhin [Fri, 18 Sep 2020 13:10:36 +0000 (13:10 +0000)]
Merge pull request #18360 from tomoaki0705:fixClampFailure

3 years agoMerge pull request #18354 from takehirokj:fix_typo_in_doc
Alexander Alekhin [Fri, 18 Sep 2020 13:10:10 +0000 (13:10 +0000)]
Merge pull request #18354 from takehirokj:fix_typo_in_doc

3 years agoMerge pull request #18353 from l-bat:issue_18350
Liubov Batanina [Fri, 18 Sep 2020 13:01:14 +0000 (16:01 +0300)]
Merge pull request #18353 from l-bat:issue_18350

* Fixed bug in ONNX Mul op

* Replaced node

3 years agoadd explicit cast for half
Tomoaki Teshima [Fri, 18 Sep 2020 12:04:24 +0000 (21:04 +0900)]
add explicit cast for half

3 years agoFix typo in videoio doc
Takehiro Kajihara [Thu, 17 Sep 2020 12:51:50 +0000 (21:51 +0900)]
Fix typo in videoio doc

3 years agoMerge pull request #18348 from tomoaki0705:fixNppFlipInplace
Alexander Alekhin [Thu, 17 Sep 2020 13:56:17 +0000 (13:56 +0000)]
Merge pull request #18348 from tomoaki0705:fixNppFlipInplace

3 years agoMerge pull request #18316 from sl-sergei:fix_18253
Sergei Slashchinin [Thu, 17 Sep 2020 11:05:22 +0000 (14:05 +0300)]
Merge pull request #18316 from sl-sergei:fix_18253

Fix loading of ONNX models with Resize operation with Opset 11 for newer versions of Pytorch

* Add reproducer for Resize operation from newer versions of Pytorch

* Fix loading of scales parameter for Resize layer

* Change check type for better diagnostic messages

3 years agoMerge pull request #18331 from or-toledano:3.4
Maksim Shabunin [Wed, 16 Sep 2020 21:00:05 +0000 (21:00 +0000)]
Merge pull request #18331 from or-toledano:3.4

3 years agouse only even number for inplace flip
Tomoaki Teshima [Wed, 16 Sep 2020 06:45:03 +0000 (15:45 +0900)]
use only even number for inplace flip

3 years agoMerge pull request #18294 from mshabunin:install-bin-samples
Alexander Alekhin [Tue, 15 Sep 2020 19:38:02 +0000 (19:38 +0000)]
Merge pull request #18294 from mshabunin:install-bin-samples

3 years agoMerge pull request #18314 from gilsho:components
Alexander Alekhin [Mon, 14 Sep 2020 20:15:38 +0000 (20:15 +0000)]
Merge pull request #18314 from gilsho:components

3 years agoMerge pull request #18325 from alalek:issue_18166
Alexander Alekhin [Mon, 14 Sep 2020 18:17:58 +0000 (18:17 +0000)]
Merge pull request #18325 from alalek:issue_18166

3 years agoFix np row,column to cv y,x
or-toledano [Mon, 14 Sep 2020 11:23:38 +0000 (14:23 +0300)]
Fix np row,column to cv y,x

This explanation was created to avoid confusion, but it seems like the author was confused :D

3 years agoMerge pull request #18317 from sl-sergei:restored_pr_17629
Alexander Alekhin [Sun, 13 Sep 2020 12:51:41 +0000 (12:51 +0000)]
Merge pull request #18317 from sl-sergei:restored_pr_17629

3 years agoFix signed integer overflow in connected components
Gil Shotan [Thu, 10 Sep 2020 23:47:53 +0000 (02:47 +0300)]
Fix signed integer overflow in connected components

3 years agoimgcodecs: lazy on-demand codecs initialization
Alexander Alekhin [Sun, 13 Sep 2020 11:14:56 +0000 (11:14 +0000)]
imgcodecs: lazy on-demand codecs initialization

3 years agoMerge pull request #18299 from l-bat:onnx_reduce_max
Alexander Alekhin [Sat, 12 Sep 2020 22:01:09 +0000 (22:01 +0000)]
Merge pull request #18299 from l-bat:onnx_reduce_max

3 years agofixes #17187 probably
Shubham Singh [Tue, 23 Jun 2020 09:06:32 +0000 (14:36 +0530)]
fixes #17187 probably

Added Eltwise Layer Support

3 years agoSupport global reduce ops
Liubov Batanina [Wed, 9 Sep 2020 07:40:02 +0000 (10:40 +0300)]
Support global reduce ops

3 years agoInstall: added prebuilt samples installation
Maksim Shabunin [Tue, 8 Sep 2020 17:22:26 +0000 (20:22 +0300)]
Install: added prebuilt samples installation

3 years agoMerge pull request #18284 from alalek:update_ffmpeg_3.4
Alexander Alekhin [Tue, 8 Sep 2020 11:26:48 +0000 (11:26 +0000)]
Merge pull request #18284 from alalek:update_ffmpeg_3.4

3 years agoffmpeg/3.4: update FFmpeg wrapper
Alexander Alekhin [Mon, 7 Sep 2020 17:21:55 +0000 (17:21 +0000)]
ffmpeg/3.4: update FFmpeg wrapper

- FFmpeg 3.4.8

3 years agoMerge pull request #18282 from alalek:update_version_3.4.12-pre
Alexander Alekhin [Mon, 7 Sep 2020 16:57:21 +0000 (16:57 +0000)]
Merge pull request #18282 from alalek:update_version_3.4.12-pre

3 years agopre: OpenCV 3.4.12 (version++)
Alexander Alekhin [Sun, 6 Sep 2020 22:26:32 +0000 (22:26 +0000)]
pre: OpenCV 3.4.12 (version++)

3 years agoMerge pull request #18126 from danielenricocahall:add-oob-error-sample-weighting
Danny [Sat, 5 Sep 2020 18:52:10 +0000 (14:52 -0400)]
Merge pull request #18126 from danielenricocahall:add-oob-error-sample-weighting

Account for sample weights in calculating OOB Error

* account for sample weights in oob error calculation

* redefine oob error functions

* fix ABI compatibility

3 years agoMerge pull request #18265 from alalek:fixup_17489
Alexander Alekhin [Fri, 4 Sep 2020 17:02:08 +0000 (17:02 +0000)]
Merge pull request #18265 from alalek:fixup_17489

3 years agoMerge pull request #18061 from danielenricocahall:fix-kd-tree
Danny [Fri, 4 Sep 2020 17:01:05 +0000 (13:01 -0400)]
Merge pull request #18061 from danielenricocahall:fix-kd-tree

Fix KD Tree kNN Implementation

* Make KDTree mode in kNN functional

remove docs and revert change

Make KDTree mode in kNN functional

spacing

Make KDTree mode in kNN functional

fix window compilations warnings

Make KDTree mode in kNN functional

fix window compilations warnings

Make KDTree mode in kNN functional

casting

Make KDTree mode in kNN functional

formatting

Make KDTree mode in kNN functional

* test coding style

3 years agovideoio: repair build of FFmpeg windows wrapper
Alexander Alekhin [Fri, 4 Sep 2020 15:35:10 +0000 (15:35 +0000)]
videoio: repair build of FFmpeg windows wrapper

3 years agoMerge pull request #18255 from alalek:backport_18243
Alexander Alekhin [Wed, 2 Sep 2020 22:50:21 +0000 (22:50 +0000)]
Merge pull request #18255 from alalek:backport_18243

3 years agoMerge pull request #18246 from YashasSamaga:dnn-permute-fix-unwanted-ocl-init
Alexander Alekhin [Wed, 2 Sep 2020 21:15:19 +0000 (21:15 +0000)]
Merge pull request #18246 from YashasSamaga:dnn-permute-fix-unwanted-ocl-init

3 years agoMerge pull request #18234 from l-bat:onnx_reshape
Alexander Alekhin [Wed, 2 Sep 2020 19:31:22 +0000 (19:31 +0000)]
Merge pull request #18234 from l-bat:onnx_reshape

3 years agobackport: checks and fixes from static code analyzers results
Alexander Alekhin [Tue, 1 Sep 2020 22:18:20 +0000 (22:18 +0000)]
backport: checks and fixes from static code analyzers results

original commit: 71f665bd8c3e39d6769aca1896237f836930f136

3 years agoSupport Reshape with zero dim
Liubov Batanina [Mon, 31 Aug 2020 09:52:55 +0000 (12:52 +0300)]
Support Reshape with zero dim

3 years agofix typo in fusion tests
YashasSamaga [Wed, 2 Sep 2020 08:55:36 +0000 (14:25 +0530)]
fix typo in fusion tests

3 years agodo not allocate UMat in non-OpenCL targets
YashasSamaga [Wed, 2 Sep 2020 06:48:41 +0000 (12:18 +0530)]
do not allocate UMat in non-OpenCL targets

3 years agoMerge pull request #18225 from dmici:fix_missing_0.5_factor_in_anisotropic_segmentati...
Alexander Alekhin [Tue, 1 Sep 2020 20:49:59 +0000 (20:49 +0000)]
Merge pull request #18225 from dmici:fix_missing_0.5_factor_in_anisotropic_segmentation_tutorial

3 years agoMerge pull request #18211 from pemmanuelviel:pev--handle-dna-vectors
pemmanuelviel [Tue, 1 Sep 2020 20:38:21 +0000 (22:38 +0200)]
Merge pull request #18211 from pemmanuelviel:pev--handle-dna-vectors

* DNA-mode: update miniflann to handle DNA

* DNA-mode: update hierarchical kmeans to handle DNA sequences

3 years agoMerge pull request #18167 from Yosshi999:bit-exact-gaussian
Yosshi999 [Tue, 1 Sep 2020 10:28:25 +0000 (19:28 +0900)]
Merge pull request #18167 from Yosshi999:bit-exact-gaussian

Bit exact gaussian blur for 16bit unsigned int

* bit-exact gaussian kernel for CV_16U

* SIMD optimization

* template GaussianBlurFixedPoint

* remove template specialization

* simd support for h3N121 uint16

* test for u16 gaussian blur

* remove unnecessary comments

* fix return type of raw()

* add typedef of native internal type in fixedpoint

* update return type of raw()

3 years agoMerge pull request #18235 from alalek:ocl_off_cleanup
Alexander Alekhin [Mon, 31 Aug 2020 20:37:41 +0000 (20:37 +0000)]
Merge pull request #18235 from alalek:ocl_off_cleanup

3 years agoocl: cleanup dead code in case of disabled OpenCL
Alexander Alekhin [Mon, 31 Aug 2020 09:30:06 +0000 (09:30 +0000)]
ocl: cleanup dead code in case of disabled OpenCL

3 years agofix missing 0.5 factor in anisotropic segmentation tutorial
dmici [Sun, 30 Aug 2020 08:17:50 +0000 (10:17 +0200)]
fix missing 0.5 factor in anisotropic segmentation tutorial

3 years agoMerge pull request #18053 from Yosshi999:bit-exact-resizeNN
Yosshi999 [Fri, 28 Aug 2020 18:20:05 +0000 (03:20 +0900)]
Merge pull request #18053 from Yosshi999:bit-exact-resizeNN

Bit-exact Nearest Neighbor Resizing

* bit exact resizeNN

* change the value of method enum

* add bitexact-nn to ResizeExactTest

* test to compare with non-exact version

* add perf for bit-exact resizenn

* use cvFloor-equivalent

* 1/3 scaling is not stable for floating calculation

* stricter test

* bugfix: broken data in case of 6 or 12bytes elements

* bugfix: broken data in default pix_size

* stricter threshold

* use raw() for floor

* use double instead of int

* follow code reviews

* fewer cases in perf test

* center pixel convention

3 years agoMerge pull request #18207 from pemmanuelviel:pev--fix-memset
Alexander Alekhin [Thu, 27 Aug 2020 17:10:23 +0000 (17:10 +0000)]
Merge pull request #18207 from pemmanuelviel:pev--fix-memset

3 years agobugfix
Pierre-Emmanuel Viel [Thu, 27 Aug 2020 10:21:02 +0000 (12:21 +0200)]
bugfix

3 years agoMerge pull request #18184 from cabelo:yolov4-in-model
Alessandro de Oliveira Faria (A.K.A.CABELO) [Wed, 26 Aug 2020 22:30:12 +0000 (19:30 -0300)]
Merge pull request #18184 from cabelo:yolov4-in-model

ADD yolov4 in models.yml

3 years agoMerge pull request #18136 from nglee:dev_cudaEqualizeHistBitExact
Alexander Alekhin [Wed, 26 Aug 2020 12:11:43 +0000 (12:11 +0000)]
Merge pull request #18136 from nglee:dev_cudaEqualizeHistBitExact

3 years agoMerge pull request #17919 from zhaoyue-zephyrus:flownet2_with_anysize
Alexander Alekhin [Wed, 26 Aug 2020 11:43:17 +0000 (11:43 +0000)]
Merge pull request #17919 from zhaoyue-zephyrus:flownet2_with_anysize

3 years agoMerge pull request #17978 from sl-sergei:fix_17516_17531
Sergei Slashchinin [Wed, 26 Aug 2020 10:15:59 +0000 (13:15 +0300)]
Merge pull request #17978 from sl-sergei:fix_17516_17531

* Fix ONNX loading in issues opencv#17516, opencv#17531

* Add tests for Linear and Matmul layers

* Disable tests for IE versions lower than 20.4

* Skip unstable tests with OpenCL FP16 on Intel GPU

* Add correct test filtering for OpenCL FP16 tests

3 years agoMerge pull request #17647 from jinyup100:add-siamrpnpp
jinyup100 [Tue, 25 Aug 2020 20:01:16 +0000 (05:01 +0900)]
Merge pull request #17647 from jinyup100:add-siamrpnpp

[GSoC] Add siamrpnpp.py

* Updated base branch with siamrpnpp.py

* Addition of Parsers

* Merged to using few ONNX files, Changes to Parsers, Links to Repo

* Deleted whitespace

* Adjusting flake8 error

* Fixes according to review

* Fix according to review

* Addition of OpenVINO backends and Computation target devices

* Fix on backend after review

* Fixes after review

* Remove extra white space

* Removed Repeated Varaibles

3 years agoMerge pull request #18171 from catree:fix_pnp_doc
Alexander Alekhin [Tue, 25 Aug 2020 18:24:30 +0000 (18:24 +0000)]
Merge pull request #18171 from catree:fix_pnp_doc

3 years agoMerge pull request #18178 from catree:improve_camera_matrix_doc
Alexander Alekhin [Tue, 25 Aug 2020 13:33:39 +0000 (13:33 +0000)]
Merge pull request #18178 from catree:improve_camera_matrix_doc

3 years agoMerge pull request #18165 from catree:fix_hand_eye_calibration_Andreff_NaN_3.4
Alexander Alekhin [Tue, 25 Aug 2020 13:28:21 +0000 (13:28 +0000)]
Merge pull request #18165 from catree:fix_hand_eye_calibration_Andreff_NaN_3.4

3 years agoMerge pull request #18185 from VadimLevin:dev/vlevin/ffmpeg-versions-guard-fix
Alexander Alekhin [Tue, 25 Aug 2020 07:29:42 +0000 (07:29 +0000)]
Merge pull request #18185 from VadimLevin:dev/vlevin/ffmpeg-versions-guard-fix

3 years agoFix cubic root computation to be able to handle negative values. Improve doc. Add...
catree [Fri, 21 Aug 2020 23:44:40 +0000 (01:44 +0200)]
Fix cubic root computation to be able to handle negative values. Improve doc. Add regression test.

3 years agoAdd broken implementation note for DLS and UPnP.
catree [Sat, 22 Aug 2020 21:27:39 +0000 (23:27 +0200)]
Add broken implementation note for DLS and UPnP.

Add CV_LOG_DEBUG.

3 years agofix: libavcodec version check for AVDISCARD_NONINTRA
Vadim Levin [Mon, 24 Aug 2020 20:12:49 +0000 (23:12 +0300)]
fix: libavcodec version check for AVDISCARD_NONINTRA

 - AVDISCARD_NONINTRA flag is supported only for FFMPEG libraries pack

3 years agofix: libavcodec version check for AV_CODEC_FLAG_GLOBAL_HEADER
Vadim Levin [Mon, 24 Aug 2020 20:07:25 +0000 (23:07 +0300)]
fix: libavcodec version check for AV_CODEC_FLAG_GLOBAL_HEADER

3 years agoMerge pull request #18181 from l-bat:onnx_pow
Alexander Alekhin [Mon, 24 Aug 2020 14:18:08 +0000 (14:18 +0000)]
Merge pull request #18181 from l-bat:onnx_pow

3 years agoSupported ONNX Pow op
Liubov Batanina [Mon, 24 Aug 2020 07:46:53 +0000 (10:46 +0300)]
Supported ONNX Pow op

3 years agoUse camera intrinsic matrix everywhere. Add cameramatrix, distcoeffs and distcoeffsfi...
catree [Mon, 24 Aug 2020 03:21:42 +0000 (05:21 +0200)]
Use camera intrinsic matrix everywhere. Add cameramatrix, distcoeffs and distcoeffsfisheye macros to avoid copy/paste errors.

3 years agoMerge pull request #18083 from IanMaquignaz:fix_gen_pattern_centering
Ian Maquignaz [Sun, 23 Aug 2020 22:32:58 +0000 (18:32 -0400)]
Merge pull request #18083 from IanMaquignaz:fix_gen_pattern_centering

* Fixed centering issue with make_cicle_pattern and make_acircle_pattern()

* Fixed issue where asymmetric circles were not at 45 degree angles. Also fixed support for inch measurement by converting parsing to usage of floating points for page size

* Fixed copy-paste error from experimental workspace

3 years agoMerge pull request #18151 from alalek:core_trace_fix_location
Alexander Alekhin [Fri, 21 Aug 2020 18:54:40 +0000 (18:54 +0000)]
Merge pull request #18151 from alalek:core_trace_fix_location

3 years agoMerge pull request #18150 from alalek:ocl_async_cleanup_no_warning
Alexander Alekhin [Fri, 21 Aug 2020 18:54:08 +0000 (18:54 +0000)]
Merge pull request #18150 from alalek:ocl_async_cleanup_no_warning

3 years agoRemove compiler warnings
Namgoo Lee [Fri, 21 Aug 2020 14:52:30 +0000 (23:52 +0900)]
Remove compiler warnings

3 years agobit-exact cuda::equalizeHist
Namgoo Lee [Wed, 19 Aug 2020 08:39:24 +0000 (17:39 +0900)]
bit-exact cuda::equalizeHist

3 years agoMerge pull request #18135 from AnnaPetrovicheva:logo_text
Alexander Alekhin [Fri, 21 Aug 2020 13:07:26 +0000 (13:07 +0000)]
Merge pull request #18135 from AnnaPetrovicheva:logo_text

3 years agoAdded a note about OpenCV logo
Anna Petrovicheva [Wed, 19 Aug 2020 12:46:55 +0000 (15:46 +0300)]
Added a note about OpenCV logo

3 years agocore(trace): lazy quering for OPENCV_TRACE_LOCATION
Alexander Alekhin [Thu, 20 Aug 2020 21:43:14 +0000 (21:43 +0000)]
core(trace): lazy quering for OPENCV_TRACE_LOCATION

- fixes proper initialization of non-trivial variable

3 years agoocl: silence warning in case of async cleanup
Alexander Alekhin [Thu, 20 Aug 2020 19:05:50 +0000 (19:05 +0000)]
ocl: silence warning in case of async cleanup

- OpenCL kernel cleanup processing is asynchronous and can be called even after forced clFinish()
- buffers are released later in asynchronous mode
- silence these false positive cases for asynchronous cleanup

3 years agoMerge pull request #18084 from pemmanuelviel:pev--add-DNA-distances
Alexander Alekhin [Thu, 20 Aug 2020 13:26:02 +0000 (13:26 +0000)]
Merge pull request #18084 from pemmanuelviel:pev--add-DNA-distances

3 years agoMerge pull request #18085 from pemmanuelviel:pev--add-DbgAssert-checks
Alexander Alekhin [Thu, 20 Aug 2020 13:25:02 +0000 (13:25 +0000)]
Merge pull request #18085 from pemmanuelviel:pev--add-DbgAssert-checks

3 years agoMerge pull request #18129 from pemmanuelviel:pev--update-stereo-sample
Alexander Alekhin [Thu, 20 Aug 2020 13:21:58 +0000 (13:21 +0000)]
Merge pull request #18129 from pemmanuelviel:pev--update-stereo-sample

3 years agoUpdate the stereo sample:
Pierre-Emmanuel Viel [Tue, 18 Aug 2020 14:10:56 +0000 (16:10 +0200)]
Update the stereo sample:
* add the HH4 mode
* option to display disparity with a color map
* display current settings in the title bar
* don't close app when wanting to take screenshots

3 years agoMerge pull request #18037 from danielenricocahall:improve-brisk-init-perf
Alexander Alekhin [Tue, 18 Aug 2020 20:06:17 +0000 (20:06 +0000)]
Merge pull request #18037 from danielenricocahall:improve-brisk-init-perf

3 years agoMerge pull request #18022 from SoheibKadi:Update_CornerSubPix_Documentation
Alexander Alekhin [Tue, 18 Aug 2020 13:19:18 +0000 (13:19 +0000)]
Merge pull request #18022 from SoheibKadi:Update_CornerSubPix_Documentation

3 years agoImprove initialization performance of Brisk
danielenricocahall [Wed, 5 Aug 2020 02:18:32 +0000 (22:18 -0400)]
Improve initialization performance of Brisk

reformatting

Improve initialization performance of Brisk

fix formatting

Improve initialization performance of Brisk

formatting

Improve initialization performance of Brisk

make a lookup table for ring

use cosine/sine lookup table for theta in brisk and utilize trig identity

fix ring lookup table

use cosine/sine lookup table for theta in brisk and utilize trig identity

formatting

use cosine/sine lookup table for theta in brisk and utilize trig identity

move scale radius product to ring loop to ensure it's not recomputed for each rot

revert change

move scale radius product to ring loop to ensure it's not recomputed for each rot

remove rings lookup table

move scale radius product to ring loop to ensure it's not recomputed for each rot

fix formatting of for loop

move scale radius product to ring loop to ensure it's not recomputed for each rot

use sine/cosine approximations for brisk lookup table.

add documentation for sine/cosine lookup tables

Improve initialization performance of BRISK

3 years agoMerge pull request #18119 from tomoaki0705:fixFfmpegBuildFailure
Alexander Alekhin [Mon, 17 Aug 2020 19:25:54 +0000 (19:25 +0000)]
Merge pull request #18119 from tomoaki0705:fixFfmpegBuildFailure

3 years agofix build error on odroid-n2-plus
Tomoaki Teshima [Mon, 17 Aug 2020 12:24:54 +0000 (21:24 +0900)]
fix build error on odroid-n2-plus

3 years agoMerge pull request #18001 from Yosshi999:sift-8bit-descr
Yosshi999 [Mon, 17 Aug 2020 10:28:44 +0000 (19:28 +0900)]
Merge pull request #18001 from Yosshi999:sift-8bit-descr

* 8-bit SIFT descriptors

* use clearer parameter

* update docs

* propagate type info

* overload function for avoiding ABI-break

* bugfix: some values are undefined when CV_SIMD is absent

3 years agoMerge pull request #18105 from alalek:highgui_gtk_dont_terminate
Alexander Alekhin [Mon, 17 Aug 2020 08:52:01 +0000 (08:52 +0000)]
Merge pull request #18105 from alalek:highgui_gtk_dont_terminate

3 years agohighgui: don't terminate if we can't initialize GTK backend
Alexander Alekhin [Sat, 15 Aug 2020 22:17:33 +0000 (22:17 +0000)]
highgui: don't terminate if we can't initialize GTK backend

- allow Users to handle such case
- exception will be thrown instead

3 years agoMerge pull request #18080 from nhlsm:improve-mat-operator-assign-scalar
nhlsm [Fri, 14 Aug 2020 17:21:23 +0000 (02:21 +0900)]
Merge pull request #18080 from nhlsm:improve-mat-operator-assign-scalar

* improve Mat::operator=(Scalar)

* touch

* remove trailing whitespace

* TEST: check if old code pass test or not

* remove CV_Error

* remove warning

* fix: is -> Scalar

* 1) Mat *mat -> Mat &mat 2) return bool, add output param

* add comment

3 years agoMerge pull request #18092 from alalek:ocl_fix_image_format
Alexander Alekhin [Fri, 14 Aug 2020 17:10:36 +0000 (17:10 +0000)]
Merge pull request #18092 from alalek:ocl_fix_image_format

3 years agoMerge pull request #18096 from l-bat:update_onnx_importer
Liubov Batanina [Fri, 14 Aug 2020 16:49:42 +0000 (19:49 +0300)]
Merge pull request #18096 from l-bat:update_onnx_importer

* Added ReduceSum to ONNX importer

* Fix comments

* Fix Mul

3 years agoMerge pull request #18078 from l-bat:fix_matmul
Alexander Alekhin [Fri, 14 Aug 2020 13:46:46 +0000 (13:46 +0000)]
Merge pull request #18078 from l-bat:fix_matmul

3 years agoFix MatMul and Add axes
Liubov Batanina [Wed, 12 Aug 2020 12:03:46 +0000 (15:03 +0300)]
Fix MatMul and Add axes

3 years agocore(ocl): fix ocl::Image2d::isFormatSupported()
Alexander Alekhin [Thu, 13 Aug 2020 18:33:18 +0000 (18:33 +0000)]
core(ocl): fix ocl::Image2d::isFormatSupported()

in case of OPENCV_OPENCL_DEVICE=disabled

3 years agoMerge pull request #17976 from YashasSamaga:dnn-fusion-tests-fix-ocl
Yashas Samaga B L [Thu, 13 Aug 2020 10:55:41 +0000 (16:25 +0530)]
Merge pull request #17976 from YashasSamaga:dnn-fusion-tests-fix-ocl

dnn: add exhaustive fusion tests, enable more eltwise fusions

* add eltwise fusion tests, enable more eltwise fusions

* merge weighted eltwise tests with eltwise tests

3 years agoAdd debug assert to check in FLANN the vectors size is multiple of the architecture...
Pierre-Emmanuel Viel [Wed, 12 Aug 2020 21:07:35 +0000 (23:07 +0200)]
Add debug assert to check in FLANN the vectors size is multiple of the architecture word size

3 years agoMerge pull request #18077 from l-bat:reduce_sum
Liubov Batanina [Wed, 12 Aug 2020 14:32:16 +0000 (17:32 +0300)]
Merge pull request #18077 from l-bat:reduce_sum

* Supported ReduceSum op

* Skip test

3 years agoMerge pull request #18074 from pemmanuelviel:pev--kmeans-refactoring
Alexander Alekhin [Wed, 12 Aug 2020 13:18:20 +0000 (13:18 +0000)]
Merge pull request #18074 from pemmanuelviel:pev--kmeans-refactoring

3 years agoRefactoring to prepare for other vector types while mutualizing some methods
Pierre-Emmanuel Viel [Fri, 26 Jun 2020 21:08:04 +0000 (23:08 +0200)]
Refactoring to prepare for other vector types while mutualizing some methods

3 years agosupport flownet2 with arbitary input size
zhaoyue-zephyrus [Wed, 22 Jul 2020 15:07:17 +0000 (23:07 +0800)]
support flownet2 with arbitary input size

revise default proto to match the filename in documentations

fix a bug

beautify python codes

fix bug

beautify codes

add test samples with larger/smaller size

remove unless code

using bytearray without creating tmp file

remove useless codes

3 years agoMerge pull request #18033 from ieliz:dasiamrpn
Elizarov Ilya [Tue, 11 Aug 2020 08:46:47 +0000 (11:46 +0300)]
Merge pull request #18033 from ieliz:dasiamrpn

Improving DaSiamRPN tracker sample

* changed layerBlobs in dnn.cpp and added DaSiamRPN tracker

* Improving DaSiamRPN tracker sample

* Docs fix

* Removed outdated changes

* Trying to reinitialize tracker without reloading models. Worked with LaSOT-based benchmark with reinit rate=250 frames

* Trying to reverse changes

* Moving the model in the constructor

* Fixing some issues with names

* Variable name changed

* Reverse parser arguments changes

3 years agoMerge pull request #17643 from pemmanuelviel:pev--new-flann-demo
pemmanuelviel [Mon, 10 Aug 2020 13:26:40 +0000 (15:26 +0200)]
Merge pull request #17643 from pemmanuelviel:pev--new-flann-demo

* Add a FLANN example showing how to search a query image in a dataset

* Clean: remove warning

* Replace dependency to boost::filesystem by calls to core/utils/filesystem

* Wait for escape key to exit

* Add an example of binary descriptors support

* Add program options for saving and loading the flann structure

* Fix warnings on Win64

* Fix warnings on 3.4 branch still relying on C++03

* Add ctor to img_info structure

* Comments modification

* * Demo file of FLANN moved and renamed

* Fix distances type when using binary vectors in the FLANN example

* Rename FLANN example file

* Remove dependency of the flann example to opencv_contrib's SURF.

* Remove mention of FLANN and other descriptors that aimed at giving hint on the other options

* Cleaner program options management

* Make waitKey usage minimal in FLANN example

* Fix the conditions order

* Use cv::Ptr

3 years agoMerge pull request #17982 from nglee:dev_cudaGpuMatConvertToInplaceFix
Alexander Alekhin [Sun, 9 Aug 2020 20:21:17 +0000 (20:21 +0000)]
Merge pull request #17982 from nglee:dev_cudaGpuMatConvertToInplaceFix

3 years agoMerge pull request #18048 from l-bat:onnx_torchvision
Alexander Alekhin [Thu, 6 Aug 2020 20:21:47 +0000 (20:21 +0000)]
Merge pull request #18048 from l-bat:onnx_torchvision

3 years agoFix bug in ONNX Gather op
Liubov Batanina [Thu, 6 Aug 2020 12:47:34 +0000 (15:47 +0300)]
Fix bug in ONNX Gather op

3 years agoMerge pull request #18036 from alalek:backport_17858
Alexander Alekhin [Tue, 4 Aug 2020 20:16:22 +0000 (20:16 +0000)]
Merge pull request #18036 from alalek:backport_17858