Alexander Alekhin
7eaa548b6d
flann: drop wrapping of Index class
...
- due to lifetime restrictions on passed 'features' parameter and its dangling pointers
- dangling pointer issue is fixed for OpenCV 4.5.1+
2020-12-09 05:39:35 +00:00
Alexander Alekhin
d7e936de5c
dnn(caffe): add DetectionOutputParameter.clip to .proto file
...
- allow to load opencv_face_detector with external unpatched protobuf
2020-12-09 05:21:07 +00:00
Alexander Alekhin
d2bc0e5fe0
js(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+
2020-12-09 04:19:53 +00:00
Anastasia Murzova
a82c50eac2
Added TF resize_bilinear behaviour alignment
...
Fixes OpenCV issue #18721
2020-12-08 22:51:38 +03:00
Alexander Alekhin
e8348e5f64
Merge pull request #19046 from alalek:issue_16861
2020-12-08 11:34:20 +00:00
Alexander Alekhin
fb85974d01
android: use protected fields in JavaCamera2View
2020-12-08 05:18:21 +00:00
Alexander Alekhin
3377ddaf09
Merge pull request #19041 from alalek:issue_19025
2020-12-07 22:31:53 +00:00
Alexander Alekhin
962f5c9b82
videoio(test): skip GStreamer in 'frame_timestamp' tests
...
- CAP_PROP_POS_MSEC is not reliable
2020-12-07 21:35:01 +00:00
Alexander Alekhin
2c634eeef2
Merge pull request #19023 from alalek:core_update_allocator_stats_type
2020-12-07 20:41:37 +00:00
Alexander Alekhin
26e8048a0a
core: update handling of allocator stats type
...
- don't use OPENCV_ALLOCATOR_STATS_COUNTER_TYPE definition in non C++11 builds
- don't use with MinGW
2020-12-05 20:54:47 +00:00
Alexander Alekhin
00f36a3149
dnn: prefer to use v_fma() instead of v_c += v_a * v_b
2020-12-05 11:51:03 +00:00
Alexander Alekhin
12a36b5a94
Merge pull request #18955 from alalek:test_debug_flag
2020-12-04 18:10:00 +00:00
Alexander Alekhin
e371592f75
Merge pull request #18965 from alalek:cmake_gen_js_code
2020-12-03 18:10:30 +00:00
Alexander Alekhin
84a3654371
Merge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators
2020-12-03 18:08:40 +00:00
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
2020-12-03 14:18:54 +00:00
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
2020-12-03 13:01:46 +00:00
Alexander Alekhin
6502737bd5
Merge pull request #18992 from vertexcite:patch-1
2020-12-03 10:58:47 +00:00
Alexander Alekhin
b98dd728ca
Merge pull request #18966 from Staticity:add_live_timestamps_to_msmf
2020-12-03 10:57:25 +00:00
Randall Britten
7f3ba5963d
Fixed minor typo "poins" in documentation page
2020-12-03 12:46:23 +03:00
Alexander Alekhin
e309ad8465
Merge pull request #18994 from alalek:umat_drop_unavailable_methods
2020-12-02 22:54:47 +00:00
Jaime Rivera
2fa624aef0
Add Timestamps to MSMF Video Capture by index
...
Enable frame timestamp tests for MSMF
Add functional test for camera live timestamps
Remove trailing whitespace
Add timestamp test to all functional tests. Protect div by 0
Add Timestamps to MSMF Video Capture by index
2020-12-02 16:36:09 -05:00
Alexander Alekhin
e958600f32
Merge pull request #18986 from alalek:fix_ipp_17453_2
2020-12-02 19:09:24 +00:00
Alexander Alekhin
484251c52b
Merge pull request #18831 from rjiejie:master-opt@pipeline
2020-12-02 19:07:38 +00:00
Alexander Alekhin
512be4ab65
Merge pull request #18991 from alalek:workaround_12959
2020-12-02 17:34:22 +00:00
Alexander Alekhin
6f8120cb3a
core(UMat): drop unavailable methods
2020-12-02 15:02:43 +00:00
Alexander Alekhin
d35e2f5339
core(ipp): workaround getIppTopFeatures() value mismatch
2020-12-02 11:33:55 +00:00
Alexander Alekhin
91ce6ef190
core(ipp): disable SSE4.2 code path in countNonZero()
2020-12-01 14:01:42 +00:00
Alexander Alekhin
aac30e772f
Merge pull request #18968 from asmorkalov:as/cap_prop_frame_msec_test
2020-11-30 22:49:54 +00:00
Alexander Alekhin
acc142d4ba
Merge pull request #18930 from alalek:issue_18502
2020-11-30 18:22:59 +00:00
Alexander Smorkalov
24fac5f56d
Added test for VideoCapture CAP_PROP_FRAME_MSEC option.
...
- Suppressed FFMPEG + h264, h265 as it does not pass tests with CI configuration.
- Suppressed MediaFoundation backend as it always returns zero for now.
2020-11-30 20:08:21 +03:00
Alexander Alekhin
da2978f607
ts: cvtest::debugLevel / --test_debug=<N> option
2020-11-28 13:13:28 +00:00
Alexander Alekhin
7c78c59e64
Merge pull request #18939 from alalek:unstable_test_18937
2020-11-27 08:21:25 +00:00
Alexander Alekhin
2cf2456f4c
dnn(test): skip unstable GatherMultiOutput OCL_FP16 test
2020-11-26 21:30:21 +00:00
Alexander Alekhin
8c5b3c4150
Merge pull request #17077 from i386x:check-negative-values
2020-11-26 15:07:58 +00:00
Alexander Alekhin
36d771affc
python: restore sys.path in bootstrap()
...
- multiprocessing need to start from bootstrap code
- loading may fail due to missing os.add_dll_directory() calls
2020-11-26 13:10:25 +00:00
Alexander Alekhin
f601e817fe
Merge pull request #18914 from alalek:videoio_fix_missing_get_capture_domain
2020-11-25 13:46:57 +00:00
Alexander Alekhin
0800f6f91b
videoio: add missing getCaptureDomain() methods
2020-11-24 22:26:10 +00:00
Sergei Slashchinin
f4f462c50b
Merge pull request #18862 from sl-sergei:support_pool1d
...
Support for Pool1d layer for OpenCV and OpenCL targets
* Initial version of Pool1d support
* Fix variable naming
* Fix 1d pooling for OpenCL
* Change support logic, remove unnecessary variable, split the tests
* Remove other depricated variables
* Fix warning. Check tests
* Change support check logic
* Change support check logic, 2
2020-11-24 16:52:45 +00:00
Alexander Alekhin
bf0846f0ea
Merge pull request #18895 from oravital7:flip-module
2020-11-23 17:18:59 +00:00
Alexander Alekhin
0401d5920c
Merge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error
2020-11-23 17:03:47 +00:00
Or Avital
5a3a915a9b
Remove unnecessary condition (will never reach)
2020-11-22 14:19:20 +02:00
Jiri Kucera
ce31c9c448
core(matrix): Negative values checks
...
Add checks that prevents indexing an array by negative values.
2020-11-20 22:51:06 +01:00
Alexander Alekhin
bc434e8f67
calib3d: eliminate 'register' build warning
2020-11-20 20:32:59 +00:00
Joe
e05c2e0f1d
Fix Reduce Mean error for MobileNets DNN
...
Fix for index error for Reduce Mean
Correct Reduce Mean indexing error
2020-11-20 11:17:02 -06:00
Nathan Godwin
2255973b0f
Merge pull request #18371 from nathanrgodwin:sqpnp_dev
...
Added SQPnP algorithm to SolvePnP
* Added sqpnp
* Fixed test case
* Added fix for duplicate point checking and inverse func reuse
* Changes for 3x speedup
Changed norm method (significant speed increase), changed nearest rotation computation to FOAM
* Added symmetric 3x3 inverse and unrolled loops
* Fixed error with SVD
* Fixed error from with indices
Indices were initialized negative. When nullspace is large, points coplanar, and rotation near 0, indices not changed.
2020-11-20 11:25:17 +00:00
Julien
ac24a72e66
Merge pull request #18841 from JulienMaille:patch-2
...
Fixing dnn Resize layer for variable input size
* Fix onnx loading of resize/upsample layers for different opset
* group all DynamicResize tests
* cleaned up scales checks
* Simplify branching
2020-11-20 11:14:00 +00:00
Ian Maquignaz
bb067c7ebf
Merge pull request #18849 from IanMaquignaz:fix_findFundamentalMat_parameters
...
Minimum change to address issue #18837
2020-11-19 11:20:20 +00:00
Jojo R
12b8d542b7
norm.cpp(normL2Sqr_): improve performance of pipeline
...
The most of target machine use one type cpu unit resource
to execute some one type of instruction, e.g.
all vx_load API use load/store cpu unit,
and v_muladd API use mul/mula cpu unit, we interleave
vx_load and v_muladd to improve performance on most targets like
RISCV or ARM.
2020-11-19 09:49:49 +08:00
Alexander Alekhin
328883b6ea
Merge pull request #18675 from sturkmen72:update-documentation
2020-11-18 16:50:35 +00:00
Suleyman TURKMEN
cc7f17f011
update documentation
2020-11-18 17:07:04 +03:00
Alexander Alekhin
9485113923
pre: OpenCV 3.4.13 (version++)
2020-11-17 21:50:30 +00:00
Alexander Alekhin
4f3130f562
Merge pull request #18145 from sl-sergei:fix_17914
2020-11-17 21:46:08 +00:00
Alexander Alekhin
f7e8dc770a
Merge pull request #18834 from l-bat:update_reducemax
2020-11-17 21:14:10 +00:00
Alexander Alekhin
34909d97b4
Merge pull request #18840 from alalek:dnn_test_skip_myriad_gather_multi_output
2020-11-17 23:45:37 +03:00
Alexander Alekhin
474a67231c
dnn(test): skip gather_multi_output test on Myriad
2020-11-17 19:52:07 +00:00
Alexander Alekhin
b645fc10a3
Merge pull request #18782 from alalek:issue_18779
2020-11-17 19:13:15 +00:00
Alexander Alekhin
2b558a3787
core: fix F16C compilation check
2020-11-17 12:22:49 +00:00
Liubov Batanina
72d06080c6
[ONNX] Added Reduce ops for batch and channel
2020-11-17 14:45:36 +03:00
Sergey Slashchinin
3cdf926454
disable Conv1d test on NGRAPH/MYRIAD
2020-11-17 14:33:39 +03:00
Alexander Alekhin
025a9647af
Merge pull request #18830 from l-bat:issue_18785
2020-11-17 10:40:53 +00:00
Sergey Slashchinin
32e7ef8a3d
Add fixes and tests for different layers
2020-11-17 13:39:32 +03:00
Sergei Slashchinin
2b82f8f12c
Merge pull request #18296 from sl-sergei:fix_16783
...
Fix loading issue for Faster RCNN model from #16783
* Add a reproducer with multi-output Gather
* Fix an issue with ONNX graph simplifier
* fix build
* Move checks to correct class
* Minor changes for better code appearence
2020-11-17 09:52:08 +00:00
Liubov Batanina
3a184ae677
[ONNX] Added handler for int32 tensors
2020-11-17 10:17:06 +03:00
Sergei Slashchinin
61144f935e
Merge pull request #18783 from sl-sergei:fix_conv1d
...
Add support for Conv1D on OpenCV backend
* Add support for Conv1D on OpenCV backend
* disable tests on other targets/backends
* Fix formatting
* Restore comment
* Remove unnecessary flag and fix test logic
* Fix perf test
* fix braces
* Fix indentation, assert check and remove unnecessary condition
* Remove unnecessary changes
* Add test cases for variable weights and bias
* dnn(conv): fallback on OpenCV+CPU instead of failures
* coding style
2020-11-13 22:22:10 +00:00
Alexander Alekhin
d23435baac
Merge pull request #18798 from alalek:java_robust_binding_code
2020-11-13 21:26:23 +00:00
Alexander Alekhin
41c2669476
java: robust code generation
...
- the same generated code from Python2/3
- avoid randomized output due to unpredictable dict/set order
2020-11-13 13:42:26 +00:00
Alexander Alekhin
5dae278652
bindings: "inline namespace"
2020-11-11 10:38:15 +00:00
Alexander Alekhin
c3e7a23da5
Merge pull request #18752 from alalek:dnn_defines_openvino_2021.1.0
2020-11-08 18:09:52 +00:00
Alexander Alekhin
bed5debca6
dnn: use OpenVINO 2021.1 defines
2020-11-07 17:27:33 +00:00
Roman Kazantsev
bb5b628cce
Use explicit opset of Unsqueeze from nGraph
...
backporting commit eb24575e2c
2020-11-06 22:29:35 +00:00
Alexander Alekhin
39ecd96b09
Merge pull request #18736 from mshabunin:mfx-frame-size-34
2020-11-05 17:00:35 +00:00
Maksim Shabunin
21a8d9569d
videoio: added frameSize to MFX capture
2020-11-05 17:40:48 +03:00
Mark Shachkov
039795b405
Change naming of keypoints comparator
2020-11-03 21:54:56 +03:00
Alexander Alekhin
716450ceb5
Merge pull request #18158 from legrosbuffle:3.4-vectorize-dft-radix
2020-10-30 22:05:50 +00:00
APrigarina
0f7b2eb79f
fix curved qrcodes decoding
2020-10-28 12:54:54 +03:00
Alexander Alekhin
0ec94630d4
Merge pull request #18640 from alalek:core_cleanup_inline_code
2020-10-24 17:06:08 +00:00
ann
c71f2714c6
Merge pull request #18003 from APrigarina:curved_qrcodes_decoding
...
Detection and decoding of curved QR-codes
* temp changes for curved qrcodes
* added api for curved qr code decoding
* fixed prototypes
* refactored curved qr code decoding
* refactored curved qr code decoding 2nd part
* refactored curved qr code decoding 3rd part
* refactored curved qr code decoding 4th part
* added tests for curved qr code decoding
* refactored curved qr code decoding 5th part
2020-10-23 18:42:45 +00:00
Justin Frank
61a8cf8ba7
Fix TypeError when building for WebAssembly with Python 3
2020-10-22 12:38:28 -07:00
Alexander Alekhin
aac7c5465b
core: move inline code from mat.inl.hpp
2020-10-21 23:06:09 +00:00
Rob Timpe
22ee5c0c4d
Fix errors when building with cuda stubs
...
Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.
In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.
In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).
2020-10-21 15:51:46 -07:00
lizz
331b73c8e4
Typo in docstring of distanceTransform
2020-10-20 17:57:10 +08:00
Kun Liang
c82417697a
Merge pull request #18068 from lionkunonly:gsoc_2020_simd
...
[GSoC] OpenCV.js: WASM SIMD optimization 2.0
* gsoc_2020_simd Add perf test for filter2d
* add perf test for kernel scharr and kernel gaussianBlur
* add perf test for blur, medianBlur, erode, dilate
* fix the errors for the opencv PR robot
fix the trailing whitespace.
* add perf tests for kernel remap, warpAffine, warpPersepective, pyrDown
* fix a bug in modules/js/perf/perf_imgproc/perf_remap.js
* add function smoothBorder in helpfun.js and remove replicated function in perf test of warpAffine and warpPrespective
* fix the trailing white space issues
* add OpenCV.js loader
* Implement the Loader with help of WebAssembly Feature Detection, remove trailing whitespaces
* modify the explantion for loader in js_setup.markdown and fix bug in loader.js
2020-10-18 20:30:36 +00:00
Alexander Alekhin
bd19f991a5
Merge pull request #18602 from alalek:issue_18597
2020-10-16 20:22:58 +00:00
Alexander Alekhin
e87ba1d317
Merge pull request #18590 from krush11:master
2020-10-16 19:47:03 +00:00
Alexander Alekhin
b5717f82a0
core: fix __clang_major__ typo regression
2020-10-16 15:35:51 +00:00
Pavel Rojtberg
bc6a70c689
imwrite: multi-image overload for bindings
2020-10-16 11:27:09 +00:00
Krushnal Patel
1fb6c6e6e5
Update demosaicing.cpp
2020-10-16 11:15:42 +00:00
Welton Rodrigo Torres Nascimento
25163eb008
Doc: INTER_LINEAR_EXACT unsupported in remap
...
Update documentation to reflect INTER_LINEAR_EXACT being
unsupported in remap
2020-10-13 11:51:23 -03:00
Alexander Alekhin
96e8b83d41
Merge pull request #18568 from catree:fix_deepgreen_colormap_fig
2020-10-13 10:02:39 +00:00
catree
de93782fab
Move colorscale_deepgreen.jpg to the correct folder.
2020-10-11 17:18:05 +02:00
Alexander Alekhin
7ed82aea38
Merge tag '3.4.12'
2020-10-10 20:18:09 +00:00
Alexander Alekhin
dc15187f1b
release: OpenCV 3.4.12
2020-10-10 20:14:29 +00:00
Alexander Alekhin
cdcf7e62f3
dnn(opencl): bypass unsupported fusion cases 2
2020-10-09 18:59:08 +00:00
Alexander Alekhin
718dd9f170
dnn(opencl): bypass unsupported fusion cases
2020-10-09 12:33:06 +00:00
Alexander Alekhin
e87a0baa4b
dnn(test): enable tests from issue 17953
2020-10-08 20:27:03 +00:00
Alexander Alekhin
6da05f7086
dnn(test): update tests for OpenVINO 2021.1
2020-10-08 10:22:31 +00:00
Alexander Alekhin
62b5d37b6b
Merge pull request #18526 from alalek:fix_uninitialized_warnings
2020-10-06 22:49:55 +00:00
Alexander Alekhin
d78d9bf151
Merge pull request #18519 from alalek:fix_javadoc
2020-10-06 22:48:21 +00:00
Alexander Alekhin
a5f0fb6008
Merge pull request #18518 from alalek:backport_17993
2020-10-06 22:47:45 +00:00
Alexander Alekhin
f2bb3d0d80
videoio(dc1394_v2): ensure variable initialization
2020-10-06 21:00:36 +00:00