Maksim Shabunin
f84cae833a
TickMeter: added FPS and AvgTime, improved docs, reformatted
2020-04-16 21:33:29 +03:00
Alexander Alekhin
2cef100303
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-16 18:28:27 +00:00
Alexander Alekhin
ed58b5489f
[move sift.cpp] sift: avoid inplace calls of GaussianBlur
...
- should unlock IPP optimizations
original commit: ce7c8f2646
2020-04-16 17:58:45 +00:00
Alexander Alekhin
ef5fa498d4
[move sift.cpp] sift: perf tests and trace regions
...
original commit: a15e105db1
2020-04-16 17:58:45 +00:00
Alexander Alekhin
78e4fbd2d7
Merge pull request #17091 from tomoaki0705:fixHOGDetectorFailure
2020-04-16 16:34:45 +00:00
Tomoaki Teshima
96075ce0c9
avoid test failure on Arm platform
2020-04-17 00:59:15 +09:00
Alexander Alekhin
c007228d0f
Merge pull request #17075 from alalek:dnn_updates_from_openvino_2020.2
2020-04-16 12:19:58 +00:00
Alexander Alekhin
dca9b4283b
Merge pull request #17080 from dkurt:dnn_ngraph_future
2020-04-16 11:19:08 +00:00
Alexander Alekhin
dcec3150f0
Merge pull request #17084 from tomoaki0705:fixQRInputCheck
2020-04-16 09:44:08 +00:00
Dmitry Kurtaev
5e5385a814
Remove NodeVector for nGraph
2020-04-16 11:13:49 +03:00
Tomoaki Teshima
c2e484a465
fix wrong condition check
2020-04-16 08:24:14 +09:00
Paul Jurczak
f64d807863
Added to description of WCube constructor
...
`WCube` constructor reorders `min_point`, `max_point` parameters when necessary. I added this info to the description.
2020-04-15 16:06:14 -06:00
Alexander Alekhin
8c77f35fce
Merge pull request #17079 from tomoaki0705:fixCUDABgSgmMOG
2020-04-15 18:30:09 +00:00
Tomoaki Teshima
f39784c584
fix test failure on Jetson TX2
2020-04-15 23:25:12 +09:00
Alexander Alekhin
98e38b2a41
Merge pull request #17017 from VadimLevin:dev/vlevin/header-parser-explicit-support
2020-04-15 12:53:42 +00:00
Vadim Levin
1d8c73cf6c
feature: Added explicit
support to header parser
...
- It is safe to remove `explicit` keyword for constructors with 1
argument, because it is C++ specific keyword and does not affect any of
the generated binding.
2020-04-15 14:25:39 +03:00
Alexander Alekhin
ef68cc3d5f
dnn: use OpenVINO 2020.2 defines
...
original commit: 45263d7642
2020-04-15 11:14:43 +00:00
Vadim Levin
18550b4601
test: Added tests for VideoCapture constructors in java
2020-04-15 14:12:31 +03:00
Alexander Alekhin
8ff0399432
Merge pull request #17048 from anton-potapov:ap/variant_get_if
2020-04-14 19:06:01 +00:00
Alexander Alekhin
c8f1948d58
core: drop EXPR handing code in InputArray
2020-04-14 18:02:19 +00:00
Alexander Alekhin
f6de25b6cb
Merge pull request #17060 from dkurt:dnn_align_ie_pool
2020-04-14 15:15:44 +00:00
Anton Potapov
dd2c7c5140
GAPI: utils - variant::get_if
...
adding one more missing function to local version of std::variant
2020-04-14 15:12:31 +03:00
Ilya Lavrenov
91b0100287
Fixed compilation when NN builder is not built
2020-04-14 15:05:01 +03:00
Dmitry Kurtaev
870a775d7d
Align DLIE and nGraph average pooling layers
2020-04-14 13:54:54 +03:00
Alexander Alekhin
ca9756f6a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-13 20:00:12 +00:00
Alexander Alekhin
675342ecd9
Merge pull request #17025 from tomoaki0705:fixTestFailureCUDABruteForceNonLocalMeans
2020-04-13 18:17:50 +00:00
Alexander Alekhin
245b2fec34
Merge pull request #16925 from dkurt:dnn_ssd.pytorch
2020-04-13 13:12:12 +00:00
Alexander Alekhin
49a75079f2
Merge pull request #17047 from alalek:fix_permissions
2020-04-13 12:34:08 +00:00
Dmitry Kurtaev
d3f9ad1145
Enable ONNX SSD from https://github.com/amdegroot/ssd.pytorch
2020-04-13 15:12:27 +03:00
Alexander Alekhin
46615ffc4a
Merge pull request #16985 from ashishkrshrivastava:padfusion
2020-04-13 11:26:13 +00:00
Pierre Chatelier
f351653589
Merge pull request #13869 from chacha21:LineVirtualIterator
...
* LineVirtualIterator
Proposal of LineVirtualIterator, an alternative to "LineIterator not attached to any mat".
This is basically the same implementation, replacing the address difference by a single "offset" variable. elemsize becomes irrelevant and considered to be 1. "step" is thus equal to size.width since no stride is expected.
* Update drawing.cpp
fixed warning
* improvement of LineVirtualIterator
instead of being too conservative, the new implementation gets rid of "offset/step" and only keeps a "Point currentPos" up to date.
left_to_right is renamed to forceLeftToRight as suggested (even for the old LineIterator)
assert() replaced by CV_Assert() (even for the old LineIterator)
* fixed implementation
+fixed last commit so that LineVirtualIterator gives at least the same results as LineIterator
+added a new constructor that does not require any Size, so that no clipping is done and iteration occurs from pt1 to pt2. This is done by adding a spatial offset to pt1 and pt2 so that the same implementation is used, the size being in that case the spatial size between pt1 and pt2
* Update imgproc.hpp
fixed warnings
* Update drawing.cpp
fixed whitespace
* Update drawing.cpp
trailing whitespace
* Update imgproc.hpp
+added a new constructor that takes a Rect rather than a Size. It computes the line pt1->pt2 that clips that rect.
Yet again, this is still based on the same implementation, thanks to the Size and the currentPosOffset that can artifically consider the origin of the rect at (0,0)
* revert changes
revert changes on original LineIterator implementation, that will be superseded by the new LineVirtualIterator anyway
* added test of LineVirtualIterator
* More tests
* refactoring
Use C++11 chained constructors
Improved code style
* improve test
Added offset as random test data.
* fixed order of initialization
* merged LineIterator and VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* made LineIterator::operator ++() more efficient
added one perfectly predictable check; in theory, since ptmode is set in the end of the constructor in the header file, the compiler can figure out that it's always true/false and eliminate the check from the inline `LineIterator::operator++()` completely
* optimized Line() function
in the most common case (CV_8UC3) eliminated the check from the loop
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2020-04-13 06:59:31 +00:00
Alexander Alekhin
f0ffc52435
fix files permissions
2020-04-13 04:29:55 +00:00
Tomoaki Teshima
1eb63cfc42
fix test failure on Jetson TX1/TX2/Nano
2020-04-12 23:58:53 +09:00
tpoisonooo
b11a3a0820
Update grfmt_pxm.cpp
...
remove comment in .ppm
2020-04-11 17:41:51 +03:00
AshihsKrShrivastava
bef6b6282c
ReflecitonPad2d and ZeroPad2d Subgraph fusion added
2020-04-11 07:14:05 +05:30
Alexander Alekhin
9c58a7cb1e
Merge pull request #16653 from alalek:core_inputarray_matexpr
2020-04-10 16:57:17 +00:00
Alexander Alekhin
0556450801
Merge pull request #17000 from rgarnov:async_islands
2020-04-10 12:23:53 +00:00
Alexander Alekhin
d7abb641ca
core(test): add InputArray(MatExpr) fetch test
2020-04-10 11:35:42 +00:00
Tomoaki Teshima
4e75f31c55
fix test failure on Jetson Nano/TX1/TX2
2020-04-10 06:15:16 +09:00
Alexander Alekhin
1537a5f253
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-09 19:19:20 +00:00
Ruslan Garnov
ce772b346c
Fixed standalone build, added cv::gapi::proto::ptr test
2020-04-09 17:19:11 +03:00
shimat
39d3bbb601
fix error at #include <window_winrt_bridge.hpp>
2020-04-09 09:54:13 +09:00
Dmitry Matveev
b1f42a6506
Implement asynchronous execution for islands
2020-04-08 20:48:23 +03:00
Dmitry Matveev
cb5921b375
Introduced a newStreamSignal() callback for Island Executables
2020-04-08 20:48:23 +03:00
Alexander Alekhin
016f9ab16e
Merge pull request #16788 from OrestChura:oc/optFlowPyrLK
...
G-API: gapi::calcOpticalFlowPyrLK() Implementation
2020-04-08 20:23:20 +03:00
Alexander Alekhin
499e20da4f
Merge pull request #17018 from anton-potapov:ap/fix_control_may_reach_end_of_non_void_function_warning
2020-04-08 16:46:34 +00:00
OrestChura
d50c21e571
gapi: Full calcOpticalFlowPyrLK implementation (2 overloads) and tests
...
- opencv_gapi module is linked with opencv_video module (optional dependency)
- kernels added to a new cv::gapi::video namespace and a brand new files created to provide gapi_video environment
- there are 2 different kernels as G-API should provide GMat AND GArray<GMat> implementation: cv::calcOptFlowPyrLK doesn't calculate pyramids if vector<Mat> is given so just the cast GMat -> GArray<GMat> wouldn't represent all the cv:: functionality
- tests to check both kernels (based on cv::video tests for cv::calcOpticalFlowPyrLK())
- tests for internal purposes added
- vectors<T> comparison in tests implemented
- new (and old too) common test structures refactored to avoid code copypasting
- "modules/gapi/test/common/gapi_video_tests_common.hpp" created to share some code snippets between perf and acc tests and avoid code copypasting
2020-04-08 18:11:55 +03:00
Anton Potapov
676d1dfd5b
GAPI: Fix [-Wreturn-type] warning on standalone mac build
...
- added [[noreturn]] to standalone version of GAPI_Assert
2020-04-08 17:13:33 +03:00
Alexander Alekhin
06bf845783
Merge pull request #16979 from dkurt:dnn_fused_resize_conv
2020-04-08 13:29:51 +00:00
Alexander Alekhin
acede976e4
Merge pull request #17009 from mshabunin:msmf-plugin
2020-04-08 13:28:26 +00:00
Maksim Shabunin
90e7c29c46
videoio: set plugin output dir on windows to bin
2020-04-08 15:22:50 +03:00
Maksim Shabunin
ca6a11e4d2
videoio: added plug-in support to MSMF backend
2020-04-08 15:22:50 +03:00
Alexander Alekhin
b8579f12be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-08 10:19:09 +00:00
Dmitry Kurtaev
21ed892489
Fix Elu import from ONNX
2020-04-08 12:09:45 +03:00
GFleishman
31ec9b2aa7
Merge pull request #16614 from GFleishman:estimateTranslation3D
...
added estimateTranslation3D to calib3d/ptsetreg
* added estimateTranslation3D; follows API and implementation structure for estimateAffine3D, but only allows for translation
* void variables in null function to suppress compiler warnings
* added test for estimateTranslation3D
* changed to Matx13d datatype for translation vector in ptsetreg and test; used short license in test
* removed iostream include
* calib3d: code cleanup
2020-04-07 19:58:25 +00:00
Alexander Alekhin
0c2a43923c
Merge pull request #17007 from mshabunin:fix-openjpeg-vs
2020-04-07 19:55:37 +00:00
Alexander Alekhin
63320aba6c
Merge pull request #16999 from rgarnov:exports_for_gisland_executable
2020-04-07 19:55:01 +00:00
Orest Chura
2fe9c87433
Merge pull request #16717 from OrestChura:oc/goodFeatures
...
- cv::gapi::goodFeaturesToTrack() kernel is implemented
- tests (for exact check with cv::goodFeaturesToTrack() and for internal cases) are implemented
- a custom comparison function for vectors and a custom test fixture implemented
- some posiible issues as wrong/inexact sorting of two compared vectors are
not taken into account
- initializations of an input Mat using a picture from opencv_extra implemented (function from gapi_streaming_test used)
2020-04-07 15:53:24 +00:00
Alexander Alekhin
adf54d41d5
Merge pull request #16905 from dkurt:dnn_tf2_keras
2020-04-07 14:59:42 +00:00
Alexander Alekhin
ab4dbff150
Merge pull request #15907 from rgarnov:rg/unique_ptr_for_priv_in_fluid
2020-04-07 14:51:14 +00:00
Liubov Batanina
734771418e
Merge pull request #16840 from l-bat:matmul_inputs
...
* Supported FullyConnected layer with two inputs
* Skipped test
* Fix conditions
* Added OpenCL support
* Supported ReduceMean3D
* Supported Expand layer
* Fix warning
* Added Normalize subgraph
* refactoring
* Used addLayer
* Fix check
* Used addLayer
* Skip failed test
* Added normalize1 subgraph
* Fix comments
2020-04-07 14:12:18 +00:00
Maksim Shabunin
01a85736e6
OpenJPEG: fixed compilation and warnings with VS
2020-04-07 16:03:17 +03:00
Alexander Alekhin
60c382d8f1
Merge pull request #17005 from tomoaki0705:fixHoughKernelLocal
2020-04-07 10:05:44 +00:00
Tomoaki Teshima
3371e679ce
fix OpenCL spec violation
2020-04-07 14:34:55 +09:00
Nikita Shulga
b8cf5d8d5f
Enable Otsu thresholding for CV_16UC1 images
2020-04-06 21:19:07 -07:00
Dmitry Matveev
43df944eb4
Added GAPI_EXPORTS to GIslandExecutable since now it needs to be exported
2020-04-06 23:42:52 +03:00
Alexander Alekhin
ce5626db45
Merge pull request #16878 from dkurt:fix_16877
2020-04-06 18:14:35 +00:00
Alexander Alekhin
763a1d7392
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-06 15:57:43 +00:00
Alexander Alekhin
1377b9b736
Merge pull request #16970 from l-bat:fix_enet
2020-04-06 15:57:08 +00:00
Alexander Alekhin
5db3092a1f
Merge pull request #16952 from anton-potapov:kw_fixes
2020-04-06 15:55:33 +00:00
Ruslan Garnov
be1615b1c3
Merge pull request #16964 from rgarnov:rg/opaque_for_streaming_exec
...
* Added GOpaque support to GStreamingExecutor
* Added inter-island GOpaque support to GExecutor
2020-04-06 15:53:54 +00:00
Alexander Alekhin
936428cb3b
core(MatExpr) fetch result before InputArray wrap
...
- avoid multiple expression evaluations
- avoid issues with reduced support of InputArray::EXPR
2020-04-06 15:28:32 +00:00
Maxim Pashchenkov
ca9fd66744
Merge pull request #16886 from mpashchenkov:mp/ocv-gapi-add-disable
...
G-API: DISABLED_ in tests instead #if 0
* Removed if 0, replaced with DISABLED_
* boner
* Added tests for fluid
* -1 instead 0.0
* Added GMatDesc's tests for own::Mat
* IMGPROC_FLUID CORE_FLUID
* Added use_only, disabled tests without kernels
2020-04-06 15:21:08 +00:00
Alexander Alekhin
bdc95d2c66
Merge pull request #16911 from anton-potapov:ap/variant_move_issue
2020-04-06 15:19:32 +00:00
Adam Fowles
8334932a26
Merge pull request #16992 from afowles:fix-forEach-segfault
...
* Fixed divide by zero error in forEach
* Dedicated assertion for !empty
2020-04-06 14:49:02 +00:00
Alexander Alekhin
a10385543b
Merge pull request #16963 from rgarnov:rg/gframe
2020-04-06 14:35:52 +00:00
Alexander Alekhin
99d29c9d39
Merge pull request #16982 from tomoaki0705:houghLinesOCL
2020-04-06 14:35:14 +00:00
Liubov Batanina
a448d3a6aa
Fix ENet test with OpenVINO 2020.2
2020-04-06 17:29:43 +03:00
Alexander Alekhin
e80adc0bc6
Merge pull request #16965 from rgarnov:in_out_island_interface
2020-04-06 14:06:40 +00:00
Dmitry Matveev
1b5730a799
Introduce a new abstraction layer over island input/output data
...
- Port GExecutor to this new interface
2020-04-06 12:24:19 +03:00
Tomoaki Teshima
07c3aae315
let the test pass on Mali G52 (ODROID-N2)
2020-04-05 01:39:47 +09:00
Dmitry Kurtaev
b36eba7fab
Support FusedResizeAndPadConv2D from TensorFlow
2020-04-04 16:02:17 +03:00
Dmitry Kurtaev
8574a757f9
Case sensitive dnn layers types
2020-04-04 15:03:56 +03:00
Alexander Alekhin
01dcfb0825
Merge tag '4.3.0'
2020-04-03 11:50:53 +00:00
Alexander Alekhin
01b2c5a77c
release: OpenCV 4.3.0
2020-04-03 11:45:28 +00:00
Alexander Alekhin
0812207db7
Merge tag '3.4.10'
2020-04-03 11:24:31 +00:00
Ruslan Garnov
c8776e6ebd
Added GFrame
2020-04-03 01:21:51 +03:00
Alexander Alekhin
cf2a3c8e74
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-02 21:52:32 +00:00
Alexander Alekhin
1cc1e6fa56
release: OpenCV 3.4.10
2020-04-02 19:59:58 +00:00
Maxim Pashchenkov
277f0d270f
Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size
...
G-API: Unification of own:: structures with cv:: (Size, Point, Rect)
* deowned Size Rect Point
* Deownded Size Rect Point
* With Scalar
2020-04-02 18:19:45 +00:00
Alexander Alekhin
388a7ce86e
Merge pull request #16956 from alalek:ocl_control_buffer_mapping
2020-04-02 17:56:50 +00:00
Alexander Alekhin
54063c40de
core(ocl): options to control buffer access flags
...
- control using of clEnqueueMapBuffer or clEnqueueReadBuffer[Rect]
- added benchmarks with OpenCL buffer access use cases
2020-04-02 11:11:06 +00:00
Maksim Shabunin
585593e9fc
videoio: fixed MSMF writer fps handling
2020-04-02 12:52:38 +03:00
Alexander Alekhin
f15e885baf
Merge pull request #16950 from alalek:fix_16945
2020-04-02 09:26:09 +00:00
Alexander Alekhin
9109cb1ec6
Merge pull request #16948 from alalek:warning_16739
2020-04-02 09:25:47 +00:00
Anton Potapov
3ffed0bf6e
GAPI - KW fixes
...
- remove unreachable code in GIsland::producer()
2020-04-02 12:05:34 +03:00
Alexander Alekhin
dc9ee53ff5
stitching: fix range check in DpSeamFinder::computeCosts
2020-04-02 03:51:17 +00:00
Maxim Pashchenkov
557ac3dbaf
Merge pull request #16805 from Volskig:mp/ocv-gapi-standalone-scalar
...
G-API: Unification of own:: Scalar with cv:: Scalar
* cvdefs.hpp
* Small changes
* Deowned Scalar. Does't work
* Something
* Removed to_ocv for Scalar
* Clear code
* Deleted whitespaces
* Added include<..own/scalar.hpp in cvdefs.hpp.
* Long string split on two now
* Comment about scalar
* Comment about crutch
* Removed second varible in scalar_wrapper
* Changed wrapper for scalar, alignment
* Alignment
* Whitespaces
* Removed scalar_wrapper
2020-04-01 18:40:38 +00:00
Alexander Alekhin
09134ac881
core: emit warning ONCE on ambiguous MatExpr processing
2020-04-01 18:34:20 +00:00
Maksim Shabunin
433c5199fd
videoio: fixed conversion in MSMF backend
2020-04-01 14:40:11 +03:00
Alexander Alekhin
396f43d674
Merge pull request #16938 from alalek:winpack_samples_update
2020-04-01 01:46:13 +03:00
Alexander Alekhin
3c5fec6746
build: updates for winpack dldt
2020-03-31 22:18:21 +00:00
Alexander Alekhin
e12b1c2209
build: updates for winpack dldt
2020-03-31 20:29:11 +00:00
Alexander Alekhin
f6b2b49e4a
Merge pull request #16932 from alalek:imgproc_resize_nn_cleanup
2020-03-30 15:38:40 +00:00
Alexander Alekhin
e1322cf503
Merge pull request #16928 from alalek:fix_15075
2020-03-30 13:07:35 +00:00
Alexander Alekhin
61c4cfd896
imgproc(resize): drop unused 'pix_size4'
2020-03-29 02:41:50 +00:00
Alexander Alekhin
be17f532e1
imgproc(resize): fix resizeNNInvoker handling of generic pixel size
2020-03-29 02:41:41 +00:00
Alexander Alekhin
6d85fa3fd2
imgcodecs(test): rework common I/O test, added grayscale mode
2020-03-27 21:34:51 +00:00
Alexander Alekhin
95a07ca11c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-27 16:49:59 +00:00
Alexander Alekhin
222a48577f
Merge pull request #16919 from alalek:backport_16860
2020-03-27 16:44:05 +00:00
Alexander Alekhin
353273579b
Merge pull request #16918 from alalek:build_warnings_3.4
2020-03-27 16:43:23 +00:00
Alexander Alekhin
72c5ac37de
Merge pull request #16915 from alalek:build_warnings
2020-03-27 16:42:53 +00:00
Alexander Alekhin
1eba7f60c2
Merge pull request #16913 from alalek:gapi_simd_initialization
2020-03-27 16:42:14 +00:00
Moritz Fischer-Gundlach
2740901378
-calib3d updates documentation
...
backporting commit 99436bb8cf
2020-03-27 16:02:29 +00:00
Alexander Alekhin
0c00d082cf
Merge pull request #16860 from FischerGundlach:rework_docu
2020-03-27 16:00:48 +00:00
Alexander Alekhin
e661ad2a67
eliminate build warnings
2020-03-27 11:39:07 +00:00
Anton Potapov
faceb05775
G-API utils - make variant converting constructor and assignment
...
operator properly forward it's argument
2020-03-27 14:30:16 +03:00
cyy
bdc29cccb6
fix freebsd build
2020-03-27 18:12:10 +08:00
StefanBruens
8d78400052
Merge pull request #16494 from StefanBruens:jpeg2000_openjpeg_port
...
Jpeg2000 OpenJPEG port
* OpenJPEG based JPEG2000 decoder implementation
Currently, the following input color spaces and depth conversions are
supported:
- 8 bit -> 8 bit
- 16 bit -> 16 bit (IMREAD_UNCHANGED, IMREAD_ANYDEPTH)
- RGB(a) -> BGR
- RGBA -> BGRA (IMREAD_UNCHANGED)
- Y(a) -> Y(a) (IMREAD_ANYCOLOR, IMREAD_GRAY, IMREAD_UNCHANGED))
- YCC -> Y (IMREAD_GRAY)
* Check for OpenJPEG availability
This enables OpenJPEG based JPEG2000 imread support by default, which
can be disabled by -DWITH_OPENJPEG=OFF. In case OpenJPEG is enabled
and found, any checks for Jasper are skipped.
* Implement precision downscaling for precision > 8 without IMREAD_UNCHANGED
With IMREAD_UNCHANGED, values are kept from the input image, without it
components are downscaled to CV_8U range.
* Enable Jpeg2K tests when OpenJPEG is available
* Add support for some more color conversions
Support IMREAD_GRAY when input color space is RGB or unspecified.
Support YUV input color space for BGR output.
* fix: problems with unmanaged memory
* fix: CMake warning - HAVE_OPENJPEG is undefined
Removed trailing whitespaces
* fix: CMake find_package OpenJPEG add minimal version
* Basic JPEG2K encoder
Images with depth CV_8U and CV_16U are supported, with 1 to 4 channels.
* feature: Improved code for OpenJPEG2000 encoder/decoder
- Removed code duplication
- Added error handlers
- Extracted functions
* feature: Update conversion openjpeg array from/to Mat
* feature: Extend ChannelsIterator to fulfill RandomAccessIterator named requirements
- Removed channels split in copyFromMatImpl. With ChannelsIterator no allocations are performed.
- Split whole loop into 2 parts in copyToMat -> where std::copy and std::transforms are called.
* fix: Applied review comments.
- Changed `nullptr` in CV_LOG* functions to `NULL`
- Added `falls through` comment in decoder color space `switch`
- Added warning about unsupported parameters for the encoder
* feature: Added decode from in-memory buffers.
Co-authored-by: Vadim Levin <vadim.levin@xperience.ai>
2020-03-27 07:18:58 +00:00
Alexander Alekhin
b4b4d21212
eliminate build warnings
2020-03-26 19:18:09 +00:00
Alexander Alekhin
99502e99cc
gapi(simd): initialize accumulator values
2020-03-26 16:48:21 +00:00
Moritz Fischer-Gundlach
99436bb8cf
-calib3d updates documentation
2020-03-26 15:22:39 +01:00
Dmitry Kurtaev
7e4b2057f2
Import TF2.0 network from Keras
2020-03-25 15:34:28 +03:00
Anatoliy Talamanov
c303aaa94d
Merge pull request #16841 from TolyaTalamanov:at/warp-perspective
...
G-API: Implement WarpPerspective
* Implement WarpPerspective kernel
* Fix comment to review
2020-03-25 11:23:32 +00:00
Alexander Alekhin
c920b45fb8
core(persistence): fix resource leaks - force closing files
...
backporting commit 673eb2b006
2020-03-25 10:49:16 +00:00
Alexander Alekhin
b0563ce368
Merge pull request #16895 from alalek:fix_16823
2020-03-24 16:15:15 +03:00
Alexander Alekhin
673eb2b006
core(persistence): fix resource leaks - force closing files
2020-03-24 11:38:09 +00:00
Alexander Alekhin
ef395c3866
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-24 11:12:11 +00:00
Anatoliy Talamanov
4d3d6230c5
Merge pull request #16803 from TolyaTalamanov:at/yuv-to-gray
...
* Implement NV12toGray
* Snapshot
* Implement NV12toGray as compound kernel
* Update gapi_imgproc_tests_inl.hpp
* Remove YUV2Gray from public API
2020-03-24 10:51:18 +00:00
Maksim Shabunin
0aac17d9f7
calib3d: check input values in dls
2020-03-24 12:22:26 +03:00
Alexander Alekhin
ea34b2fefb
Merge pull request #16888 from YashasSamaga:cuda4dnn-redundant-act-fusion-check
2020-03-24 08:41:11 +00:00
Alexander Alekhin
978666c816
Merge pull request #16849 from anton-potapov:ap/variant__assignment_operator_compile_error
2020-03-23 22:04:48 +00:00
Alexander Alekhin
0b4c101e8a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-23 16:54:35 +00:00
Alexander Alekhin
2d63861c09
Merge pull request #16885 from mshabunin:fix-msvc-warn
2020-03-23 16:23:37 +00:00
Alexander Alekhin
e8c7d61752
Merge pull request #16817 from dkurt:dnn_onnx_lstm
2020-03-23 16:22:17 +00:00
YashasSamaga
4e8cd4629c
fix CUDNN_STATUS_NOT_SUPPORTED, remove redundant fusion checks
2020-03-23 19:47:00 +05:30
Dmitry Kurtaev
467c3ef0ac
Add checks for LSTM initial h and c
2020-03-23 16:28:55 +03:00
Maksim Shabunin
2f665ec589
calib3d: fixed VS2019 warning C4756
2020-03-23 14:46:21 +03:00
Alexander Alekhin
39b64fc7d7
Merge pull request #16864 from alalek:issue_16857
2020-03-22 23:15:57 +03:00
Alexander Alekhin
4dfa798e75
Merge pull request #16868 from YashasSamaga:cuda4dnn-scale-fix_and_improvements
2020-03-22 20:15:11 +00:00
YashasSamaga
2aeb32d2d1
fix segfaults, support bias in untrainable mode, support batches in untrainable mode
2020-03-22 22:18:52 +05:30
Dmitry Kurtaev
8433620295
Bidirectional LSTM
2020-03-22 00:56:48 +03:00
Alexander Alekhin
760e9e0943
Merge pull request #16859 from dmatveev:dm/gapi_android
2020-03-21 17:06:01 +00:00
Alexander Alekhin
d7e839b8c5
objdetect(QR): avoid bug with empty input
2020-03-21 01:35:30 +00:00
Alexander Alekhin
2fb1d9d02e
doc: fix misused "see also" doxygen command
2020-03-21 00:25:49 +00:00
Alexander Alekhin
4cdb4652cf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-20 21:41:15 +00:00
Alexander Alekhin
0fb4f2cc9c
imgproc: add src.empty() checks in filter operations
2020-03-20 21:04:29 +00:00
Dmitry Matveev
020be63df5
Try to enable G-API build on Android
2020-03-20 17:20:01 +03:00
Alexander Alekhin
377dd04224
core: fix .begin()/.end() of empty Mat
2020-03-20 14:08:45 +00:00
Anton Potapov
31d624f9a8
G-API utils - fix compilation error in variant::operator=
2020-03-20 14:46:13 +03:00
Alexander Alekhin
dbb30134bc
Merge pull request #16835 from YashasSamaga:cuda4dnn-hotfix-memory-lock
2020-03-19 16:50:39 +00:00
Alexander Alekhin
847190b5b8
Merge pull request #16828 from paroj:nmspy
2020-03-19 16:43:43 +00:00
Anatoliy Talamanov
8fe9674301
Merge pull request #16768 from TolyaTalamanov:at/add-warp-affine
...
G-API: Implement WarpAffine
* Add WarpAffine
* Ban BORDER_TRANSPARENT
* Fix doc
2020-03-19 12:12:09 +00:00
Pavel Rojtberg
66cf55ea1f
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.
2020-03-19 12:36:35 +01:00
Alexander Alekhin
4b47c7dbd2
cmake(python): handle PYTHON3_LIMITED_API
...
- python-3.x => python-3
- config-3.x.py => config-3.py
2020-03-18 23:10:06 +00:00
Pratik Raj
2160f9b20e
Merge pull request #16733 from Rajpratik71:master
...
Some debian package manager tweaks
2020-03-18 15:19:55 +00:00
Dmitry Kurtaev
11d565ca62
Fix LSTM from ONNX with batch==1
2020-03-18 00:00:24 +03:00
Dmitry Kurtaev
8d69dbdf49
LSTM from ONNX works
2020-03-17 22:05:57 +03:00
Dmitry Kurtaev
14da5ec311
LSTM scalar
2020-03-17 22:01:49 +03:00
Alexander Alekhin
25ab141b93
Merge pull request #16836 from alalek:stitching_avoid_nonfree_by_default
2020-03-17 16:29:44 +00:00
Liubov Batanina
718d7e4b04
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
2020-03-17 17:31:01 +03:00
Alexander Alekhin
ca68fac4b2
stitching: don't use nonfree by default
2020-03-17 15:09:23 +03:00
YashasSamaga
034a43e7f7
release and relock on wrapper resize
2020-03-17 16:08:04 +05:30
Alexander Alekhin
ca23c0e630
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-17 13:23:33 +03:00
Alexander Alekhin
1d7bfcc958
Merge pull request #16827 from alalek:update_buffer_area
2020-03-17 10:12:47 +00:00
Alexander Alekhin
01ea055d79
Merge pull request #16825 from mshabunin:fix-qrcode-tests
2020-03-16 18:52:15 +00:00
Alexander Alekhin
77d1c20fb7
core(buffer_area): handle 'OPENCV_ENABLE_MEMORY_SANITIZER=ON' case
2020-03-16 19:34:08 +03:00
Maksim Shabunin
05d4975619
objdetect: fix QRCode tests with disabled QUIRC
2020-03-16 19:20:34 +03:00
Maksim Shabunin
d4d95bd70d
Fixs several problems found by static analysis
2020-03-16 19:15:26 +03:00
Maksim Shabunin
7e7bb3027c
Fixs several problems found by static analysis
2020-03-16 19:03:24 +03:00
Alexander Alekhin
8f49b820db
Merge pull request #16820 from dkurt:fix_16811
2020-03-16 15:04:49 +00:00
RAJKIRAN NATARAJAN
3b2e409fa7
Merge pull request #16779 from saskatchewancatch:issue-16777
...
* Fixes issue 16777.
* core: update Concurrency getNumThreads()
2020-03-16 17:12:29 +03:00
Dmitry Kurtaev
7f0d90a525
Fix memory leak in Python custom dnn layers
2020-03-16 16:54:55 +03:00
Alexander Alekhin
71ec112093
Merge pull request #16786 from alalek:issue_16398
2020-03-15 19:49:50 +00:00
Sayed Adel
9ea62bfddb
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]`.
2020-03-14 22:54:22 +02:00
Alexander Alekhin
00925ad795
Merge pull request #16809 from alalek:dnn_ie_separate_core_instances
2020-03-14 13:47:50 +00:00
Alexander Alekhin
683910f579
Merge pull request #16760 from dkurt:dnn_mobilenet_v3
2020-03-14 13:38:06 +00:00
Liubov Batanina
2645ee90ca
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
2020-03-14 11:05:49 +00:00
Alexander Alekhin
9b64eadcb6
dnn(ie): separate IECore for different devices
...
- HETERO plugin doesn't switch well between devices
2020-03-13 18:49:28 +03:00
Anton Potapov
3af63fe052
GAPI - KW fixes
...
- avoid overflow in own::Mat::total() and according tests, part 2
2020-03-13 12:46:18 +03:00
Alexander Alekhin
a1230ad0a0
Merge pull request #16796 from anton-potapov:kw_fixes_own_mat_total_overflow
2020-03-12 13:05:52 +00:00
Alexander Alekhin
448a5452d0
Merge pull request #16793 from anton-potapov:kw_fixes_bitwise_op_on_bools
2020-03-12 12:10:32 +00:00
Alexander Alekhin
4cebef9090
Merge pull request #16792 from alalek:fixup_merge_dnn
2020-03-12 12:04:47 +00:00
Alexander Alekhin
7080c783d1
cmake: fix missing project() warning in Python standalone builds
2020-03-12 14:29:31 +03:00
Anton Potapov
d3b68b059b
GAPI - KW fixes
...
- avoid overflow in own::Mat::total() and according tests
2020-03-12 13:29:54 +03:00
Alexander Alekhin
7d1c42afe1
dnn: fix merge mistake in scale_layer.cpp
2020-03-12 13:07:33 +03:00
Alexander Duda
d594e72586
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.
2020-03-11 22:04:54 +01:00
Alexander Alekhin
4e56c1326f
core: adjust type of allocator_stats counter, allow to disable
2020-03-11 20:12:29 +03:00
Anton Potapov
3ba6b41961
GAPI - KW fixes
...
- replaced bitwise &= on bools, with explicit && to make KW happy
2020-03-11 18:16:56 +03:00
Alexander Alekhin
c1a8fb72b7
Merge pull request #16498 from etrulls:3.4.9-maxIters
2020-03-11 12:35:33 +00:00
Alexander Alekhin
850414a501
Merge pull request #16771 from alalek:update_version_4.3.0-pre
2020-03-11 10:24:56 +00:00
Alexander Alekhin
a560ebf09d
Merge pull request #16782 from anton-potapov:kw_fixes
2020-03-11 10:08:55 +00:00
Anton Potapov
72fedbe096
GAPI - KW fixes
...
- replace "unsafe" memcpy with "safe" :) std::copy_n to make KW happy
2020-03-11 11:23:15 +03:00
Alexander Alekhin
d00e58cdb0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-10 22:49:51 +00:00
Alexander Alekhin
9f82b74788
Merge pull request #16774 from alalek:core_update_cpus_detection
2020-03-10 22:39:30 +00:00
Alexander Alekhin
612746b4e5
Merge pull request #16744 from alalek:fix_mat_aug_operators_use_after_free
2020-03-10 22:02:47 +00:00
Alexander Alekhin
83e1d79403
core: update CPUs detection
...
- cache value, evaluate once
- better support for MINGW
- anything in 'cv' namespace
- test: dump number of active threads
2020-03-10 21:29:08 +00:00
Alexander Alekhin
4966186e10
Merge pull request #16770 from alalek:update_version_3.4.10-pre
2020-03-10 18:34:39 +00:00
Alexander Alekhin
510a8520c7
Merge pull request #16746 from alalek:dnn_switch_ie_backend_ngraph
2020-03-10 13:52:33 +00:00
Vadim Levin
09fe66e87f
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.
2020-03-10 16:44:22 +03:00
Alexander Alekhin
3c85745e22
pre: OpenCV 4.3.0 (version++)
2020-03-10 15:00:03 +03:00
Alexander Alekhin
b7ecaceda8
pre: OpenCV 3.4.10 (version++)
...
- Android Manager version is not increased (stuck on 3.49)
2020-03-10 14:53:43 +03:00
Maxim Pashchenkov
3befdb4ae8
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
2020-03-10 14:44:16 +03:00
Alexander Alekhin
db95aec4a7
dnn(ie): switch to nGraph backend by default
2020-03-10 14:33:22 +03:00
Yashas Samaga B L
490908f0ff
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
2020-03-10 12:45:19 +03:00
Alexander Alekhin
27b71d6368
Merge pull request #16625 from D-Alex:findChessboard
2020-03-09 22:21:29 +00:00
Alexander Alekhin
9b3be01b83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-09 20:27:34 +00:00
NesQl
0bcdf7d03e
Merge pull request #16724 from liqi-c:3.4-tengine
...
* Add Tengine support .
* Modify printf to CV_LOG_WARNING
* a few minor fixes in the code
* Renew Tengine version
* Add header file for CV_LOG_WARNING
* Add #ifdef HAVE_TENGINE in tengine_graph_convolution.cpp
* remove trailing whitespace
* Remove trailing whitespace
* Modify for compile problem
* Modify some code style error
* remove whitespace
* Move some code style problem
* test
* add ios limit and build problem
* Modified as alalek suggested
* Add cmake 2.8 support
* modify cmake 3.5.1 problem
* test and set BUILD_ANDROID_PROJECTS OFF
* remove some compile error
* remove some extra code in tengine
* close test.
* Test again
* disable android.
* delete ndk version judgement
* Remove setenv() call . and add License information
* Set tengine default OFF. Close test .
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2020-03-09 14:59:23 +00:00
Alexander Duda
44560c3e50
calib3d: add estimateChessboardSharpness
...
Image sharpness, as well as brightness, are a critical parameter for
accuracte camera calibration. For accessing these parameters for
filtering out problematic calibraiton images, this method calculates
edge profiles by traveling from black to white chessboard cell centers.
Based on this, the number of pixels is calculated required to transit
from black to white. This width of the transition area is a good
indication of how sharp the chessboard is imaged and should be below
~3.0 pixels.
Based on this also motion blur can be detectd by comparing sharpness in
vertical and horizontal direction. All unsharp images should be excluded
from calibration as they will corrupt the calibration result. The same
is true for overexposued images due to a none-linear sensor response.
This can be detected by looking at the average cell brightness of the
detected chessboard.
2020-03-09 08:58:18 +01:00
Dmitry Kurtaev
b927ce18b2
Support for MobileNetV3-SSD from TensorFlow
2020-03-08 21:09:21 +03:00
Alexander Alekhin
969cc3dd95
Merge pull request #16743 from alalek:ts_dump_exception_content
2020-03-07 19:07:18 +00:00
Alexander Alekhin
198b5096aa
Merge pull request #16754 from alalek:issue_16752
...
* core(test): FP16 norm test
* core: norm()-FP16 disable OpenCL
* core(norm): fix 16f32f local buffer size
2020-03-07 19:06:47 +00:00
Eduard Trulls
7e637c134f
Expose maxIters in findFundamentalMat
...
Lets the user choose the maximum number of iterations the robust
estimator runs for, similary to findHomography. This can significantly
improve performance (at a computational cost).
2020-03-07 18:03:44 +03:00
Alexander Alekhin
619180dffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-06 20:41:30 +00:00
Alexander Alekhin
6d113bd03f
Merge pull request #16751 from alalek:core_coverity_issues
2020-03-06 19:07:21 +00:00
Alexander Alekhin
a76c72acdd
Merge pull request #16738 from dkurt:onnx_broadcast
2020-03-06 19:04:43 +00:00
Alexander Alekhin
e9655cf646
Merge pull request #16697 from alalek:imgcodecs_jpeg_drop_unnecessary_code
2020-03-06 19:03:43 +00:00
Alexander Alekhin
34530da66e
core: fix coverity issues
2020-03-06 18:12:45 +00:00
Alexander Alekhin
6271192a32
Merge pull request #16694 from alalek:dnn_disable_nn_builder_api
2020-03-06 13:18:41 +00:00
Alexander Alekhin
3a2f40ac6f
core: don't allow reallocation in add/div/sub/bitwise aug operators
2020-03-06 13:00:40 +00:00
Alexander Alekhin
094a5b0cba
Merge pull request #16719 from alalek:dnn_disable_nn_builder_api_3.4
2020-03-06 12:26:48 +00:00
Alexander Alekhin
a55cc07548
ts(gtest): dump exception message from EXPECT_NO_THROW()
2020-03-06 12:08:43 +00:00
Manoj Gupta
880d2afb67
Fix building with ToT libc++
...
ToT libc++ (LLVM) no longer includes <sstream>
as part of <complex> which breaks building opencv.
Include <sstream> header explcitly to fix this.
2020-03-05 17:10:43 -08:00
Dmitry Kurtaev
9e332dc5fb
Broadcasting from ONNX
2020-03-06 00:58:59 +03:00
Alexander Alekhin
a694e5074f
Merge pull request #16723 from jansol:master
2020-03-05 12:25:20 +00:00
Alexander Alekhin
90a4d67e8d
Merge pull request #16513 from pwuertz:cuda_py_interop
2020-03-05 11:56:07 +00:00
Alexander Alekhin
23bc89d6fc
Merge pull request #16577 from Volskig:mp/ocv-gapi-work
2020-03-05 10:58:51 +00:00
Alexander Alekhin
73ddc091a2
Merge pull request #16693 from Volskig:mp/ocv-gapi-add-include
2020-03-05 10:53:23 +00:00
Maxim Pashchenkov
bce9837604
Added assert for create Mat with negative dims, added tets for this case
2020-03-05 11:52:10 +03:00
Maxim Pashchenkov
f3a50224f2
Rm imgproc from render.cpp
2020-03-05 11:41:36 +03:00
Alexander Alekhin
d4a17da7b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-04 20:49:09 +00:00
Alexander Alekhin
4f288a1e28
Merge pull request #16704 from alalek:core_log_once_log_if
...
* core(logger): add CV_LOG_ONCE_xxx() CV_LOG_IF_xxx() macros
* core(logger): keep tests disabled
2020-03-04 20:42:41 +00:00
Alexander Alekhin
fd09413566
Merge pull request #16731 from alalek:issue_16708
...
* imgproc(integral): avoid OOB access
* imgproc(test): fix integral perf check
- FP32 computation is not accurate
* imgproc(integral): tune loop limits
2020-03-04 19:28:04 +00:00
Jan Solanti
ad16c243ca
core(ocl): Don't query image formats when none exist
...
clGetSupportedImageFormats returns CL_INVALID_VALUE if called with
num_entries 0 and a non-NULL image_formats pointer so let's not do that.
2020-03-04 14:15:33 +02:00
Alexander Alekhin
da6ad1c640
Merge pull request #15765 from zachlowry:patch-1
...
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
2020-03-04 11:42:31 +03:00
Liubov Batanina
9ed1332355
Merge pull request #16722 from l-bat:reshape_opset_11
...
* Supported Div op for constants
* Added Mul test
2020-03-04 11:27:10 +03:00
Vadim Levin
90ec651bd7
test: Add test to verify correct mat substitution into the template in header parser
2020-03-04 08:14:19 +03:00
Zach Lowry
0aa5391c4b
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
...
The hard-coded string value "Mat" was used in the two format strings for vector_mat and vector_mat_template, preventing UMat arguments to functions that have these types from working correctly. as noted in #12231 .
2020-03-04 08:14:11 +03:00
Alexander Alekhin
57cf120118
Merge pull request #16709 from ashishkrshrivastava:cvonnx
2020-03-03 20:23:10 +00:00
ashishiva3@gmail.com
e18d5e94c7
Gather-Cast, Mul-Cast fusion
2020-03-03 21:08:28 +05:30
Maksim Shabunin
219ef95dd8
MSMF: fixed issue with camera format selection
2020-03-03 13:17:32 +03:00
Anton Potapov
8ed89bae84
KW: G-API tests - fixes for uninitialized variables
2020-03-03 11:37:40 +03:00
Alexander Alekhin
124bf8339f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 08:07:54 +00:00
Alexander Alekhin
29d214474f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 07:45:09 +00:00
Alexander Alekhin
4d0f13544d
Merge pull request #16700 from alalek:fix_core_matexpr_size_gemm
...
core: fix MatExpr::size() for gemm()
* core(test): MatExpr::size() test for gemm()
* core: fix MatExpr::size() for gemm()
2020-03-02 17:13:02 +03:00
Liubov Batanina
b1b78aedd2
Skipped ResizeUnfused test on Builder API
2020-03-02 15:45:29 +03:00
Alexander Alekhin
599a595c6f
Merge pull request #16573 from ashishkrshrivastava:opencvonnx
2020-02-29 21:20:40 +03:00
ashishiva3@gmail.com
8559237d4e
ONNX: upsample subgraph fusion added
2020-02-29 15:24:06 +05:30
Yashas Samaga B L
8808aaccff
Merge pull request #16658 from YashasSamaga:cuda4dnn-refactor-activations
...
cuda4dnn(activations, eltwise, scale_shift): refactor to reduce code duplication
* refactor activations
* refactor eltwise kernels
* move all functors to functors.hpp
* remove bias1 and scale1 kernels
2020-02-29 11:46:14 +03:00
Alexander Alekhin
333a767be4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-28 18:34:37 +00:00