Alexander Alekhin [Mon, 23 Mar 2020 16:54:35 +0000 (16:54 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Mon, 23 Mar 2020 16:23:37 +0000 (16:23 +0000)]
Merge pull request #16885 from mshabunin:fix-msvc-warn
Alexander Alekhin [Mon, 23 Mar 2020 16:22:17 +0000 (16:22 +0000)]
Merge pull request #16817 from dkurt:dnn_onnx_lstm
Dmitry Kurtaev [Sun, 22 Mar 2020 13:04:30 +0000 (16:04 +0300)]
Add checks for LSTM initial h and c
Alexander Alekhin [Mon, 23 Mar 2020 12:58:44 +0000 (12:58 +0000)]
Merge pull request #16883 from alalek:cmake_cmp0066
Alexander Alekhin [Mon, 23 Mar 2020 12:58:23 +0000 (12:58 +0000)]
Merge pull request #16882 from alalek:cmake_apps_install_list
Maksim Shabunin [Mon, 23 Mar 2020 11:46:21 +0000 (14:46 +0300)]
calib3d: fixed VS2019 warning C4756
Alexander Alekhin [Mon, 23 Mar 2020 01:15:49 +0000 (01:15 +0000)]
cmake: set CMP0066 => NEW
Alexander Alekhin [Sun, 22 Mar 2020 23:55:11 +0000 (23:55 +0000)]
cmake(apps): support OPENCV_INSTALL_APPS_LIST
Usage:
- cmake -DOPENCV_INSTALL_APPS_LIST=opencv_version ...
Alexander Alekhin [Sun, 22 Mar 2020 20:15:57 +0000 (23:15 +0300)]
Merge pull request #16864 from alalek:issue_16857
Alexander Alekhin [Sun, 22 Mar 2020 20:15:11 +0000 (20:15 +0000)]
Merge pull request #16868 from YashasSamaga:cuda4dnn-scale-fix_and_improvements
YashasSamaga [Sun, 22 Mar 2020 16:48:52 +0000 (22:18 +0530)]
fix segfaults, support bias in untrainable mode, support batches in untrainable mode
Dmitry Kurtaev [Sat, 21 Mar 2020 21:20:36 +0000 (00:20 +0300)]
Bidirectional LSTM
Alexander Alekhin [Sat, 21 Mar 2020 17:06:01 +0000 (17:06 +0000)]
Merge pull request #16859 from dmatveev:dm/gapi_android
Alexander Alekhin [Sat, 21 Mar 2020 17:04:34 +0000 (17:04 +0000)]
Merge pull request #16867 from bencsikandrei:fix_typo_cmake_detect_python
Alexander Alekhin [Sat, 21 Mar 2020 17:04:09 +0000 (17:04 +0000)]
Merge pull request #16865 from alalek:doc_fix_wrong_see_also
Andrei-Florin BENCSIK [Sat, 21 Mar 2020 09:15:07 +0000 (11:15 +0200)]
fix: minor typo in CMakeCVDetectPython
Alexander Alekhin [Sat, 21 Mar 2020 00:51:34 +0000 (00:51 +0000)]
objdetect(QR): avoid bug with empty input
Alexander Alekhin [Sat, 21 Mar 2020 00:25:49 +0000 (00:25 +0000)]
doc: fix misused "see also" doxygen command
Alexander Alekhin [Fri, 20 Mar 2020 21:41:15 +0000 (21:41 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 20 Mar 2020 21:04:29 +0000 (21:04 +0000)]
imgproc: add src.empty() checks in filter operations
Alexander Alekhin [Fri, 20 Mar 2020 19:32:55 +0000 (19:32 +0000)]
Merge pull request #16858 from alalek:core_fix_empty_iterator_begin_end
Dmitry Matveev [Fri, 20 Mar 2020 14:20:01 +0000 (17:20 +0300)]
Try to enable G-API build on Android
Alexander Alekhin [Fri, 20 Mar 2020 13:04:04 +0000 (13:04 +0000)]
core: fix .begin()/.end() of empty Mat
NesQl [Fri, 20 Mar 2020 10:10:39 +0000 (18:10 +0800)]
Merge pull request #16832 from liqi-c:3.4-tengine-android
* Add android support for tengine
* modify tengine download use commit id
* Del some invalid log in Tengine
* Test. default enable tengine
* ndk version judegment
* Close test . set Tengine default OFF
* Logic problem
* test .Android NDK judgement .
* Cmake error modify.
* cmake: cleanup tengine scripts
* cmake: use tengine target name
* cmake: disable testing of BUILD_ANDROID_PROJECTS=OFF
* Close test .
Dizhenin Vlad [Thu, 19 Mar 2020 21:39:54 +0000 (00:39 +0300)]
Merge pull request #16853 from SimpleVlad:note
Add link to article for sample "Intelligent scissors"
* Add link to article
* Add autors name
* Fix whitespace
Alexander Alekhin [Thu, 19 Mar 2020 16:50:38 +0000 (16:50 +0000)]
Merge pull request #16835 from YashasSamaga:cuda4dnn-hotfix-memory-lock
Alexander Alekhin [Thu, 19 Mar 2020 16:43:43 +0000 (16:43 +0000)]
Merge pull request #16828 from paroj:nmspy
Alexander Alekhin [Thu, 19 Mar 2020 16:43:16 +0000 (16:43 +0000)]
Merge pull request #16846 from alalek:cmake_python_limited_api
Alexander Alekhin [Thu, 19 Mar 2020 16:42:55 +0000 (16:42 +0000)]
Merge pull request #16842 from mshabunin:ignore-vs-config
Anatoliy Talamanov [Thu, 19 Mar 2020 12:12:09 +0000 (15:12 +0300)]
Merge pull request #16768 from TolyaTalamanov:at/add-warp-affine
G-API: Implement WarpAffine
* Add WarpAffine
* Ban BORDER_TRANSPARENT
* Fix doc
Pavel Rojtberg [Mon, 16 Mar 2020 17:05:07 +0000 (18:05 +0100)]
dnn: expose only float variant of NMSBoxes for bindings
the float variant was always shadowed by the int version as
Rect2d is implicitly convertible to Rect.
This swaps things which is fine, as the vector of boxes was always
copied and the computation was done in double.
Alexander Alekhin [Wed, 18 Mar 2020 23:05:03 +0000 (23:05 +0000)]
cmake(python): handle PYTHON3_LIMITED_API
- python-3.x => python-3
- config-3.x.py => config-3.py
Elizarov Ilya [Wed, 18 Mar 2020 15:46:43 +0000 (18:46 +0300)]
Merge pull request #16554 from ieliz:tracker
Added DaSiamRPN tracker
* added DaSiamRPN tracker
* whitespace trouble handled
* Fixes for PR
* Fixes for PR
* Fixes for PR
* added new line in the end of the file and x_crop fix
* removed cxy_wh_2_rect function
* removed loop from sofrmax function
* more detailed discription about absolute paths to onnx models
* removed nested while loop, initialization moved from main tracking loop
* added assert message for small init bb
* initial bounding box on videostream
* selection of initial bounding box improved
* created tracker class, fixed initializing bounding box
* fix round of value
* names fix
* private methods renamed
* names fixed, case for video WIP
* fix case with video
* removed hardcoded size of window
* whitespace fix
* links to models fixed
* bounding box drawing fix
* changes does not required
* code style fixes
* fixes
* frame checker added in tracking loop
* fixed import sys
Pratik Raj [Wed, 18 Mar 2020 15:19:55 +0000 (20:49 +0530)]
Merge pull request #16733 from Rajpratik71:master
Some debian package manager tweaks
iteal [Wed, 18 Mar 2020 08:45:09 +0000 (17:45 +0900)]
Merge pull request #16818 from iteal:master
Update template_matching.markdown
Fixed "template image" should be "source image" in two sentences explaining template matching.
Dmitry Kurtaev [Tue, 17 Mar 2020 21:00:24 +0000 (00:00 +0300)]
Fix LSTM from ONNX with batch==1
Dmitry Kurtaev [Sun, 15 Mar 2020 20:21:58 +0000 (23:21 +0300)]
LSTM from ONNX works
Dmitry Kurtaev [Sun, 15 Mar 2020 19:33:05 +0000 (22:33 +0300)]
LSTM scalar
Maksim Shabunin [Tue, 17 Mar 2020 18:12:54 +0000 (21:12 +0300)]
Ignore Visual Studio cmake configuration file
Alexander Alekhin [Tue, 17 Mar 2020 16:29:43 +0000 (16:29 +0000)]
Merge pull request #16836 from alalek:stitching_avoid_nonfree_by_default
Liubov Batanina [Tue, 17 Mar 2020 14:31:01 +0000 (17:31 +0300)]
Merge pull request #16715 from l-bat:slice_onnx
* Support Slice layer with multiple inputs
* Add test
* Supported Resize from PyTorch
* Rewrite test
* Remove Cast layer (supported in #16735)
* Support ConstantOfShape
* Fix tests
* Fix coments
* Remove useless condition
* Fixed failed tests
Alexander Alekhin [Tue, 17 Mar 2020 12:09:23 +0000 (15:09 +0300)]
stitching: don't use nonfree by default
YashasSamaga [Tue, 17 Mar 2020 10:38:04 +0000 (16:08 +0530)]
release and relock on wrapper resize
Alexander Alekhin [Tue, 17 Mar 2020 10:23:33 +0000 (13:23 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 17 Mar 2020 10:12:47 +0000 (10:12 +0000)]
Merge pull request #16827 from alalek:update_buffer_area
Alexander Alekhin [Mon, 16 Mar 2020 18:52:15 +0000 (18:52 +0000)]
Merge pull request #16825 from mshabunin:fix-qrcode-tests
Alexander Alekhin [Mon, 16 Mar 2020 18:48:19 +0000 (18:48 +0000)]
Merge pull request #16826 from mshabunin:fix-kw-issues-34
Alexander Alekhin [Mon, 16 Mar 2020 18:47:36 +0000 (18:47 +0000)]
Merge pull request #16824 from mshabunin:fix-kw-issues
Alexander Alekhin [Mon, 16 Mar 2020 16:34:08 +0000 (19:34 +0300)]
core(buffer_area): handle 'OPENCV_ENABLE_MEMORY_SANITIZER=ON' case
Maksim Shabunin [Mon, 16 Mar 2020 15:49:16 +0000 (18:49 +0300)]
objdetect: fix QRCode tests with disabled QUIRC
Maksim Shabunin [Mon, 16 Mar 2020 12:49:51 +0000 (15:49 +0300)]
Fixs several problems found by static analysis
Maksim Shabunin [Mon, 16 Mar 2020 12:49:51 +0000 (15:49 +0300)]
Fixs several problems found by static analysis
Alexander Alekhin [Mon, 16 Mar 2020 15:04:49 +0000 (15:04 +0000)]
Merge pull request #16820 from dkurt:fix_16811
RAJKIRAN NATARAJAN [Mon, 16 Mar 2020 14:12:29 +0000 (07:12 -0700)]
Merge pull request #16779 from saskatchewancatch:issue-16777
* Fixes issue 16777.
* core: update Concurrency getNumThreads()
Dizhenin Vlad [Mon, 16 Mar 2020 14:10:25 +0000 (17:10 +0300)]
Merge pull request #16695 from SimpleVlad:intelligent_scissors
Intelligent scissors
* Start
* Remove whitespace
* Re onMouse
* replased double to float
* Draw contours
* CV_FILLED -> FILLED
* Remove line 210
* Change 'about'
* Remove M_PI
* Remove warning
* CP_PI
* double to float
* CV_PI to Float
* Add struct for data
* line 172, 191 whitespace
* Change name
* Fix Warnings
* Set const
* line 180
* rewrite keys
* &img = param->img
Dmitry Kurtaev [Mon, 16 Mar 2020 12:49:37 +0000 (15:49 +0300)]
Fix memory leak in Python custom dnn layers
Alexander Alekhin [Sun, 15 Mar 2020 19:49:50 +0000 (19:49 +0000)]
Merge pull request #16786 from alalek:issue_16398
Alexander Alekhin [Sat, 14 Mar 2020 22:00:18 +0000 (22:00 +0000)]
Merge pull request #16812 from seiko2plus:vsx_improve_broadcast
Sayed Adel [Sat, 14 Mar 2020 20:14:17 +0000 (22:14 +0200)]
core:vsx reimplement `v_broadcast_element()`
There's no need to use `vec_perm()` instead of `vec_splat()`,
since instruction `vperm` is quite heavy compared to `vsplt[b,h,w]`.
Alexander Alekhin [Sat, 14 Mar 2020 13:47:50 +0000 (13:47 +0000)]
Merge pull request #16809 from alalek:dnn_ie_separate_core_instances
Alexander Alekhin [Sat, 14 Mar 2020 13:38:05 +0000 (13:38 +0000)]
Merge pull request #16760 from dkurt:dnn_mobilenet_v3
Liubov Batanina [Sat, 14 Mar 2020 11:05:49 +0000 (14:05 +0300)]
Merge pull request #16735 from l-bat:flatten_const_onnx
* Supported Flatten for constant nodes
* Added default axis
* Refactoring
* Refactoring
* Added cast layer
* Fix comments
* Add Cast for layers
Alexander Alekhin [Sat, 14 Mar 2020 10:59:27 +0000 (10:59 +0000)]
Merge pull request #16798 from alalek:opencv_version_threads
Alexander Alekhin [Fri, 13 Mar 2020 18:02:50 +0000 (18:02 +0000)]
Merge pull request #16797 from alalek:cmake_warning_python_standalone
Alexander Alekhin [Fri, 13 Mar 2020 15:33:27 +0000 (18:33 +0300)]
dnn(ie): separate IECore for different devices
- HETERO plugin doesn't switch well between devices
Alexander Alekhin [Fri, 13 Mar 2020 11:49:01 +0000 (11:49 +0000)]
Merge pull request #16806 from anton-potapov:kw_fixes_own_mat_total_overflow
Anton Potapov [Fri, 13 Mar 2020 09:46:18 +0000 (12:46 +0300)]
GAPI - KW fixes
- avoid overflow in own::Mat::total() and according tests, part 2
Alexander Alekhin [Thu, 12 Mar 2020 13:35:14 +0000 (16:35 +0300)]
opencv_version: dump threads information
Alexander Alekhin [Thu, 12 Mar 2020 13:05:52 +0000 (13:05 +0000)]
Merge pull request #16796 from anton-potapov:kw_fixes_own_mat_total_overflow
Alexander Alekhin [Thu, 12 Mar 2020 12:10:32 +0000 (12:10 +0000)]
Merge pull request #16793 from anton-potapov:kw_fixes_bitwise_op_on_bools
Alexander Alekhin [Thu, 12 Mar 2020 12:04:47 +0000 (12:04 +0000)]
Merge pull request #16792 from alalek:fixup_merge_dnn
Alexander Alekhin [Thu, 12 Mar 2020 11:29:31 +0000 (14:29 +0300)]
cmake: fix missing project() warning in Python standalone builds
Anton Potapov [Thu, 12 Mar 2020 10:29:54 +0000 (13:29 +0300)]
GAPI - KW fixes
- avoid overflow in own::Mat::total() and according tests
Alexander Alekhin [Thu, 12 Mar 2020 10:12:24 +0000 (10:12 +0000)]
Merge pull request #16787 from D-Alex:master
Alexander Alekhin [Thu, 12 Mar 2020 10:07:33 +0000 (13:07 +0300)]
dnn: fix merge mistake in scale_layer.cpp
Alexander Duda [Wed, 11 Mar 2020 20:56:56 +0000 (21:56 +0100)]
fix: estimateChessboardSharpness triggers out of range test
Problem is that iter1 += tcols, iter2 += tcols are called without check.
row < trows - 1 check is processed after increment in "for" statements.
Alexander Alekhin [Tue, 21 Jan 2020 10:51:03 +0000 (13:51 +0300)]
core: adjust type of allocator_stats counter, allow to disable
Anton Potapov [Wed, 11 Mar 2020 15:16:56 +0000 (18:16 +0300)]
GAPI - KW fixes
- replaced bitwise &= on bools, with explicit && to make KW happy
Alexander Alekhin [Wed, 11 Mar 2020 12:57:15 +0000 (12:57 +0000)]
Merge pull request #16784 from alalek:update_ffmpeg_master
Alexander Alekhin [Wed, 11 Mar 2020 12:38:45 +0000 (12:38 +0000)]
Merge pull request #16756 from alalek:cmake_opencv_test_extra_compile_options
Alexander Alekhin [Wed, 11 Mar 2020 12:35:33 +0000 (12:35 +0000)]
Merge pull request #16498 from etrulls:3.4.9-maxIters
Alexander Alekhin [Wed, 11 Mar 2020 10:57:47 +0000 (10:57 +0000)]
ffmpeg/4.x: update FFmpeg plugin
Alexander Alekhin [Wed, 11 Mar 2020 10:24:55 +0000 (10:24 +0000)]
Merge pull request #16771 from alalek:update_version_4.3.0-pre
Alexander Alekhin [Wed, 11 Mar 2020 10:08:55 +0000 (10:08 +0000)]
Merge pull request #16782 from anton-potapov:kw_fixes
Anton Potapov [Wed, 11 Mar 2020 08:23:15 +0000 (11:23 +0300)]
GAPI - KW fixes
- replace "unsafe" memcpy with "safe" :) std::copy_n to make KW happy
Alexander Alekhin [Tue, 10 Mar 2020 22:44:14 +0000 (22:44 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 10 Mar 2020 22:39:30 +0000 (22:39 +0000)]
Merge pull request #16774 from alalek:core_update_cpus_detection
Alexander Alekhin [Tue, 10 Mar 2020 22:30:51 +0000 (22:30 +0000)]
Merge pull request #16773 from alalek:update_ffmpeg_3.4
Alexander Alekhin [Tue, 10 Mar 2020 22:02:47 +0000 (22:02 +0000)]
Merge pull request #16744 from alalek:fix_mat_aug_operators_use_after_free
Alexander Alekhin [Tue, 25 Feb 2020 14:04:27 +0000 (17:04 +0300)]
core: update CPUs detection
- cache value, evaluate once
- better support for MINGW
- anything in 'cv' namespace
- test: dump number of active threads
Alexander Alekhin [Tue, 10 Mar 2020 19:01:01 +0000 (19:01 +0000)]
ffmpeg/3.4: update FFmpeg wrapper
- FFmpeg 3.4.7
Alexander Alekhin [Tue, 10 Mar 2020 18:34:39 +0000 (18:34 +0000)]
Merge pull request #16770 from alalek:update_version_3.4.10-pre
Alexander Alekhin [Tue, 10 Mar 2020 13:52:32 +0000 (13:52 +0000)]
Merge pull request #16746 from alalek:dnn_switch_ie_backend_ngraph
Vadim Levin [Tue, 10 Mar 2020 13:44:22 +0000 (16:44 +0300)]
Merge pull request #16713 from VadimLevin:dev/vlevin/ffmpeg_video_capture_bitrate
* feature: Add video capture bitrate read-only property for FFMPEG backend
* test: For WIN32 property should be either expected or 0.
Added `IsOneOf` helper function, enabled only for _WIN32.
Alexander Alekhin [Tue, 10 Mar 2020 12:00:03 +0000 (15:00 +0300)]
pre: OpenCV 4.3.0 (version++)
Alexander Alekhin [Tue, 10 Mar 2020 11:53:43 +0000 (14:53 +0300)]
pre: OpenCV 3.4.10 (version++)
- Android Manager version is not increased (stuck on 3.49)
Maxim Pashchenkov [Tue, 10 Mar 2020 11:44:16 +0000 (14:44 +0300)]
Merge pull request #16604 from Volskig:mp/ocv-gapi-zero-height-mat
G-API: Zero-height mat is cause of crash
* Added check for zero-height Mat case
* Refactoring, added validate_input_arg func
* No bool function now
Alexander Alekhin [Fri, 6 Mar 2020 13:43:23 +0000 (13:43 +0000)]
dnn(ie): switch to nGraph backend by default
Yashas Samaga B L [Tue, 10 Mar 2020 09:45:19 +0000 (15:15 +0530)]
Merge pull request #16436 from YashasSamaga:feature-enetb0-yolo
dnn(darknet-importer): add grouped convolutions, sigmoid, swish, scale_channels
* update darknet importer to support enetb0-yolo
* remove dropout (pr16438) and fix formatting
* add test for scale_channels
* disable batch testing for scale channels
* do not set LayerParams::name
* merge all activations into setActivation