Pádraig Brady [Mon, 9 Dec 2019 20:25:40 +0000 (20:25 +0000)]
Fix pch generation when linker flags used with GCC
-c is required to avoid linking (and the associated missing "main" message)
when linker flags like "-Wl,-z,relro" are passed to GCC
Alexander Alekhin [Mon, 9 Dec 2019 19:26:00 +0000 (19:26 +0000)]
Merge pull request #16089 from dkurt:dnn_ie_fix_fpga
RAJKIRAN NATARAJAN [Mon, 9 Dec 2019 19:24:35 +0000 (19:24 +0000)]
Merge pull request #16094 from saskatchewancatch:issue-16053
* Add eps error checking for approxPolyDP to allow sensible values only
for epsilon value of Douglas-Peucker algorithm.
* Review changes for PR
Alexander Alekhin [Mon, 9 Dec 2019 18:29:53 +0000 (18:29 +0000)]
Merge pull request #16093 from alalek:core_itt_thread_name_16072
Alexander Alekhin [Mon, 9 Dec 2019 18:29:24 +0000 (18:29 +0000)]
Merge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output
Alexander Alekhin [Mon, 9 Dec 2019 18:28:29 +0000 (18:28 +0000)]
Merge pull request #16102 from asmorkalov:as/xperience_c
Alexander Smorkalov [Mon, 9 Dec 2019 10:32:16 +0000 (13:32 +0300)]
Added Xperience.AI to copyright file.
Paul Murphy [Mon, 9 Dec 2019 11:54:06 +0000 (05:54 -0600)]
Merge pull request #15257 from pmur:resize
* resize: HResizeLinear reduce duplicate work
There appears to be a 2x unroll of the HResizeLinear against k,
however the k value is only incremented by 1 during the unroll. This
results in k - 1 duplicate passes when k > 1.
Likewise, the final pass may not respect the work done by the vector
loop. Start it with the offset returned by the vector op if
implemented. Note, no vector ops are implemented today.
The performance is most noticable on a linear downscale. A set of
performance tests are added to characterize this. The performance
improvement is 10-50% depending on the scaling.
* imgproc: vectorize HResizeLinear
Performance is mostly gated by the gather operations
for x inputs.
Likewise, provide a 2x unroll against k, this reduces the
number of alpha gathers by 1/2 for larger k.
While not a 4x improvement, it still performs substantially
better under P9 for a 1.4x improvement. P8 baseline is
1.05-1.10x due to reduced VSX instruction set.
For float types, this results in a more modest
1.2x improvement.
* Update U8 processing for non-bitexact linear resize
* core: hal: vsx: improve v_load_expand_q
With a little help, we can do this quickly without gprs on
all VSX enabled targets.
* resize: Fix cn == 3 step per feedback
Per feedback, ensure we don't overrun. This was caught via the
failure observed in Test_TensorFlow.inception_accuracy.
Alexander Alekhin [Mon, 9 Dec 2019 11:51:02 +0000 (14:51 +0300)]
Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug
* imgproc(IPP): wrong result from threshold(THRESH_TOZERO)
* imgproc(IPP): disable IPP code to pass THRESH_TOZERO test
Dmitry Kurtaev [Mon, 9 Dec 2019 09:49:47 +0000 (12:49 +0300)]
Remove Dummy layer
Alexander Alekhin [Sat, 7 Dec 2019 21:41:15 +0000 (21:41 +0000)]
core(trace/itt): avoid calling __itt_thread_set_name() by default
- don't override current application thread names
- set name for own threads only
Lubov Batanina [Fri, 6 Dec 2019 18:29:57 +0000 (21:29 +0300)]
Merge pull request #15988 from l-bat:custom_layer
Test create custom layer in python
* check is contiguos
* Add custom layer test
* Fix test
* Remove assert
* Move assert to pyopencv dnn
* remove assert
* Add unregister
* Fix python2
* proto to bytearray
* Fix data type
Dmitry Kurtaev [Fri, 6 Dec 2019 16:34:54 +0000 (19:34 +0300)]
Fix HETERO:FPGA,CPU plugin for IE backend
Alexander Alekhin [Fri, 6 Dec 2019 14:08:21 +0000 (14:08 +0000)]
Merge pull request #16076 from l-bat:prior_ngraph
Alexander Alekhin [Fri, 6 Dec 2019 12:33:07 +0000 (12:33 +0000)]
Merge pull request #16079 from alalek:imgproc_color_clarify_error_message
Alexander Alekhin [Fri, 6 Dec 2019 12:32:22 +0000 (12:32 +0000)]
Merge pull request #16070 from dkurt:backport_15611
Alexander Alekhin [Fri, 6 Dec 2019 11:25:05 +0000 (11:25 +0000)]
Merge pull request #16071 from alalek:update_version_3.4.9-pre
Alexander Alekhin [Fri, 6 Dec 2019 10:25:51 +0000 (13:25 +0300)]
imgproc(color): clarify error message
Liubov Batanina [Fri, 6 Dec 2019 08:27:59 +0000 (11:27 +0300)]
Support Swish and Mish activations
Liubov Batanina [Fri, 6 Dec 2019 06:56:21 +0000 (09:56 +0300)]
Slice v1 op
Alexander Alekhin [Thu, 5 Dec 2019 18:28:38 +0000 (18:28 +0000)]
pre: OpenCV 3.4.9 (version++)
Dmitry Kurtaev [Thu, 5 Dec 2019 16:25:51 +0000 (19:25 +0300)]
Backport fix for autodetection of input shapes
Alexander Alekhin [Thu, 5 Dec 2019 14:23:48 +0000 (14:23 +0000)]
Merge pull request #16024 from alalek:issue_15953
Alexander Alekhin [Thu, 5 Dec 2019 12:36:39 +0000 (15:36 +0300)]
Merge pull request #16052 from alalek:issue_16040
* calib3d: use normalized input in solvePnPGeneric()
* calib3d: java regression test for solvePnPGeneric
* calib3d: python regression test for solvePnPGeneric
Alexander Alekhin [Thu, 5 Dec 2019 11:48:18 +0000 (14:48 +0300)]
Merge pull request #16046 from alalek:issue_15990
* core: disable invalid constructors in C API by default
- C API objects will lose their default initializers through constructors
* samples: stop using of C API
Alexander Alekhin [Thu, 5 Dec 2019 09:56:00 +0000 (09:56 +0000)]
Merge pull request #16036 from dkurt:dnn_backport_15203
Alexander Alekhin [Thu, 5 Dec 2019 09:52:03 +0000 (09:52 +0000)]
Merge pull request #16014 from dkurt:dnn_ie_pooling_with_indices
Alexander Alekhin [Thu, 5 Dec 2019 07:54:17 +0000 (07:54 +0000)]
Merge pull request #16055 from alalek:issue_16041
Alexander Alekhin [Wed, 4 Dec 2019 19:13:22 +0000 (19:13 +0000)]
Merge pull request #16061 from alalek:bindings_parser_support_simple_if
Dmitry Kurtaev [Wed, 27 Nov 2019 16:37:56 +0000 (19:37 +0300)]
Enable MaxPooling with indices in Inference Engine
Alexander Alekhin [Wed, 4 Dec 2019 14:29:05 +0000 (17:29 +0300)]
bindings: basic support for #if preprocessor directives
- #if 0
- #ifdef __OPENCV_BUILD
Alexander Alekhin [Wed, 4 Dec 2019 06:18:36 +0000 (06:18 +0000)]
core(tls): unblock TlsAbstraction destructor call
- required to unregister callbacks from system
Alexander Alekhin [Tue, 3 Dec 2019 12:34:10 +0000 (12:34 +0000)]
Merge pull request #16028 from catree:improve_calib3d_doc
Dmitry Kurtaev [Mon, 2 Dec 2019 13:25:21 +0000 (16:25 +0300)]
Backport for dnn input shape estimation
Lubov Batanina [Mon, 2 Dec 2019 13:16:06 +0000 (16:16 +0300)]
Merge pull request #15537 from l-bat:ngraph
* Support nGraph
* Fix resize
catree [Mon, 2 Dec 2019 02:04:56 +0000 (03:04 +0100)]
Improve calib3d documentation:
- add reference to Rodrigues Jacobian
- add references to SE(3) and Lie Groups topics
- update some conventions and pinhole figure
Alexander Alekhin [Sun, 1 Dec 2019 21:07:26 +0000 (21:07 +0000)]
Merge pull request #16025 from dkurt:thebhatman/Mish_swish_3.4
thebhatman [Sun, 1 Dec 2019 08:00:58 +0000 (11:00 +0300)]
Port Swish and Mish layers
Alexander Alekhin [Sat, 30 Nov 2019 22:47:39 +0000 (22:47 +0000)]
calib3d: revert stereoRectify() changes from PRs: 6836, 6972, 6955
(1/4) Revert "Correct image borders and principal point computation in cv::stereoRectify"
This reverts commit
93ff1fb2f21a552c258fc2e9f7973f7d5b159cfc.
(2/4) Revert "fix calib3d changes in 6836 plus some others"
This reverts commit
fa42a1cfc2b0fce1d807f18f0ea26ba1e5753b80.
(3/4) Revert "fix compiler warning"
This reverts commit
b3d55489d3f1bd2eab0c1e3ad56d8f17d4f447e9.
(4/4) Revert "add test for 6836"
This reverts commit
d06b8c4ea9d30be7f60196cdf3c9a65f64370fa4.
Alexander Alekhin [Sat, 30 Nov 2019 20:20:56 +0000 (20:20 +0000)]
Merge pull request #16006 from sajarindider:typo
sajarindider [Thu, 21 Nov 2019 19:10:50 +0000 (14:10 -0500)]
fixed Scheimpflug typo
Vadim Levin [Fri, 29 Nov 2019 13:24:13 +0000 (16:24 +0300)]
Merge pull request #15955 from VadimLevin:dev/vlevin/generator_tests
Tests for argument conversion of Python bindings generator
* Tests for parsing elemental types from Python bindings
- Add positive and negative tests for int, float, double, size_t,
const char*, bool.
- Tests with wrong conversion behavior are skipped.
* Move implicit conversion of bool to integer/floating types to wrong
conversion behavior.
Alexander Alekhin [Fri, 29 Nov 2019 11:38:21 +0000 (11:38 +0000)]
Merge pull request #16017 from berak:fix_svm_train_auto
berak [Thu, 28 Nov 2019 19:33:58 +0000 (20:33 +0100)]
ml: fix check in SVM::trainAuto
Alexander Alekhin [Wed, 27 Nov 2019 19:23:27 +0000 (19:23 +0000)]
Merge pull request #15998 from alalek:ts_count_skip_exception
Alexander Alekhin [Wed, 27 Nov 2019 19:23:09 +0000 (19:23 +0000)]
Merge pull request #15994 from SSteve:affine_transform_docs
Alexander Alekhin [Wed, 27 Nov 2019 19:19:34 +0000 (19:19 +0000)]
Merge pull request #15839 from alalek:core_simd_v_setall_template
Alexander Alekhin [Tue, 26 Nov 2019 18:35:28 +0000 (18:35 +0000)]
Merge pull request #16001 from alalek:backport_15995
Alexander Alekhin [Tue, 26 Nov 2019 15:48:22 +0000 (15:48 +0000)]
Merge pull request #15991 from collinbrake:feature_grammar_fixes_8
Brian Wignall [Tue, 26 Nov 2019 00:55:07 +0000 (19:55 -0500)]
Fix some typos
Alexander Alekhin [Tue, 26 Nov 2019 11:01:18 +0000 (14:01 +0300)]
ts: count skipped tests via SkipTestException
- apply tag 'skip_other'
Steve Nicholson [Tue, 26 Nov 2019 00:31:03 +0000 (16:31 -0800)]
Rename parameter R to H in AffineWarper member declarations
Alexander Alekhin [Mon, 25 Nov 2019 20:04:47 +0000 (20:04 +0000)]
Merge pull request #15986 from dkurt:fix_15863
Alexander Alekhin [Mon, 25 Nov 2019 20:04:25 +0000 (20:04 +0000)]
Merge pull request #15978 from alalek:videoio_refactor_v4l
Maksim Shabunin [Mon, 25 Nov 2019 20:03:16 +0000 (20:03 +0000)]
Merge pull request #15959 from mshabunin:refactor-ml-tests
ml: refactored tests
* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
Collin Brake [Mon, 25 Nov 2019 18:41:55 +0000 (13:41 -0500)]
grammar corrections
Dmitry Kurtaev [Sun, 24 Nov 2019 18:59:25 +0000 (21:59 +0300)]
Resolve https://github.com/opencv/opencv/issues/15863
Alexander Alekhin [Sun, 24 Nov 2019 09:39:48 +0000 (09:39 +0000)]
Merge pull request #15980 from SSteve:doxygen_links
Steve Nicholson [Sat, 23 Nov 2019 22:03:14 +0000 (14:03 -0800)]
Update links to Doxygen website
Alexander Alekhin [Sat, 23 Nov 2019 22:59:01 +0000 (22:59 +0000)]
Merge pull request #15975 from SSteve:ios_install
Steve Nicholson [Fri, 22 Nov 2019 23:38:53 +0000 (15:38 -0800)]
Update and add information to iOS build instructions.
Alexander Alekhin [Fri, 22 Nov 2019 21:03:52 +0000 (21:03 +0000)]
videoio(v4l2): use logging, update handling of EBUSY, device closing
- DEBUG logging compilation is enabled for all videoio backends
- eliminate output through perror(), stderr
Vadim Levin [Fri, 22 Nov 2019 22:10:16 +0000 (01:10 +0300)]
Merge pull request #15973 from VadimLevin:dev/vlevin/video_capture_inf_loop
* Fix infinite loop when trying to change state of the busy camera
- Add finite number of attempts in tryIoctl functions
10 by default.
* Introduced new flag for ioctl call to handle EBUSY
Alexander Alekhin [Fri, 22 Nov 2019 21:36:01 +0000 (21:36 +0000)]
Merge pull request #15971 from alalek:core_kmeans_handle_overflow
Natsu [Fri, 22 Nov 2019 15:42:25 +0000 (23:42 +0800)]
Merge pull request #15970 from akemimadoka:master
* Fix android armv7 c++_static init crash
* core: move initialization of 'ios_base::Init' for Android
Alexander Alekhin [Fri, 22 Nov 2019 10:52:28 +0000 (10:52 +0000)]
core(kmeans): bailout if can't select cluster center
Alexander Alekhin [Thu, 21 Nov 2019 17:36:10 +0000 (17:36 +0000)]
Merge pull request #15968 from alalek:fix_msa_build
Alexander Alekhin [Thu, 21 Nov 2019 15:59:41 +0000 (18:59 +0300)]
core: fix MSA build
Alexander Alekhin [Thu, 21 Nov 2019 13:04:09 +0000 (13:04 +0000)]
Merge pull request #15962 from alalek:dnn_fix_ie_opencvlayer
Alexander Alekhin [Wed, 20 Nov 2019 21:42:26 +0000 (21:42 +0000)]
dnn: fix registration of custom OpenCVLayer
- do not require extensions library
Alexander Alekhin [Wed, 20 Nov 2019 19:05:15 +0000 (19:05 +0000)]
Merge pull request #15951 from alalek:python_reduce_code_size
Alexander Alekhin [Wed, 20 Nov 2019 15:43:32 +0000 (15:43 +0000)]
Merge pull request #15956 from lorenzolightsgdwarf:dnn_fix_tf_ssd
Everton Constantino [Wed, 20 Nov 2019 10:41:07 +0000 (07:41 -0300)]
Merge pull request #15494 from everton1984:hal_vector_get_n
Improving VSX performance of integral function
* Adding support for vector get function on VSX datatypes so the
integral function gains a bit of performance.
* Removing get as a datatype member function and implementing a new HAL
instruction v_extract_n to get the n-th element of a vector register.
* Adding SSE/NEON/AVX intrinsics.
* Implement new HAL instruction v_broadcast_element on VSX/AVX/NEON/SSE.
* core(simd): add tests for v_extract_n/v_broadcast_element
- updated docs
- commented out code to repair compilation
- added WASM and MSA default implementations
* core(simd): fix compilation
- x86: avoid _mm256_extract_epi64/32/16/8 with MSVS 2015
- x86: _mm_extract_epi64 is 64-bit only
* cleanup
Lorenzo Lucignano [Wed, 20 Nov 2019 09:45:57 +0000 (10:45 +0100)]
Samples DNN: tf_text_graph_sd.py loads box coder variance and box NMS params from config file
Alexander Alekhin [Tue, 19 Nov 2019 22:43:28 +0000 (22:43 +0000)]
python: reduce code size of cv2.cpp
Alexander Alekhin [Tue, 19 Nov 2019 18:45:39 +0000 (18:45 +0000)]
Merge pull request #15939 from alalek:ffmpeg_update_3.4
Alexander Alekhin [Tue, 19 Nov 2019 18:39:56 +0000 (18:39 +0000)]
Merge pull request #15918 from alalek:python_debug_parameter
Alexander Alekhin [Tue, 19 Nov 2019 18:08:45 +0000 (21:08 +0300)]
Merge pull request #15925 from alalek:core_test_simd_cpp_emulation
core(test): extending tests with SIMD C++ emulation code (intrin_cpp.hpp)
* core(test): test SIMD CPP emulation code (intrin_cpp.hpp)
* core(simd): eliminate build warnings from intrin_cpp.hpp
Alexander Alekhin [Tue, 19 Nov 2019 14:25:28 +0000 (14:25 +0000)]
Merge pull request #15946 from alalek:fix_js_test_features2d
Alexander Alekhin [Tue, 19 Nov 2019 14:25:12 +0000 (14:25 +0000)]
Merge pull request #15945 from alalek:dnn_ie_extension_handling
Alexander Alekhin [Tue, 19 Nov 2019 13:24:58 +0000 (13:24 +0000)]
Merge pull request #15919 from alalek:python_fix_arginfo
Alexander Alekhin [Tue, 19 Nov 2019 07:40:12 +0000 (07:40 +0000)]
js(test): update features2d test
Alexander Alekhin [Tue, 19 Nov 2019 06:55:14 +0000 (06:55 +0000)]
dnn: update InferenceEngine extension handling
Alexander Alekhin [Mon, 18 Nov 2019 19:13:45 +0000 (19:13 +0000)]
ffmpeg/3.4: update FFmpeg wrapper
Alexander Alekhin [Mon, 18 Nov 2019 18:56:57 +0000 (18:56 +0000)]
videoio: fix ffmpeg wrapper build
Alexander Alekhin [Mon, 18 Nov 2019 18:26:00 +0000 (18:26 +0000)]
Merge pull request #15938 from alalek:backport_15290
Alexander Alekhin [Mon, 18 Nov 2019 18:23:48 +0000 (18:23 +0000)]
Merge pull request #15937 from clunietp:3.4-fix-13577
cudawarped [Mon, 18 Nov 2019 14:07:06 +0000 (14:07 +0000)]
videoio: retrieve encoded frames through FFmpeg backend
- backport 15290
- add extra test case
clunietp [Mon, 18 Nov 2019 12:41:34 +0000 (07:41 -0500)]
Fix 13577
Alexander Alekhin [Sun, 17 Nov 2019 22:39:27 +0000 (01:39 +0300)]
imgproc: fix bit-exact GaussianBlur() / sepFilter2D() (#15855)
* imgproc: fix bit-exact GaussianBlur() / sepFilter2D()
- avoid kernels with bad approximation
- GaussiabBlur - apply error-diffusion approximation for kernel (8-bit fraction)
* java(test): update features2d ref data
* test: update test_facedetect
Sebastián Gurin [Sat, 16 Nov 2019 21:29:38 +0000 (18:29 -0300)]
Merge pull request #15503 from cancerberoSgx:js-test-puppeteer
Js test puppeteer
* run_puppeteer.js / tests
* js run test section
* rollback html
* whitespace
* js: update OpenCV.js tests infrastructure
* js: exclude puppeteer from default 'npm install'
* js: update notes
* js: more fixes in run_puppeteer
* fix build folder
Alexander Alekhin [Sat, 16 Nov 2019 19:45:37 +0000 (19:45 +0000)]
Merge pull request #15917 from ChipKerchner:demosaicingToHal2
Alexander Alekhin [Fri, 15 Nov 2019 14:29:51 +0000 (17:29 +0300)]
python: force using of ArgInfo
Alexander Alekhin [Fri, 15 Nov 2019 15:37:56 +0000 (18:37 +0300)]
python: emit bindings conversion failures on OPENCV_PYTHON_DEBUG=1
ChipKerchner [Fri, 15 Nov 2019 13:42:03 +0000 (07:42 -0600)]
Convert demosiacing with variable number of gradients to HAL - 5.5x faster
Alexander Alekhin [Fri, 15 Nov 2019 11:04:05 +0000 (11:04 +0000)]
Merge pull request #15911 from l-bat:fix_reducel2
Alexander Alekhin [Thu, 14 Nov 2019 14:22:01 +0000 (14:22 +0000)]
Merge pull request #15896 from alalek:build_gcc_9
Liubov Batanina [Thu, 14 Nov 2019 12:30:53 +0000 (15:30 +0300)]
Fix ReduceL2
Alexander Alekhin [Thu, 14 Nov 2019 10:33:29 +0000 (10:33 +0000)]
Merge pull request #15905 from alalek:issue_15904
Alexander Alekhin [Wed, 13 Nov 2019 17:02:08 +0000 (17:02 +0000)]
Merge pull request #15900 from komakai:fix-osx-build