platform/upstream/opencv.git
6 years ago3rdparty: update zlib 1.2.11
Suleyman TURKMEN [Thu, 5 Oct 2017 16:54:13 +0000 (19:54 +0300)]
3rdparty: update zlib 1.2.11

6 years agoMerge pull request #10302 from alalek:issue_10254
Vadim Pisarevsky [Wed, 13 Dec 2017 17:31:40 +0000 (17:31 +0000)]
Merge pull request #10302 from alalek:issue_10254

6 years agoMerge pull request #10293 from alalek:fix_persistence_with_deprecated_traits
Vadim Pisarevsky [Wed, 13 Dec 2017 17:30:23 +0000 (17:30 +0000)]
Merge pull request #10293 from alalek:fix_persistence_with_deprecated_traits

6 years agoMerge pull request #10290 from tomoaki0705:fixVS2012Round
Alexander Alekhin [Wed, 13 Dec 2017 15:30:21 +0000 (15:30 +0000)]
Merge pull request #10290 from tomoaki0705:fixVS2012Round

6 years agocore(test): avoid filename duplicates in tests
Alexander Alekhin [Wed, 13 Dec 2017 15:21:55 +0000 (18:21 +0300)]
core(test): avoid filename duplicates in tests

6 years agofix build error on Visual Studio 2012
Tomoaki Teshima [Tue, 12 Dec 2017 12:27:46 +0000 (21:27 +0900)]
fix build error on Visual Studio 2012
  * round doesn't exists in standard library of Visual Studio 2012
  * apply the correct computation of ROI

6 years agoMerge pull request #10295 from alalek:cmake_workaround_download_log_issue
Alexander Alekhin [Wed, 13 Dec 2017 13:52:31 +0000 (13:52 +0000)]
Merge pull request #10295 from alalek:cmake_workaround_download_log_issue

6 years agoMerge pull request #10300 from alalek:cmake_timestamp_update
Alexander Alekhin [Wed, 13 Dec 2017 13:51:09 +0000 (13:51 +0000)]
Merge pull request #10300 from alalek:cmake_timestamp_update

6 years agoMerge pull request #10282 from alalek:cmake_tbb_version
Alexander Alekhin [Wed, 13 Dec 2017 13:50:24 +0000 (13:50 +0000)]
Merge pull request #10282 from alalek:cmake_tbb_version

6 years agocmake: update timestamp status
Alexander Alekhin [Wed, 13 Dec 2017 12:16:03 +0000 (15:16 +0300)]
cmake: update timestamp status

- avoid unnecessary rebuilding of OpenCV libraries
- use timestamp of the first launch of CMake
- to return to previous behavior use `-UOPENCV_TIMESTAMP` CMake option

6 years agoImplementation of bit-exact resize. Internal calls to linear resize updated to use...
Vitaly Tuzov [Wed, 13 Dec 2017 12:00:38 +0000 (15:00 +0300)]
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. (#9468)

6 years agoMerge pull request #10297 from tomoaki0705:suppressOclWarning
Vadim Pisarevsky [Wed, 13 Dec 2017 07:56:34 +0000 (07:56 +0000)]
Merge pull request #10297 from tomoaki0705:suppressOclWarning

6 years agosuppress warnings on OpenCL build
Tomoaki Teshima [Wed, 13 Dec 2017 06:07:51 +0000 (15:07 +0900)]
suppress warnings on OpenCL build
  * stop re-enabling the warning C4127
  * disabling is done in CMakeLists.txt

6 years agocmake: add option to workaround issue observed with old CMake
Alexander Alekhin [Tue, 12 Dec 2017 15:56:09 +0000 (18:56 +0300)]
cmake: add option to workaround issue observed with old CMake

CMake message contains this: "Invalid escape sequence \"

6 years agoMerge pull request #9804 from woodychow:optimize_cveigen
Alexander Alekhin [Tue, 12 Dec 2017 14:58:04 +0000 (14:58 +0000)]
Merge pull request #9804 from woodychow:optimize_cveigen

6 years agocore: fix persistence with deprecated traits
Alexander Alekhin [Tue, 12 Dec 2017 14:07:03 +0000 (17:07 +0300)]
core: fix persistence with deprecated traits

6 years agocmake: generate tbb version file
Alexander Alekhin [Mon, 11 Dec 2017 12:22:48 +0000 (15:22 +0300)]
cmake: generate tbb version file

6 years agocore(test): Core_Eigen.vector_32 use relative norm
Alexander Alekhin [Mon, 11 Dec 2017 16:04:44 +0000 (19:04 +0300)]
core(test): Core_Eigen.vector_32 use relative norm

6 years agocore(test): update eps in testEigen<float>: 1e-6 => 1e-4
Alexander Alekhin [Mon, 11 Dec 2017 16:08:48 +0000 (19:08 +0300)]
core(test): update eps in testEigen<float>: 1e-6 => 1e-4

6 years agocore(test): refactor Java Eigenvalues/PCA tests
Alexander Alekhin [Mon, 11 Dec 2017 14:03:44 +0000 (17:03 +0300)]
core(test): refactor Java Eigenvalues/PCA tests

6 years agocore(test): refactor PCA test
Alexander Alekhin [Mon, 4 Dec 2017 23:28:05 +0000 (02:28 +0300)]
core(test): refactor PCA test

- CV_L2 -> relative NORM_L2
- eigenEps: 1e-6 ==> 1e-4
- evalEps: 1e-6 ==> 1e-5
- evecEps: 1e-3 ==> 5e-3
- RNG seed: 12345
- drop non-informative legacy test code (ts->printf, etc)

6 years agoMerge pull request #10284 from alalek:dnn_debug_error
Alexander Alekhin [Tue, 12 Dec 2017 09:33:49 +0000 (09:33 +0000)]
Merge pull request #10284 from alalek:dnn_debug_error

6 years agodnn: more debug info
Alexander Alekhin [Mon, 11 Dec 2017 20:00:12 +0000 (20:00 +0000)]
dnn: more debug info

6 years agoMerge pull request #9260 from Cartucho:add_python_signatures
Alexander Alekhin [Tue, 12 Dec 2017 08:58:14 +0000 (08:58 +0000)]
Merge pull request #9260 from Cartucho:add_python_signatures

6 years agoMerge pull request #10269 from terfendail:softdouble_round
Alexander Alekhin [Mon, 11 Dec 2017 12:48:03 +0000 (12:48 +0000)]
Merge pull request #10269 from terfendail:softdouble_round

6 years agoMerge pull request #10215 from dkurt:dnn_js
Vadim Pisarevsky [Mon, 11 Dec 2017 12:47:52 +0000 (12:47 +0000)]
Merge pull request #10215 from dkurt:dnn_js

6 years agoMerge pull request #10277 from pengli:dnn
Vadim Pisarevsky [Mon, 11 Dec 2017 12:44:21 +0000 (12:44 +0000)]
Merge pull request #10277 from pengli:dnn

6 years agoMerge pull request #10263 from mshabunin:embedded-build
Vadim Pisarevsky [Mon, 11 Dec 2017 12:42:45 +0000 (12:42 +0000)]
Merge pull request #10263 from mshabunin:embedded-build

6 years agoMerge pull request #10280 from alalek:python_cv2_to_cv
Vadim Pisarevsky [Mon, 11 Dec 2017 12:39:00 +0000 (12:39 +0000)]
Merge pull request #10280 from alalek:python_cv2_to_cv

6 years agoMerge pull request #10231 from alalek:ocl_refactor_program_api
Vadim Pisarevsky [Mon, 11 Dec 2017 12:34:22 +0000 (12:34 +0000)]
Merge pull request #10231 from alalek:ocl_refactor_program_api

6 years agoAdded implementation of softdouble rounding to int64_t
Vitaly Tuzov [Fri, 8 Dec 2017 12:38:22 +0000 (15:38 +0300)]
Added implementation of softdouble rounding to int64_t

6 years agopython: 'cv2.' -> 'cv.' via 'import cv2 as cv'
Alexander Alekhin [Mon, 11 Dec 2017 09:55:03 +0000 (12:55 +0300)]
python: 'cv2.' -> 'cv.' via 'import cv2 as cv'

6 years agoBuild for embedded systems
Maksim Shabunin [Tue, 28 Nov 2017 09:53:40 +0000 (12:53 +0300)]
Build for embedded systems

6 years agoadd command parser to caffe googlenet sample
Li Peng [Mon, 11 Dec 2017 09:25:41 +0000 (17:25 +0800)]
add command parser to caffe googlenet sample

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoMerge pull request #10112 from haritha1313:bugfix_doc1
Alexander Alekhin [Sun, 10 Dec 2017 20:54:29 +0000 (20:54 +0000)]
Merge pull request #10112 from haritha1313:bugfix_doc1

6 years agopython: 'sub-module' for binding sources and documentation meta information
Alexander Alekhin [Sat, 9 Dec 2017 18:54:52 +0000 (18:54 +0000)]
python: 'sub-module' for binding sources and documentation meta information

6 years agodoc: finalize Python signatures injection
Alexander Alekhin [Sat, 9 Dec 2017 04:38:50 +0000 (04:38 +0000)]
doc: finalize Python signatures injection

6 years agocrop parameter usage in blobFromImage() calls
Haritha [Thu, 7 Dec 2017 06:42:29 +0000 (12:12 +0530)]
crop parameter usage in blobFromImage() calls

6 years agoadd methods
tribta [Sun, 19 Nov 2017 21:22:00 +0000 (16:22 -0500)]
add methods

6 years agoSample for functions
tribta [Fri, 17 Nov 2017 17:56:47 +0000 (12:56 -0500)]
Sample for functions

6 years agodoc: update Python signatures generation
Alexander Alekhin [Tue, 5 Sep 2017 15:55:01 +0000 (18:55 +0300)]
doc: update Python signatures generation

- drop dependency on 'import cv2', use pyopencv_signatures.json instead
- try to make generator idempotent

6 years agoUsing __doc__ to add Python signatures to the docs.
tribta [Fri, 28 Jul 2017 19:52:56 +0000 (20:52 +0100)]
Using __doc__ to add Python signatures to the docs.

6 years agoMerge pull request #10260 from native-api:ffmpeg_load_from_package
Alexander Alekhin [Fri, 8 Dec 2017 20:58:16 +0000 (20:58 +0000)]
Merge pull request #10260 from native-api:ffmpeg_load_from_package

6 years agoMerge pull request #10266 from ChristofKaufmann:warp_documentation
Vadim Pisarevsky [Fri, 8 Dec 2017 18:48:48 +0000 (18:48 +0000)]
Merge pull request #10266 from ChristofKaufmann:warp_documentation

6 years agoMerge pull request #10268 from dkurt:fix_scale_layer
Vadim Pisarevsky [Fri, 8 Dec 2017 18:46:49 +0000 (18:46 +0000)]
Merge pull request #10268 from dkurt:fix_scale_layer

6 years agoGetModuleFileName() doesn't reset last error on success
Ivan Pozdeev [Thu, 7 Dec 2017 21:12:08 +0000 (00:12 +0300)]
GetModuleFileName() doesn't reset last error on success

6 years agoJavaScript bindings for dnn module
Dmitry Kurtaev [Sat, 2 Dec 2017 20:52:35 +0000 (23:52 +0300)]
JavaScript bindings for dnn module

6 years agoScale layer in case of 2D inputs
Dmitry Kurtaev [Fri, 8 Dec 2017 14:34:59 +0000 (17:34 +0300)]
Scale layer in case of 2D inputs

6 years agoMerge pull request #10172 from ElenaGvozdeva:eg/HAL_sobel
Elena Gvozdeva [Fri, 8 Dec 2017 13:36:24 +0000 (16:36 +0300)]
Merge pull request #10172 from ElenaGvozdeva:eg/HAL_sobel

* add HAL for SobelFilter
* add HAL for pyrDown
* add HAL for Scharr

6 years agoMerge pull request #10253 from alalek:cmake_disable_optimization
Alexander Alekhin [Fri, 8 Dec 2017 11:35:11 +0000 (11:35 +0000)]
Merge pull request #10253 from alalek:cmake_disable_optimization

6 years agodoc: Add type restriction note for geometric transformations
Christof Kaufmann [Fri, 8 Dec 2017 11:33:51 +0000 (12:33 +0100)]
doc: Add type restriction note for geometric transformations

This is added according to #7862.

6 years agoMerge pull request #10255 from dkurt:dnn_roi_pooling
Alexander Alekhin [Fri, 8 Dec 2017 11:20:07 +0000 (11:20 +0000)]
Merge pull request #10255 from dkurt:dnn_roi_pooling

6 years agoMerge pull request #10264 from terfendail:createsamples
Alexander Alekhin [Fri, 8 Dec 2017 11:02:49 +0000 (11:02 +0000)]
Merge pull request #10264 from terfendail:createsamples

6 years agoupdated createsamples app utility functions to new c++ API from old c
Vitaly Tuzov [Fri, 8 Dec 2017 09:23:44 +0000 (12:23 +0300)]
updated createsamples app utility functions to new c++ API from old c

6 years agoMerge pull request #10262 from Riyuzakii:10209
Alexander Alekhin [Fri, 8 Dec 2017 08:49:10 +0000 (08:49 +0000)]
Merge pull request #10262 from Riyuzakii:10209

6 years agoRemove typo/repeated code block
Riyuzakii [Fri, 8 Dec 2017 06:40:00 +0000 (12:10 +0530)]
Remove typo/repeated code block

6 years agoROIPooling layer
Dmitry Kurtaev [Mon, 4 Dec 2017 15:45:30 +0000 (18:45 +0300)]
ROIPooling layer

6 years agoMerge pull request #8198 from mshabunin:cmakeex
Alexander Alekhin [Thu, 7 Dec 2017 15:02:41 +0000 (15:02 +0000)]
Merge pull request #8198 from mshabunin:cmakeex

6 years agocmake: CV_DISABLE_OPTIMIZATION disables IPP, OpenCL, Eigen and LAPACK too
Alexander Alekhin [Thu, 7 Dec 2017 14:54:37 +0000 (17:54 +0300)]
cmake: CV_DISABLE_OPTIMIZATION disables IPP, OpenCL, Eigen and LAPACK too

6 years agoocl: opencl_custom_kernel.cpp example
Alexander Alekhin [Thu, 7 Dec 2017 12:56:04 +0000 (15:56 +0300)]
ocl: opencl_custom_kernel.cpp example

6 years agoMerge pull request #10243 from berak:dnn_fix_mobilenet_sample
Alexander Alekhin [Thu, 7 Dec 2017 09:54:18 +0000 (09:54 +0000)]
Merge pull request #10243 from berak:dnn_fix_mobilenet_sample

6 years agoMerge pull request #10244 from dkurt:issue_10239
Alexander Alekhin [Thu, 7 Dec 2017 09:43:16 +0000 (09:43 +0000)]
Merge pull request #10244 from dkurt:issue_10239

6 years agoFix conv/deconv/fc layers FLOPS computation
Dmitry Kurtaev [Wed, 6 Dec 2017 18:58:36 +0000 (21:58 +0300)]
Fix conv/deconv/fc layers FLOPS computation

6 years agoAdded option to disable gc-sections flag
Maksim Shabunin [Thu, 7 Dec 2017 07:28:58 +0000 (10:28 +0300)]
Added option to disable gc-sections flag

6 years agoHid symbols in static builds, added LTO flags, removed exports from ts
Pavel Rojtberg [Wed, 25 Jan 2017 11:20:57 +0000 (12:20 +0100)]
Hid symbols in static builds, added LTO flags, removed exports from ts

6 years agoMerge pull request #10241 from alalek:ios_fix_build_warnings
Alexander Alekhin [Wed, 6 Dec 2017 16:26:51 +0000 (16:26 +0000)]
Merge pull request #10241 from alalek:ios_fix_build_warnings

6 years agoMerge pull request #10228 from pengli:dnn_new
Alexander Alekhin [Wed, 6 Dec 2017 15:50:12 +0000 (15:50 +0000)]
Merge pull request #10228 from pengli:dnn_new

6 years agoMerge pull request #10240 from alalek:dnn_perf_ssd
Alexander Alekhin [Wed, 6 Dec 2017 15:41:18 +0000 (15:41 +0000)]
Merge pull request #10240 from alalek:dnn_perf_ssd

6 years agodetection_output layer ocl implementation
Li Peng [Thu, 30 Nov 2017 12:43:49 +0000 (20:43 +0800)]
detection_output layer ocl implementation

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoregion layer ocl implementation
Li Peng [Wed, 29 Nov 2017 14:35:02 +0000 (22:35 +0800)]
region layer ocl implementation

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoreorg layer ocl implementation
Li Peng [Wed, 29 Nov 2017 13:09:31 +0000 (21:09 +0800)]
reorg layer ocl implementation

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agosupport axis in concat layer ocl path
Li Peng [Tue, 28 Nov 2017 15:40:46 +0000 (23:40 +0800)]
support axis in concat layer ocl path

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoreshape layer ocl implementation
Li Peng [Tue, 5 Dec 2017 13:58:30 +0000 (21:58 +0800)]
reshape layer ocl implementation

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agodnn: add a check for webcam properties in ssd_mobilenet sample
berak [Wed, 6 Dec 2017 13:16:37 +0000 (14:16 +0100)]
dnn: add a check for webcam properties in ssd_mobilenet sample

6 years agoMerge pull request #10236 from alalek:ocl_skip_unstable_tests
Alexander Alekhin [Wed, 6 Dec 2017 13:48:51 +0000 (13:48 +0000)]
Merge pull request #10236 from alalek:ocl_skip_unstable_tests

6 years agodnn: SSD performance test
Alexander Alekhin [Wed, 6 Dec 2017 11:51:05 +0000 (14:51 +0300)]
dnn: SSD performance test

6 years agobuild: fix iOS warnings with armv7s, switch precommit armv7 -> armv7s
Alexander Alekhin [Wed, 6 Dec 2017 12:49:45 +0000 (15:49 +0300)]
build: fix iOS warnings with armv7s, switch precommit armv7 -> armv7s

6 years agoocl: skip unstable tests
Alexander Alekhin [Wed, 6 Dec 2017 09:58:13 +0000 (12:58 +0300)]
ocl: skip unstable tests

during pre-commit testing

6 years agoMerge pull request #10024 from iago-suarez:bugfix-lsd-multiple-imgs-issue#10023
Vadim Pisarevsky [Wed, 6 Dec 2017 09:01:37 +0000 (09:01 +0000)]
Merge pull request #10024 from iago-suarez:bugfix-lsd-multiple-imgs-issue#10023

6 years agoMerge pull request #10058 from ElenaGvozdeva:eg/HAL
Vadim Pisarevsky [Tue, 5 Dec 2017 20:56:24 +0000 (20:56 +0000)]
Merge pull request #10058 from ElenaGvozdeva:eg/HAL

6 years agoMerge pull request #10226 from vermashresth:bugfix
Vadim Pisarevsky [Tue, 5 Dec 2017 20:53:53 +0000 (20:53 +0000)]
Merge pull request #10226 from vermashresth:bugfix

6 years agoMerge pull request #10221 from dkurt:non_spatial_torch_layers
Vadim Pisarevsky [Tue, 5 Dec 2017 20:52:00 +0000 (20:52 +0000)]
Merge pull request #10221 from dkurt:non_spatial_torch_layers

6 years agoocl: add SPIR Program loading test
Alexander Alekhin [Tue, 5 Dec 2017 15:46:58 +0000 (18:46 +0300)]
ocl: add SPIR Program loading test

SPIR kernels are located in opencv_extra

6 years agoocl: refactor Program API
Alexander Alekhin [Tue, 5 Dec 2017 10:26:38 +0000 (13:26 +0300)]
ocl: refactor Program API

- don't store ProgramSource in compiled Programs (resolved problem with "source" buffers lifetime)
- completelly remove Program::read/write methods implementation:
  - replaced with method to query RAW OpenCL binary without any "custom" data
- deprecate Program::getPrefix() methods

6 years agoocl: low-level API to support OpenCL binary programs
Alexander Alekhin [Sat, 2 Dec 2017 17:48:30 +0000 (17:48 +0000)]
ocl: low-level API to support OpenCL binary programs

6 years agoMerge pull request #10207 from cabelo:cabelo-opencv
Alexander Alekhin [Tue, 5 Dec 2017 18:23:23 +0000 (21:23 +0300)]
Merge pull request #10207 from cabelo:cabelo-opencv

Repair: incorrect display of class in DNN

6 years agofixed createsamples info message
Shresth Verma [Sun, 3 Dec 2017 21:46:22 +0000 (03:16 +0530)]
fixed createsamples info message

6 years agoMerge pull request #10218 from catree:fix_cuda_integral
Alexander Alekhin [Tue, 5 Dec 2017 15:10:00 +0000 (15:10 +0000)]
Merge pull request #10218 from catree:fix_cuda_integral

6 years agopermute layer ocl implementation
Li Peng [Tue, 5 Dec 2017 13:58:57 +0000 (21:58 +0800)]
permute layer ocl implementation

Signed-off-by: Li Peng <peng.li@intel.com>
6 years agoMerge pull request #10230 from vpisarev:macos_detect_lapack
Alexander Alekhin [Tue, 5 Dec 2017 13:48:23 +0000 (13:48 +0000)]
Merge pull request #10230 from vpisarev:macos_detect_lapack

6 years agoFix pointPolygonTest for large coordinate values (#10222)
Juha Reunanen [Tue, 5 Dec 2017 12:49:44 +0000 (14:49 +0200)]
Fix pointPolygonTest for large coordinate values (#10222)

* Add test that fails

* Fix integer pointPolygonTest for large coordinate values

* Review fixes:
- change type from long long to int64
- move test code to test_contours.cpp, and make it C++98 compliant

* Hopefully fix compiler error by using push_back instead of emplace_back

6 years agofixed native Lapack detection script on Mac/iOS (where native Lapack is a part of...
Vadim Pisarevsky [Tue, 5 Dec 2017 12:45:37 +0000 (15:45 +0300)]
fixed native Lapack detection script on Mac/iOS (where native Lapack is a part of Accelerate framework)

6 years agoMerge pull request #10223 from vpisarev:ocl_mac_fixes
Vadim Pisarevsky [Tue, 5 Dec 2017 10:32:28 +0000 (13:32 +0300)]
Merge pull request #10223 from vpisarev:ocl_mac_fixes

* fixed OpenCL functions on Mac, so that the tests pass

* fixed compile warnings; temporarily disabled OCL branch of TV L1 optical flow on mac

* fixed other few warnings on macos

6 years agoUse Eigen::SelfAdjointEigenSolver in cv::eigen
woody.chow [Mon, 9 Oct 2017 09:10:16 +0000 (18:10 +0900)]
Use Eigen::SelfAdjointEigenSolver in cv::eigen

6 years agoRepair: incorrect display of class name
alessandro faria [Thu, 30 Nov 2017 22:14:40 +0000 (20:14 -0200)]
Repair: incorrect display of class name

6 years agoMerge pull request #10176 from sturkmen72:update_train_hog
Alexander Alekhin [Mon, 4 Dec 2017 16:24:41 +0000 (16:24 +0000)]
Merge pull request #10176 from sturkmen72:update_train_hog

6 years agoMerge pull request #10216 from dkurt:dnn_face_detector_extra_paddings
Vadim Pisarevsky [Mon, 4 Dec 2017 13:14:51 +0000 (13:14 +0000)]
Merge pull request #10216 from dkurt:dnn_face_detector_extra_paddings

6 years agonn.BatchNormalization and nn.Dropout layers from Torch
Dmitry Kurtaev [Mon, 4 Dec 2017 09:57:21 +0000 (12:57 +0300)]
nn.BatchNormalization and nn.Dropout layers from Torch

6 years agoFix CUDA integral.
catree [Mon, 4 Dec 2017 01:22:52 +0000 (02:22 +0100)]
Fix CUDA integral.

6 years agoUpdate train_HOG.cpp
Suleyman TURKMEN [Sat, 18 Nov 2017 22:41:24 +0000 (01:41 +0300)]
Update train_HOG.cpp