Tomoaki Teshima [Mon, 6 Jul 2020 09:27:19 +0000 (18:27 +0900)]
avoid kernel compile error on Arm SBCs
Alexander Alekhin [Fri, 26 Jun 2020 22:51:34 +0000 (22:51 +0000)]
Merge pull request #17671 from tomoaki0705:fixCUDANativeDetection
Dmitry Budnikov [Fri, 26 Jun 2020 19:41:29 +0000 (22:41 +0300)]
Merge pull request #17020 from dbudniko:dbudniko/serialization_backend
G-API Serialization routines
* Serialization backend in tests, initial version
* S11N/00: A Great Rename
- "Serialization" is too long and too error-prone to type,
so now it is renamed to "s11n" everywhere;
- Same applies to "SRLZ";
- Tests also renamed to start with 'S11N.*' (easier to run);
- Also updated copyright years in new files to 2020.
* S11N/01: Some basic interface segregation
- Moved some details (low-level functions) out of serialization.hpp;
- Introduced I::IStream and I::OStream interfaces;
- Implemented those via the existing [De]SerializationStream classes;
- Moved all operators to use interfaces instead of classes;
- Moved the htonl/ntohl handling out of operators (to the classes).
The implementation didn't change much, it is a subject to the further
refactoring
* S11N/02: Basic operator reorg, basic tests, vector support
- Reorganized operators on atomic types to follow >>/<< model
(put them closer in the code for the respective types);
- Introduce more operators for basic (scalar) types;
- Drop all vector s11n overloads -- replace with a generic
(template-based) one;
- Introduced a new test suite where low-level s11n functionality
is tested (for the basic types).
* S11N/03: Operators reorganization
- Sorted the Opaque types enum by complexity;
- Reorganized the existing operators for basic types, also ordered by
complexity;
- Organized operators in three groups (Basics, OpenCV, G-API);
- Added a generic serialization for variant<>;
- Reimplemented some of the existing operators (for OpenCV and G-API
data structures);
- Introduced new operators for cv::gimpl data types. These operators
(and so, the data structures) are not yet used in the graph
dump/reconstruction routine, it will be done as a next step.
* S11N/04: The Great Clean-up
- Drop the duplicates of GModel data structures from the
serialization, serialize the GModel data structures themselve
instead (hand-written code replaced with operators).
- Also removed usuned code for printing, etc.
* S11N/05: Internal API Clean-up
- Minimize the serialization API to just Streams and Operators;
- Refactor and fix the graph serialization (deconstruction and
reconstruction) routines, fix data addressing problems there;
- Move the serialization.[ch]pp files to the core G-API library
* S11N/06: Top-level API introduction
- !!!This is likely the most invasive commit in the series!!!
- Introduced a top-level API to serialize and deserialize a GComputation
- Extended the compiler to support both forms of a GComputation:
an expession based and a deserialized one. This has led to changes in
the cv::GComputation::Priv and in its dependent components (even the
transformation tests);
- Had to extend the kernel API (GKernel) with extra information on
operations (mainly `outMeta`) which was only available for expression
based graphs. Now the `outMeta` can be taken from kernels too (and for
the deserialized graphs it is the only way);
- Revisited the internal serialization API, had to expose previously
hidden entities (like `GSerialized`);
- Extended the serialized graph info with new details (object counter,
protocol). Added unordered_map generic serialization for that;
- Reworked the very first pipeline test to be "proper"; GREEN now, the rest
is to be reworked in the next iteration.
* S11N/07: Tests reworked
- Moved the sample pipeline tests w/serialization to
test the public API (`cv::gapi::serialize`, then
followed by `cv::gapi::deserialize<>`). All GREEN.
- As a consequence, dropped the "Serialization" test
backend as no longer necessary.
* S11N/08: Final touches
- Exposed the C++ native data types at Streams level;
- Switched the ByteMemoryIn/OutStreams to store data in `char`
internally (2x less memory for sample pipelines);
- Fixed and refactored Mat dumping to the stream;
- Renamed S11N pipeline tests to their new meaning.
* linux build fix
* fix RcDesc and int uint warnings
* more Linux build fix
* white space and virtual android error fix (attempt)
* more warnings to be fixed
* android warnings fix attempt
* one more attempt for android build fix
* android warnings one more fix
* return back override
* avoid size_t
* static deserialize
* and how do you like this, elon? anonymous namespace to fix android warning.
* static inline
* trying to fix standalone build
* mat dims fix
* fix mat r/w for standalone
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
Tomoaki Teshima [Fri, 26 Jun 2020 07:36:59 +0000 (16:36 +0900)]
fix native detection on Jetson
Alexander Alekhin [Thu, 25 Jun 2020 09:42:58 +0000 (09:42 +0000)]
Merge pull request #17658 from ilya-lavrenov:get-layer-by-name
Ilya Lavrenov [Wed, 24 Jun 2020 20:58:18 +0000 (23:58 +0300)]
Conditional compilation for IR v7 support
Alexander Alekhin [Thu, 25 Jun 2020 08:22:20 +0000 (08:22 +0000)]
Merge pull request #17584 from AsyaPronina:gapi_state_init_params_via_compile_args
Anastasiya [Wed, 24 Jun 2020 21:43:12 +0000 (00:43 +0300)]
Enable state initialization params via compile_args
Alexander Alekhin [Wed, 24 Jun 2020 09:44:51 +0000 (09:44 +0000)]
Merge pull request #17605 from TolyaTalamanov:at/fix-plaidml-kernels-function
Alexander Alekhin [Tue, 23 Jun 2020 19:15:47 +0000 (19:15 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Tue, 23 Jun 2020 18:44:50 +0000 (18:44 +0000)]
Merge pull request #17621 from YashasSamaga:cuda4dnn-mish-half
Alexander Alekhin [Tue, 23 Jun 2020 18:43:50 +0000 (18:43 +0000)]
Merge pull request #17624 from dkurt:dnn_optimize_mish
Alexander Alekhin [Tue, 23 Jun 2020 18:29:55 +0000 (18:29 +0000)]
Merge pull request #17633 from alalek:backport_17616
Alexander Alekhin [Tue, 23 Jun 2020 12:51:21 +0000 (12:51 +0000)]
Merge pull request #17634 from dkurt:dnn_ie_cpu_ext_update_master
Dmitry Kurtaev [Mon, 22 Jun 2020 18:35:52 +0000 (21:35 +0300)]
Remove deprecated Inference Engine CPU extensions
Ilya Lavrenov [Mon, 22 Jun 2020 08:45:56 +0000 (11:45 +0300)]
Conditional compilation for network reader
origibal commit:
63e92cccf2c38c3c7a041d7968063a9a2445d40c
Alexander Alekhin [Tue, 23 Jun 2020 11:01:47 +0000 (11:01 +0000)]
Merge pull request #17622 from dkurt:dnn_ie_cpu_ext_update
Dmitry Kurtaev [Mon, 22 Jun 2020 18:35:52 +0000 (21:35 +0300)]
Remove deprecated Inference Engine CPU extensions
Dmitry Kurtaev [Mon, 22 Jun 2020 20:22:21 +0000 (23:22 +0300)]
Optimize Mish for CPU backend
YashasSamaga [Mon, 22 Jun 2020 13:39:36 +0000 (19:09 +0530)]
use fp32 mish for fp16 mish
Alexander Alekhin [Mon, 22 Jun 2020 12:10:34 +0000 (12:10 +0000)]
Merge pull request #17616 from ilya-lavrenov:network-reader
Alexander Alekhin [Mon, 22 Jun 2020 11:36:40 +0000 (11:36 +0000)]
Merge pull request #17576 from philippefoubert:branch_ximea
Alexander Alekhin [Mon, 22 Jun 2020 11:33:35 +0000 (11:33 +0000)]
Merge pull request #17617 from alalek:fix_logger_initialization
Alexander Alekhin [Mon, 22 Jun 2020 10:31:33 +0000 (10:31 +0000)]
Merge pull request #17592 from l-bat:disable_nms_in_yolo_layer
Alexander Alekhin [Mon, 22 Jun 2020 09:27:26 +0000 (09:27 +0000)]
core(logger): complete initialization of logger structures
- for using of logging functions from global destructors
Ilya Lavrenov [Mon, 22 Jun 2020 08:45:56 +0000 (11:45 +0300)]
Conditional compilation for network reader
Anatoliy Talamanov [Sun, 21 Jun 2020 21:46:41 +0000 (00:46 +0300)]
Add implementation in case plaidml isn't found
Alexander Alekhin [Sun, 21 Jun 2020 17:49:14 +0000 (17:49 +0000)]
Merge pull request #17599 from tomoaki0705:fixCUDAFailSafePath
Tomoaki Teshima [Sat, 20 Jun 2020 22:20:47 +0000 (07:20 +0900)]
make the fail safe path actually safe
* use only supported CC in the list
* workaround of #17526
Alexander Alekhin [Sat, 20 Jun 2020 22:01:36 +0000 (22:01 +0000)]
Merge pull request #17593 from tomoaki0705:addAmpereCUDA
Alexander Alekhin [Sat, 20 Jun 2020 21:07:05 +0000 (21:07 +0000)]
Merge pull request #17526 from cyyever:fix_cuda_detection
Philippe FOUBERT [Thu, 18 Jun 2020 09:09:08 +0000 (11:09 +0200)]
Fix the detection of the XIMEA library (since its location may be different when the version of the ximea software is updated)
Alexander Alekhin [Fri, 19 Jun 2020 21:35:07 +0000 (21:35 +0000)]
Merge pull request #17580 from sitic:bibfix
Tomoaki Teshima [Fri, 19 Jun 2020 11:46:18 +0000 (20:46 +0900)]
add Ampere CC
* Ampere has CC 8.0
* Arm64 server support has been added in CUDA 11 (only V100 for now)
Liubov Batanina [Fri, 19 Jun 2020 11:34:13 +0000 (14:34 +0300)]
Disabling dafault NMS in yolo layer
Jan Lebert [Thu, 18 Jun 2020 11:30:36 +0000 (13:30 +0200)]
docs: linkfix in bibliography
The [current link](https://arxiv.org/pdf/1808.01752) goes to a
random unrelated paper.
Alexander Alekhin [Fri, 19 Jun 2020 07:33:50 +0000 (07:33 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 19 Jun 2020 07:21:19 +0000 (07:21 +0000)]
Merge pull request #17587 from tomoaki0705:fixCUDAOptflowJetson
Tomoaki Teshima [Thu, 18 Jun 2020 22:56:37 +0000 (07:56 +0900)]
fix build on Jetson TX1 and TX2
* enable_if_t is a c++14 feature
Alexander Alekhin [Thu, 18 Jun 2020 20:54:28 +0000 (20:54 +0000)]
Merge pull request #17581 from tomoaki0705:fixCudaAsync
Alexander Alekhin [Thu, 18 Jun 2020 20:52:33 +0000 (20:52 +0000)]
Merge pull request #17578 from Bleach665:fix_win_eigen_build
Alexander Alekhin [Thu, 18 Jun 2020 20:51:52 +0000 (20:51 +0000)]
Merge pull request #17577 from philippefoubert:branch_color_yuv_simd
Philippe FOUBERT [Thu, 18 Jun 2020 09:48:43 +0000 (11:48 +0200)]
Fix the build of imgproc using MinGW (variables with the same name as symbols defined in MinGW headers)
Tomoaki Teshima [Thu, 18 Jun 2020 12:25:15 +0000 (21:25 +0900)]
fix build error on Jetson TX1 and TX2
* enable_if_t and is_base_of is c++14 feature
* override is c++11 feature
Yuriy Obukh [Thu, 18 Jun 2020 11:31:11 +0000 (14:31 +0300)]
fix VS Windows build with eigen. https://github.com/opencv/opencv/issues/17548
Alex Cohn [Thu, 18 Jun 2020 07:40:43 +0000 (10:40 +0300)]
Merge pull request #17573 from alexcohn:fix/android_windows_build
* fixing #17572
https://github.com/opencv/opencv/issues/17572 Build for Android failed: "can't concat str to bytes"
on Windows 10 64bit with python 3.6.6
* similar to changes in platforms/winpack_dldt/build_package.py
Alexander Alekhin [Thu, 18 Jun 2020 07:39:14 +0000 (07:39 +0000)]
Merge pull request #17571 from tomoaki0705:fixAutomaticCC
Alexander Alekhin [Thu, 18 Jun 2020 07:38:16 +0000 (07:38 +0000)]
Merge pull request #17568 from alalek:cleanup_17527
Tomoaki Teshima [Wed, 17 Jun 2020 13:02:51 +0000 (22:02 +0900)]
fix build error of automatic CC detection
Alexander Alekhin [Tue, 16 Jun 2020 02:14:04 +0000 (02:14 +0000)]
cudacodec(build): fix detection in CMake, cleanup duplicate includes
Yashas Samaga B L [Wed, 17 Jun 2020 09:07:52 +0000 (14:37 +0530)]
Merge pull request #17534 from YashasSamaga:cuda4dnn-remove-unused-funcs
cuda4dnn: reduce CUDA version requirements to at least CUDA 9.2
* remove half2 specializations
* do not remove atomicAdd for half in CUDA 10 and below
* remove fp16.hpp
NesQl [Wed, 17 Jun 2020 09:05:04 +0000 (17:05 +0800)]
Merge pull request #17468 from liqi-c:sharedlib_build_problem
TEngine installation rules fix for static build
* Modify cmake config error for -DBUILD_SHARED_LIBS=OFF
* Modify for not install tengine include directory
* Update compile error.
* move install command to tengine/CMakeLists.txt
* rm include dir when make install,only build static lib will install libtengine.a
Alexander Alekhin [Wed, 17 Jun 2020 08:45:55 +0000 (08:45 +0000)]
Merge pull request #17564 from l-bat:fix_yolov4
Alexander Alekhin [Wed, 17 Jun 2020 07:58:35 +0000 (07:58 +0000)]
Merge pull request #17555 from komakai:objc-fix-sift
Liubov Batanina [Tue, 16 Jun 2020 17:09:25 +0000 (20:09 +0300)]
Changed StridedSlice to VariadicSplit in Region layer
Alexander Alekhin [Tue, 16 Jun 2020 20:06:56 +0000 (20:06 +0000)]
Merge pull request #17556 from nglee:dev_optFlowTVL1Async
Alexander Alekhin [Tue, 16 Jun 2020 19:53:51 +0000 (19:53 +0000)]
Merge pull request #17561 from thatoddmailbox:android-fix-disable-samples
Pinaev Danil [Tue, 16 Jun 2020 19:48:09 +0000 (22:48 +0300)]
Merge pull request #16772 from aDanPin:dp/performance_render_tests
Added g-api render performance tests
* Add render performance tests for BGROCV
* Add render NV12 performance tests
* Review response
* Review response
* Review response
* Review response
* Review response
* Review response
* Just a small fix
* Final review response I hope)
* Review response
* Review response
* Review response
* Review response
* Review response
* Review response
Namgoo Lee [Tue, 16 Jun 2020 16:04:22 +0000 (01:04 +0900)]
cuda optflow tvl1 : async safety
also modify cuda canny to use createTextureObjectPitch2D, etc.
Alex Studer [Tue, 16 Jun 2020 04:11:26 +0000 (00:11 -0400)]
platforms/android: fix --no_samples_build flag not working
Giles Payne [Mon, 15 Jun 2020 23:15:27 +0000 (08:15 +0900)]
Cleanup unneeded raw pointer handling code
Alexander Alekhin [Mon, 15 Jun 2020 19:26:11 +0000 (19:26 +0000)]
Merge pull request #17557 from alalek:backport_17554
Alexander Alekhin [Mon, 15 Jun 2020 18:38:19 +0000 (18:38 +0000)]
Merge pull request #17533 from alalek:fix_dumpInputArray_nd_case
Ilya Lavrenov [Mon, 15 Jun 2020 13:02:52 +0000 (16:02 +0300)]
Removed plugin dispatcher
backport of commit
74113737f3710069e5ae2daff09e77c824dd5a2b
Alexander Alekhin [Mon, 15 Jun 2020 18:02:03 +0000 (18:02 +0000)]
Merge pull request #17554 from ilya-lavrenov:plugin-dispatcher
Namgoo Lee [Mon, 15 Jun 2020 16:43:51 +0000 (01:43 +0900)]
CUDA_OptFlow/OpticalFlowDual_TVL1 Asynchronous test
Giles Payne [Mon, 15 Jun 2020 14:17:19 +0000 (23:17 +0900)]
Use cv::Ptr instead of raw pointers
Giles Payne [Mon, 15 Jun 2020 14:16:22 +0000 (23:16 +0900)]
Fix testFitEllipse test
Giles Payne [Mon, 15 Jun 2020 14:15:05 +0000 (23:15 +0900)]
Fix framework_name option in build script
Ilya Lavrenov [Mon, 15 Jun 2020 13:02:52 +0000 (16:02 +0300)]
Removed plugin dispatcher
Alexander Alekhin [Sun, 14 Jun 2020 11:08:53 +0000 (11:08 +0000)]
Merge pull request #17540 from YashasSamaga:cuda4dnn-update-mish
Alexander Alekhin [Sun, 14 Jun 2020 11:08:16 +0000 (11:08 +0000)]
Merge pull request #17527 from tomoaki0705:detectCuvidHeader
Alexander Alekhin [Sat, 13 Jun 2020 18:36:34 +0000 (18:36 +0000)]
Merge pull request #17537 from Murazaki:patch-1
YashasSamaga [Sat, 13 Jun 2020 11:23:27 +0000 (16:53 +0530)]
improve mish performance and accuracy
Alexander Alekhin [Fri, 12 Jun 2020 22:20:50 +0000 (22:20 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 12 Jun 2020 22:18:04 +0000 (22:18 +0000)]
Merge pull request #17536 from ilya-lavrenov:remove-error-listener
Mehdi Zakaria Benadel [Fri, 12 Jun 2020 18:59:43 +0000 (20:59 +0200)]
Fix typo
This typo just made me lose my mind on the conan package update. please merge.
Alexander Alekhin [Fri, 12 Jun 2020 21:24:34 +0000 (21:24 +0000)]
Merge pull request #17538 from alalek:dnn_openvino_2020.3.0
Ilya Lavrenov [Fri, 12 Jun 2020 17:27:21 +0000 (20:27 +0300)]
Removed error lisneter usage
Alexander Alekhin [Tue, 7 Apr 2020 13:17:21 +0000 (16:17 +0300)]
dnn: use OpenVINO 2020.3 defines
Alexander Alekhin [Fri, 12 Jun 2020 10:07:58 +0000 (10:07 +0000)]
core: fix handling of ND-arrays in dumpInputArray() helpers
Alexander Alekhin [Fri, 12 Jun 2020 09:44:42 +0000 (09:44 +0000)]
Merge pull request #17143 from cyyever:detect_mkl_installed_by_nuget
cyy [Sat, 29 Feb 2020 10:59:43 +0000 (18:59 +0800)]
improve the mkl search procedure
Alexander Alekhin [Fri, 12 Jun 2020 06:58:14 +0000 (06:58 +0000)]
Merge pull request #17341 from hunter-college-ossd-spr-2020:3.4-1
Alexander Alekhin [Fri, 12 Jun 2020 06:55:34 +0000 (06:55 +0000)]
Merge pull request #17528 from YashasSamaga:cuda4dnn-fix-tests43
Jessica Wong [Thu, 21 May 2020 12:36:19 +0000 (08:36 -0400)]
Added information to OpenCV documentation [MacOS]
Added and Edited specific information to the "Installation in MacOS" OpenCV documentation.
Closes #17340
Tomoaki Teshima [Thu, 11 Jun 2020 14:06:18 +0000 (23:06 +0900)]
fix corner case of libnvcuvid
* detect header automatically and not based on version number
YashasSamaga [Thu, 11 Jun 2020 14:01:48 +0000 (19:31 +0530)]
allow multiple inputs to resize, fix tests
cyy [Thu, 11 Jun 2020 07:34:31 +0000 (15:34 +0800)]
respect CUDA_HOST_COMPILER when detecting CUDA arch
Alexander Alekhin [Wed, 10 Jun 2020 12:13:06 +0000 (12:13 +0000)]
Merge pull request #17511 from mshabunin:fix-kw-issues-34
Maksim Shabunin [Mon, 8 Jun 2020 13:39:23 +0000 (16:39 +0300)]
QRDetectMulti: refactored checkPoints method
Maksim Shabunin [Mon, 8 Jun 2020 18:57:27 +0000 (21:57 +0300)]
dnn/NGraph: added nullptr checks
Rasmus [Wed, 10 Jun 2020 07:53:18 +0000 (09:53 +0200)]
Merge pull request #17368 from themightyoarfish:cv2eigen-doc
* Add documentation about usage of cv2eigen functions in eigen.hpp
* Fixed Doxygen syntax.
Co-authored-by: Alexander Smorkalov <smorkalov.a.m@gmail.com>
Alexander Alekhin [Wed, 10 Jun 2020 07:01:04 +0000 (07:01 +0000)]
Merge pull request #17492 from cyyever:fix_data_race
Gourav Roy [Wed, 10 Jun 2020 06:53:18 +0000 (12:23 +0530)]
Merge pull request #16955 from themechanicalcoder:text_recognition
* add text recognition sample
* fix pylint warning
* made changes according to the c++ example
* fix errors
* add text recognition sample
* update text detection sample
Alexander Alekhin [Tue, 9 Jun 2020 11:11:39 +0000 (11:11 +0000)]
Merge pull request #17509 from mshabunin:fix-kw-issues
Alexander Alekhin [Tue, 9 Jun 2020 09:31:16 +0000 (09:31 +0000)]
Merge pull request #17507 from alalek:update_ffmpeg_4.4
Maksim Shabunin [Mon, 8 Jun 2020 13:39:23 +0000 (16:39 +0300)]
QRDetectMulti: refactored checkPoints method
Maksim Shabunin [Mon, 8 Jun 2020 18:57:27 +0000 (21:57 +0300)]
dnn/NGraph: added nullptr checks
Alexander Alekhin [Tue, 9 Jun 2020 07:51:59 +0000 (07:51 +0000)]
Merge pull request #17504 from alalek:update_ffmpeg_3.4