Pavel Rojtberg [Thu, 27 Jul 2017 12:34:32 +0000 (14:34 +0200)]
Python: wrap Algorithm::read and Algorithm::write
Alexander Alekhin [Thu, 23 Nov 2017 18:47:14 +0000 (18:47 +0000)]
Merge pull request #10143 from pengli:ocl4dnn
Maksim Shabunin [Thu, 23 Nov 2017 18:34:59 +0000 (18:34 +0000)]
Merge pull request #10148 from alalek:fix_ffmpeg_sws_scale_crash
Arthur Pastel [Thu, 23 Nov 2017 18:27:11 +0000 (19:27 +0100)]
Merge pull request #9895 from art049:parrallel_calibration_py
* Adding threading in calibrate.py
* samples: update calibrate.py
Alexander Alekhin [Thu, 23 Nov 2017 18:22:37 +0000 (18:22 +0000)]
Merge pull request #9996 from dkurt:dnn_multiple_inputs
Li Peng [Thu, 16 Nov 2017 03:20:08 +0000 (11:20 +0800)]
use OutputArrayOfArrays in net forward interface
It allows umat buffers used in net forward interface
Signed-off-by: Li Peng <peng.li@intel.com>
Wu, Zhiwen [Tue, 31 Oct 2017 01:21:08 +0000 (09:21 +0800)]
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>
Alexander Alekhin [Thu, 23 Nov 2017 14:48:01 +0000 (17:48 +0300)]
videoio(ffmpeg): more workarounds for sws_scale() crash
Prevents access data after the end of input buffer near 4K page boundaries
Alexander Alekhin [Thu, 23 Nov 2017 15:09:35 +0000 (15:09 +0000)]
Merge pull request #9893 from mshabunin:add-modules-whitelist
Alexander Alekhin [Thu, 23 Nov 2017 14:10:42 +0000 (14:10 +0000)]
Merge pull request #10139 from alalek:dnn_rename_caffe_proto_package
Alexander Alekhin [Thu, 23 Nov 2017 13:37:32 +0000 (13:37 +0000)]
Merge pull request #10018 from alalek:ocl_binary_cache
Maksim Shabunin [Thu, 19 Oct 2017 14:37:36 +0000 (17:37 +0300)]
Added BUILD_LIST feature
Vadim Pisarevsky [Thu, 23 Nov 2017 12:51:55 +0000 (12:51 +0000)]
Merge pull request #10142 from alalek:pytests_update
Vadim Pisarevsky [Thu, 23 Nov 2017 12:50:25 +0000 (12:50 +0000)]
Merge pull request #10144 from mshabunin:fix-videocapture-open-order
Maksim Shabunin [Thu, 23 Nov 2017 10:31:07 +0000 (13:31 +0300)]
videoio: fixed capture open order, added apiPrefernce to FFMPEG tests
Alexander Alekhin [Thu, 23 Nov 2017 10:08:26 +0000 (13:08 +0300)]
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 ...
Alexander Alekhin [Mon, 28 Aug 2017 14:26:49 +0000 (17:26 +0300)]
python(test): add tests filter
Usage example (bash):
$ OPENCV_PYTEST_FILTER=test_digits python test.py -v
Alexander Alekhin [Wed, 22 Nov 2017 18:39:47 +0000 (18:39 +0000)]
Merge pull request #10136 from alalek:issue_10134
Alexander Alekhin [Wed, 22 Nov 2017 18:15:00 +0000 (18:15 +0000)]
Merge pull request #9994 from r2d3:dnn_memory_load
Alexander Alekhin [Wed, 22 Nov 2017 18:03:51 +0000 (18:03 +0000)]
Merge pull request #10126 from alalek:dnn_issue_10125
Alexander Alekhin [Wed, 22 Nov 2017 15:31:55 +0000 (18:31 +0300)]
dnn: autogenerated files
Alexander Alekhin [Wed, 22 Nov 2017 15:31:36 +0000 (18:31 +0300)]
dnn: rename caffe protobuf package
Alexander Alekhin [Wed, 22 Nov 2017 12:52:40 +0000 (15:52 +0300)]
core: fix compilation of intrinsic code
Alexander Alekhin [Wed, 22 Nov 2017 11:00:58 +0000 (14:00 +0300)]
dnn: sync output/internals blobs back
Alexander Alekhin [Thu, 12 Oct 2017 11:23:45 +0000 (14:23 +0300)]
ocl: binary program cache
Vadim Pisarevsky [Wed, 22 Nov 2017 08:16:20 +0000 (08:16 +0000)]
Merge pull request #10092 from alalek:dnn_rename_caffe_proto
Vadim Pisarevsky [Wed, 22 Nov 2017 08:13:35 +0000 (08:13 +0000)]
Merge pull request #9931 from mshabunin:bss-cleanup
Maksim Shabunin [Tue, 21 Nov 2017 15:07:30 +0000 (18:07 +0300)]
Fixed allocSingleton
Maksim Shabunin [Tue, 21 Nov 2017 14:54:57 +0000 (17:54 +0300)]
align singleton malloc
Maksim Shabunin [Tue, 21 Nov 2017 14:54:43 +0000 (17:54 +0300)]
Other buffers
Maksim Shabunin [Tue, 21 Nov 2017 14:34:10 +0000 (17:34 +0300)]
init ABtoXZ
Maksim Shabunin [Tue, 21 Nov 2017 14:28:45 +0000 (17:28 +0300)]
LUV tables
Maksim Shabunin [Tue, 21 Nov 2017 13:49:58 +0000 (16:49 +0300)]
static init
Maksim Shabunin [Mon, 23 Oct 2017 10:48:14 +0000 (13:48 +0300)]
cvtColor: fixed tables init, moved some tables to heap
Alexander Alekhin [Tue, 21 Nov 2017 14:28:42 +0000 (17:28 +0300)]
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.
Vadim Pisarevsky [Tue, 21 Nov 2017 12:40:19 +0000 (12:40 +0000)]
Merge pull request #10121 from alalek:ocl_syntax_fix
Rostislav Vasilikhin [Tue, 21 Nov 2017 11:18:47 +0000 (14:18 +0300)]
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
Alexander Alekhin [Mon, 20 Nov 2017 18:13:33 +0000 (18:13 +0000)]
Merge pull request #10113 from wzw-intel:fusion
Alexander Alekhin [Mon, 20 Nov 2017 16:19:35 +0000 (19:19 +0300)]
core(ocl): syntax fix
Alexander Alekhin [Wed, 15 Nov 2017 11:07:41 +0000 (14:07 +0300)]
dnn: autogenerated files
rename caffe.proto => opencv-caffe.proto
Alexander Alekhin [Wed, 15 Nov 2017 11:07:41 +0000 (14:07 +0300)]
dnn: avoid conflicts with original caffe.proto
rename caffe.proto => opencv-caffe.proto
Alexander Alekhin [Mon, 20 Nov 2017 15:59:56 +0000 (15:59 +0000)]
Merge pull request #10120 from dkurt:remove_caffe_header_from_layer
David Geldreich [Fri, 27 Oct 2017 16:01:41 +0000 (18:01 +0200)]
add loading TensorFlow/Caffe net from memory buffer
add a corresponding test
Dmitry Kurtaev [Mon, 20 Nov 2017 15:01:40 +0000 (18:01 +0300)]
Replace caffe::NormalizedBBox to local structure
Tomoaki Teshima [Mon, 20 Nov 2017 12:56:53 +0000 (21:56 +0900)]
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
gdkessler [Mon, 20 Nov 2017 12:07:24 +0000 (07:07 -0500)]
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.
Wu Zhiwen [Mon, 20 Nov 2017 03:29:18 +0000 (11:29 +0800)]
dnn(ocl4dnn): add fusion support for Power activation and eltwise add
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
Alexander Alekhin [Sat, 18 Nov 2017 18:07:14 +0000 (18:07 +0000)]
Merge pull request #10087 from mshabunin:small-cmake-fixes
Jonathan Viney [Sat, 18 Nov 2017 18:08:41 +0000 (07:08 +1300)]
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
Alexander Alekhin [Fri, 17 Nov 2017 20:09:08 +0000 (20:09 +0000)]
Merge pull request #10108 from mshabunin:fix-eigen-stride
Alexander Alekhin [Fri, 17 Nov 2017 19:01:38 +0000 (19:01 +0000)]
Merge pull request #10102 from seiko2plus:coreVsxPacksFix
Maksim Shabunin [Fri, 17 Nov 2017 15:27:09 +0000 (18:27 +0300)]
Eigen: fix Mat construction stride
Alexander Alekhin [Fri, 17 Nov 2017 13:57:36 +0000 (13:57 +0000)]
Merge pull request #10104 from wzw-intel:fusion_debug
Maksim Shabunin [Fri, 17 Nov 2017 13:37:28 +0000 (13:37 +0000)]
Merge pull request #9997 from ElenaGvozdeva:GaussianBlur_bug
Maksim Shabunin [Fri, 3 Nov 2017 14:57:08 +0000 (17:57 +0300)]
Do not reset step for single-row Mat created on user data
elenagvo [Thu, 2 Nov 2017 14:05:17 +0000 (17:05 +0300)]
test for GaussianBlur with border
Alexander Alekhin [Fri, 17 Nov 2017 09:16:34 +0000 (09:16 +0000)]
Merge pull request #10099 from alalek:fix_js_tests
Maksim Shabunin [Tue, 14 Nov 2017 14:07:04 +0000 (17:07 +0300)]
cmake: simplified configuration output
Wu Zhiwen [Fri, 17 Nov 2017 08:21:56 +0000 (16:21 +0800)]
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>
Alexander Alekhin [Fri, 17 Nov 2017 05:41:18 +0000 (05:41 +0000)]
Merge pull request #10008 from Smorodov:master
Sayed Adel [Thu, 16 Nov 2017 21:54:56 +0000 (21:54 +0000)]
core:vsx Fix vec_packs in gcc-5
Alexander Alekhin [Thu, 16 Nov 2017 19:39:33 +0000 (19:39 +0000)]
Merge pull request #10094 from amroamroamro:mingw-pkgconfig-fix
Maksim Shabunin [Thu, 16 Nov 2017 15:20:44 +0000 (15:20 +0000)]
Merge pull request #10078 from justdoitqd:master
Maksim Shabunin [Thu, 16 Nov 2017 15:20:15 +0000 (15:20 +0000)]
Merge pull request #9907 from seiko2plus:vsxFixesImproves
Jcrist99 [Thu, 16 Nov 2017 13:48:12 +0000 (17:48 +0400)]
Merge pull request #9698 from abratchik:parse.doxygen
Support @deprecated tag in java wrappers (#9698)
Alexander Alekhin [Wed, 15 Nov 2017 20:46:38 +0000 (20:46 +0000)]
js: fix tests (qunit -> node-qunit)
Alexander Alekhin [Thu, 16 Nov 2017 10:17:39 +0000 (10:17 +0000)]
Merge pull request #10091 from alalek:build_python_reduce_global_symbols
Alexander Alekhin [Thu, 16 Nov 2017 09:34:42 +0000 (09:34 +0000)]
Merge pull request #10097 from wzw-intel:tuning_time
Wu Zhiwen [Thu, 16 Nov 2017 02:40:23 +0000 (10:40 +0800)]
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>
Amro [Wed, 15 Nov 2017 16:54:46 +0000 (18:54 +0200)]
fix pkg-config generation for mingw
Alexander Alekhin [Wed, 15 Nov 2017 16:08:56 +0000 (16:08 +0000)]
Merge pull request #10083 from alalek:core_intrinsics_load_low
Alexander Alekhin [Mon, 13 Nov 2017 11:14:08 +0000 (14:14 +0300)]
core(intrinsics): v_load_low
Alexander Alekhin [Tue, 14 Nov 2017 16:25:16 +0000 (19:25 +0300)]
build: avoid exporting of unnecessary symbols from Python bindings
Akhilesh Kumar [Tue, 14 Nov 2017 10:44:01 +0000 (16:14 +0530)]
Merge pull request #10056 from akhilesh-k:master
Added Python setup docs for Ubuntu Machines (#10056)
Alexander Alekhin [Mon, 13 Nov 2017 11:26:13 +0000 (11:26 +0000)]
Merge pull request #10073 from alalek:cmake_fix_overiding_compile_options
Alexander Alekhin [Mon, 13 Nov 2017 09:18:42 +0000 (09:18 +0000)]
Merge pull request #10068 from paroj:fs_doc
Simon Guo [Wed, 8 Nov 2017 09:37:29 +0000 (17:37 +0800)]
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>
Li Peng [Mon, 13 Nov 2017 01:06:41 +0000 (09:06 +0800)]
reshape mat before doing computation in fc layer
Signed-off-by: Li Peng <peng.li@intel.com>
Alexander Alekhin [Sun, 12 Nov 2017 08:12:27 +0000 (11:12 +0300)]
cmake: drop amending of compilation options
Allow to specify optimization level via CMake.
Alexander Alekhin [Sun, 12 Nov 2017 07:11:34 +0000 (07:11 +0000)]
Merge pull request #10072 from sturkmen72:upd_lsd_cpp
Suleyman TURKMEN [Sat, 11 Nov 2017 08:59:55 +0000 (11:59 +0300)]
Update lsd.cpp
Florian Echtler [Fri, 10 Nov 2017 19:35:32 +0000 (20:35 +0100)]
Merge pull request #10050 from floe/android-studio-3.3.1
Add Android Mat constructor with support for native buffer (#10050)
Alexander Alekhin [Fri, 10 Nov 2017 19:04:36 +0000 (19:04 +0000)]
Merge pull request #10057 from LaurentBerger:ParaCalcError
Pavel Rojtberg [Fri, 10 Nov 2017 12:06:36 +0000 (13:06 +0100)]
FileStorage: use copydoc to add base64 info to constructor
Alexander Alekhin [Fri, 10 Nov 2017 05:05:52 +0000 (05:05 +0000)]
Merge pull request #10061 from Sahloul:dnn_torch_fix
Alexander Alekhin [Fri, 10 Nov 2017 05:04:55 +0000 (05:04 +0000)]
Merge pull request #10062 from alalek:gtest_show_params
LaurentBerger [Thu, 9 Nov 2017 11:19:04 +0000 (12:19 +0100)]
Parallel version of calcError in statmodel
Alexander Alekhin [Thu, 9 Nov 2017 18:54:43 +0000 (18:54 +0000)]
Merge pull request #9882 from pengli:ocl4dnn
Alexander Alekhin [Thu, 9 Nov 2017 16:09:46 +0000 (19:09 +0300)]
ts: dump test parameters value
Hamdi Sahloul [Thu, 9 Nov 2017 15:44:06 +0000 (00:44 +0900)]
DNN Torch - workaround when torch importer is disabled
Alexander Alekhin [Thu, 9 Nov 2017 11:05:56 +0000 (11:05 +0000)]
Merge pull request #10053 from terfendail:intersectconvex_fix
Li Peng [Thu, 9 Nov 2017 04:57:37 +0000 (12:57 +0800)]
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>
Alexander Alekhin [Wed, 8 Nov 2017 19:01:05 +0000 (19:01 +0000)]
Merge pull request #10048 from alalek:fix_macos_pkg_config
Vitaly Tuzov [Wed, 8 Nov 2017 17:27:07 +0000 (20:27 +0300)]
Fix for intersectConvexConvex nested contours check
Fakabbir Amin [Wed, 8 Nov 2017 16:55:48 +0000 (22:25 +0530)]
Merge pull request #9979 from fakabbir:ImproveDoc
* Improve Documentation
Fixes Spelling Mistakes.
Alexander Alekhin [Wed, 8 Nov 2017 16:48:04 +0000 (16:48 +0000)]
Merge pull request #10051 from sturkmen72:upd_grfmt_gdal_cpp
Suleyman TURKMEN [Wed, 8 Nov 2017 14:47:43 +0000 (17:47 +0300)]
update grfmt_gdal.cpp
Alexander Alekhin [Wed, 8 Nov 2017 14:13:23 +0000 (14:13 +0000)]
Merge pull request #10047 from meganetaaan:master
Fix sample code in js_tutorials
Alexander Alekhin [Wed, 8 Nov 2017 13:06:48 +0000 (16:06 +0300)]
cmake: fix pkg-config generation for MacOSX
Shinya Ishikawa [Wed, 8 Nov 2017 12:57:00 +0000 (21:57 +0900)]
Fix sample code in js_tutorials