platform/upstream/opencv.git
5 years agoMerge pull request #12262 from sivaraam:v4l2_mainloop
Alexander Alekhin [Tue, 21 Aug 2018 12:47:29 +0000 (12:47 +0000)]
Merge pull request #12262 from sivaraam:v4l2_mainloop

5 years agoMerge pull request #12256 from alalek:core_intrin_fp16_fix
Alexander Alekhin [Tue, 21 Aug 2018 12:47:08 +0000 (12:47 +0000)]
Merge pull request #12256 from alalek:core_intrin_fp16_fix

5 years agoMerge pull request #12219 from alalek:fix_assert_messages
Alexander Alekhin [Tue, 21 Aug 2018 12:46:35 +0000 (12:46 +0000)]
Merge pull request #12219 from alalek:fix_assert_messages

5 years agocap-v4l: remove unwanted loop in V4L2 mainloop
Kaartic Sivaraam [Mon, 20 Aug 2018 16:41:41 +0000 (22:11 +0530)]
cap-v4l: remove unwanted loop in V4L2 mainloop

The while loop would run only once making it useless and leading
to confusion.

So, remove the unwanted while loop and just keep an infinite for
loop.

5 years agoMerge pull request #12263 from doctorcolinsmith:3.4
Alexander Alekhin [Tue, 21 Aug 2018 10:12:14 +0000 (10:12 +0000)]
Merge pull request #12263 from doctorcolinsmith:3.4

5 years agoAdd export macro for ios conversion functions
Colin Smith [Mon, 20 Aug 2018 21:10:54 +0000 (14:10 -0700)]
Add export macro for ios conversion functions

5 years agocore(intrin): restrict FP16 operations
Alexander Alekhin [Mon, 20 Aug 2018 10:54:03 +0000 (13:54 +0300)]
core(intrin): restrict FP16 operations

Intrinsics must be effective, so don't declare FP16 type/operations if there is no native support.

- CV_FP16: supports load/store into/from float32
- CV_SIMD_FP16: declares FP16 types and native FP16 operations

5 years agoMerge pull request #12258 from savuor:fix/trace_fname_slash
Alexander Alekhin [Mon, 20 Aug 2018 16:22:06 +0000 (16:22 +0000)]
Merge pull request #12258 from savuor:fix/trace_fname_slash

5 years agofixed filename slash processing
Rostislav Vasilikhin [Mon, 20 Aug 2018 14:16:54 +0000 (17:16 +0300)]
fixed filename slash processing

5 years agoMerge pull request #12242 from alalek:fix_12236
Alexander Alekhin [Mon, 20 Aug 2018 13:53:27 +0000 (13:53 +0000)]
Merge pull request #12242 from alalek:fix_12236

5 years agoMerge pull request #12255 from csukuangfj:patch_5
Alexander Alekhin [Mon, 20 Aug 2018 13:47:41 +0000 (13:47 +0000)]
Merge pull request #12255 from csukuangfj:patch_5

5 years agoMerge pull request #12254 from csukuangfj:patch_4
Alexander Alekhin [Mon, 20 Aug 2018 08:46:57 +0000 (08:46 +0000)]
Merge pull request #12254 from csukuangfj:patch_4

5 years agofix a typo.
Kuang Fangjun [Mon, 20 Aug 2018 07:52:18 +0000 (15:52 +0800)]
fix a typo.

5 years agofix an error in the formula for cv::cornerSubPix
Kuang Fangjun [Mon, 20 Aug 2018 07:49:35 +0000 (15:49 +0800)]
fix an error in the formula for cv::cornerSubPix

6 years agoml: don't use "getSubVector()" with 2D matrix
Alexander Alekhin [Fri, 17 Aug 2018 13:45:31 +0000 (16:45 +0300)]
ml: don't use "getSubVector()" with 2D matrix

It is designed for 1D vectors only

6 years agoMerge pull request #12235 from alalek:core_perf_scalar_tests
Alexander Alekhin [Sat, 18 Aug 2018 20:45:47 +0000 (20:45 +0000)]
Merge pull request #12235 from alalek:core_perf_scalar_tests

6 years agoMerge pull request #12172 from alalek:core_move_const_table
Alexander Alekhin [Fri, 17 Aug 2018 14:03:01 +0000 (14:03 +0000)]
Merge pull request #12172 from alalek:core_move_const_table

6 years agoMerge pull request #12136 from sturkmen72:update_documentation
Alexander Alekhin [Fri, 17 Aug 2018 14:02:20 +0000 (14:02 +0000)]
Merge pull request #12136 from sturkmen72:update_documentation

6 years agoml(test): test different samples layout of TrainData
Alexander Alekhin [Fri, 17 Aug 2018 13:42:11 +0000 (16:42 +0300)]
ml(test): test different samples layout of TrainData

6 years agoUpdate documentation and samples
Suleyman TURKMEN [Thu, 2 Aug 2018 18:22:58 +0000 (21:22 +0300)]
Update documentation and samples

6 years agocore(perf): fix addScalar test
Alexander Alekhin [Wed, 15 Aug 2018 16:32:58 +0000 (19:32 +0300)]
core(perf): fix addScalar test

keep the same type for passed Scalar values

6 years agoMerge pull request #12220 from sturkmen72:update_seamless_cloning
Alexander Alekhin [Thu, 16 Aug 2018 16:26:27 +0000 (16:26 +0000)]
Merge pull request #12220 from sturkmen72:update_seamless_cloning

6 years agoMerge pull request #12233 from mshabunin:fix-world-install-headers
Alexander Alekhin [Thu, 16 Aug 2018 16:03:10 +0000 (16:03 +0000)]
Merge pull request #12233 from mshabunin:fix-world-install-headers

6 years agoMerge pull request #12222 from NCBee:master
Alexander Alekhin [Thu, 16 Aug 2018 16:02:39 +0000 (16:02 +0000)]
Merge pull request #12222 from NCBee:master

6 years agoFixed core headers installation in world builds
Maksim Shabunin [Thu, 16 Aug 2018 14:16:02 +0000 (17:16 +0300)]
Fixed core headers installation in world builds

6 years agoMerge pull request #12228 from tomoaki0705:fixTypoCalib3d
Alexander Alekhin [Thu, 16 Aug 2018 12:29:10 +0000 (12:29 +0000)]
Merge pull request #12228 from tomoaki0705:fixTypoCalib3d

6 years agoimgproc(test): refactor test_intersection.cpp
Alexander Alekhin [Thu, 16 Aug 2018 12:06:29 +0000 (15:06 +0300)]
imgproc(test): refactor test_intersection.cpp

don't use legacy test API

6 years agoimgproc: fix rotatedRectangleIntersection()
Alexander Alekhin [Thu, 16 Aug 2018 11:31:29 +0000 (14:31 +0300)]
imgproc: fix rotatedRectangleIntersection()

6 years agoimgproc(tests): intersetion calculation of RotatedRect
Bahram Dahi [Wed, 15 Aug 2018 17:47:54 +0000 (10:47 -0700)]
imgproc(tests): intersetion calculation of RotatedRect

6 years agofix typo
Tomoaki Teshima [Thu, 16 Aug 2018 10:11:40 +0000 (19:11 +0900)]
fix typo

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 agoUpdate seamless_cloning
Suleyman TURKMEN [Mon, 6 Aug 2018 16:45:01 +0000 (19:45 +0300)]
Update seamless_cloning

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 agocore: repair CV_Assert() messages
Alexander Alekhin [Wed, 15 Aug 2018 11:55:47 +0000 (14:55 +0300)]
core: repair CV_Assert() messages

Multi-argument CV_Assert() is accessible via CV_Assert_N() (with malformed messages).

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 agocore: move const tables outside of dispatched code
Alexander Alekhin [Tue, 7 Aug 2018 15:49:05 +0000 (18:49 +0300)]
core: move const tables outside of dispatched code

To avoid duplicates in binaries

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