platform/upstream/opencv.git
6 years agoMerge pull request #12216 from hirocob:fix-typo
Alexander Alekhin [Thu, 16 Aug 2018 05:16:58 +0000 (05:16 +0000)]
Merge pull request #12216 from hirocob:fix-typo

6 years agoFix a typo in the tutorial
Hiro Kobayashi [Wed, 15 Aug 2018 07:57:36 +0000 (16:57 +0900)]
Fix a typo in the tutorial

6 years agoMerge pull request #12205 from dkurt:dnn_update_tf_face_detection
Alexander Alekhin [Tue, 14 Aug 2018 10:53:12 +0000 (10:53 +0000)]
Merge pull request #12205 from dkurt:dnn_update_tf_face_detection

6 years agoUpdate face detection network in samples
Dmitry Kurtaev [Tue, 14 Aug 2018 10:16:23 +0000 (13:16 +0300)]
Update face detection network in samples

6 years agoMerge pull request #12203 from berak:fix_interactive_calibration
Alexander Alekhin [Mon, 13 Aug 2018 15:40:42 +0000 (15:40 +0000)]
Merge pull request #12203 from berak:fix_interactive_calibration

6 years agoUINT8 face detection network using Intel's Inference Engine backend
Dmitry Kurtaev [Mon, 13 Aug 2018 13:46:04 +0000 (16:46 +0300)]
UINT8 face detection network using Intel's Inference Engine backend

6 years agoapps: fix interactive calibration
berak [Mon, 13 Aug 2018 09:17:32 +0000 (11:17 +0200)]
apps: fix interactive calibration

6 years agoMerge pull request #12191 from weblucas:patch-2
Alexander Alekhin [Fri, 10 Aug 2018 14:15:39 +0000 (14:15 +0000)]
Merge pull request #12191 from weblucas:patch-2

6 years agoMerge pull request #12128 from dkurt:dnn_fix_12066
Alexander Alekhin [Fri, 10 Aug 2018 14:14:16 +0000 (14:14 +0000)]
Merge pull request #12128 from dkurt:dnn_fix_12066

6 years agoFix a Typo in the comment of asift.py
Lucas Teixeira [Thu, 9 Aug 2018 21:43:39 +0000 (23:43 +0200)]
Fix a Typo in the comment of asift.py

6 years agoMerge pull request #12174 from alalek:dnn_move_range_ostream_operator
Alexander Alekhin [Wed, 8 Aug 2018 20:51:25 +0000 (20:51 +0000)]
Merge pull request #12174 from alalek:dnn_move_range_ostream_operator

6 years agoMerge pull request #12184 from alalek:issue_12163
Alexander Alekhin [Wed, 8 Aug 2018 20:50:54 +0000 (20:50 +0000)]
Merge pull request #12184 from alalek:issue_12163

6 years agoimgproc(cvtColor): slightly improve error messages
Alexander Alekhin [Wed, 8 Aug 2018 14:09:12 +0000 (17:09 +0300)]
imgproc(cvtColor): slightly improve error messages

Do not try to process empty inputs.

6 years agoMerge pull request #12178 from alalek:ipp_cvtColor_12176
Alexander Alekhin [Wed, 8 Aug 2018 13:30:32 +0000 (13:30 +0000)]
Merge pull request #12178 from alalek:ipp_cvtColor_12176

6 years agoimgproc(cvtColor): temporary disable IPP for 8U GRAY2BGR mode
Alexander Alekhin [Wed, 8 Aug 2018 10:49:16 +0000 (13:49 +0300)]
imgproc(cvtColor): temporary disable IPP for 8U GRAY2BGR mode

Details 12176

6 years agoMerge pull request #12173 from gdemarcq:Decolor_corrections
Alexander Alekhin [Tue, 7 Aug 2018 17:07:19 +0000 (17:07 +0000)]
Merge pull request #12173 from gdemarcq:Decolor_corrections

6 years agocore: cv::Range() ostream write operator
Alexander Alekhin [Tue, 7 Aug 2018 16:33:13 +0000 (19:33 +0300)]
core: cv::Range() ostream write operator

remove from DNN module headers

6 years agophoto: Decolor corrections
yom [Tue, 7 Aug 2018 15:52:05 +0000 (17:52 +0200)]
photo: Decolor corrections
* Keep image aspect ratio in resize called in grad_system and
weak_order
* Bug correction in loop inside Decolor::gradvector

6 years agoMerge pull request #12169 from berak:photo_decolor
Alexander Alekhin [Tue, 7 Aug 2018 16:01:42 +0000 (16:01 +0000)]
Merge pull request #12169 from berak:photo_decolor

6 years agocore(test): extra tests/fixes for merge/split (#12171)
Alexander Alekhin [Tue, 7 Aug 2018 15:11:05 +0000 (18:11 +0300)]
core(test): extra tests/fixes for merge/split (#12171)

* core(test): merge hang test

* core(merge/split): fix intrin optimization

6 years agoMerge pull request #12159 from zarelaky:master
Maksim Shabunin [Tue, 7 Aug 2018 13:15:19 +0000 (13:15 +0000)]
Merge pull request #12159 from zarelaky:master

6 years agophoto: avoid resizing a const Mat in decolor()
berak [Tue, 7 Aug 2018 13:14:22 +0000 (15:14 +0200)]
photo: avoid resizing a const Mat in decolor()

6 years agoUpdate cap_gstreamer.cpp
zarelaky [Mon, 6 Aug 2018 14:11:23 +0000 (22:11 +0800)]
Update cap_gstreamer.cpp

fixed call open(int id) failed

6 years agoMerge pull request #12161 from alalek:cache_dump_neighbor_directories_for_cleanup
Maksim Shabunin [Tue, 7 Aug 2018 12:09:38 +0000 (12:09 +0000)]
Merge pull request #12161 from alalek:cache_dump_neighbor_directories_for_cleanup

6 years agoMerge pull request #12166 from berak:fix_mjpeg_decoder
Maksim Shabunin [Tue, 7 Aug 2018 12:09:13 +0000 (12:09 +0000)]
Merge pull request #12166 from berak:fix_mjpeg_decoder

6 years agovideoio: check iterator in mjpeg_encoder.cpp
berak [Tue, 7 Aug 2018 09:43:37 +0000 (11:43 +0200)]
videoio: check iterator in mjpeg_encoder.cpp

6 years agoMerge pull request #12162 from alalek:fix_intrin_12146
Alexander Alekhin [Mon, 6 Aug 2018 20:39:23 +0000 (20:39 +0000)]
Merge pull request #12162 from alalek:fix_intrin_12146

6 years agocore(intrin): avoid symbols duplication from SIMD128/256 cases
Alexander Alekhin [Mon, 6 Aug 2018 19:25:18 +0000 (19:25 +0000)]
core(intrin): avoid symbols duplication from SIMD128/256 cases

All vx_call() must be wrapped into own simd128/simd256/simd512 namespace

```
namespace CV__SIMD_NAMESPACE {
... vx_call declaration is here ...
}
```

6 years agocore: dump neighbour cache directories (from old OpenCV versions)
Alexander Alekhin [Mon, 6 Aug 2018 15:48:25 +0000 (18:48 +0300)]
core: dump neighbour cache directories (from old OpenCV versions)

- use '3.4.x' cache name for current maintenance series (there are no serious changes between releases)
- message is shown only once during creation of new cache directory
- use OPENCV_CACHE_SHOW_CLEANUP_MESSAGE=0 to hide this warning

6 years agoMerge pull request #12157 from allnes:detect_qr_code
Vadim Pisarevsky [Mon, 6 Aug 2018 14:50:28 +0000 (14:50 +0000)]
Merge pull request #12157 from allnes:detect_qr_code

6 years agoUpdate binarization
Alexander Nesterov [Sun, 5 Aug 2018 17:55:15 +0000 (14:55 -0300)]
Update binarization

6 years agoMerge pull request #12125 from dkurt:dnn_mobilenet_ppn
Vadim Pisarevsky [Mon, 6 Aug 2018 14:40:50 +0000 (14:40 +0000)]
Merge pull request #12125 from dkurt:dnn_mobilenet_ppn

6 years agoMerge pull request #12130 from dkurt:dnn_ie_mvn
Vadim Pisarevsky [Mon, 6 Aug 2018 14:37:46 +0000 (14:37 +0000)]
Merge pull request #12130 from dkurt:dnn_ie_mvn

6 years agoEnable reshape-as-shape layer from TensorFlow
Dmitry Kurtaev [Thu, 2 Aug 2018 08:12:22 +0000 (11:12 +0300)]
Enable reshape-as-shape layer from TensorFlow

6 years agoMerge pull request #12082 from dkurt:dnn_ie_faster_rcnn
Vadim Pisarevsky [Mon, 6 Aug 2018 14:28:58 +0000 (14:28 +0000)]
Merge pull request #12082 from dkurt:dnn_ie_faster_rcnn

6 years agoMerge pull request #12121 from maver1:amatyuko/sse2_convert_with_saturation_fix
Vadim Pisarevsky [Mon, 6 Aug 2018 14:26:37 +0000 (14:26 +0000)]
Merge pull request #12121 from maver1:amatyuko/sse2_convert_with_saturation_fix

6 years agoMerge pull request #12050 from alalek:dnn_ocl_avoid_memory_access_violation
Alexander Alekhin [Sun, 5 Aug 2018 14:47:01 +0000 (14:47 +0000)]
Merge pull request #12050 from alalek:dnn_ocl_avoid_memory_access_violation

6 years agoMerge pull request #12134 from mshabunin:add-yuv420-v4l
Alexander Alekhin [Sat, 4 Aug 2018 13:48:34 +0000 (13:48 +0000)]
Merge pull request #12134 from mshabunin:add-yuv420-v4l

6 years agoMerge pull request #12097 from xsacha:master
Alexander Alekhin [Sat, 4 Aug 2018 13:14:22 +0000 (13:14 +0000)]
Merge pull request #12097 from xsacha:master

6 years agoMerge pull request #12135 from tompollok:3.4
Alexander Alekhin [Sat, 4 Aug 2018 13:02:21 +0000 (16:02 +0300)]
Merge pull request #12135 from tompollok:3.4

imgproc: update cornerSubPix documentation

6 years agoMerge pull request #12120 from alalek:core_test_intrin_dispatched
Alexander Alekhin [Fri, 3 Aug 2018 17:07:17 +0000 (17:07 +0000)]
Merge pull request #12120 from alalek:core_test_intrin_dispatched

6 years agoMerge pull request #12123 from allnes:detect_qr_code
Alexander Alekhin [Fri, 3 Aug 2018 16:52:26 +0000 (16:52 +0000)]
Merge pull request #12123 from allnes:detect_qr_code

6 years agoSupport WITH_CUDA with clang compiler.
Sacha [Fri, 3 Aug 2018 06:42:28 +0000 (16:42 +1000)]
Support WITH_CUDA with clang compiler.

6 years agoMerge pull request #12131 from alalek:issue_12083
Alexander Alekhin [Thu, 2 Aug 2018 16:50:51 +0000 (16:50 +0000)]
Merge pull request #12131 from alalek:issue_12083

6 years agoimgproc: update cornerSubPix documentation
tompollok [Thu, 2 Aug 2018 16:00:43 +0000 (18:00 +0200)]
imgproc: update cornerSubPix documentation

6 years agovideoio: added YUV420 format (UV order) support to v4l capture
Maksim Shabunin [Thu, 2 Aug 2018 15:34:11 +0000 (18:34 +0300)]
videoio: added YUV420 format (UV order) support to v4l capture

6 years agoMerge pull request #12129 from pierrejeambrun:stitching_detailed_sift
Alexander Alekhin [Thu, 2 Aug 2018 15:22:06 +0000 (15:22 +0000)]
Merge pull request #12129 from pierrejeambrun:stitching_detailed_sift

6 years agoMVN layer using Intel's Inference Engine backend
Dmitry Kurtaev [Thu, 2 Aug 2018 13:36:15 +0000 (16:36 +0300)]
MVN layer using Intel's Inference Engine backend

6 years agocore(merge): fix SIMD loop head processing
Alexander Alekhin [Thu, 2 Aug 2018 13:54:33 +0000 (16:54 +0300)]
core(merge): fix SIMD loop head processing

6 years agofeat(stitching): Add Sift support for the FeaturesFinder
Pierre Jeambrun [Thu, 2 Aug 2018 07:58:49 +0000 (10:58 +0300)]
feat(stitching): Add Sift support for the FeaturesFinder

6 years agoMerge pull request #12124 from mshabunin:download-improve
Alexander Alekhin [Thu, 2 Aug 2018 12:13:44 +0000 (12:13 +0000)]
Merge pull request #12124 from mshabunin:download-improve

6 years agoInstall data for samples to correct directories, do not download face_detector models...
Maksim Shabunin [Wed, 1 Aug 2018 12:58:20 +0000 (15:58 +0300)]
Install data for samples to correct directories, do not download face_detector models in cmake

6 years agoRefactor code
Alexander Nesterov [Wed, 1 Aug 2018 14:49:43 +0000 (11:49 -0300)]
Refactor code

6 years agoMobileNet-SSD v1 from TensorFlow with shared convolution weights
Dmitry Kurtaev [Wed, 1 Aug 2018 08:34:04 +0000 (11:34 +0300)]
MobileNet-SSD v1 from TensorFlow with shared convolution weights

6 years agoFix for SSE2 intrinsics problem in the part of saturation arithmetic processing durin...
amatyuko [Tue, 31 Jul 2018 18:54:15 +0000 (21:54 +0300)]
Fix for SSE2 intrinsics problem in the part of saturation arithmetic processing during 32s->16u packed conversion -
for some big negative values less than -INT_MAX+32767 the sign of the numbers is lost due to overflow that leads to
incorrect saturation to MAX value, instead of zero.
The issue is not reproduced with CV_ENABLED_INTRINSICS=OFF

6 years agocmake: add download helper scripts
Maksim Shabunin [Wed, 1 Aug 2018 12:57:53 +0000 (15:57 +0300)]
cmake: add download helper scripts

6 years agoMerge pull request #12116 from luzpaz:misc-typos
Alexander Alekhin [Wed, 1 Aug 2018 11:35:56 +0000 (11:35 +0000)]
Merge pull request #12116 from luzpaz:misc-typos

6 years agocore(test): intrinsic tests for all dispatched CPU optimizations
Alexander Alekhin [Mon, 30 Jul 2018 15:53:05 +0000 (18:53 +0300)]
core(test): intrinsic tests for all dispatched CPU optimizations

- tests for both SIMD128 / SIMD256
- different dispatched + baseline(SIMD128) intrinsics

6 years agoFaster-RCNN from TensorFlow on CPU with Intel's Inference Engine backend
Dmitry Kurtaev [Thu, 26 Jul 2018 14:22:05 +0000 (17:22 +0300)]
Faster-RCNN from TensorFlow on CPU with Intel's Inference Engine backend

6 years agoMerge pull request #12119 from mshabunin:fix-IE-dnn-test
Alexander Alekhin [Tue, 31 Jul 2018 18:32:52 +0000 (18:32 +0000)]
Merge pull request #12119 from mshabunin:fix-IE-dnn-test

6 years agoRestored tests dependencies processing
Maksim Shabunin [Tue, 31 Jul 2018 16:34:19 +0000 (19:34 +0300)]
Restored tests dependencies processing

6 years agoSource typo fixes
luz.paz [Tue, 31 Jul 2018 15:19:25 +0000 (11:19 -0400)]
Source typo fixes

6 years agoMisc. typos
luz.paz [Tue, 31 Jul 2018 15:11:25 +0000 (11:11 -0400)]
Misc. typos

Found via `codespell -q 3 -I ../opencv-whitelist.txt --skip="./3rdparty"`

6 years agoMerge pull request #12036 from sturkmen72:update_create_mask_cpp
Alexander Alekhin [Tue, 31 Jul 2018 15:02:16 +0000 (15:02 +0000)]
Merge pull request #12036 from sturkmen72:update_create_mask_cpp

6 years agoMerge pull request #12103 from alalek:ocl_fix_crash
Alexander Alekhin [Tue, 31 Jul 2018 14:55:42 +0000 (14:55 +0000)]
Merge pull request #12103 from alalek:ocl_fix_crash

6 years agoMerge pull request #12113 from dkurt:dnn_fix_ssd_on_myriad
Alexander Alekhin [Tue, 31 Jul 2018 14:55:18 +0000 (14:55 +0000)]
Merge pull request #12113 from dkurt:dnn_fix_ssd_on_myriad

6 years agoMerge pull request #12080 from mshabunin:fix-static-3
Alexander Alekhin [Tue, 31 Jul 2018 14:53:28 +0000 (14:53 +0000)]
Merge pull request #12080 from mshabunin:fix-static-3

6 years agoMerge pull request #12105 from mshabunin:fix-ie-R2
Alexander Alekhin [Tue, 31 Jul 2018 14:22:45 +0000 (14:22 +0000)]
Merge pull request #12105 from mshabunin:fix-ie-R2

6 years agodnn: modified IE search, R2 compatibility fixed
Maksim Shabunin [Mon, 30 Jul 2018 15:21:17 +0000 (18:21 +0300)]
dnn: modified IE search, R2 compatibility fixed

6 years agoMerge pull request #12111 from seiko2plus:issue12110
Alexander Alekhin [Tue, 31 Jul 2018 09:21:41 +0000 (09:21 +0000)]
Merge pull request #12111 from seiko2plus:issue12110

6 years agoAdd missing parameter to DetectionOutput layer from Intel's Inference Engine
Dmitry Kurtaev [Tue, 31 Jul 2018 08:37:45 +0000 (11:37 +0300)]
Add missing parameter to DetectionOutput layer from Intel's Inference Engine

6 years agocore:test Fix fp16 build if AVX2 sets as baseline
Sayed Adel [Tue, 31 Jul 2018 07:47:11 +0000 (09:47 +0200)]
core:test Fix fp16 build if AVX2 sets as baseline

6 years agoUpdate create_mask.cpp
Suleyman TURKMEN [Sun, 22 Jul 2018 10:32:43 +0000 (13:32 +0300)]
Update create_mask.cpp

6 years agoMerge pull request #12004 from mshabunin:more-asserts
Alexander Alekhin [Mon, 30 Jul 2018 16:42:09 +0000 (16:42 +0000)]
Merge pull request #12004 from mshabunin:more-asserts

6 years agoMerge pull request #12046 from VladKarpushin:tutorial-using-out-of-focus-deblur-filter
Alexander Alekhin [Mon, 30 Jul 2018 16:36:39 +0000 (16:36 +0000)]
Merge pull request #12046 from VladKarpushin:tutorial-using-out-of-focus-deblur-filter

6 years agoMerge pull request #12088 from alalek:ocl_callback_catch_exceptions
Alexander Alekhin [Mon, 30 Jul 2018 16:33:41 +0000 (16:33 +0000)]
Merge pull request #12088 from alalek:ocl_callback_catch_exceptions

6 years agoMerge pull request #12087 from alalek:docs_videowriter_write_bgr_input
Alexander Alekhin [Mon, 30 Jul 2018 16:33:23 +0000 (16:33 +0000)]
Merge pull request #12087 from alalek:docs_videowriter_write_bgr_input

6 years agoMerge pull request #12056 from seiko2plus:coreExpandTests
Alexander Alekhin [Mon, 30 Jul 2018 16:23:11 +0000 (16:23 +0000)]
Merge pull request #12056 from seiko2plus:coreExpandTests

6 years agoMerge pull request #12102 from csukuangfj:patch_3
Alexander Alekhin [Mon, 30 Jul 2018 12:48:06 +0000 (12:48 +0000)]
Merge pull request #12102 from csukuangfj:patch_3

6 years agocore(ocl): do not split refcount operations / compare
Alexander Alekhin [Mon, 30 Jul 2018 11:09:50 +0000 (14:09 +0300)]
core(ocl): do not split refcount operations / compare

- check result from CV_XADD() directly
- decrease urefcount after unmap() call only

6 years agoMerge pull request #12101 from miaow1988:dev-fix-mat-pushback
Alexander Alekhin [Mon, 30 Jul 2018 11:26:25 +0000 (11:26 +0000)]
Merge pull request #12101 from miaow1988:dev-fix-mat-pushback

6 years agoFixed the int size overflow bug of cv::Mat.push_back().
miaow1988 [Mon, 30 Jul 2018 09:04:15 +0000 (17:04 +0800)]
Fixed the int size overflow bug of cv::Mat.push_back().

Changed the type of variable *r* from int to size_t.
This change makes sure that a valid result of std::max(r + delta,
(r*3+1)/2) can be passed into the reserve function.

6 years agofix a typo.
Kuang Fangjun [Mon, 30 Jul 2018 10:18:18 +0000 (18:18 +0800)]
fix a typo.

6 years agocore:test Expand hal_intrin tests to support SIMD256
Sayed Adel [Tue, 24 Jul 2018 23:01:19 +0000 (01:01 +0200)]
core:test Expand hal_intrin tests to support SIMD256

6 years agoMerge pull request #12094 from seiko2plus:coreFixAvx2Interleave32
Alexander Alekhin [Sun, 29 Jul 2018 20:51:55 +0000 (20:51 +0000)]
Merge pull request #12094 from seiko2plus:coreFixAvx2Interleave32

6 years agocore:avx2 fix unaligned store for v_store_interleave v_uint32x8-3ch
Sayed Adel [Sun, 29 Jul 2018 16:22:46 +0000 (18:22 +0200)]
core:avx2 fix unaligned store for v_store_interleave v_uint32x8-3ch

6 years agoMerge pull request #12081 from mshabunin:fix-ie-build
Alexander Alekhin [Sat, 28 Jul 2018 20:34:19 +0000 (20:34 +0000)]
Merge pull request #12081 from mshabunin:fix-ie-build

6 years agocore(ocl): don't expose exceptions from OpenCL callback
Alexander Alekhin [Sat, 28 Jul 2018 10:29:26 +0000 (10:29 +0000)]
core(ocl): don't expose exceptions from OpenCL callback

to avoid silent crashes of OpenCL worker threads.

6 years agovideoio: add note about image BGR format VideoWriter::write()
Alexander Alekhin [Sat, 28 Jul 2018 09:08:09 +0000 (09:08 +0000)]
videoio: add note about image BGR format VideoWriter::write()

6 years agoMerge pull request #12067 from mshabunin:clean-test-case-list
Alexander Alekhin [Sat, 28 Jul 2018 06:21:53 +0000 (06:21 +0000)]
Merge pull request #12067 from mshabunin:clean-test-case-list

6 years agoFixed build with latest IE version
Maksim Shabunin [Fri, 27 Jul 2018 16:56:35 +0000 (19:56 +0300)]
Fixed build with latest IE version

6 years agoFixed several issues found by static analysis, GStreamer backend
Maksim Shabunin [Fri, 27 Jul 2018 15:41:39 +0000 (18:41 +0300)]
Fixed several issues found by static analysis, GStreamer backend

6 years agoFixed several issues found by static analysis, Windows-specific
Maksim Shabunin [Fri, 27 Jul 2018 15:25:55 +0000 (18:25 +0300)]
Fixed several issues found by static analysis, Windows-specific

6 years agoMerge pull request #12078 from mshabunin:fix-plus-dir
Alexander Alekhin [Fri, 27 Jul 2018 15:00:33 +0000 (15:00 +0000)]
Merge pull request #12078 from mshabunin:fix-plus-dir

6 years agodnn(ocl): avoid memory access violation
Alexander Alekhin [Tue, 24 Jul 2018 12:49:59 +0000 (15:49 +0300)]
dnn(ocl): avoid memory access violation

6 years agocmake: fixed builds in directories containing plus sign
Maksim Shabunin [Fri, 27 Jul 2018 11:29:01 +0000 (14:29 +0300)]
cmake: fixed builds in directories containing plus sign

6 years agodoc: add new tutorial "Out of focus deblur filter"
Karpushin Vladislav [Tue, 24 Jul 2018 09:54:17 +0000 (16:54 +0700)]
doc: add new tutorial "Out of focus deblur filter"

In this tutorial you will learn:
- what is a degradation image model
- what is a PSF of an out-of-focus image
- how to restore a blurred image
- what is the Wiener filter

6 years agoMerge pull request #12061 from alalek:dnn_test_skip_checks_only
Alexander Alekhin [Thu, 26 Jul 2018 15:15:32 +0000 (15:15 +0000)]
Merge pull request #12061 from alalek:dnn_test_skip_checks_only

6 years agoMerge pull request #12060 from alalek:dnn_debug_layers
Alexander Alekhin [Thu, 26 Jul 2018 15:14:32 +0000 (15:14 +0000)]
Merge pull request #12060 from alalek:dnn_debug_layers

6 years agoMerge pull request #12025 from Triplesalt:tfimport-relu
Alexander Alekhin [Thu, 26 Jul 2018 15:08:05 +0000 (15:08 +0000)]
Merge pull request #12025 from Triplesalt:tfimport-relu