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
Vladislav Sovrasov
47e1133e71
dnn: add crop flag to blobFromImage
2017-10-11 15:46:20 +03:00
Vladislav Sovrasov
f7175f5050
dnn: fix additional text boxes handling after the latest adaptations for TF
2017-10-11 14:04:48 +03:00
Vladislav Sovrasov
050916fd6b
dnn: modify priorBox layer
2017-10-11 11:43:50 +03:00
berak
ada753a54c
fix c++17 namsespace issues
2017-10-11 09:50:22 +02:00
Geoff McIver
b2d8e8c508
This statement was keeping HAAR cascades from leveraging opencl on nvidia devices. "localSize" on the featureEvaluator remains Size(0, 0) which sets the bool "use_ocl" to false. Adding this allows NVidia GPUs to leverage opencl HAAR Cascades
2017-10-11 09:32:38 +13:00
Suleyman TURKMEN
b2673a19cf
Updates min_enclosing_triangle.cpp
2017-10-10 23:23:36 +03:00
Dmitry Kurtaev
905a9dada2
Removed LPNormalize layer.
2017-10-10 20:38:55 +03:00
Alexander Alekhin
3935e13603
dnn(halide): don't compile Halide via parallel_for_()
...
To avoid problem with reduced stack size of inner threads.
2017-10-10 18:06:03 +03:00
Vadim Pisarevsky
af8ed9d09f
Merge pull request #9816 from opalmirror:fix_stereobm_mindisp_truncation_1
2017-10-10 14:23:02 +00:00
Vadim Pisarevsky
3562a05d90
Merge pull request #8940 from 678098:nonblocking_haar_detector_parallel_for
2017-10-10 13:51:40 +00:00
tz70s
6c1247b38c
fix#9570: implement mat ptr for generic types
...
The original template based mat ptr for indexing is not implemented,
add the similar implementation as uchar type, but cast to
user-defined type from the uchar pointer.
2017-10-10 21:46:49 +08:00
Vadim Pisarevsky
b7ff9ddcdd
Merge pull request #9705 from AlexeyAB:dnn_darknet_yolo_v2
2017-10-10 12:02:03 +00:00
Vadim Pisarevsky
0739f28e56
Merge pull request #9786 from LaurentBerger:Histo3d
2017-10-10 10:58:34 +00:00
Vadim Pisarevsky
046045239c
Merge pull request #9750 from dkurt:feature_dnn_tf_text_graph
2017-10-10 10:06:24 +00:00
Vadim Pisarevsky
7d55c09a9f
Merge pull request #9763 from seiko2plus:addVsxCore
2017-10-10 10:00:31 +00:00
Vadim Pisarevsky
0be1f4a573
Merge pull request #9811 from dkurt:prelu_with_shared_channels
2017-10-10 09:57:51 +00:00
Alexander Alekhin
bd6fb497bc
OpenCV version++
...
OpenCV 3.3.1
2017-10-10 12:29:57 +03:00
Alexander Alekhin
949ec486c5
experimental version++
2017-10-10 12:29:57 +03:00
James Perkins
2cfe29276e
fix StereoBM disparity map right margin truncation when minDisparities > 0
2017-10-09 14:51:36 -07:00
LaurentBerger
752f232335
It's done
2017-10-09 22:25:57 +02:00
Alexander Alekhin
3ae7515955
qt: fix non-world builds
2017-10-09 22:23:05 +03:00
AlexeyAB
ecc34dc521
Added DNN Darknet Yolo v2 for object detection
2017-10-09 21:08:44 +03:00
Dmitry Kurtaev
eabf728682
PReLU layer from Caffe
2017-10-09 20:30:37 +03:00
Alexander Alekhin
3010cc5971
js: skip 'utils' headers
2017-10-09 16:14:01 +03:00
Vadim Pisarevsky
bfb12acde6
Merge pull request #9792 from alalek:port_9776
2017-10-09 12:46:06 +00:00
Vadim Pisarevsky
44699c59b3
Merge pull request #9799 from alalek:ocl_program
2017-10-09 12:43:46 +00:00
Vadim Pisarevsky
fee87ea3f7
Merge pull request #9800 from alalek:fix_build_msvs2010
2017-10-09 12:33:08 +00:00
Vadim Pisarevsky
6a80834ed4
Merge pull request #9803 from wzw-intel:ocl_timer
2017-10-09 12:11:22 +00:00
Vadim Pisarevsky
593329401a
Merge pull request #9806 from mshabunin:fix-static-7
2017-10-09 12:09:55 +00:00
Maksim Shabunin
ef332dc550
Fixed and suppressed warnings produced by GCC 6.3.0
2017-10-09 13:52:07 +03:00
Alexander Alekhin
746d5f5021
Merge pull request #9790 from mevatron:patch-1
2017-10-09 10:46:50 +00:00
Maksim Shabunin
5a22d81fe5
Fixed warnings produced by static analyzer
2017-10-09 13:37:18 +03:00
Wu Zhiwen
dbe9ee0924
ocl: simplify ocl::Timer
...
Use clFinish to gurantee commands completed, instead of waiting for events.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
2017-10-09 13:48:38 +08:00
Sayed Adel
4b968d1fe2
Added universal intrinsic for VSX
2017-10-09 00:32:41 +00:00
Sayed Adel
d077778074
Added support for VSX
2017-10-09 00:32:29 +00:00
Alexander Alekhin
e615fafe2d
build: fix MSVS2010
2017-10-08 23:32:22 +03:00
Dmitry Kurtaev
e4aa39f9e5
Text TensorFlow graphs parsing. MobileNet-SSD for 90 classes.
2017-10-08 22:25:29 +03:00
Alexander Alekhin
6be25727ec
ocl: refactor program compilation
2017-10-08 19:55:01 +03:00
Alexander Alekhin
04b4495493
ocl: define ProgramSource before program
...
no changes in code
2017-10-08 19:55:01 +03:00
Igor Wodiany
ffb9554787
Extract code from scalarToRawData
...
The same code was repeated several time for different data types, so
it was extracted as a templated function to improve maintability and
make a code more clear.
2017-10-07 19:46:45 +01:00
Igor Wodiany
b638aa74d7
Fix a memory leak in the Mat copying constructor
...
Exception may be rasied inside the body of a copying constructor after
refcount has been increased, and beacause in the case of the exception
destrcutor is never called what causes memory leak. This commit adds a
workaround that calls the release() function before the exception is
thrown outside the contructor.
2017-10-07 10:50:17 +03:00
mevatron
fdc4344acb
Small fix for using Qt 5.x with opencv_world
2017-10-06 16:03:39 -05:00
Vadim Pisarevsky
d25ee8a273
Merge pull request #9761 from Jazmann:ellipseFitAMS&Direct
2017-10-06 14:35:42 +00:00
Vadim Pisarevsky
21bd834a59
Merge pull request #9772 from dkurt:fix_caffe_eltwise_and_fc_layers
2017-10-06 13:47:54 +00:00
Vadim Pisarevsky
b969d86415
Merge pull request #9787 from dkurt:feature_dnn_resize_nearest_neighbor
2017-10-06 13:46:50 +00:00
Vadim Pisarevsky
fe58b58937
Merge pull request #9778 from dkurt:dnn_colorization
2017-10-06 11:48:05 +00:00
Vadim Pisarevsky
87595a6b3a
Merge pull request #9779 from Lightricks:feature/assetslibrary-remove-link
2017-10-06 11:45:36 +00:00
Dmitry Kurtaev
b9f94c9315
Nearest neighbor resize layer
2017-10-06 14:33:26 +03:00
Dmitry Kurtaev
e268606e26
Grayscale colorization model ( https://github.com/richzhang/colorization ) test.
2017-10-06 09:33:41 +03:00
Yaron Inger
0d979a741b
videoio: remove AssetsLibrary dependency.
...
The entire AssetsLibrary framework is deprecated since iOS 8.0. The code
used in the camera example code can use UIKit to save videos to the
camera instead, which allows to avoid linking with PhotoKit instead to
prevent increasing the iOS deployment target.
2017-10-05 20:22:56 +03:00
Vadim Pisarevsky
5f6ce6f4b0
Merge pull request #9762 from dkurt:fix_tensorflow_split_layer
2017-10-05 10:51:49 +00:00
Dmitry Kurtaev
ad8bbaf008
Multidimensional eltwise layer.
...
Fixed fully-connected layer axis.
2017-10-04 14:01:44 +03:00
Peter J. Stieber
5669ee815b
Replace private.cuda.hpp with conditional include of cuda_fp16.h.
2017-10-03 17:47:52 -07:00