opencv/modules
Marat K 38f8fc6c82 Merge pull request #12249 from kopytjuk:feature/region-layer-batch-mode
Feature/region layer batch mode (#12249)

* Add batch mode for Darknet networks.

Swap variables in test_darknet.

Adapt reorg layer to batch mode.

Adapt region layer.

Add OpenCL implementation.

Remove trailing whitespace.

Bugifx reorg opencl implementation.

Fix bug in OpenCL reorg.

Fix modulo bug.

Fix bug.

Reorg openCL.

Restore reorg layer opencl code.

OpenCl fix.

Work on openCL reorg.

Remove whitespace.

Fix openCL region layer implementation.

Fix bug.

Fix softmax region opencl bug.

Fix opencl bug.

Fix openCL bug.

Update aff_trans.cpp

When the fullAffine parameter is set to false, the estimateRigidTransform function maybe return empty, then the _localAffineEstimate function will be called, but the bug in it will result in incorrect results.

core(libva): support YV12 too

Added to CPU path only.
OpenCL code path still expects NV12 only (according to Intel OpenCL extension)

cmake: allow to specify own libva paths

via CMake:
- `-DVA_LIBRARIES=/opt/intel/mediasdk/lib64/libva.so.2\;/opt/intel/mediasdk/lib64/libva-drm.so.2`

android: NDK17 support

tested with NDK 17b (17.1.4828580)

Enable more deep learning tests using Intel's Inference Engine backend

ts: don't pass NULL for std::string() constructor

openvino: use 2018R3 defines

experimental version++

OpenCV version++

OpenCV 3.4.3

OpenCV version '-openvino'

openvino: use 2018R3 defines

Fixed windows build with InferenceEngine

dnn: fix variance setting bug for PriorBoxLayer

- The size of second channel should be size[2] of output tensor,
- The Scalar should be {variance[0], variance[0], variance[0], variance[0]}
  for _variance.size() == 1 case.

Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>

Fix lifetime of networks which are loaded from Model Optimizer IRs

Adds a small note describing BUILD_opencv_world (#12332)

* Added a mall note describing BUILD_opencv_world cmake option to the Installation in Windows tutorial.

* Made slight changes in BUILD_opencv_world documentation.

* Update windows_install.markdown

improved grammar

Update opengl_interop.cpp

resolves #12307

java: fix LIST_GET macro

fix typo

Added option to fail on missing testdata

Fixed that object_detection.py does not work in python3.

cleanup: IPP Async (IPP_A)

except header file with conversion routines (will be removed in OpenCV 4.0)

imgcodecs: add null pointer check

Include preprocessing nodes to object detection TensorFlow networks (#12211)

* Include preprocessing nodes to object detection TensorFlow networks

* Enable more fusion

* faster_rcnn_resnet50_coco_2018_01_28 test

countNonZero function reworked to use wide universal intrinsics instead of SSE2 intrinsics

resolve #5788

imgcodecs(webp): multiple fixes

- don't reallocate passed 'img' (test fixed - must use IMREAD_UNCHANGED / IMREAD_ANYCOLOR)
- avoid memory DDOS
- avoid reading of whole file during header processing
- avoid data access after allocated buffer during header processing (missing checks)
- use WebPFree() to free allocated buffers (libwebp >= 0.5.0)
- drop unused & undefined `.close()` method
- added checks for channels >= 5 in encoder

ml: fix adjusting K in KNearest (#12358)

dnn(perf): fix and merge Convolution tests

- OpenCL tests didn't run any OpenCL kernels
- use real configuration from existed models (the first 100 cases)
- batch size = 1

dnn(test): use dnnBackendsAndTargets() param generator

Bit-exact resize reworked to use wide intrinsics (#12038)

* Bit-exact resize reworked to use wide intrinsics

* Reworked bit-exact resize row data loading

* Added bit-exact resize row data loaders for SIMD256 and SIMD512

* Fixed type punned pointer dereferencing warning

* Reworked loading of source data for SIMD256 and SIMD512 bit-exact resize

Bit-exact GaussianBlur reworked to use wide intrinsics (#12073)

* Bit-exact GaussianBlur reworked to use wide intrinsics

* Added v_mul_hi universal intrinsic

* Removed custom SSE2 branch from bit-exact GaussianBlur

* Removed loop unrolling for gaussianBlur horizontal smoothing

doc: fix English gramma in tutorial out-of-focus-deblur filter (#12214)

* doc: fix English gramma in tutorial out-of-focus-deblur filter

* Update out_of_focus_deblur_filter.markdown

slightly modified one sentence

doc: add new tutorial motion deblur filter (#12215)

* doc: add new tutorial motion deblur filter

* Update motion_deblur_filter.markdown

a few minor changes

Replace Slice layer to Crop in Faster-RCNN networks from Caffe

js: use generated list of OpenCV headers

- replaces hand-written list

imgcodecs(webp): use safe cast to size_t on Win32

* Put Version status back to -dev.

follow the common codestyle

Exclude some target engines.

Refactor formulas.

Refactor code.

* Remove unused variable.

* Remove inference engine check for yolov2.

* Alter darknet batch tests to test with two different images.

* Add yolov3 second image GT.

* Fix bug.

* Fix bug.

* Add second test.

* Remove comment.

* Add NMS on network level.

* Add helper files to dev.

* syntax fix.

* Fix OD sample.

Fix sample dnn object detection.

Fix NMS boxes bug.

remove trailing whitespace.

Remove debug function.

Change thresholds for opencl tests.

* Adapt score diff and iou diff.

* Alter iouDiffs.

* Add debug messages.

* Adapt iouDiff.

* Fix tests
2018-09-12 13:29:43 +03:00
..
calib3d Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
core Merge pull request #12494 from DEEPIR:3.4 2018-09-11 19:38:00 +00:00
cudaarithm Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudabgsegm cuda: eliminate part of build warnings 2018-04-05 17:53:22 +03:00
cudacodec Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudafeatures2d Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudafilters Misc. typos 2018-07-31 18:44:23 +03:00
cudaimgproc Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudalegacy Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudaobjdetect Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudaoptflow Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudastereo cuda: fix build 2018-07-06 15:32:36 +03:00
cudawarping Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
cudev fix uninitialized read errors reported by CUDA-INITCHECK 2018-09-11 14:47:39 +08:00
dnn Merge pull request #12249 from kopytjuk:feature/region-layer-batch-mode 2018-09-12 13:29:43 +03:00
features2d Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
flann Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
highgui Update window.cpp 2018-09-09 19:24:25 +00:00
imgcodecs Merge pull request #12458 from DEEPIR:3.4 2018-09-07 18:43:47 +03:00
imgproc Output RGBA images when bayer_xx2YYYA is called 2018-09-07 16:03:04 -04:00
java Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
js js: use generated list of OpenCV headers 2018-08-31 14:48:44 +03:00
ml Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
objdetect Update hog.cpp 2018-09-10 16:49:39 +03:00
photo Merge pull request #12458 from DEEPIR:3.4 2018-09-07 18:43:47 +03:00
python bindings: add debug helpers for args conversions 2018-09-08 12:23:08 +00:00
shape Update aff_trans.cpp 2018-08-23 21:52:27 +08:00
stitching Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
superres Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
ts Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
video Merge pull request #12458 from DEEPIR:3.4 2018-09-07 18:43:47 +03:00
videoio Merge pull request #12458 from DEEPIR:3.4 2018-09-07 18:43:47 +03:00
videostab Fixed issues found by static analysis (mostly DBZ) 2018-07-17 16:14:54 +03:00
viz viz: call "mapper->Update()" before and after SetInputData() 2018-08-22 15:40:51 +03:00
world Do not build protobuf without dnn (#10689) 2018-02-01 16:30:23 +03:00
CMakeLists.txt cmake: allow providing list of extra modules paths 2018-02-01 19:02:02 +03:00