platform/upstream/opencv.git
4 years agoMerge pull request #16232 from dkurt:dnn_ie_ngraph_fix_myriad_tests
Alexander Alekhin [Mon, 13 Jan 2020 16:59:45 +0000 (16:59 +0000)]
Merge pull request #16232 from dkurt:dnn_ie_ngraph_fix_myriad_tests

4 years agoMerge pull request #15915 from VadimLevin:dev/norm_fix
Vadim Levin [Mon, 13 Jan 2020 15:11:34 +0000 (18:11 +0300)]
Merge pull request #15915 from VadimLevin:dev/norm_fix

Fix implicit conversion from array to scalar in python bindings

* Fix wrong conversion behavior for primitive types

  - Introduce ArgTypeInfo namedtuple instead of plain tuple.
    If strict conversion parameter for type is set to true, it is
    handled like object argument in PyArg_ParseTupleAndKeywords and
    converted to concrete type with the appropriate pyopencv_to function
    call.
  - Remove deadcode and unused variables.
  - Fix implicit conversion from numpy array with 1 element to scalar
  - Fix narrowing conversion to size_t type.

* Fix wrong conversion behavior for primitive types

  - Introduce ArgTypeInfo namedtuple instead of plain tuple.
    If strict conversion parameter for type is set to true, it is
    handled like object argument in PyArg_ParseTupleAndKeywords and
    converted to concrete type with the appropriate pyopencv_to function
    call.
  - Remove deadcode and unused variables.
  - Fix implicit conversion from numpy array with 1 element to scalar
  - Fix narrowing conversion to size_t type.·
  - Enable tests with wrong conversion behavior
  - Restrict passing None as value
  - Restrict bool to integer/floating types conversion

* Add PyIntType support for Python 2

* Remove possible narrowing conversion of size_t

* Bindings conversion update

  - Remove unused macro
  - Add better conversion for types to numpy types descriptors
  - Add argument name to fail messages
  - NoneType treated as a valid argument. Better handling will be added
    as a standalone patch

* Add descriptor specialization for size_t

* Add check for signed to unsigned integer conversion safety

  - If signed integer is positive it can be safely converted
    to unsigned
  - Add check for plain python 2 objects
  - Add check for numpy scalars
  - Add simple type_traits implementation for better code style

* Resolve type "overflow" false negative in safe casting check

 - Move type_traits to separate header

* Add copyright message to type_traits.hpp

* Limit conversion scope for integral numpy types

  - Made canBeSafelyCasted specialized only for size_t, so
    type_traits header became unused and was removed.
  - Added clarification about descriptor pointer

4 years agoDisable some tests for Myriad target of nGraph
Dmitry Kurtaev [Tue, 24 Dec 2019 10:34:33 +0000 (13:34 +0300)]
Disable some tests for Myriad target of nGraph

Add lightweight IE hardware targets checks

nGraph: Concat with paddings

Enable more nGraph tests

Restore FP32->FP16 for GPU plugin of IE

try to fix buildbot

Use lightweight IE targets check only starts from R4

4 years agoMerge pull request #16335 from berak:fix_ml_python_digits_samples_3.4
Alexander Alekhin [Mon, 13 Jan 2020 12:16:40 +0000 (12:16 +0000)]
Merge pull request #16335 from berak:fix_ml_python_digits_samples_3.4

4 years agoml/python: fix digits samples(3.4)
berak [Mon, 13 Jan 2020 11:26:28 +0000 (12:26 +0100)]
ml/python: fix digits samples(3.4)

4 years agoMerge pull request #16276 from themechanicalcoder:video-tutorial
Gourav Roy [Sun, 12 Jan 2020 08:34:59 +0000 (14:04 +0530)]
Merge pull request #16276 from themechanicalcoder:video-tutorial

* Added java code for meanshift and optical_flow

* added java code for module video

* added appropriate spaces in codes

* converted absolute path to command line arguments

* added spaces at appropriate places

4 years agoMerge pull request #14666 from ihsan314:file_io_xml_yml
ihsan314 [Sun, 12 Jan 2020 08:32:12 +0000 (00:32 -0800)]
Merge pull request #14666 from ihsan314:file_io_xml_yml

Python code examples for file IO in xml and yml format

* Initial "Pythonization" of file_input_output.cpp

* Moved file_input_output.py to correct location

* Nearly done Pythonizing file_input_output.cpp

* Python equivalent of file_input_output.py created

* Started Pythonizing camera_calibration.cpp

* Completed Python tutorial/sample code for file_input_output

* Resolved whitespace issues

* Removed tabs in file_input_output.cpp

* Patched import order and wrapped code in main function

* Changed string to docstring format in help file

* Updated link to Python example code

4 years agoMerge pull request #16270 from dkurt:dnn_sort_tf_text_graphs
Alexander Alekhin [Sat, 11 Jan 2020 17:39:13 +0000 (17:39 +0000)]
Merge pull request #16270 from dkurt:dnn_sort_tf_text_graphs

4 years agoMerge pull request #16236 from alalek:fix_core_simd_emulator
Alexander Alekhin [Fri, 10 Jan 2020 18:31:02 +0000 (21:31 +0300)]
Merge pull request #16236 from alalek:fix_core_simd_emulator

* core: fix intrin_cpp, allow to build modules with SIMD emulator

* core(arithm): fix v_zero initialization

* core(simd): 'strict' types for binary/bitwise operations

* features2d: avoid aligned load issue in GCC 5.4 with emulated SIMD

* core(simd): alignment checks in SIMD emulator

4 years agoMerge pull request #16240 from olramde:olramde
olramde [Fri, 10 Jan 2020 13:18:31 +0000 (22:18 +0900)]
Merge pull request #16240 from olramde:olramde

* Changed plus operator to os.path.join()

* Remove '/' from PATH

4 years agoMerge pull request #16300 from Palmitoxico:cmake-cmp0077
Alexander Alekhin [Wed, 8 Jan 2020 21:52:30 +0000 (21:52 +0000)]
Merge pull request #16300 from Palmitoxico:cmake-cmp0077

4 years agoEnable cmake CMP0077 policy
Augusto Fraga Giachero [Tue, 7 Jan 2020 11:36:35 +0000 (08:36 -0300)]
Enable cmake CMP0077 policy

When building OpenCV as a sub-project using cmake's add_subdirectory()
the OpenCV's build options would be overwritten to its default
state. With cmake 3.13+ the CMP0077 policy, option() honors previous
definitions via set().

4 years agoMerge pull request #16289 from Nuzhny007:3.4
Alexander Alekhin [Tue, 7 Jan 2020 22:13:39 +0000 (22:13 +0000)]
Merge pull request #16289 from Nuzhny007:3.4

4 years agoFixed compilation on windows with openvx
Nuzhny007 [Mon, 6 Jan 2020 03:32:56 +0000 (06:32 +0300)]
Fixed compilation on windows with openvx

4 years agoMerge pull request #16265 from JanuszL:fix_bgr
Alexander Alekhin [Sun, 5 Jan 2020 12:01:03 +0000 (12:01 +0000)]
Merge pull request #16265 from JanuszL:fix_bgr

4 years agoFix swapped channels in BGR* conversion utility function
Janusz Lisiecki [Fri, 20 Dec 2019 16:54:37 +0000 (17:54 +0100)]
Fix swapped channels in BGR* conversion utility function

- some of `icvCvt_BGR*` functions have R with B channels
  swapped what leads to the wrong conversion
- renames misleading `rgb` variable name to `bgr`
- swap back the conversion coefficients, `cB` should be the first

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
4 years agoMerge pull request #16238 from alalek:imgproc_resize_fix_types
Alexander Alekhin [Fri, 3 Jan 2020 16:30:28 +0000 (16:30 +0000)]
Merge pull request #16238 from alalek:imgproc_resize_fix_types

4 years agocopyright: 2020
Alexander Alekhin [Thu, 2 Jan 2020 11:58:20 +0000 (11:58 +0000)]
copyright: 2020

4 years agoMerge pull request #16249 from alalek:check_size
Alexander Alekhin [Tue, 31 Dec 2019 10:09:00 +0000 (10:09 +0000)]
Merge pull request #16249 from alalek:check_size

4 years agoSort text TensorFlow graphs
Dmitry Kurtaev [Tue, 31 Dec 2019 08:43:32 +0000 (11:43 +0300)]
Sort text TensorFlow graphs

4 years agoMerge pull request #16263 from dkurt:dnn_tf_addv2
Alexander Alekhin [Mon, 30 Dec 2019 22:56:11 +0000 (22:56 +0000)]
Merge pull request #16263 from dkurt:dnn_tf_addv2

4 years agoMerge pull request #16258 from jed-frey:patch/python38-clock
Alexander Alekhin [Mon, 30 Dec 2019 17:34:23 +0000 (17:34 +0000)]
Merge pull request #16258 from jed-frey:patch/python38-clock

4 years agoAddV2 from TensorFlow
Dmitry Kurtaev [Mon, 30 Dec 2019 17:06:58 +0000 (20:06 +0300)]
AddV2 from TensorFlow

4 years agoRemoved deprecated 'clock' import.
Jed [Sun, 29 Dec 2019 23:50:17 +0000 (18:50 -0500)]
Removed deprecated 'clock' import.

4 years agoMerge pull request #16251 from pwuertz:rtrees_set_rng
Alexander Alekhin [Sun, 29 Dec 2019 22:30:39 +0000 (22:30 +0000)]
Merge pull request #16251 from pwuertz:rtrees_set_rng

4 years agoUse global RNG for training RTrees.
Peter Würtz [Sat, 28 Dec 2019 12:34:08 +0000 (13:34 +0100)]
Use global RNG for training RTrees.

4 years agocore(check): add Size_<int>
Alexander Alekhin [Sat, 28 Dec 2019 13:18:12 +0000 (13:18 +0000)]
core(check): add Size_<int>

4 years agoMerge pull request #16237 from alalek:eliminate_build_warnings
Alexander Alekhin [Fri, 27 Dec 2019 19:38:25 +0000 (19:38 +0000)]
Merge pull request #16237 from alalek:eliminate_build_warnings

4 years agoMerge pull request #16247 from alalek:backport_16241
Alexander Alekhin [Fri, 27 Dec 2019 16:20:52 +0000 (16:20 +0000)]
Merge pull request #16247 from alalek:backport_16241

4 years agoMerge pull request #16242 from catree:add_Rodrigues_input_shape_check
Alexander Alekhin [Fri, 27 Dec 2019 13:12:03 +0000 (13:12 +0000)]
Merge pull request #16242 from catree:add_Rodrigues_input_shape_check

4 years agoFix spelling typos
Brian Wignall [Thu, 26 Dec 2019 11:45:03 +0000 (06:45 -0500)]
Fix spelling typos

backport commit 659ffaddb4aa2cd1ae94603e514711dfe171a971

4 years agoMerge pull request #16243 from collinbrake:grammar_fixes_9
Alexander Alekhin [Fri, 27 Dec 2019 11:13:08 +0000 (11:13 +0000)]
Merge pull request #16243 from collinbrake:grammar_fixes_9

4 years agoAdd explicit size check for Rodrigues() function to prevent issue like https://stacko...
catree [Thu, 26 Dec 2019 23:59:25 +0000 (00:59 +0100)]
Add explicit size check for Rodrigues() function to prevent issue like https://stackoverflow.com/questions/58969553

4 years agogrammar and readability improvements
Collin Brake [Fri, 27 Dec 2019 01:31:54 +0000 (20:31 -0500)]
grammar and readability improvements

4 years agoimgproc(resize): avoid unnecessary type conversions
Alexander Alekhin [Wed, 25 Dec 2019 23:46:32 +0000 (23:46 +0000)]
imgproc(resize): avoid unnecessary type conversions

4 years agobuild: eliminate build warnings
Alexander Alekhin [Wed, 25 Dec 2019 23:26:59 +0000 (23:26 +0000)]
build: eliminate build warnings

4 years agoMerge tag '3.4.9'
Alexander Alekhin [Fri, 20 Dec 2019 09:43:26 +0000 (12:43 +0300)]
Merge tag '3.4.9'

4 years agorelease: OpenCV 3.4.9
Alexander Alekhin [Thu, 19 Dec 2019 15:16:47 +0000 (18:16 +0300)]
release: OpenCV 3.4.9

4 years agoMerge pull request #16165 from sajarindider:macOS_install
Sajarin [Thu, 19 Dec 2019 15:15:59 +0000 (10:15 -0500)]
Merge pull request #16165 from sajarindider:macOS_install

* doc: added macOS installation guide

* doc: added clarification and corrections

* docs: introduction entry, lowercase file names and ids

4 years agoMerge pull request #16195 from alalek:tbb_version_2020
Alexander Alekhin [Thu, 19 Dec 2019 10:55:31 +0000 (10:55 +0000)]
Merge pull request #16195 from alalek:tbb_version_2020

4 years agoMerge pull request #16196 from alalek:issue_13574
Alexander Alekhin [Thu, 19 Dec 2019 10:35:54 +0000 (10:35 +0000)]
Merge pull request #16196 from alalek:issue_13574

4 years agoMerge pull request #16139 from alalek:core_flip_avoid_unaligned
Alexander Alekhin [Thu, 19 Dec 2019 10:29:07 +0000 (10:29 +0000)]
Merge pull request #16139 from alalek:core_flip_avoid_unaligned

4 years agoMerge pull request #16194 from alalek:fix_16192
Alexander Alekhin [Thu, 19 Dec 2019 10:20:42 +0000 (13:20 +0300)]
Merge pull request #16194 from alalek:fix_16192

* imgproc(test): resize(LANCZOS4) reproducer 16192

* imgproc: fix resize LANCZOS4 coefficients generation

4 years agoMerge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296
jeffeDurand [Thu, 19 Dec 2019 10:02:48 +0000 (05:02 -0500)]
Merge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296

* cuda_mog2_issue_5296

4 years agoMerge pull request #16034 from Quantizs:irLoadFromBuffer
Alexander Alekhin [Thu, 19 Dec 2019 10:00:07 +0000 (10:00 +0000)]
Merge pull request #16034 from Quantizs:irLoadFromBuffer

4 years agoMerge pull request #16011 from sebastien-wybo:fix_16007
Sebastien Wybo [Thu, 19 Dec 2019 09:59:18 +0000 (10:59 +0100)]
Merge pull request #16011 from sebastien-wybo:fix_16007

* Fix #16007 - colinearity computed using all 3 coordinates

* calib3d(test): estimateAffine3D regression 16007

4 years agoandroid(camera2): apply .disconnectCamera() patch from issue 13574
Alexander Alekhin [Thu, 19 Dec 2019 00:29:53 +0000 (00:29 +0000)]
android(camera2): apply .disconnectCamera() patch from issue 13574

4 years agocore: workaround flipHoriz() alignment issues
Alexander Alekhin [Wed, 11 Dec 2019 20:08:10 +0000 (20:08 +0000)]
core: workaround flipHoriz() alignment issues

4 years ago3rdparty: TBB version 2019u8 => 2020.0
Alexander Alekhin [Wed, 18 Dec 2019 23:14:38 +0000 (23:14 +0000)]
3rdparty: TBB version 2019u8 => 2020.0

4 years agoMerge pull request #16191 from terfendail:lres2c_fix
Alexander Alekhin [Wed, 18 Dec 2019 22:31:52 +0000 (22:31 +0000)]
Merge pull request #16191 from terfendail:lres2c_fix

4 years agoFix for CV_8UC2 linear resize vectorization
Vitaly Tuzov [Wed, 18 Dec 2019 17:05:36 +0000 (20:05 +0300)]
Fix for CV_8UC2 linear resize vectorization

4 years agodnn: reading IR models from buffer
antalzsiroscandid [Wed, 27 Nov 2019 14:31:38 +0000 (15:31 +0100)]
dnn: reading IR models from buffer

4 years agoMerge pull request #16136 from mcellis33:mec-nan
mcellis33 [Wed, 18 Dec 2019 14:25:59 +0000 (14:25 +0000)]
Merge pull request #16136 from mcellis33:mec-nan

* Handle det == 0 in findCircle3pts.

Issue 16051 shows a case where findCircle3pts returns NaN for the
center coordinates and radius due to dividing by a determinant of 0. In
this case, the points are colinear, so the longest distance between any
2 points is the diameter of the minimum enclosing circle.

* imgproc(test): update test checks for minEnclosingCircle()

* imgproc: fix handling of special cases in minEnclosingCircle()

4 years agoMerge pull request #16188 from saskatchewancatch:issue-13551
Alexander Alekhin [Wed, 18 Dec 2019 10:30:35 +0000 (10:30 +0000)]
Merge pull request #16188 from saskatchewancatch:issue-13551

4 years agoChange program type in hdr format files to modern value: RADIANCE so
Rajkiran Natarajan [Wed, 18 Dec 2019 04:17:32 +0000 (20:17 -0800)]
Change program type in hdr format files to modern value: RADIANCE so
modern readers that expect RADIANCE will read it

4 years agoMerge pull request #16104 from alalek:issue_16095
Alexander Alekhin [Tue, 17 Dec 2019 19:02:15 +0000 (19:02 +0000)]
Merge pull request #16104 from alalek:issue_16095

4 years agoMerge pull request #16027 from shibayan:arm64-windows10
Tatsuro Shibamura [Mon, 16 Dec 2019 21:23:30 +0000 (06:23 +0900)]
Merge pull request #16027 from shibayan:arm64-windows10

* Support ARM64 Windows 10 platform

* Fixed detection issue for ARM64 Windows 10

* Try enabling ARM NEON intrin

* build: disable NEON with MSVC compiler

* samples(directx): gdi32 dependency

4 years agoMerge pull request #16100 from sajarindider:brief
Sajarin [Sun, 15 Dec 2019 09:42:19 +0000 (04:42 -0500)]
Merge pull request #16100 from sajarindider:brief

* (doc): added info about STAR

* (doc): fixed typos and sentence structure

* fixed trailing whitespaces

4 years agoMerge pull request #16159 from alalek:imgcodecs_bmp_ubsan_enum_handling
Alexander Alekhin [Sun, 15 Dec 2019 09:28:08 +0000 (09:28 +0000)]
Merge pull request #16159 from alalek:imgcodecs_bmp_ubsan_enum_handling

4 years agoMerge pull request #16163 from alalek:fix_16122
Alexander Alekhin [Sat, 14 Dec 2019 18:51:21 +0000 (18:51 +0000)]
Merge pull request #16163 from alalek:fix_16122

4 years agocmake: fix OpenCV_ARCH
Alexander Alekhin [Sat, 14 Dec 2019 15:02:43 +0000 (15:02 +0000)]
cmake: fix OpenCV_ARCH

4 years agoimgcodecs(bmp): make happy UBSAN with enum value range check
Alexander Alekhin [Fri, 13 Dec 2019 15:35:04 +0000 (18:35 +0300)]
imgcodecs(bmp): make happy UBSAN with enum value range check

4 years agoMerge pull request #16156 from TH3CHARLie:3.4
Xuanda Yang [Fri, 13 Dec 2019 15:29:39 +0000 (23:29 +0800)]
Merge pull request #16156 from TH3CHARLie:3.4

* Eltwise::DIV support in Halide backend

* fix typo

* remove div from generated test suite to pass CI, switching to manual test...

* ensure divisor not near to zero

* use randu

* dnn(test): update test data for Eltwise.Accuracy/DIV layer test

4 years agoMerge pull request #16157 from alalek:update_libwebp_1.0.3
Alexander Alekhin [Fri, 13 Dec 2019 14:54:42 +0000 (17:54 +0300)]
Merge pull request #16157 from alalek:update_libwebp_1.0.3

* 3rdparty: update libwebp 1.0.2 => 1.0.3

https://github.com/webmproject/libwebp/releases/tag/v1.0.3

* 3rdparty(libwebp): re-apply patches

4 years agoMerge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
Alexander Alekhin [Fri, 13 Dec 2019 14:52:40 +0000 (17:52 +0300)]
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private

* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC

see CMP0023 (CMake 2.8.12+)

* cmake: fix 3rdparty list

- don't include OpenCV modules

4 years agoMerge pull request #16148 from alalek:doxygen_update_config
Alexander Alekhin [Fri, 13 Dec 2019 14:51:37 +0000 (14:51 +0000)]
Merge pull request #16148 from alalek:doxygen_update_config

4 years agoMerge pull request #16122 from alalek:cmake_update_cpu_compiler_detection
Alexander Alekhin [Fri, 13 Dec 2019 14:51:19 +0000 (14:51 +0000)]
Merge pull request #16122 from alalek:cmake_update_cpu_compiler_detection

4 years agoMerge pull request #16153 from vsuyi:master
Alexander Alekhin [Fri, 13 Dec 2019 13:43:58 +0000 (13:43 +0000)]
Merge pull request #16153 from vsuyi:master

4 years agofix wrong method name
ysy [Fri, 13 Dec 2019 08:24:08 +0000 (16:24 +0800)]
fix wrong method name

4 years agodoc: update doxygen configuration
Alexander Alekhin [Fri, 13 Dec 2019 01:13:00 +0000 (01:13 +0000)]
doc: update doxygen configuration

4 years agoMerge pull request #15966 from saskatchewancatch:issue-15760
RAJKIRAN NATARAJAN [Thu, 12 Dec 2019 16:23:57 +0000 (16:23 +0000)]
Merge pull request #15966 from saskatchewancatch:issue-15760

Add checks for empty operands in Matrix expressions that don't check properly

* Starting to add checks for empty operands in Matrix expressions that
don't check properly.

* Adding checks and delcarations for checker functions

* Fix signatures and add checks for each class of Matrix Expr operation

* Make it catch the right exception

* Don't expose helper functions to public API

4 years agoMerge pull request #16138 from pmur:reg_16137
Paul Murphy [Thu, 12 Dec 2019 10:00:44 +0000 (04:00 -0600)]
Merge pull request #16138 from pmur:reg_16137

* imgproc: Prevent 1B overrun of 8C3 SIMD optimization

The fourth value read via v_load_q is essentially ignored,
but can cause trouble if it happens to cross page boundaries.

The final few iterations may attempt to read the most extreme
elements of S, which will read 1B beyond the array in most
aligment cases. Dynamically compute the stop. This could be
hoised from the loop, but will require a more extensive change.

Likewise, cleanup the iteration increment statements to make
it more obvious they do channel count (3) elements per pass.

This should resolve #16137

* imgproc(resize): extra check

4 years agoMerge pull request #16120 from alalek:python3.8
Alexander Alekhin [Wed, 11 Dec 2019 17:18:51 +0000 (17:18 +0000)]
Merge pull request #16120 from alalek:python3.8

4 years agoMerge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels
Alexander Alekhin [Wed, 11 Dec 2019 17:16:58 +0000 (20:16 +0300)]
Merge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels

dnn(eltwise): fix handling of different number of channels

* dnn(test): reproducer for Eltwise layer issue from PR16063

* dnn(eltwise): rework support for inputs with different channels

* dnn(eltwise): get rid of finalize(), variableChannels

* dnn(eltwise): update input sorting by number of channels

- do not swap inputs if number of channels are same after truncation

* dnn(test): skip "shortcut" with batch size 2 on MYRIAD targets

4 years agoMerge pull request #16125 from alalek:core_safe_xadd
Alexander Alekhin [Wed, 11 Dec 2019 14:15:46 +0000 (14:15 +0000)]
Merge pull request #16125 from alalek:core_safe_xadd

4 years agoMerge pull request #16124 from alalek:issue_13354
Alexander Alekhin [Wed, 11 Dec 2019 14:15:23 +0000 (14:15 +0000)]
Merge pull request #16124 from alalek:issue_13354

4 years agoMerge pull request #16123 from alalek:opencv_include_port_file
Alexander Alekhin [Wed, 11 Dec 2019 14:15:04 +0000 (14:15 +0000)]
Merge pull request #16123 from alalek:opencv_include_port_file

4 years agoMerge pull request #16098 from alalek:dnn_clarify_error_getMemoryShapes
Alexander Alekhin [Wed, 11 Dec 2019 14:02:15 +0000 (14:02 +0000)]
Merge pull request #16098 from alalek:dnn_clarify_error_getMemoryShapes

4 years agopython: enable Python 3.8
Alexander Alekhin [Wed, 11 Dec 2019 13:52:38 +0000 (16:52 +0300)]
python: enable Python 3.8

4 years agoMerge pull request #16121 from shimat:fix_voronoi_typo
Alexander Alekhin [Wed, 11 Dec 2019 12:30:47 +0000 (12:30 +0000)]
Merge pull request #16121 from shimat:fix_voronoi_typo

4 years agocore: provide safe implementations of CV_XADD() only
Alexander Alekhin [Wed, 11 Dec 2019 00:45:10 +0000 (00:45 +0000)]
core: provide safe implementations of CV_XADD() only

4 years agocore: add "namespace cv" in CV_StaticAssert fallback implementation
Alexander Alekhin [Wed, 11 Dec 2019 00:35:13 +0000 (00:35 +0000)]
core: add "namespace cv" in CV_StaticAssert fallback implementation

4 years agocore: OPENCV_INCLUDE_PORT_FILE for custom platform configuration
Alexander Alekhin [Wed, 11 Dec 2019 00:27:13 +0000 (00:27 +0000)]
core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration

4 years agocmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P
Alexander Alekhin [Tue, 10 Dec 2019 22:35:36 +0000 (22:35 +0000)]
cmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P

Drop:
- discouraged CMAKE_CL_64
- MSVC64
- MINGW64

4 years agos/Voroni/Voronoi/g
shimat [Wed, 11 Dec 2019 00:13:58 +0000 (09:13 +0900)]
s/Voroni/Voronoi/g

4 years agopython: fix issue with bindings loading on Python 3.8
Alexander Alekhin [Tue, 10 Dec 2019 19:00:10 +0000 (19:00 +0000)]
python: fix issue with bindings loading on Python 3.8

4 years agoMerge pull request #16109 from pixelb:gcc-9-pch
Alexander Alekhin [Tue, 10 Dec 2019 16:29:07 +0000 (16:29 +0000)]
Merge pull request #16109 from pixelb:gcc-9-pch

4 years agoMerge pull request #16117 from mshabunin:fix-hist-args-34
Alexander Alekhin [Tue, 10 Dec 2019 15:14:22 +0000 (15:14 +0000)]
Merge pull request #16117 from mshabunin:fix-hist-args-34

4 years agoFix pch generation when linker flags used with GCC
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

4 years agoimgproc: add parameter checks in calcHist and calcBackProj
Maksim Shabunin [Tue, 10 Dec 2019 12:13:38 +0000 (15:13 +0300)]
imgproc: add parameter checks in calcHist and calcBackProj

4 years agoMerge pull request #16107 from dkurt:dnn_ie_ngraph_v1_conv
Alexander Alekhin [Tue, 10 Dec 2019 12:10:50 +0000 (12:10 +0000)]
Merge pull request #16107 from dkurt:dnn_ie_ngraph_v1_conv

4 years agoMerge pull request #16106 from dkurt:dnn_ie_ngraph_weights_fusion
Alexander Alekhin [Tue, 10 Dec 2019 12:08:04 +0000 (12:08 +0000)]
Merge pull request #16106 from dkurt:dnn_ie_ngraph_weights_fusion

4 years agoModify nGraph's ConvolutionBackpropData and GroupConvolution
Dmitry Kurtaev [Mon, 9 Dec 2019 18:47:13 +0000 (21:47 +0300)]
Modify nGraph's ConvolutionBackpropData and GroupConvolution

4 years agoMerge pull request #16089 from dkurt:dnn_ie_fix_fpga
Alexander Alekhin [Mon, 9 Dec 2019 19:26:00 +0000 (19:26 +0000)]
Merge pull request #16089 from dkurt:dnn_ie_fix_fpga

4 years agoMerge pull request #16094 from saskatchewancatch:issue-16053
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

4 years agoMerge pull request #16093 from alalek:core_itt_thread_name_16072
Alexander Alekhin [Mon, 9 Dec 2019 18:29:53 +0000 (18:29 +0000)]
Merge pull request #16093 from alalek:core_itt_thread_name_16072

4 years agoMerge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output
Alexander Alekhin [Mon, 9 Dec 2019 18:29:24 +0000 (18:29 +0000)]
Merge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output

4 years agoMerge pull request #16102 from asmorkalov:as/xperience_c
Alexander Alekhin [Mon, 9 Dec 2019 18:28:29 +0000 (18:28 +0000)]
Merge pull request #16102 from asmorkalov:as/xperience_c

4 years agoFix weights fusion for Convolution and Deconvolution layers in nGraph
Dmitry Kurtaev [Mon, 9 Dec 2019 16:06:47 +0000 (19:06 +0300)]
Fix weights fusion for Convolution and Deconvolution layers in nGraph

4 years agocalib3d: clarify error messages in collectCalibrationData()
Alexander Alekhin [Mon, 9 Dec 2019 15:24:36 +0000 (18:24 +0300)]
calib3d: clarify error messages in collectCalibrationData()