Alexander Alekhin
e703c3090a
Merge pull request #10184 from catree:solvePnP_iterative_guess_3_pts
2017-11-29 18:24:04 +00:00
Maksim Shabunin
7eb1065944
Fixed/disabled warnings produced by GCC 7
2017-11-29 17:21:22 +03:00
Alexander Alekhin
cc2ee923e4
Merge pull request #10164 from pengli:dnn
2017-11-29 12:05:10 +00:00
Vadim Pisarevsky
f5dba12762
Merge pull request #10180 from alalek:ocl_avoid_unnecessary_initialization
2017-11-29 11:42:22 +00:00
Vadim Pisarevsky
86ff4a1ccf
Merge pull request #10182 from romanc:fix/divByZeroSimdDouble
2017-11-29 10:01:58 +00:00
Vadim Pisarevsky
614e254331
Merge pull request #10170 from LaurentBerger:Issue10166
2017-11-29 09:51:20 +00:00
Sayed Adel
6fe6436162
core:ppc Fixed compilation with xlc, clang.
...
- Use EXPECT_TRUE instead of EXPECT_EQ for comparing NULL in xlc
- Added support for int64 to vec_promote in xlc, clang
- Fixed v_rotate_right in xlc
2017-11-29 07:48:26 +00:00
elenagvo
73ac5321f5
fix threshold HAL
2017-11-28 17:42:29 +03:00
catree
2e56a47f8c
Allow to use 3 points in SolvePnP if SOLVEPNP_ITERATIVE and useExtrinsicGuess==true. Add bibtex citations for P3P. Update SolvPnP tests.
2017-11-28 15:04:59 +01:00
Vadim Pisarevsky
666fc0ba69
Merge pull request #9986 from terfendail:drawcontours_docfix
2017-11-28 13:19:06 +00:00
Vadim Pisarevsky
cfd845ac07
Merge pull request #10141 from LaurentBerger:MLP_ReLU
2017-11-28 13:17:43 +00:00
Vadim Pisarevsky
2a8344f75b
Merge pull request #10149 from mshabunin:fix-saturate-intrin
2017-11-28 13:17:10 +00:00
elenagvo
762138e77e
define adaptiveMethod and thresholdType for HAL
2017-11-28 16:02:06 +03:00
Roman Cattaneo
d381e499ea
Fixes Issue #10181
...
This PR fixes incorrect division by zero handling in template
specialization of `Div_SIMD` for type `double`.
2017-11-28 13:48:40 +01:00
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
2017-11-28 14:02:42 +03:00
Vadim Pisarevsky
bc547c4290
Merge pull request #10124 from zhongwuzw:master
2017-11-28 10:53:00 +00:00
Vadim Pisarevsky
9e4a8a31e1
Merge pull request #10173 from dkurt:update_priorbox_layer
2017-11-28 10:51:06 +00:00
Vadim Pisarevsky
b900496c40
Merge pull request #10152 from alalek:py_fix_isalgorithm
2017-11-28 10:46:41 +00:00
Alexander Alekhin
abad8977b6
Merge pull request #9247 from paroj:wrap_alog_rw
2017-11-28 10:35:33 +00:00
Maksim Shabunin
6c135261b2
Universal Intrinsics: aligned v_pack behavior on different platforms, fixed 64-bit register on ARM, added more saturate_cast variants
2017-11-28 13:31:56 +03:00
LaurentBerger
a44573c43b
Add ReLU and LeakyReLU activation function in ml module
2017-11-28 11:02:05 +01:00
Alexander Alekhin
378e05c16b
Merge pull request #10178 from alalek:ts_message
2017-11-28 05:39:29 +00:00
Alexander Alekhin
486cfd1040
ts: detailed message
2017-11-27 19:22:39 +03:00
Pavel Rojtberg
3c795a0dab
add test_algorithm_rw using AKAZE
2017-11-27 17:04:56 +01:00
Pavel Rojtberg
6fbf0758bc
Python: wrap Algorithm::read and Algorithm::write
2017-11-27 17:04:56 +01:00
Wu Zhiwen
1f465a0ef9
dnn(ocl4dnn): fuseLayer() use umat_input/outputBlobs for OpenCL target
...
Also, fix bug when use OPENCL target but no OpenCL runtime
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-27 22:25:53 +08:00
Li Peng
a47fbd2610
Add ocl accuracy test for a few dnn nets
...
They are alexnet, mobilenet-ssd, resnet50, squeezeNet_v1_1,
yolo and fast_neural_style.
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-27 23:33:21 +08:00
Dmitry Kurtaev
99ed085752
Update PriorBox layer
2017-11-27 16:47:20 +03:00
elenagvo
c95bc0c7fd
add HAL for threshold
2017-11-27 15:35:02 +03:00
elenagvo
11ddb9332c
add HAL for adaptiveThreshold
2017-11-27 15:35:02 +03:00
LaurentBerger
606a5fd537
Try to solve issue 10166
2017-11-27 13:13:05 +01:00
Alexander Alekhin
c4b158ff91
Merge pull request #10167 from alalek:ocl_fix_issue_contrib1467
2017-11-27 11:05:07 +00:00
Vadim Pisarevsky
ec076bfba3
Update imgproc.hpp
...
rewrote the added note in perhaps a cleaner way
2017-11-27 13:42:10 +03:00
Vadim Pisarevsky
92be112388
Merge pull request #10107 from ElenaGvozdeva:medianBlur_HAL
2017-11-27 10:12:16 +00:00
Vadim Pisarevsky
a83c12c3d5
Merge pull request #10154 from alalek:ocl_cleanup_obsolete_cache
2017-11-27 10:04:04 +00:00
Vadim Pisarevsky
7f554f3cc4
Merge pull request #10155 from alalek:ocl_update_loader
2017-11-27 10:03:31 +00:00
Alexander Alekhin
92b35e6758
ocl: fix null pointer access crash
2017-11-27 12:43:29 +03:00
Alexander Alekhin
11330b9253
Merge pull request #10095 from alalek:fix_canny_intrinsics
2017-11-25 12:31:47 +00:00
Alexander Alekhin
c38620e966
ocl: update OpenCL runtime loader
...
- fix compilation on Apple (undefined 'oclpath')
- don't warn on OPENCV_OPENCL_RUNTIME=disabled
2017-11-24 19:18:22 +03:00
Alexander Alekhin
b6abf0d3f9
ocl: drop obsolete cache directories after upgrade of OpenCL driver
...
Entries with the same platform name, the same device name and with different driver versions
are assumed obsolete.
2017-11-24 17:02:28 +03:00
Alexander Alekhin
cbf2b51e40
bindings(py): fix handling of 'isalgorithm'
2017-11-24 09:54:44 +03:00
Alexander Alekhin
13f374660f
dnn(ocl4dnn): drop unused batch_size_ in pooling
2017-11-23 20:46:56 +00:00
Alexander Alekhin
e34b64c979
dnn(ocl4dnn): refactor pooling OpenCL calls
2017-11-23 20:46:44 +00:00
Alexander Alekhin
f071a48ec7
Merge pull request #10143 from pengli:ocl4dnn
2017-11-23 18:47:14 +00:00
Maksim Shabunin
a1479cc2c1
Merge pull request #10148 from alalek:fix_ffmpeg_sws_scale_crash
2017-11-23 18:35:00 +00:00
Alexander Alekhin
107582c767
Merge pull request #9996 from dkurt:dnn_multiple_inputs
2017-11-23 18:22:37 +00:00
Li Peng
636d6368ee
use OutputArrayOfArrays in net forward interface
...
It allows umat buffers used in net forward interface
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-24 02:19:10 +08:00
Wu, Zhiwen
04edc8fe3a
cleanup ocl4dnn spatial convolution kernels
...
remove unused macros and half definition macros,
also remove unused ocl::Queue
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-24 02:19:10 +08:00
Alexander Alekhin
559235ac74
videoio(ffmpeg): more workarounds for sws_scale() crash
...
Prevents access data after the end of input buffer near 4K page boundaries
2017-11-23 18:56:19 +03:00
Alexander Alekhin
49a5280198
Merge pull request #10139 from alalek:dnn_rename_caffe_proto_package
2017-11-23 14:10:42 +00:00
Alexander Alekhin
e5d1790b7b
Merge pull request #10018 from alalek:ocl_binary_cache
2017-11-23 13:37:32 +00:00
Vadim Pisarevsky
fed2a277e0
Merge pull request #10142 from alalek:pytests_update
2017-11-23 12:51:55 +00:00
Maksim Shabunin
6f48dc2482
Fixed GStreamer pipeline building on Ubuntu 17
2017-11-23 15:03:20 +03:00
Alexander Nesterov
8082011546
Update videoio tests
2017-11-23 14:57:38 +03:00
Maksim Shabunin
7628c143f4
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests
2017-11-23 13:33:48 +03:00
elenagvo
5d0a8d2aaf
fix the parameters order
2017-11-23 13:30:00 +03:00
Alexander Alekhin
019de554a0
python(test): don't write bytecode
...
Tests are usually lauched from source directory, so additional unnecessary
files should be eliminated.
Alternative ways (command line):
- python -B ...
- PYTHONDONTWRITEBYTECODE=1 python ...
2017-11-23 13:13:11 +03:00
Alexander Alekhin
3ee8079f35
python(test): add tests filter
...
Usage example (bash):
$ OPENCV_PYTEST_FILTER=test_digits python test.py -v
2017-11-23 12:16:59 +03:00
Alexander Alekhin
e4aa2ccd66
Merge pull request #10136 from alalek:issue_10134
2017-11-22 18:39:47 +00:00
Alexander Alekhin
f37f4cf3b4
Merge pull request #9994 from r2d3:dnn_memory_load
2017-11-22 18:15:00 +00:00
Alexander Alekhin
e7d62d6ef3
Merge pull request #10126 from alalek:dnn_issue_10125
2017-11-22 18:03:51 +00:00
Alexander Alekhin
b29893b938
dnn: autogenerated files
2017-11-22 18:34:07 +03:00
Alexander Alekhin
1c88a566e0
dnn: rename caffe protobuf package
2017-11-22 18:34:07 +03:00
Alexander Alekhin
3f37be5a30
core: fix compilation of intrinsic code
2017-11-22 17:28:50 +03:00
Alexander Alekhin
9db5cbf9a4
dnn: sync output/internals blobs back
2017-11-22 14:00:58 +03:00
Alexander Alekhin
8e6280fc8e
ocl: binary program cache
2017-11-22 12:56:38 +03:00
Vadim Pisarevsky
f8ad289311
Merge pull request #10092 from alalek:dnn_rename_caffe_proto
2017-11-22 08:16:20 +00:00
Maksim Shabunin
e57f22a386
Fixed allocSingleton
2017-11-21 18:07:30 +03:00
Maksim Shabunin
12662e064b
align singleton malloc
2017-11-21 17:55:23 +03:00
Maksim Shabunin
1c46034166
Other buffers
2017-11-21 17:55:23 +03:00
Maksim Shabunin
2178c5e95e
init ABtoXZ
2017-11-21 17:55:23 +03:00
Maksim Shabunin
b3018ba89e
LUV tables
2017-11-21 17:55:23 +03:00
Maksim Shabunin
e75056a084
static init
2017-11-21 17:55:23 +03:00
Maksim Shabunin
51fc891a5c
cvtColor: fixed tables init, moved some tables to heap
2017-11-21 17:55:23 +03:00
Alexander Alekhin
0f34628af7
dnn: drop OpenCL code path for DetectionOutputLayer
...
getUMat()/getMat() calls are scope based. Results of these calls can't be
stored somewhere for future usage.
2017-11-21 17:28:42 +03:00
Vadim Pisarevsky
c3cced0f89
Merge pull request #10121 from alalek:ocl_syntax_fix
2017-11-21 12:40:19 +00:00
Rostislav Vasilikhin
397b57dd72
Merge pull request #10041 from savuor:RevHoughWorks
...
HoughCircles rewritten (PR #7434 updated) (#10041 )
* initial version of renewed HoughCircles done
* fixed compilation
* fixed SIMD ability & compilation warning
* fixed accumulator nonmax comparison
* common Mutex for all invokers
* nzLocal is std::vector
* nz is std::vector
* SSE2 -> SIMD128
* centers is now std::vector
* circles is std::vector
* estimateRadius updated
* accum calculation w/o mutex
* less deprecated code
* several bugs fixed
* back to mutex, TLS gathering doesn't work
* extra code removed
* little refactoring
* docs note updated
* a little speedup
* warning fixed
2017-11-21 14:18:47 +03:00
zhongwuzw
01b581048d
Fix customPreviewLayer layout issue when rotateVideo is NO in iOS
2017-11-21 12:56:23 +08:00
Alexander Alekhin
438e456ce9
Merge pull request #10113 from wzw-intel:fusion
2017-11-20 18:13:33 +00:00
Alexander Alekhin
b389c1cfe7
core(ocl): syntax fix
2017-11-20 19:19:35 +03:00
Alexander Alekhin
f19f2bbcde
dnn: autogenerated files
...
rename caffe.proto => opencv-caffe.proto
2017-11-20 19:04:02 +03:00
Alexander Alekhin
f6d927ef3b
dnn: avoid conflicts with original caffe.proto
...
rename caffe.proto => opencv-caffe.proto
2017-11-20 19:04:00 +03:00
Alexander Alekhin
75b980ac64
Merge pull request #10120 from dkurt:remove_caffe_header_from_layer
2017-11-20 15:59:56 +00:00
David Geldreich
f723cede2e
add loading TensorFlow/Caffe net from memory buffer
...
add a corresponding test
2017-11-20 16:28:22 +01:00
Dmitry Kurtaev
6c5dd5cf6d
Replace caffe::NormalizedBBox to local structure
2017-11-20 18:03:31 +03:00
elenagvo
3a09da71d8
add HAL for medianBlur
2017-11-20 17:09:22 +03:00
Tomoaki Teshima
3cbe60cca2
Merge pull request #9753 from tomoaki0705:universalMatmul
...
* add accuracy test and performance check for matmul
* add performance tests for transform and dotProduct
* add test Core_TransformLargeTest for 8u version of transform
* remove raw SSE2/NEON implementation from matmul.cpp
* use universal intrinsic instead of raw intrinsic
* remove unused templated function
* add v_matmuladd which multiply 3x3 matrix and add 3x1 vector
* add v_rotate_left/right in universal intrinsic
* suppress intrinsic on some function and platform
* add pure SW implementation of new universal intrinsics
* add test for new universal intrinsics
* core: prevent memory access after the end of buffer
* fix perf tests
2017-11-20 15:56:53 +03:00
gdkessler
2674c6b5e0
Merge pull request #10093 from gdkessler/gdal_image_read_fix_10089
...
Fix GDAL image decoding color problems identified by issue #10089 , by: (#10093 )
* Fix GDAL image decoding color problems identified by issue #10089 , by:
Fixing CV_8UC1 symbol, which should be CV_8UC3 for RGB GDAL color table images.
Fixing image.ptr<VecX>(row,col)[] to be (*image.ptr<VecX>(row,col))[] to correctly access VecX array elements, as ptr<VecX>() returns a pointer to the VecX, not the first element of VecX. This fixes the color problem with color table gif images, and avoids out-of-bounds memory access.
Respecting the color identification of raster bands provided by the GDAL image driver, and produce BGR or BGRA images. Note that color bands of images using the HSL, CMY, CMYK, or YCbCr color space are ignored, rather than converting them to BGR.
* When reading image files using the GDAL decoder, exit with an error if a color band is encountered that isn't used (eg. from CMYK or YCbCbr), rather than silently ignoring the band's data.
2017-11-20 15:07:24 +03:00
Wu Zhiwen
45d11dde57
dnn(ocl4dnn): add fusion support for Power activation and eltwise add
...
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-20 14:58:53 +08:00
Jonathan Viney
b1d208891b
Merge pull request #10011 from jviney:master
...
Fix build with FFmpeg master. Some deprecated APIs have been removed. (#10011 )
* Fix build with FFmpeg master.
* ffmpeg: update AVFMT_RAWPICTURE support removal
2017-11-18 21:08:41 +03:00
Alexander Alekhin
017a38a54e
Merge pull request #10108 from mshabunin:fix-eigen-stride
2017-11-17 20:09:08 +00:00
Alexander Alekhin
b45403ed75
Merge pull request #10102 from seiko2plus:coreVsxPacksFix
2017-11-17 19:01:38 +00:00
Maksim Shabunin
f50ec229de
Eigen: fix Mat construction stride
2017-11-17 18:27:09 +03:00
Alexander Alekhin
3e33820ee5
Merge pull request #10104 from wzw-intel:fusion_debug
2017-11-17 13:57:36 +00:00
elenagvo
20c08eab73
change border type for medianBlur to BORDER_ISOLATED
2017-11-17 15:13:04 +03:00
Maksim Shabunin
eb136ebba6
Do not reset step for single-row Mat created on user data
2017-11-17 13:15:15 +03:00
elenagvo
1a9d8e9447
test for GaussianBlur with border
2017-11-17 13:15:15 +03:00
Alexander Alekhin
0eb1bfa874
Merge pull request #10099 from alalek:fix_js_tests
2017-11-17 09:16:34 +00:00
Wu Zhiwen
394101d6ed
dnn(ocl4dnn): Fix relu fusion bug
...
Incorrect type of negative_slope result in this bug.
Also and OCL test for darknet to validate this patch.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-17 16:21:56 +08:00
Sayed Adel
56bda8917d
core:vsx Fix vec_packs in gcc-5
2017-11-16 21:54:56 +00:00
Maksim Shabunin
e730048f69
Merge pull request #10078 from justdoitqd:master
2017-11-16 15:20:44 +00:00
Maksim Shabunin
751cee8e67
Merge pull request #9907 from seiko2plus:vsxFixesImproves
2017-11-16 15:20:16 +00:00
Jcrist99
0608227e10
Merge pull request #9698 from abratchik:parse.doxygen
...
Support @deprecated tag in java wrappers (#9698 )
2017-11-16 16:48:12 +03:00
Alexander Alekhin
2210ed4fdd
js: fix tests (qunit -> node-qunit)
2017-11-16 15:00:33 +03:00
Alexander Alekhin
65061948af
Merge pull request #10091 from alalek:build_python_reduce_global_symbols
2017-11-16 10:17:39 +00:00
Wu Zhiwen
88e6daa315
dnn(ocl4dnn): Fix wrong measurement for tuning time
...
convolution kernel use default queue to run, so that ocl::Timer
, to measure the kernel run time, should use the default queue too.
Also remove useless parameter for convolve()
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-11-16 13:09:57 +08:00
Alexander Alekhin
baff521b63
imgproc(Canny): eliminate unnecessary operations
...
drop manual loop unrolling:
- don't block compiler optimizations
- no effect on i5
2017-11-15 19:29:59 +00:00
Alexander Alekhin
3a0039d204
core(intrinsics): v_load_low
2017-11-15 16:04:18 +03:00
Alexander Alekhin
aa70199ce1
build: avoid exporting of unnecessary symbols from Python bindings
2017-11-15 13:21:35 +03:00
Alexander Alekhin
42f449880c
Merge pull request #10068 from paroj:fs_doc
2017-11-13 09:18:42 +00:00
Simon Guo
2610a47c89
core:ppc Fix 2 interleave logic errors in vsx_utils.hpp
...
When elements are 64 bits, the vec_st_interleave()/vec_ld_deinterleave()
doesn't interleave 4 elements correctly.
For vec_st_interleave(), following is saved into mem:
a0 b0 a1 b1 c0 d0 c1 d1
-> we expected:
a0 b0 c0 d0 a1 b1 c1 d1
for vec_ld_deinterleave(), following is loaded into a b c d for memory
string { 1 2 3 4 5 6 7 8 }:
a: 1 3
b: 2 4
c: 5 7
d: 6 8
-> we expected:
a: 1 5
b: 2 6
c: 3 7
d: 4 8
This patch corrects this behavior.
Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
2017-11-13 12:47:10 +08:00
Li Peng
55260a8d3c
reshape mat before doing computation in fc layer
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-13 09:29:50 +08:00
Suleyman TURKMEN
992a81dcaa
Update lsd.cpp
2017-11-11 22:26:44 +03:00
Florian Echtler
2e772510ea
Merge pull request #10050 from floe/android-studio-3.3.1
...
Add Android Mat constructor with support for native buffer (#10050 )
2017-11-10 19:35:32 +00:00
Alexander Alekhin
c6fb99357c
Merge pull request #10057 from LaurentBerger:ParaCalcError
2017-11-10 19:04:36 +00:00
Pavel Rojtberg
7190028b23
FileStorage: use copydoc to add base64 info to constructor
2017-11-10 13:06:36 +01:00
Alexander Alekhin
bafdc44d37
Merge pull request #10061 from Sahloul:dnn_torch_fix
2017-11-10 05:05:52 +00:00
Alexander Alekhin
1af16afb89
Merge pull request #10062 from alalek:gtest_show_params
2017-11-10 05:04:55 +00:00
LaurentBerger
b9cf65e905
Parallel version of calcError in statmodel
2017-11-09 21:29:06 +01:00
Alexander Alekhin
8a3a75cc16
Merge pull request #9882 from pengli:ocl4dnn
2017-11-09 18:54:43 +00:00
Alexander Alekhin
fbe18e80f6
ts: dump test parameters value
2017-11-09 19:11:49 +03:00
Hamdi Sahloul
06bda58a2c
DNN Torch - workaround when torch importer is disabled
2017-11-10 00:44:06 +09:00
Alexander Alekhin
e89ae986fa
Merge pull request #10053 from terfendail:intersectconvex_fix
2017-11-09 11:05:56 +00:00
Li Peng
8f99083726
Add new layer forward interface
...
Add layer forward interface with InputArrayOfArrays and
OutputArrayOfArrays parameters, it allows UMat buffer to be
processed and transferred in the layers.
Signed-off-by: Li Peng <peng.li@intel.com>
2017-11-09 15:59:39 +08:00
Vitaly Tuzov
0205238dca
Fix for intersectConvexConvex nested contours check
2017-11-08 20:27:07 +03:00
Fakabbir Amin
a0c658b012
Merge pull request #9979 from fakabbir:ImproveDoc
...
* Improve Documentation
Fixes Spelling Mistakes.
2017-11-08 16:55:48 +00:00
Suleyman TURKMEN
e51a8e047c
update grfmt_gdal.cpp
2017-11-08 17:47:43 +03:00
Alexander Alekhin
48ed769b18
Merge pull request #10036 from alalek:fix_ocl4dnn_invalid_kernel
2017-11-07 19:17:21 +00:00
Alexander Alekhin
bffe254a81
Merge pull request #10003 from sturkmen72:documentation_updates
2017-11-07 16:52:15 +00:00
Suleyman TURKMEN
63fb79b519
updates documentation and samples
2017-11-07 19:21:21 +03:00
Alexander Alekhin
97181a90ba
dnn(ocl4dnn/conv): bailout on missing kernel configuration
2017-11-07 17:02:17 +03:00
Alexander Alekhin
981009ac1f
Merge pull request #9999 from mshabunin:fix-gcc72-warnings
2017-11-07 13:37:25 +00:00
Alexander Alekhin
96aebbe7f9
Merge pull request #9970 from mshabunin:media-sdk-convert
2017-11-07 13:37:07 +00:00
Alexander Alekhin
888d0cda40
Merge pull request #10001 from alalek:cmake_exclude_java_from_cpp_modules
2017-11-07 13:35:00 +00:00
Iago Suárez
42d942e19c
Clearing data into the detect method of the class cv::LineSegmentDetectorImpl
2017-11-04 17:12:20 +01:00
Cartucho
7267e94be7
Merge pull request #9736 from Cartucho/const_and_class_to_json
...
* Adding constants to json file
* adding sub-module to constants name
* adding namespace to functions
* adding namespace to classes
* remove namespace from methods
* static methods
* python signatures generation
* python: more fixes for signatures generation
Python names existence can be checked via command:
python -c "import cv2 as cv; print(repr(<py_name>))"
2017-11-04 06:38:18 +03:00
Maksim Shabunin
184daa155f
Fixed minor issues reported by GCC 7.2
2017-11-03 18:06:39 +03:00
Alexander Alekhin
9c4f0a984f
ocl: drop CV_OclDbgAssert
2017-11-03 13:31:37 +03:00
Alexander Alekhin
8fb48c09f7
ocl: improve debug information
2017-11-03 13:31:37 +03:00
Alexander Alekhin
6e4f9433d0
Merge pull request #9998 from alalek:ocl_fix_dnn_softmax_9991
2017-11-03 09:16:39 +00:00
Alexander Alekhin
c624967049
Merge pull request #10007 from alalek:videoio_gst_mjpeg_fix
2017-11-02 18:27:00 +00:00
Dmitry Kurtaev
20a2dc6ac5
Fix multiple inputs models from Caffe.
...
Fixed Concat optimization.
2017-11-02 18:55:08 +03:00
Alexander Alekhin
b1b2528e50
videoio: improve condition for MJPEG gstreamer sink
2017-11-02 18:27:30 +03:00
Alexander Alekhin
bacc96f4e8
dnn(ocl): fix softmax global/local size consistency
2017-11-02 17:08:40 +03:00
Alexander Alekhin
cc3f9323bb
cmake: exclude opencv_java (JNI) from OpenCV C++ modules list
...
for non-ANDROID platforms
2017-11-02 17:06:12 +03:00
Alexander Alekhin
f9ac1665b6
Merge pull request #9983 from dkurt:fix_halide_copy_to_device
2017-11-02 12:01:39 +00:00
Alexander Alekhin
942672ad91
Merge pull request #9995 from alalek:ocl_fix_moments_9990
2017-11-02 11:45:09 +00:00
Alexander Alekhin
47ae5197a9
test: extract OpenCL Moments tests, drop 'coi' parameter
2017-11-02 13:37:58 +03:00
Alexander Alekhin
c9c759f700
ocl: fix moments global_size (should be >= local_size)
2017-11-02 13:37:57 +03:00
Alexander Alekhin
7db612a545
core(ocl): fix parameters for 'intelblas_gemm_buffer_NT' kernel
2017-11-02 12:50:32 +03:00
Vitaly Tuzov
b9b553b8bc
Add more details to drawContour description
2017-11-01 16:01:12 +03:00
Maksim Shabunin
0c79f4a00f
MediaSDK: fixed Linux build, improved BGR<->NV12 conversions
2017-11-01 14:14:45 +03:00
Vadim Pisarevsky
cc626a3b5a
Merge pull request #9627 from dtmoodie:pyrlk_bugfix
2017-11-01 11:03:09 +00:00
Dmitry Kurtaev
14af2a0c0c
Fixed Halide's copy_to_device invocation
2017-11-01 14:01:54 +03:00
Vadim Pisarevsky
bc348eb8ab
Merge pull request #9963 from dkurt:fix_caffe_shrinker
2017-10-31 12:27:19 +00:00
Alexander Alekhin
6e4dacc0b3
Merge pull request #9971 from csukuangfj:fix-doc
2017-10-31 10:03:54 +00:00
Dmitry Kurtaev
e1ebc4e991
Specify layer types for Caffe FP32->FP16 weights converter
2017-10-31 12:31:40 +03:00
KUANG Fangjun
67acfc6e25
improve doc.
2017-10-31 10:30:01 +01:00
Vadim Pisarevsky
87984f2c6a
Merge pull request #9854 from opalmirror:test_stereo_min_disparity_master
2017-10-31 09:28:54 +00:00
Vadim Pisarevsky
15df161b22
Merge pull request #9959 from dkurt:reset_detection_outputs
2017-10-31 09:26:42 +00:00
Alexander Alekhin
bc9c9abab0
Merge pull request #9877 from mapreri:non-linux
2017-10-30 15:41:36 +00:00
Alexander Alekhin
7809c4156f
core(ocl): workaround CL_OUT_OF_RESOURCES error
...
Flush deallocation queue before calling map/unmap
2017-10-30 17:54:56 +03:00
Fakabbir Amin
cd428fb798
Error in the documentation for cv::getRectSubPix. #9788 ( #9871 )
...
* Error in the documentation for cv::getRectSubPix. #9788
The function name is corrected to GetRectSubPix since, it uses the notation
of src, dst and center. Also added the number of channel assertion criteria.
* Error in the documentation for cv::getRectSubPix. #9788
Replace dst with patch in the formula, reverted function name to
getRectSubPix, removed BorderTypes comment line due to no explicit call
to the function found.
* Error in the documentation for cv::getRectSubPix. #9788
Replace dst with patch in the formula, reverted function name to
getRectSubPix, removed BorderTypes comment line due to no explicit call
to the function found.
2017-10-30 13:04:20 +03:00
Dmitry Kurtaev
03cefa7bfe
Set zero confidences in case of no detections
2017-10-30 10:17:57 +03:00
Sayed Adel
def444d99f
core: Several improvements to Power/VSX
...
- changed behavior of vec_ctf, vec_ctu, vec_cts
in gcc and clang to make them compatible with XLC
- implemented most of missing conversion intrinsics in gcc and clang
- implemented conversions intrinsics of odd-numbered elements
- ignored gcc bug warning that caused by -Wunused-but-set-variable in rare cases
- replaced right shift with algebraic right shift for signed vectors
to shift in the sign bit.
- added new universal intrinsics v_matmuladd, v_rotate_left/right
- avoid using floating multiply-add in RNG
2017-10-28 17:46:12 +00:00
Alexander Alekhin
7b0d2d189f
Merge pull request #9951 from alalek:fix_bilateral_f32_simd
2017-10-27 16:43:20 +00:00
Vadim Pisarevsky
e0e40405ed
Merge pull request #9847 from wzw-intel:ocl4dnn_fusion
2017-10-27 13:59:46 +00:00
Vadim Pisarevsky
ff037ebe5f
Merge pull request #9845 from dkurt:fast_neural_style_models
2017-10-27 13:59:02 +00:00
Alexander Alekhin
91c0b13743
Merge pull request #9922 from alalek:ts_markdown_table
...
ts(misc): support tables exporting in markdown format
2017-10-27 17:01:18 +03:00
Vadim Pisarevsky
ede39b85f6
Merge pull request #9947 from sovrasov:floodfill_docs
2017-10-27 13:06:11 +00:00
Vadim Pisarevsky
ff190b1ef4
Merge pull request #9802 from Nickolays:Fix#9797
2017-10-27 13:00:34 +00:00
Vadim Pisarevsky
1a495a5817
Merge pull request #9875 from terfendail:fast_avx
2017-10-27 12:53:59 +00:00
Vadim Pisarevsky
8b1b126e3e
Merge pull request #9892 from terfendail:v4l_custom
2017-10-27 11:57:18 +00:00
Vadim Pisarevsky
5384d2f090
Merge pull request #9880 from dkurt:caffe_ceil_mode
2017-10-27 11:51:46 +00:00
Dmitry Kurtaev
4b52b8df34
Layers for fast-neural-style models: https://github.com/jcjohnson/fast-neural-style
2017-10-27 14:26:45 +03:00
Vadim Pisarevsky
9e6ef99422
Merge pull request #9850 from klchang:master
2017-10-27 11:22:28 +00:00
Vadim Pisarevsky
58a83e99c0
Merge pull request #9839 from terfendail:features/python_wrapper/surface_matching_cleanup
2017-10-27 11:22:10 +00:00
Alexander Alekhin
cc9ab7e582
imgproc: fix bilateral filter SIMD 32f optimization
2017-10-27 14:20:13 +03:00
Vadim Pisarevsky
bc93775385
Merge pull request #9862 from sovrasov:dnn_nms
2017-10-27 11:19:57 +00:00
Vadim Pisarevsky
b4367c92f3
Merge pull request #9889 from IgWod:add-const-getviewerpose
2017-10-27 11:16:19 +00:00
Vadim Pisarevsky
825c0ffdb4
Merge pull request #9874 from dkurt:fix_identity_permute_layer
2017-10-27 11:11:48 +00:00
Vadim Pisarevsky
69f2590359
Merge pull request #9921 from dkurt:fix_prelu_after_fully_connected
2017-10-27 11:10:59 +00:00
Vadim Pisarevsky
7060ee4d00
Merge pull request #9923 from savuor:fitellipse_enable_tests
2017-10-27 11:09:41 +00:00
Vladislav Sovrasov
a385fff3bf
imgproc: clarify usage of the mask in floodfill
2017-10-27 14:06:24 +03:00
Vadim Pisarevsky
7b8fb64f21
Merge pull request #9939 from alalek:fix_dnn_getUMat_crash
2017-10-27 11:06:22 +00:00
Vadim Pisarevsky
0c291c7768
Merge pull request #9940 from catree:fix_issue_9925
2017-10-27 11:05:07 +00:00
Vladislav Sovrasov
5bf39ceb5d
dnn: handle 4-channel images in blobFromImage ( #9944 )
2017-10-27 14:06:53 +03:00
Alexander Alekhin
9cdeb6dfbf
ocl: increase SURF stitching test tolerance
...
OpenCL SURF implementation is unstable
2017-10-26 13:03:44 +03:00
catree
f9aa411c92
Fix double definitions, correct comment.
2017-10-25 18:11:31 +02:00
Alexander Alekhin
436a1f72a5
dnn: fix sporadic crashes in getUMat()
...
Incorrect "total" buffer size calculated in StdMatAllocator::allocate() due wrong step values.
2017-10-25 18:07:05 +03:00
Vladislav Sovrasov
7e3e9144de
dnn: add an accuracy test for NMS
2017-10-25 13:40:56 +03:00
Vladislav Sovrasov
c704942b8a
dnn: add a documentation for NMS, fix missing experimantal namespace
2017-10-25 13:35:49 +03:00
Vladislav Sovrasov
acedb4a579
dnn: make NMS function public
2017-10-25 13:35:49 +03:00
Vitaly Tuzov
2eb61a4a99
AVX2 optimized implementation of FAST corner tracking migrated to separate file
2017-10-24 20:00:48 +03:00
Vitaly Tuzov
868ad16041
Python wrappers for Vec and Matx
2017-10-23 18:50:49 +03:00
Alexander Alekhin
21c8e6d02d
Merge tag '3.3.1'
2017-10-23 18:42:41 +03:00
Alexander Alekhin
a871f9e4f7
Merge branch 'update_version' into release
2017-10-23 18:41:12 +03:00
Rostislav Vasilikhin
fb5cd42c6b
enabled tests for fitEllipse since the issue is fixed
2017-10-23 16:28:49 +03:00
Dmitry Kurtaev
a36ebaecdc
PReLU layer for multidimensional input
2017-10-23 16:13:03 +03:00
Maksim Shabunin
bf418ba342
Merge pull request #9917 from alalek:ocl_cache_program_failures
2017-10-23 12:25:25 +00:00
Maksim Shabunin
be9767e014
Merge pull request #9919 from alalek:ocl_fix_macosx_invalid_options
2017-10-23 12:24:42 +00:00
Alexander Alekhin
9e9881aacc
ts(misc): support tables exporting in markdown format
...
basic support only (no symbol escapes/sanitizing)
2017-10-23 14:57:45 +03:00
Alexander Alekhin
734ea77c9a
ocl(macosx): fix CL_INVALID_BUILD_OPTIONS for gemm programs
...
MacOSX OpenCL compiler is very strict to whitespace issues
2017-10-23 13:56:11 +03:00
Alexander Alekhin
d96cac1341
ocl: cache program build failures
...
To prevent unnecessary compiler invocations
2017-10-23 13:46:56 +03:00
Suleyman TURKMEN
d1c5e79ec3
Update grfmt_gdal.cpp
2017-10-22 19:01:34 +03:00
blendin
08a5fe3661
Fix out of bounds write
2017-10-21 12:12:53 -07:00
Dmitry Kurtaev
410d44d67d
Binary data for batch normalization test from Torch
2017-10-20 12:01:42 +03:00
Igor Wodiany
d7cbe6e947
Add const to getViewerPose()
...
getViewerPose() doesn't modify an object of the class so it can be
made const. It also makes this method consistent with other getters
in the class as they are defined as const.
2017-10-19 22:05:49 +01:00
Vitaly Tuzov
ad051cdd99
Fixed CAP_PROP_FORMAT evaluation in case CvCaptureCAM_V4L returns CV_16U image
2017-10-19 20:51:00 +03:00
Maksim Shabunin
c97c1a2454
Merge pull request #9879 from alalek:fix_build
2017-10-18 14:49:44 +00:00
Alexander Alekhin
185faf99bd
ocl: simplify ocl::Timer interface
2017-10-18 16:01:21 +03:00
Dmitry Kurtaev
b903ff8992
Ceil mode from experimental version of Caffe, https://github.com/BVLC/caffe/pull/3057
2017-10-18 14:04:53 +03:00
Alexander Alekhin
3fd03964a3
fix code style
2017-10-18 13:08:01 +03:00
Vitaly Tuzov
8d5a5d5ceb
AVX2 optimizations for FAST corner tracking provided by Victoria Zhislina
2017-10-17 18:53:15 +03:00
Dmitry Kurtaev
a3a446c197
Output blobs shapes initialization in case of identity permutation (NCHW->NCHW)
2017-10-17 17:15:25 +03:00
Mattia Rizzolo
d026d7dcfb
Fix build for non-linux architectures but still glibc-based
...
Exampls of these are gnu/kfreebsd and gnu/hurd, both available as
unofficial Debian ports.
They don't define __linux__ (as they are non-linux…) but still define
__GLIBC__, so check on that.
Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
2017-10-17 00:45:27 +02:00
Alexander Alekhin
110af09bf9
Merge pull request #9853 from catree:fix_dnn_samples_python3
2017-10-16 16:18:22 +00:00
Alexander Alekhin
73af899b7c
Merge pull request #9860 from mshabunin:fix-static-9
2017-10-16 14:39:08 +00:00
Wu Zhiwen
2d8f2c2aea
dnn(ocl4dnn): add fusion support
...
ocl4dnn supports following fusion styles:
Conv + [BN] + [Scale] + [ReLU/PReLU]
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-10-16 19:18:36 +08:00
Maksim Shabunin
b066dd36ff
Fixed uninitialized class fields
2017-10-16 13:47:43 +03:00
Vadim Pisarevsky
1563300197
Merge pull request #9833 from tomoaki0705:universalMathFuncs
2017-10-16 10:46:56 +00:00
Vadim Pisarevsky
2914443685
Merge pull request #9848 from jet47:features2d-optional-flann-dep
2017-10-16 10:45:16 +00:00
Vadim Pisarevsky
2808bea7fa
Merge pull request #9857 from americast:mat_fix
2017-10-16 10:43:37 +00:00
Gregory Morse
d30a0c6f03
Merge pull request #9856 from GregoryMorse:patch-1
...
* Update OpenCVCompilerOptimizations.cmake
Neon not supported on MSVC ARM breaking build fix
* Update OpenCVCompilerOptimizations.cmake
Whitespace
* Update intrin.hpp
Many problems in MSVC ARM builds (at least on VS2017) being fixed in this PR now.
C:\Users\Gregory\DOCUME~1\MYLIBR~1\OPENCV~3\opencv\sources\modules\core\include\opencv2/core/hal/intrin.hpp(444): error C3861: '_tzcnt_u32': identifier not found
* Update hal_replacement.hpp
Passing variadic expansion in a macro to another macro does not work properly in MSVC and a famous known workaround is hereby applied. Discussion of it: https://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly
Only needed the fix for ARM builds: TEGRA_ macros are used for cv_hal_ functions in the carotene library.
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): warning C4003: not enough actual parameters for macro 'TEGRA_ADD'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2143: syntax error: missing ')' before ','
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\core\src\arithm.cpp(2378): error C2059: syntax error: ')'
* Update hal_replacement.hpp
All hal_replacement's using carotene\hal\tegra_hal.hpp TEGRA_ functions as macros preprocessed by variadic macros should be changed, identical as was done in core.
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): warning C4003: not enough actual parameters for macro 'TEGRA_CVTBGRTOBGR'
C:\Users\Gregory\Documents\My Libraries\opencv330\opencv\sources\modules\imgproc\src\color.cpp(9604): error C2059: syntax error: '=='
* Update OpenCVCompilerOptimizations.cmake
* Update hal_replacement.hpp
* Update hal_replacement.hpp
2017-10-16 12:12:35 +03:00
catree
22dece8146
Fix DNN samples for compatibility with Python 3.
...
Add PyInt_Check in pyopencv_dnn.hpp.
2017-10-15 20:24:56 +02:00
dtmoodie
4566105578
fixed non c++11 warnings.
2017-10-15 12:12:00 -04:00
Igor Wodiany
e2499e5b2f
Move vector_size_t and vector_vector_Mat
...
These two typdefs are not compiled when BUILD_opencv_dnn is set to
false, however there are other modules that uses these typedef so
it may cause build errors. Moving typedef to the python module
ensures they are always defined.
2017-10-14 19:06:15 +01:00
Sayan Sinha
60bcb16ca8
Fix typo in mat.hpp
2017-10-14 21:46:11 +05:30
Tomoaki Teshima
2a781bb616
remove raw SSE2/NEON implementation from mathfuncs.cpp
...
* replace the implementation by universal intrinsic
* make sure no degradation happens on ARM platform
2017-10-15 00:24:31 +09:00
James Perkins
4eb9f175a4
test_stereomatching.cpp: validate min disparity affect on valid ROI
2017-10-13 13:36:33 -07:00
Nickola
b2b56b6896
Fix Issue #9797 minEnclosingCircle from three points
...
and add test for only 3 pts
2017-10-13 19:26:54 +03:00
klchang
d4ef5bc16a
fix the possible bug for key mapping in Linux GTK library
2017-10-13 20:05:55 +08:00
Vladislav Vinogradov
26fe8bd4f2
made flann dependency for features2d optional
...
it will allow to build features2d even if flann module is not available
2017-10-13 14:59:39 +03:00
Alexander Alekhin
4857cae6ed
dnn: don't use "experimental_dnn_v1" namespace directly
2017-10-12 18:16:53 +03:00
Maksim Shabunin
1ba29cc95d
Merge pull request #9834 from mshabunin:mediasdk-win-support
2017-10-12 12:08:54 +00:00
Alexander Alekhin
df5b2224d7
Merge pull request #9829 from pengli:ocl4dnn
2017-10-12 11:26:20 +00:00
Alexander Alekhin
b0c6bd0a5b
build: resolve naming issue
2017-10-12 13:28:30 +03:00
Alexander Alekhin
4ae30ecdd9
Merge pull request #9838 from alalek:fix_ocl_world_build
2017-10-12 09:40:32 +00:00
Li Peng
937b8e4277
dnn(ocl4dnn): support log softmax in ocl4dnn
...
Signed-off-by: Li Peng <peng.li@intel.com>
2017-10-12 09:51:13 +08:00
Vadim Pisarevsky
e356ca2369
Merge pull request #9835 from sovrasov:blob_from_img_crop_opt
2017-10-11 17:18:40 +00:00
Vadim Pisarevsky
e955bcb872
Merge pull request #9824 from sturkmen72:upd_minEnclosingTriangle
2017-10-11 17:11:15 +00:00
Alexander Alekhin
88225eb65e
ocl: fix world compilation on Windows
2017-10-11 19:04:42 +03:00
Alexander Alekhin
024be9b8c9
Merge pull request #9818 from tz70s:issue#9570
2017-10-11 15:19:17 +00:00
Suleyman TURKMEN
29c186a022
Update min_enclosing_triangle.cpp
2017-10-11 17:48:19 +03:00
Suleyman TURKMEN
baf9e32af3
Update imgproc.hpp
2017-10-11 17:37:38 +03:00
Vadim Pisarevsky
8b168175ec
Merge pull request #9636 from dkurt:duplicate_lp_norm_layer
2017-10-11 13:36:14 +00:00
Maksim Shabunin
83655ba9be
MediaSDK video backend: Windows support
2017-10-11 16:33:37 +03:00
Vadim Pisarevsky
0873ebb9b0
Merge pull request #9820 from sovrasov:text_detector_dnn
2017-10-11 13:31:46 +00:00
Vadim Pisarevsky
5e82c98a9f
Merge pull request #9828 from berak:fix_c++17_9572
2017-10-11 13:31:18 +00:00
Vadim Pisarevsky
babd21c764
Merge pull request #9823 from alalek:dnn_halide_bypass_tbb_threads
2017-10-11 13:28:38 +00:00