Nikita Shulga [Mon, 7 Oct 2019 23:32:25 +0000 (16:32 -0700)]
Use std::atomic in getExpTab32f and getLogTab32f
Reads and writes to volatile bool are not guaranteed to be atomic.
Alexander Alekhin [Sat, 5 Oct 2019 15:45:31 +0000 (15:45 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Sat, 5 Oct 2019 15:30:09 +0000 (15:30 +0000)]
Merge pull request #15646 from alalek:fix_avx512_detection
Alexander Alekhin [Sat, 5 Oct 2019 15:29:13 +0000 (15:29 +0000)]
Merge pull request #15644 from wise86-android:upgradePySetup
Alexander Alekhin [Sat, 5 Oct 2019 15:28:52 +0000 (15:28 +0000)]
Merge pull request #15641 from alalek:dnn_pytest_update_3.4
Alexander Alekhin [Sat, 5 Oct 2019 15:27:35 +0000 (15:27 +0000)]
Merge pull request #15602 from alalek:core_softfloat_ubsan_shift
Wise86 [Sat, 5 Oct 2019 09:48:09 +0000 (11:48 +0200)]
upgrade the file to use the correct package name and include py3/gtk3 support
Alexander Alekhin [Sat, 5 Oct 2019 11:22:11 +0000 (11:22 +0000)]
Merge pull request #15638 from AsyaPronina:asyadev/gapi_filter2d_test
Alexander Alekhin [Sat, 5 Oct 2019 10:39:35 +0000 (10:39 +0000)]
fix avx512 detection
- renamed Cascade Lake AVX512_CEL => AVX512_CLX (align with Intel SDE tool)
- fixed CLX instruction sets (no IFMA/VBMI)
- added flag to bypass CPU baseline check: OPENCV_SKIP_CPU_BASELINE_CHECK
Alexander Alekhin [Fri, 4 Oct 2019 19:46:21 +0000 (19:46 +0000)]
Merge pull request #15639 from alalek:dnn_test_fix_data
Alexander Alekhin [Fri, 4 Oct 2019 19:45:37 +0000 (19:45 +0000)]
Merge pull request #15626 from alalek:dnn_openvino_2019r3
AsyaPronina [Fri, 4 Oct 2019 18:23:01 +0000 (21:23 +0300)]
OpenCV G-API test for Filter2d has changed:
> Size parameter is changed from int to cv::Size type to allow rectangle kernels
> Kernel creation code is adopted for different kernel sizes to not create only white images on the output
Alexander Alekhin [Fri, 4 Oct 2019 16:31:05 +0000 (16:31 +0000)]
Merge pull request #15622 from dkurt:enet_ie_cpu
Alexander Alekhin [Fri, 4 Oct 2019 15:56:16 +0000 (15:56 +0000)]
Merge pull request #15631 from codeclown:pkg-config
Alexander Alekhin [Fri, 4 Oct 2019 15:35:11 +0000 (18:35 +0300)]
dnn(pytest): backport changes from master, update test setUp()
Dmitry Kurtaev [Wed, 2 Oct 2019 11:05:41 +0000 (14:05 +0300)]
Enable ENet with Inference Engine backend on CPU
Alexander Alekhin [Fri, 4 Oct 2019 07:29:27 +0000 (07:29 +0000)]
dnn: update IE tests
Alexander Alekhin [Fri, 4 Oct 2019 13:48:05 +0000 (16:48 +0300)]
dnn(test): fix optional test data
Alexander Alekhin [Fri, 4 Oct 2019 11:54:54 +0000 (11:54 +0000)]
Merge pull request #15634 from alalek:issue_15083_4903
Alexander Alekhin [Fri, 4 Oct 2019 11:09:35 +0000 (14:09 +0300)]
Merge pull request #15637 from APrigarina:3.4_version2
QR-Code detection: accuracy improvement (fixed)
APrigarina [Fri, 4 Oct 2019 08:47:56 +0000 (11:47 +0300)]
bug fix
Alexander Alekhin [Thu, 3 Oct 2019 20:45:43 +0000 (20:45 +0000)]
imgproc: fix fitLine() implementation
- update optimal solutions on each iteration
Martti Laine [Thu, 3 Oct 2019 12:55:03 +0000 (15:55 +0300)]
Add note about pkg-config usage in tutorial
Alexander Alekhin [Wed, 2 Oct 2019 22:30:01 +0000 (22:30 +0000)]
Merge pull request #15627 from andrey-golubev:fix_perform_subst
andrey-golubev [Wed, 2 Oct 2019 17:54:11 +0000 (20:54 +0300)]
G-API: fix perform substitution UB/crash
Alexander Alekhin [Mon, 2 Sep 2019 12:35:35 +0000 (15:35 +0300)]
dnn: use OpenVINO 2019R3 defines
Alexander Alekhin [Wed, 2 Oct 2019 14:49:19 +0000 (17:49 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 2 Oct 2019 14:30:17 +0000 (14:30 +0000)]
Merge pull request #15621 from alalek:cmake_ipp_licenses
Alexander Alekhin [Wed, 2 Oct 2019 14:29:55 +0000 (14:29 +0000)]
Merge pull request #15620 from alalek:issue_14727
Alexander Alekhin [Wed, 2 Oct 2019 14:27:56 +0000 (14:27 +0000)]
Merge pull request #15467 from elmsfu:dshow/add_save_graph_file
Alexander Alekhin [Tue, 1 Oct 2019 18:02:45 +0000 (18:02 +0000)]
Merge pull request #15619 from alalek:dnn_eltwise_sum_ie_ocl
Elms [Thu, 5 Sep 2019 20:51:37 +0000 (13:51 -0700)]
dshow: Add ability to save direct show graph
Alexander Alekhin [Tue, 1 Oct 2019 15:29:47 +0000 (18:29 +0300)]
dnn(test): skip IE/OCL test for "sum"
Alexander Alekhin [Tue, 1 Oct 2019 15:04:21 +0000 (18:04 +0300)]
cmake: add check for IPP IW license files
Alexander Alekhin [Tue, 1 Oct 2019 14:48:47 +0000 (14:48 +0000)]
Merge pull request #15618 from alalek:dnn_test_async_timeout
Alexander Alekhin [Tue, 1 Oct 2019 13:52:14 +0000 (16:52 +0300)]
core: workaround transform() inplace calls
Alexander Alekhin [Tue, 1 Oct 2019 12:39:16 +0000 (12:39 +0000)]
Merge pull request #15492 from TolyaTalamanov:at/new-render-prims
Alexander Alekhin [Tue, 1 Oct 2019 10:31:57 +0000 (13:31 +0300)]
dnn: increase async test timeout
Talamanov, Anatoliy [Tue, 10 Sep 2019 09:23:16 +0000 (12:23 +0300)]
Add new render primitives
Alexander Alekhin [Mon, 30 Sep 2019 18:38:14 +0000 (18:38 +0000)]
Merge pull request #15611 from dkurt:fix_dnn_inp_size_autodetect
Alexander Alekhin [Mon, 30 Sep 2019 18:37:21 +0000 (18:37 +0000)]
Merge pull request #15609 from sturkmen72:update_loadsave_cpp
Sebastián Gurin [Mon, 30 Sep 2019 18:35:26 +0000 (15:35 -0300)]
Merge pull request #15480 from cancerberoSgx:estimateAffine2D
js - cv.estimateAffine2D, cv.warpPolar
ann [Mon, 30 Sep 2019 18:33:58 +0000 (21:33 +0300)]
Merge pull request #15356 from APrigarina:3.4_version2
QR-Code detection: accuracy improvement
* first commit
* resize improvement
* resize improvement
* dummy commit
* warnings fix
* warnings fix
* warnings fix
* test added
* resize fix
* resize fix
* tests changed
* tests changed
Dmitry Kurtaev [Sun, 29 Sep 2019 19:02:42 +0000 (22:02 +0300)]
Fix autodetection of input size for dnn networks
Suleyman TURKMEN [Sat, 28 Sep 2019 20:24:17 +0000 (23:24 +0300)]
Update loadsave.cpp
Alexander Alekhin [Sat, 28 Sep 2019 18:03:33 +0000 (18:03 +0000)]
Merge pull request #12670 from alalek:imgproc_getRotationMatrix2D_return_type
Alexander Alekhin [Thu, 26 Sep 2019 17:00:30 +0000 (20:00 +0300)]
core: fix UBSAN in softfloat
Alexander Alekhin [Fri, 27 Sep 2019 10:21:52 +0000 (10:21 +0000)]
Merge pull request #15600 from alalek:imgproc_pyramid_fix_indexing
Brandon [Fri, 27 Sep 2019 10:06:07 +0000 (03:06 -0700)]
Merge pull request #15595 from frastlin:rodrigues
* Added Rodrigues to the JS embindgen.py and a unittest in test_calib3d.js on 3.4 base
Alexander Alekhin [Thu, 26 Sep 2019 14:56:24 +0000 (17:56 +0300)]
imgproc: fix indexing issue in pyramids
UBSAN violation expression: 'tab = tabR - x;'
Alexander Alekhin [Thu, 26 Sep 2019 12:59:37 +0000 (12:59 +0000)]
Merge pull request #15591 from alalek:core_persistence_fix
Alexander Alekhin [Wed, 25 Sep 2019 15:59:07 +0000 (18:59 +0300)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Wed, 25 Sep 2019 15:54:05 +0000 (15:54 +0000)]
Merge pull request #15580 from smbz:dnn-lstm-reverse
Andrey Golubev [Wed, 25 Sep 2019 15:19:45 +0000 (18:19 +0300)]
Merge pull request #15313 from andrey-golubev:map_subst_to_pattern
G-API: add transformation logic to GCompiler
* Introduce transformation logic to GCOmpiler
* Remove partialOk() method
* Fix minor issues
* Refactor code according to code review
1. Re-design matchPatternToSubstitute logic
2. Update transformations order
3. Replace check_transformations pass with a
one time check in GCompiler ctor
* Revert unused nodes handling in pattern matching
* Address minor code review issues
* Address code review comments:
1) Fix some mistakes
2) Add new tests for endless loops
3) Update GCompiler's transformations logic
* Simplify GCompiler check for endless loops
1. Simplify transformations endless loops check:
- Original idea wasn't a full solution
- Need to develop a good method (heuristic?) to find loops
in general case (TODO)
2. Remove irrelevant Endless Loops tests
3. Add new "bad arg" tests and unit tests
* Update comments
Alexander Alekhin [Wed, 25 Sep 2019 15:12:58 +0000 (15:12 +0000)]
Merge pull request #15579 from alalek:ocl_use_host_mem_ptr_flag
Andrew Ryrie [Wed, 25 Sep 2019 13:12:43 +0000 (14:12 +0100)]
dnn: Allow LSTM layer to operate in reverse direction
This is useful for bidirectional LSTMs.
Alexander Alekhin [Wed, 25 Sep 2019 12:37:31 +0000 (12:37 +0000)]
Merge pull request #15582 from terfendail:pyrdown_oob
Lubov Batanina [Wed, 25 Sep 2019 12:35:04 +0000 (15:35 +0300)]
Merge pull request #15572 from l-bat:deconv3d
Fix computation of internal shapes in Deconvolution layer
* Fix computation of internal shapes
* Refactoring
Alexander Alekhin [Tue, 24 Sep 2019 10:03:29 +0000 (13:03 +0300)]
core(ocl): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR
to control CL_MEM_USE_HOST_PTR usage
Alexander Alekhin [Wed, 25 Sep 2019 11:01:44 +0000 (14:01 +0300)]
core(persistence): fix reserveNodeSpace() implementation
- avoid data copying after buffer block shrink
- resize current block in case of single FileNode
Alexander Alekhin [Wed, 25 Sep 2019 10:45:49 +0000 (10:45 +0000)]
Merge pull request #15581 from takacsd:3.4
Vitaly Tuzov [Tue, 24 Sep 2019 15:41:39 +0000 (18:41 +0300)]
Fixed OOB reading in pyrDown
Alexander Alekhin [Tue, 24 Sep 2019 22:08:55 +0000 (22:08 +0000)]
Merge pull request #15573 from alalek:build_cxx11_warnings
takacsd [Tue, 24 Sep 2019 15:42:35 +0000 (17:42 +0200)]
Add option to disable features in iOS build.
Wenzhao Xiang [Tue, 24 Sep 2019 13:30:42 +0000 (21:30 +0800)]
Merge pull request #15371 from Wenzhao-Xiang:gsoc_2019
[GSoC 2019] Improve the performance of JavaScript version of OpenCV (OpenCV.js)
* [GSoC 2019]
Improve the performance of JavaScript version of OpenCV (OpenCV.js):
1. Create the base of OpenCV.js performance test:
This perf test is based on benchmark.js(https://benchmarkjs.com). And first add `cvtColor`, `Resize`, `Threshold` into it.
2. Optimize the OpenCV.js performance by WASM threads:
This optimization is based on Web Worker API and SharedArrayBuffer, so it can be only used in browser.
3. Optimize the OpenCV.js performance by WASM SIMD:
Add WASM SIMD backend for OpenCV Universal Intrinsics. It's experimental as WASM SIMD is still in development.
* [GSoC2019]
1. use short license header
2. fix documentation node issue
3. remove the unused `hasSIMD128()` api
* [GSoC2019]
1. fix emscripten define
2. use fallback function for f16
* [GSoC2019]
Fix rebase issue
Alexander Alekhin [Tue, 24 Sep 2019 13:21:10 +0000 (13:21 +0000)]
Merge pull request #15570 from smirnov-alexey:gapi_threshold_test
Alexander Alekhin [Mon, 23 Sep 2019 15:52:24 +0000 (15:52 +0000)]
Merge pull request #15538 from terfendail:wui_checkany
Maksim Shabunin [Mon, 28 Jan 2019 11:48:00 +0000 (14:48 +0300)]
backport: fixed warnings produced by clang-9.0.0
ea3dc789867564e3727cde46245e35577a0c5d80
https://github.com/opencv/opencv_contrib/commit/
83fc27cb99db4435d07974090fbdc77d831931cd
smirnov-alexey [Mon, 23 Sep 2019 11:21:33 +0000 (14:21 +0300)]
Move maxval to threshold tests parameter
Fix documentation
Alexander Alekhin [Mon, 23 Sep 2019 09:22:06 +0000 (09:22 +0000)]
Merge pull request #15566 from alalek:issue_15558
Alexander Alekhin [Mon, 23 Sep 2019 09:21:49 +0000 (09:21 +0000)]
Merge pull request #15565 from alalek:issue_15561
Alexander Alekhin [Mon, 23 Sep 2019 09:21:27 +0000 (09:21 +0000)]
Merge pull request #15564 from alalek:issue_15560
Alexander Alekhin [Sun, 22 Sep 2019 11:28:41 +0000 (11:28 +0000)]
core(test): fix check conditions
Alexander Alekhin [Sun, 22 Sep 2019 11:11:08 +0000 (11:11 +0000)]
ml: add checks of empty train data
Alexander Alekhin [Sun, 22 Sep 2019 10:45:00 +0000 (10:45 +0000)]
imgcodecs: add check image.empty() in imwrite()/imencode()
Alexander Alekhin [Fri, 20 Sep 2019 21:11:49 +0000 (21:11 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 20 Sep 2019 21:07:24 +0000 (00:07 +0300)]
Merge pull request #15554 from alalek:pr15422_patch_files
* 3rdparty: libpng v1.6.37 MSA patch (pr15422)
original files: https://github.com/glennrp/libpng/tree/v1.6.37/mips
* 3rdparty: libwebp MSA asm patch (pr15422)
mipsopen-fwu [Fri, 20 Sep 2019 16:52:48 +0000 (00:52 +0800)]
Merge pull request #15422 from mipsopen-fwu:msa-dev
* Added MSA implementations for mips platforms. Intrinsics for MSA and build scripts for MIPS platforms are added.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed some unused code in mips.toolchain.cmake.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Added comments for mips toolchain configuration and disabled compiling warnings for libpng.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Fixed the build error of unsupported opcode 'pause' when mips isa_rev is less than 2.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed FP16 related item in MSA option defines in OpenCVCompilerOptimizations.cmake.
2. Use CV_CPU_COMPILE_MSA instead of __mips_msa for MSA feature check in cv_cpu_dispatch.h.
3. Removed hasSIMD128() in intrin_msa.hpp.
4. Define CPU_MSA as 150.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed unnecessary CV_SIMD128_64F guarding in intrin_msa.hpp.
2. Removed unnecessary CV_MSA related code block in dotProd_8u().
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Defined CPU_MSA_FLAGS_ON as "-mmsa".
2. Removed CV_SIMD128_64F guardings in intrin_msa.hpp.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed unused msa_mlal_u16() and msa_mlal_s16 from msa_macros.h.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
Alexander Alekhin [Fri, 20 Sep 2019 16:41:41 +0000 (16:41 +0000)]
Merge pull request #15530 from sturkmen72:update_samples_v4
Suleyman TURKMEN [Mon, 19 Aug 2019 21:40:45 +0000 (00:40 +0300)]
Update samples
Vitaly Tuzov [Wed, 18 Sep 2019 14:45:34 +0000 (17:45 +0300)]
Extended v_check_any/v_check_all universal intrinsics to support 64-bit integer
Alexander Alekhin [Wed, 18 Sep 2019 20:12:36 +0000 (20:12 +0000)]
Merge pull request #15540 from alalek:issue_15278_2
Alexander Alekhin [Wed, 18 Sep 2019 15:31:25 +0000 (15:31 +0000)]
Merge pull request #15519 from mshabunin:fix-custom-install
dab0bby [Wed, 18 Sep 2019 15:30:01 +0000 (17:30 +0200)]
Merge pull request #15477 from dab0bby:remove-old-build-java-option
* remove old BUILD_opencv_java option
* replace old build_java option with new BUILD_JAVA option
Alexander Alekhin [Wed, 18 Sep 2019 15:18:09 +0000 (15:18 +0000)]
cmake: use 'long long' for atomic check
Alexander Alekhin [Wed, 18 Sep 2019 12:19:14 +0000 (12:19 +0000)]
Merge pull request #15515 from dkurt:dnn_detection_model_fix
Alexander Alekhin [Wed, 18 Sep 2019 11:22:26 +0000 (11:22 +0000)]
Merge pull request #15516 from dkurt:dnn_detection_model_fix_3.4
Alexander Alekhin [Wed, 18 Sep 2019 11:19:59 +0000 (11:19 +0000)]
Merge pull request #15529 from collinbrake:feature_grammar_fixes
Maksim Shabunin [Tue, 17 Sep 2019 15:01:06 +0000 (15:01 +0000)]
Merge pull request #15531 from terfendail:disflow_fix
Alexander Alekhin [Tue, 17 Sep 2019 14:26:43 +0000 (14:26 +0000)]
Merge pull request #15399 from terfendail:perf_stereobm
Vitaly Tuzov [Tue, 17 Sep 2019 12:53:18 +0000 (15:53 +0300)]
Fixed out of bound reading in DIS optical flow evaluation implementation
collin [Mon, 16 Sep 2019 21:20:39 +0000 (17:20 -0400)]
Grammer fixes on python image display tutorial
Daniel Kapusi [Mon, 16 Sep 2019 21:04:05 +0000 (23:04 +0200)]
Merge pull request #15341 from DiebBlue:is5769
* issue 5769 fixed: cv::stereoRectify fails if given inliers mask of type vector<uchar>
* issue5769 fix using reshape and add regression test
* regression test with outlier detection, testing vector and mat data
* Size comparision of wrong vector within CV_Assert in regression test corrected
* cleanup test code
Alexander Alekhin [Mon, 16 Sep 2019 15:28:33 +0000 (15:28 +0000)]
Merge pull request #15517 from mshabunin:fix-osx-avfoundation-auth
Alexander Alekhin [Mon, 16 Sep 2019 15:24:29 +0000 (15:24 +0000)]
Merge pull request #15491 from terfendail:undistort_fix
Vitaly Tuzov [Tue, 10 Sep 2019 08:40:14 +0000 (11:40 +0300)]
Fixed universal intrinsic undistort() implementation
Maksim Shabunin [Fri, 13 Sep 2019 12:51:15 +0000 (15:51 +0300)]
Windows: partially restore install config generation
Alexander Alekhin [Fri, 13 Sep 2019 17:15:10 +0000 (17:15 +0000)]
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
Alexander Alekhin [Fri, 13 Sep 2019 17:06:00 +0000 (17:06 +0000)]
Merge pull request #15518 from mshabunin:fix-osx-qt
Alexander Alekhin [Fri, 13 Sep 2019 17:04:52 +0000 (17:04 +0000)]
Merge pull request #15476 from cancerberoSgx:js-docker