Vitaly Tuzov [Tue, 26 Jun 2018 11:04:02 +0000 (14:04 +0300)]
Disable MSMF VideoCapture fallback to existing camera in case provided index is out of range.
Vadim Pisarevsky [Tue, 26 Jun 2018 06:36:27 +0000 (06:36 +0000)]
Merge pull request #11826 from dkurt:dnn_tf_data_layouts
Vadim Pisarevsky [Tue, 26 Jun 2018 06:35:18 +0000 (09:35 +0300)]
temporarily disabled OpenCL use in DNN module on Mac (#11828)
* temporarily disabled OpenCL use in DNN module on Mac, since some of the tests fail
* disable OpenCL in DNN on Mac at CMake level, not source level (thanks to alalek for the advice)
Dmitry Kurtaev [Mon, 25 Jun 2018 12:15:25 +0000 (15:15 +0300)]
Use layers consumers to predict data layout
Li, Peng [Mon, 25 Jun 2018 14:06:18 +0000 (22:06 +0800)]
update convolution opencl kernels in dnn module (#11762)
* optimize ocl kernel enqueue in fc layer
Signed-off-by: Li Peng <peng.li@intel.com>
* use CV_LOG_INFO in convolution auto tuning
Signed-off-by: Li Peng <peng.li@intel.com>
* update convolution IDLF kernel
extend parameter tuning range, also cleanup
ocl kernel implementation
Signed-off-by: Li Peng <peng.li@intel.com>
* update in-memory convolution cache config
fp16 and fp32 cache config are stored separately
Signed-off-by: Li Peng <peng.li@intel.com>
Maksim Shabunin [Mon, 25 Jun 2018 14:02:58 +0000 (17:02 +0300)]
cmake: function for application creation (#11736)
* apps: add Win32 friendly opencv_version app
Improve experience of launching app from explorer:
- application just flash (open/close) the console window
Suggested Win32 application flavor additionally shows MessageBox
and waits for User interaction.
* cmake: added unified application creation function
Vadim Pisarevsky [Mon, 25 Jun 2018 12:54:09 +0000 (12:54 +0000)]
Merge pull request #11743 from alalek:samples_avoid_double_VideoCapture_open
Rostislav Vasilikhin [Mon, 25 Jun 2018 10:19:20 +0000 (13:19 +0300)]
Kinect2 support added to OpenNI2 backend (#11794)
* Kinect2 support added to OpenNI2 backend
* more fixes for OpenNI2 backend
* whitespace fixed
* libfreenect2 support added
* const cast added
* mutable removed
Vadim Pisarevsky [Mon, 25 Jun 2018 10:16:27 +0000 (10:16 +0000)]
Merge pull request #11812 from dkurt:dnn_interp_layer_impl
Alexander Alekhin [Sat, 23 Jun 2018 18:51:06 +0000 (18:51 +0000)]
Merge pull request #11790 from berak:dnn_fix_coco_txt
Alexander Alekhin [Sat, 23 Jun 2018 17:55:12 +0000 (17:55 +0000)]
Merge pull request #11815 from tomoaki0705:suppressDeprecatedWarning
Tomoaki Teshima [Sat, 23 Jun 2018 12:35:25 +0000 (21:35 +0900)]
suppress warning while building the samples
Alexander Alekhin [Sat, 23 Jun 2018 08:46:29 +0000 (08:46 +0000)]
Merge pull request #11808 from tomoaki0705:caroteneSuppressWarnings
Dmitry Kurtaev [Fri, 22 Jun 2018 16:26:47 +0000 (19:26 +0300)]
Implement Interp layer using Resize layer
Tomoaki Teshima [Fri, 22 Jun 2018 11:17:22 +0000 (20:17 +0900)]
suppress warning on Arm platform
Alexander Alekhin [Fri, 22 Jun 2018 05:23:55 +0000 (05:23 +0000)]
Merge pull request #11773 from alalek:dnn_ocl_update_force_tuning_flag
Alexander Alekhin [Fri, 15 Jun 2018 13:13:52 +0000 (16:13 +0300)]
dnn(ocl): fix external / predefined builtin configuration behavior
OPENCV_OCL4DNN_FORCE_AUTO_TUNING should ignore existed configuration from:
- builtin predefined configurations (for Intel OpenCL iGPUs)
- external configuration (via OPENCV_OCL4DNN_CONFIG_PATH)
Prefer external configuration over builtin.
Alexander Alekhin [Thu, 21 Jun 2018 17:45:21 +0000 (17:45 +0000)]
Merge pull request #11791 from dkurt:dnn_shufflenet
Dmitry Kurtaev [Tue, 19 Jun 2018 11:35:07 +0000 (14:35 +0300)]
Add ShuffleChannel layer
Alexander Alekhin [Thu, 21 Jun 2018 11:51:54 +0000 (11:51 +0000)]
Merge pull request #11798 from dkurt:dnn_layers_names_with_dot
Dmitry Kurtaev [Wed, 20 Jun 2018 11:25:24 +0000 (14:25 +0300)]
Remove undocumented feature to retreive layers outputs by indices
berak [Tue, 19 Jun 2018 08:45:49 +0000 (10:45 +0200)]
dnn: add a coco labels file for yolov3
Alexander Alekhin [Sun, 17 Jun 2018 13:25:44 +0000 (13:25 +0000)]
Merge pull request #11775 from alalek:issue_11771
Alexander Alekhin [Sat, 16 Jun 2018 14:11:44 +0000 (14:11 +0000)]
Merge pull request #11774 from adamrankin:cap_dshow_autofocus
Alexander Alekhin [Fri, 15 Jun 2018 16:37:58 +0000 (19:37 +0300)]
photo: remove redundant broken check
`dest(roi_d)` operation contains similar check inside.
Adam Rankin [Thu, 14 Jun 2018 22:24:14 +0000 (18:24 -0400)]
Adding the ability to toggle autofocus on/off for DirectShow webcams
Alexander Alekhin [Thu, 14 Jun 2018 15:59:48 +0000 (15:59 +0000)]
Merge pull request #11760 from vishwesh5:patch-1
Alexander Alekhin [Thu, 14 Jun 2018 13:18:30 +0000 (13:18 +0000)]
Merge pull request #11766 from dkurt:dnn_darknet_avgpool_softmax
Alexander Alekhin [Thu, 14 Jun 2018 13:17:54 +0000 (13:17 +0000)]
Merge pull request #11763 from dkurt:dnn_keras_relu6_v2
Alexander Alekhin [Thu, 14 Jun 2018 13:01:22 +0000 (13:01 +0000)]
Merge pull request #11764 from alalek:videoio_msmf_refactor_ComPtr_wrapper
Dmitry Kurtaev [Thu, 14 Jun 2018 12:22:08 +0000 (15:22 +0300)]
Import average pooling and softmax layers from Darknet
Alexander Alekhin [Sun, 10 Jun 2018 12:32:09 +0000 (15:32 +0300)]
videoio(msmf): cleanup unused methods from ComPtr wrapper
Use Win32 TRUE/FALSE in SetUINT32() calls for bool parameters
Dmitry Kurtaev [Thu, 14 Jun 2018 10:30:30 +0000 (13:30 +0300)]
Import ClipByValue from Keras
Alexander Alekhin [Thu, 14 Jun 2018 09:57:38 +0000 (09:57 +0000)]
Merge pull request #11735 from alalek:videoio_msmf_fix_configureHW_reopen_condition
Alexander Alekhin [Thu, 14 Jun 2018 09:57:02 +0000 (09:57 +0000)]
Merge pull request #11755 from alalek:dnn_backend_default_config
vishwesh5 [Thu, 14 Jun 2018 07:00:06 +0000 (12:30 +0530)]
Corrected formula
Corrected formula for weighted within-class variance
Alexander Alekhin [Wed, 13 Jun 2018 15:55:31 +0000 (18:55 +0300)]
dnn: add runtime parameter OPENCV_DNN_BACKEND_DEFAULT
to control DNN_BACKEND_DEFAULT enumeration value behavior
Alexander Alekhin [Wed, 13 Jun 2018 15:51:10 +0000 (15:51 +0000)]
Merge pull request #11707 from kdpatters:patch-1
Alexander Alekhin [Wed, 13 Jun 2018 13:31:31 +0000 (13:31 +0000)]
Merge pull request #11737 from alalek:videoio_msmf_replace_debug_print
Alexander Alekhin [Sat, 9 Jun 2018 13:13:52 +0000 (16:13 +0300)]
videoio(msmf): fix reopen condition in configureHW()
`camid` value is always -1 after close().
Alexander Alekhin [Wed, 13 Jun 2018 13:26:50 +0000 (13:26 +0000)]
Merge pull request #11739 from dkurt:more_ie_models
yuki takehara [Tue, 12 Jun 2018 18:05:44 +0000 (03:05 +0900)]
Merge pull request #11706 from take1014:setTo_Nan_10507
* setTo_#10507
* setTo_Nan_10507
* setTo: update check / test for NaNs
Alexander Alekhin [Mon, 11 Jun 2018 23:17:49 +0000 (23:17 +0000)]
samples: don't call twice of VideoCapture::open()
Alexander Alekhin [Mon, 11 Jun 2018 16:32:05 +0000 (16:32 +0000)]
Merge pull request #11740 from catree:add_tutorial_imgproc_java_python3
catree [Sun, 10 Jun 2018 21:57:11 +0000 (23:57 +0200)]
Add Java and Python code for the following imgproc tutorials: Finding contours in your image, Convex Hull, Creating Bounding boxes and circles for contours, Creating Bounding rotated boxes and ellipses for contours, Image Moments, Point Polygon Test.
Alexander Alekhin [Sun, 10 Jun 2018 17:12:04 +0000 (17:12 +0000)]
Merge pull request #11738 from dkurt:dnn_batch_norm_fusion_base
Dmitry Kurtaev [Sat, 9 Jun 2018 15:06:53 +0000 (18:06 +0300)]
Fuse top layers to batch normalization
Alexander Alekhin [Sat, 9 Jun 2018 14:38:32 +0000 (17:38 +0300)]
videoio(msmf): replace custom debug print function
Alexander Alekhin [Sat, 9 Jun 2018 13:49:20 +0000 (13:49 +0000)]
Merge pull request #11723 from alalek:sample_videocapture_camera
Alexander Alekhin [Sat, 9 Jun 2018 13:48:06 +0000 (13:48 +0000)]
Merge pull request #11734 from alalek:opencv_version_win32
Dmitry Kurtaev [Sat, 9 Jun 2018 12:37:04 +0000 (15:37 +0300)]
Enable FastNeuralStyle and OpenFace networks with IE backend
Alexander Alekhin [Sat, 9 Jun 2018 10:59:21 +0000 (13:59 +0300)]
apps: add Win32 friendly opencv_version app
Improve experience of launching app from explorer:
- application just flash (open/close) the console window
Suggested Win32 application flavor additionally shows MessageBox
and waits for User interaction.
Alexander Alekhin [Sat, 9 Jun 2018 12:25:23 +0000 (12:25 +0000)]
Merge pull request #11729 from alalek:ffmpeg_update_3.4
Alexander Alekhin [Sat, 9 Jun 2018 12:11:39 +0000 (12:11 +0000)]
Merge pull request #11733 from alalek:opencv_ffmpeg_download_ps1
Alexander Alekhin [Sat, 9 Jun 2018 12:10:49 +0000 (12:10 +0000)]
Merge pull request #11732 from alalek:cmake_build_apps_list
Alexander Alekhin [Sat, 9 Jun 2018 12:10:24 +0000 (12:10 +0000)]
Merge pull request #11714 from alalek:win32_waitKey_accuracy
Alexander Alekhin [Sat, 9 Jun 2018 10:08:50 +0000 (13:08 +0300)]
cmake: generate and install ffmpeg-download.ps1
64-bit only
Alexander Alekhin [Sat, 9 Jun 2018 09:48:26 +0000 (12:48 +0300)]
cmake: add BUILD_APPS_LIST
- build "opencv_version" only: `cmake -DBUILD_APPS_LIST=version ...`
- option 'BUILD_opencv_apps' should be 'ON'
Alexander Alekhin [Fri, 8 Jun 2018 19:10:37 +0000 (19:10 +0000)]
Merge pull request #11726 from catree:add_tutorial_java_ld_preload_mkl
Alexander Alekhin [Fri, 8 Jun 2018 19:04:28 +0000 (19:04 +0000)]
Merge pull request #11728 from dkurt:dnn_update_tf_ssd
Alexander Alekhin [Fri, 8 Jun 2018 19:01:40 +0000 (19:01 +0000)]
Merge pull request #11727 from alalek:videoio_msmf_use_Lock2D
Alexander Alekhin [Fri, 8 Jun 2018 18:59:29 +0000 (18:59 +0000)]
Merge pull request #11715 from catree:add_tutorial_objDetect_HDR_java_python
Alexander Alekhin [Fri, 8 Jun 2018 18:56:30 +0000 (18:56 +0000)]
Merge pull request #11702 from terfendail:msmf_sizefix
catree [Thu, 7 Jun 2018 18:14:16 +0000 (20:14 +0200)]
Add Java and Python code for cascade classifier and HDR tutorials.
Vitaly Tuzov [Wed, 6 Jun 2018 13:00:55 +0000 (16:00 +0300)]
Fixed setting of frame size properties for MSMF-based VideoCapture
Alexander Alekhin [Fri, 8 Jun 2018 15:47:00 +0000 (18:47 +0300)]
ffmpeg: update OpenCV FFmpeg wrapper (3.4)
Alexander Alekhin [Fri, 8 Jun 2018 14:06:45 +0000 (17:06 +0300)]
videoio(MSMF): refactor grabFrame() / retrieveFrame() methods
- no behavior changes in grabFrame()
- added Lock2D() support into retrieveFrame()
Dmitry Kurtaev [Fri, 8 Jun 2018 13:55:21 +0000 (16:55 +0300)]
Enable SSD models from TensorFlow with OpenCL plugin of Intel's Inference Engine
catree [Fri, 8 Jun 2018 13:38:10 +0000 (15:38 +0200)]
Add LD_PRELOAD instruction to be able to run Java code that calls OpenCV functions that use the Intel MKL library.
Alexander Alekhin [Fri, 8 Jun 2018 12:59:19 +0000 (12:59 +0000)]
Merge pull request #11722 from gnthibault:3.4
Alexander Alekhin [Fri, 8 Jun 2018 11:12:45 +0000 (14:12 +0300)]
samples: add videocapture_camera sample
- show capturing information: width / height / fps
- show average FPS for cap.read()+imshow() via cv::getTickCount()
- optional frame processing code path
gnthibault [Fri, 8 Jun 2018 09:22:36 +0000 (11:22 +0200)]
Fixed Assertin error due to Size.area() overflowing
Alexander Alekhin [Thu, 7 Jun 2018 16:25:01 +0000 (19:25 +0300)]
highgui(win32): improve waitKey() timeout condition
- use cv::getTickCount() instead of Win32 GetTickCount()
- process message queue before timeout exit
rockzhan [Thu, 7 Jun 2018 13:45:54 +0000 (21:45 +0800)]
Merge pull request #11649 from rockzhan:dnn_dw_prelu
dnn: Fix output mismatch when forward dnn model contain [depthwise conv(group=1) + bn + prelu] (#11649)
* this can make sure [depthwise conv(group=1) + bn + prelu] output not shift
* add TEST to show the output mismatch in [DWconv+Prelu]
* fix typo
* change loading image to init cvMat directly
* build runtime model, without loading external model
* remove whitespace
* change way to create a cvmat
* add bias_term, add target output
* fix [dwconv + prelu] value mismatch when no optimizations
* fix Test error when change output channels
* add parametric test
* change num_output to group value
* change conv code and change test back
David [Thu, 7 Jun 2018 13:29:04 +0000 (15:29 +0200)]
Added ResizeBilinear op for tf (#11050)
* Added ResizeBilinear op for tf
Combined ResizeNearestNeighbor and ResizeBilinear layers into Resize (with an interpolation param).
Minor changes to tf_importer and resize layer to save some code lines
Minor changes in init.cpp
Minor changes in tf_importer.cpp
* Replaced implementation of a custom ResizeBilinear layer to all layers
* Use Mat::ptr. Replace interpolation flags
Maksim Shabunin [Thu, 7 Jun 2018 13:27:19 +0000 (13:27 +0000)]
Merge pull request #11711 from alalek:python_standalone
Alexander Alekhin [Thu, 7 Jun 2018 09:32:48 +0000 (12:32 +0300)]
python: support standalone Python bindings build
- requires OpenCV source directory
- requires OpenCV binary directory with built modules and 'python_bindings_generator' target
Vadim Pisarevsky [Thu, 7 Jun 2018 11:19:21 +0000 (11:19 +0000)]
Merge pull request #11620 from terfendail:hmmorph_fix
Sayed Adel [Thu, 7 Jun 2018 11:16:48 +0000 (14:16 +0300)]
core:ppc Fix java CoreTest/testMahalanobis (#11677)
* core:ppc Fix java CoreTest/testMahalanobis
* core:ppc Fix warning unused variable on clang
Alexander Alekhin [Thu, 7 Jun 2018 11:14:52 +0000 (11:14 +0000)]
Merge pull request #11705 from alalek:fix_samples_callback
Alexander Alekhin [Thu, 7 Jun 2018 11:13:30 +0000 (11:13 +0000)]
Merge pull request #11704 from alalek:apps_avoid_catch_by_value
Vadim Pisarevsky [Thu, 7 Jun 2018 11:09:00 +0000 (11:09 +0000)]
Merge pull request #11700 from dkurt:dnn_ie_try_catch
Dmitry Kurtaev [Tue, 5 Jun 2018 14:18:14 +0000 (17:18 +0300)]
Wrap Inference Engine init to try-catch
Kyle D. Patterson [Wed, 6 Jun 2018 20:26:11 +0000 (16:26 -0400)]
Update py_calibration.markdown
Improved readability by correcting grammar and idioms.
Further improved language and readability.
Attempted to fix list bullets.
Again, attempted to fix list bullets.
Removed trailing whitespace on line 8.
Vitaly Tuzov [Tue, 29 May 2018 17:11:49 +0000 (20:11 +0300)]
Fix for morphologyEx MORPH_HITMISS mode
Alexander Alekhin [Wed, 6 Jun 2018 15:29:05 +0000 (18:29 +0300)]
samples: fix callback function type
Alexander Alekhin [Wed, 6 Jun 2018 15:23:29 +0000 (18:23 +0300)]
apps: catch() with "const reference"
Vadim Pisarevsky [Wed, 6 Jun 2018 12:20:59 +0000 (12:20 +0000)]
Merge pull request #11683 from alalek:videoio_ffmpeg_cleanup_dead_code
Vadim Pisarevsky [Wed, 6 Jun 2018 09:30:39 +0000 (09:30 +0000)]
Merge pull request #11650 from dkurt:dnn_default_backend
Alexander Alekhin [Tue, 5 Jun 2018 20:07:39 +0000 (20:07 +0000)]
Merge pull request #11695 from alalek:dnn_test_fix_sa_warnings
Alexander Alekhin [Tue, 5 Jun 2018 20:07:15 +0000 (20:07 +0000)]
Merge pull request #11692 from alalek:default_log_level_warnings
Alexander Alekhin [Tue, 5 Jun 2018 20:06:55 +0000 (20:06 +0000)]
Merge pull request #11687 from alalek:gstreamer_write_pipeline
Alexander Alekhin [Tue, 5 Jun 2018 20:06:27 +0000 (20:06 +0000)]
Merge pull request #11685 from alalek:videoio_fix_backend_modes
Alexander Alekhin [Tue, 5 Jun 2018 09:40:43 +0000 (12:40 +0300)]
core: set default logger level to 'warning' in Release builds
should hide unnecessary 'info' messages
Alexander Alekhin [Tue, 5 Jun 2018 14:59:16 +0000 (14:59 +0000)]
Merge pull request #11690 from peters:master
Peter Rekdal Sunde [Tue, 5 Jun 2018 08:37:40 +0000 (10:37 +0200)]
3rdparty: update libwebp 0.6.1 => 1.0.0
Commit: https://github.com/webmproject/libwebp/commit/
698b8844e38a0c5ca50bb20f866e71291bfc3b36
Tag: https://github.com/webmproject/libwebp/releases/tag/v1.0.0
Alexander Alekhin [Tue, 5 Jun 2018 09:48:35 +0000 (12:48 +0300)]
dnn(test): reuse test/test_common.hpp, eliminate dead code warning
Alexander Alekhin [Mon, 4 Jun 2018 18:38:24 +0000 (18:38 +0000)]
videoio(gstreamer): support dumping of VideoWriter pipeline
Alexander Alekhin [Mon, 4 Jun 2018 16:48:51 +0000 (19:48 +0300)]
videoio: fix capture modes
Alexander Alekhin [Mon, 4 Jun 2018 16:16:08 +0000 (16:16 +0000)]
Merge pull request #11682 from alalek:fix_pylint