Alexander Alekhin
56b7622612
Merge pull request #20687 from alalek:core_ocl_fix_intel_gemm
2021-09-11 16:26:25 +00:00
Alexander Alekhin
696a6ccd57
Merge pull request #20686 from zihaomu:tf_biasadd_bug
...
DNN: BiasAdd tf_importer.cpp could load Const from First Place
2021-09-11 19:25:04 +03:00
Zihao Mu
51b03b87e6
BiasAdd could load Const from second place.
2021-09-11 15:34:41 +00:00
Alexander Alekhin
07e4076585
Merge pull request #20689 from diablodale:fix20613-selectocldevice
2021-09-10 22:26:36 +00:00
Dale Phurrough
de1a459879
fix opencv/opencv#20613
...
* copy 4.x selectOpenCLDevice() -- it is compatible
* filter platforms rather than trying only first matching
* this works on 3.4 and 4.x master
2021-09-10 21:18:01 +02:00
Alexander Alekhin
1aacb9bb15
dnn(perf): update convolution tests
2021-09-10 13:11:02 +00:00
Alexander Alekhin
9b4ecc96f6
core(ocl): buffer bounds in intelblas_gemm_buffer_NT
2021-09-10 12:10:41 +00:00
Alexander Alekhin
e3f4f874c5
Merge pull request #20670 from alalek:core_ocl_fix_intel_gpu_gemm_requirements
...
core(OpenCL): fix intel_gpu_gemm kernel requirements
* core(ocl): fix intel_gpu_gemm integration
- allow bailout to generic OpenCL kernel
* core(ocl): avoid failures of generic OpenCL gemm kernel
* core(ocl): define alignment requirements of intel_gpu_gemm kernels
2021-09-10 12:00:11 +00:00
Alexander Alekhin
6ace801418
Merge pull request #20661 from alalek:dnn_ocl_fix_gemm_like_kernel
2021-09-10 11:58:52 +00:00
rogday
d31b93b513
Merge pull request #20674 from rogday:prelu_slope
...
Fix PReLU negative slope access pattern
* fix prelu negative slope access pattern
* change begin() to ptr()
2021-09-10 11:07:16 +00:00
Alexander Alekhin
ac0fd6aa9a
Merge pull request #20675 from diablodale:fix2-20544
2021-09-09 21:35:03 +00:00
Dale Phurrough
068f33cfdf
add nodiscard to features2d clone funcs
2021-09-09 15:20:45 +02:00
rogday
4807cd8a6e
Merge pull request #20605 from rogday:split_slice_shenanigans
...
Add Normalize subgraph, fix Slice, Mul and Expand
* Add Normalize subgraph, support for starts<0 and axis<0 in Slice, Mul broadcasting in the middle and fix Expand's unsqueeze
* remove todos
* remove range-based for loop
* address review comments
* change >> to > > in template
* fix indexation
* fix expand that does nothing
2021-09-09 14:41:40 +03:00
Alexander Alekhin
35e824c287
dnn(ocl): fix out of bound access in GEMM-like kernels
...
- dropped usage of CreateSubBuffer() - buffers lifetime management issue
- fixed elementwise offset
- avoid out of bounds read access
2021-09-06 18:17:21 +00:00
Alexander Alekhin
5578ad5e14
dnn(ocl): fix automatic globalsize adjusting
...
- if kernel code doesn't support that
2021-09-06 03:11:29 +00:00
Alexander Alekhin
d11f0a709d
Merge pull request #20652 from alalek:ocl_debug
2021-09-04 18:23:09 +00:00
Alexander Alekhin
0a43b23275
Merge pull request #20651 from alalek:issue_18361
2021-09-04 18:22:12 +00:00
Alexander Alekhin
7967683296
Merge pull request #20648 from alalek:issue_20615
2021-09-04 18:21:58 +00:00
Alexander Alekhin
5b2c016834
dnn(ocl): avoid out of buffer access in copyWeightsSwizzled
2021-09-04 15:45:59 +00:00
Alexander Alekhin
aaff125608
core(ocl): debug capabilities
2021-09-04 15:37:39 +00:00
Alexander Alekhin
407adc7061
dnn(ocl): fix buffer offsets in IDLF kernel
...
- drop CreateSubBuffer
- fix FUSED_CONV_ELTWISE mode
2021-09-04 15:28:35 +00:00
rogday
d0e612dc36
Merge pull request #20647 from rogday:resize_concat_optimization
...
Fix resize+concat optimization
* fix resize+concat optimization
* add comment and fix indentation
2021-09-03 12:32:29 +00:00
Alexander Alekhin
7c23ec90a9
Merge pull request #20646 from VadimLevin:dev/vlevin/fix-vector-conversion
2021-09-02 09:30:57 +00:00
Vadim Levin
390957fec4
fix: NumPy array allocation error message in vector conversion
2021-09-02 10:32:17 +03:00
Alexander Alekhin
060a76dc3e
Merge pull request #20573 from rogday:onnx_scale_fix
2021-09-01 14:09:17 +00:00
Alexander Alekhin
6625810d2a
Merge pull request #20618 from VadimLevin:dev/vlevin/fix-vector-conversion
2021-09-01 10:52:37 +00:00
WJJ1995
edc442afdb
Merge pull request #20511 from wjj19950828:add_humanseg_support_0806
...
* support PPSeg model for dnn module
* fixed README for CI
* add test case
* fixed bug
* deal with comments
* rm dnn_model_runner
* update test case
* fixed bug for testcase
* update testcase
2021-09-01 10:10:05 +00:00
Vadim Levin
16b9514543
feat: update conversion logic for std::vector<T>
in Python bindings
...
`PyObject*` to `std::vector<T>` conversion logic:
- If user passed Numpy Array
- If array is planar and T is a primitive type (doesn't require
constructor call) that matches with the element type of array, then
copy element one by one with the respect of the step between array
elements. If compiler is lucky (or brave enough) copy loop can be
vectorized.
For classes that require constructor calls this path is not
possible, because we can't begin an object lifetime without hacks.
- Otherwise fall-back to general case
- Otherwise - execute the general case:
If PyObject* corresponds to Sequence protocol - iterate over the
sequence elements and invoke the appropriate `pyopencv_to` function.
`std::vector<T>` to `PyObject*` conversion logic:
- If `std::vector<T>` is empty - return empty tuple.
- If `T` has a corresponding `Mat` `DataType` than return
Numpy array instance of the matching `dtype` e.g.
`std::vector<cv::Rect>` is returned as `np.ndarray` of shape `Nx4` and
`dtype=int`.
This branch helps to optimize further evaluations in user code.
- Otherwise - execute the general case:
Construct a tuple of length N = `std::vector::size` and insert
elements one by one.
Unnecessary functions were removed and code was rearranged to allow
compiler select the appropriate conversion function specialization.
2021-09-01 13:00:21 +03:00
Alexander Alekhin
95c7f4a7f0
Merge pull request #20635 from alalek:issue_20559
2021-08-31 14:42:20 +00:00
Alexander Alekhin
ae6fabc6fe
dnn(ocl): drop CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE check
...
- it is a hint and it should not block kernel execution
2021-08-30 20:40:14 +00:00
Alexander Alekhin
7eaadf616c
Merge pull request #20622 from diablodale:fix20544-nodiscard
2021-08-30 18:09:51 +00:00
Alexander Alekhin
f25951c412
core(ocl): handle NULL in dumpValue() debug call
...
- NULL is used for allocation of workgroup local variables
2021-08-30 11:47:51 +00:00
Alexander Alekhin
1259a474ba
Merge pull request #20625 from alalek:fix_msvc_warnings
2021-08-28 21:24:03 +00:00
Dale Phurrough
3995deaf76
fix opencv/opencv#20544 nodiscard for msvc/gcc
...
- includes workaround for preprocessor non-compliance
- enable attribute syntax checking in msvc
2021-08-28 20:22:47 +02:00
Alexander Alekhin
076587425e
build: eliminate build warnings
2021-08-28 17:11:26 +00:00
Alexander Alekhin
da6aeaca46
Merge pull request #20623 from alalek:fix_java_byte
2021-08-28 13:23:33 +00:00
Alexander Alekhin
8ee33ca551
java(test): avoid deprecation warning
...
- 'new Byte' => 'Byte.valueOf'
2021-08-28 02:10:05 +00:00
Vincent Rabaud
38d0063c36
Do not use deprecated ReleaseCleared in protobuf library.
...
This is to make code work with protobuf arenas for memory
management (ReleaseCleared is incompatible).
The cleaning of the memory is also simpler.
2021-08-26 15:36:22 +02:00
Dale Phurrough
54a9e00970
fix opencv/opencv#20594 - exception handling with refcounts
2021-08-25 14:38:02 +02:00
Dale Phurrough
9bda96d39e
add test case
2021-08-25 14:32:40 +02:00
Alexander Alekhin
77a5c43d50
Merge pull request #20586 from alalek:issue_20585
2021-08-21 17:22:58 +00:00
Alexander Alekhin
f28e4b86fb
dnn(ocl): fix top initialization in verifyResult
2021-08-21 16:04:13 +00:00
Alexander Alekhin
b675e6ab77
Merge pull request #20581 from alalek:issue_20571
2021-08-20 11:36:38 +00:00
Alexander Alekhin
a9817e9127
Merge pull request #20556 from rogday:onnx_split_sum_fix
2021-08-20 08:10:18 +00:00
Alexander Alekhin
c08897cd10
cmake: handle empty CVPY_SUFFIX
2021-08-19 20:06:41 +00:00
Vincent Rabaud
9cfa84313c
Use the one argument version of SetTotalBytesLimit.
...
The two argument versions has been deprecated, cf
https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream
2021-08-19 14:31:29 +02:00
Smirnov Egor
fe625a558e
fix hasDynamicShapes for batch_size and fix axis selection in Scale layer
2021-08-18 19:22:24 +03:00
Smirnov Egor
9ef41f68fb
fix Split partial sum
2021-08-16 15:44:54 +03:00
Julia Bareeva
cfb36443fb
Merge pull request #20506 from JulieBar:lstm_activations
...
* Support activations(Sigmoid, Tanh) for LSTM
* fix warning
2021-08-13 15:41:00 +03:00
Alexander Alekhin
9d3826c676
Merge pull request #20525 from SamFC10:fix-prior-variances
2021-08-13 10:06:55 +00:00
Iyad Ahmed
4300bb2e1f
Merge pull request #20541 from iyadahmed:video_capture_timeout_prop
...
* VideoCapture timeout set/get
* Common formatting for enum values
* Fix enum values wrongly in videoio.hpp
* Define timeout enum values in public api and align with master
2021-08-12 19:51:02 +03:00
AleksandrPanov
25cd7c7c50
add note about Python's dsize to doc
2021-08-12 14:40:40 +03:00
Alexander Alekhin
732cb6c45c
Merge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad
2021-08-12 08:12:48 +00:00
Alexander Alekhin
266a868ba9
Merge pull request #20533 from AleksandrPanov:minAreaRect_fix_rotatingCalipers
2021-08-11 17:56:34 +00:00
AleksandrPanov
8199967b31
fix choose minimum angle in rotatingCalipers
2021-08-11 19:08:52 +03:00
utibenkei
9d61c18143
fix testSaveLoad
2021-08-11 21:52:39 +09:00
Alexander Alekhin
221bfa4c67
Merge pull request #20466 from rogday:efficientnet_fix_34
2021-08-10 22:18:17 +00:00
Alexander Alekhin
1a8b7f7513
Merge pull request #20500 from AleksandrPanov:findContours_documentation
2021-08-10 17:21:33 +00:00
AleksandrPanov
992b47b991
add 19769 and 19769_lightweight tests
2021-08-10 18:53:28 +03:00
Smirnov Egor
739ff84732
add Max layer to TFImporter
2021-08-09 14:01:51 +03:00
SamFC10
2a177052de
fix bug in prior-box variances
2021-08-09 12:08:55 +05:30
Alexander Alekhin
2b34e0abdc
Merge pull request #20502 from ddacw:3.4
2021-08-06 07:06:51 +00:00
Julia Bareeva
633fedaa96
Merge pull request #20480 from JulieBar:lstm_pytest
...
Add Python's test for LSTM layer
* Add Python's test for LSTM layer
* Set different test threshold for FP16 target
* rename test to test_input_3d
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
2021-08-05 18:13:17 +03:00
Duong Dac
cefa602601
Avoid adding false UMat/GpuMat declaration
2021-08-04 15:17:25 +02:00
AleksandrPanov
d773691848
add note about hierarchy in python version
2021-08-04 15:37:20 +03:00
Vadim Levin
531ea5b3a2
fix: convert arguments names that are keywords reserved by Python
2021-08-01 12:02:36 +03:00
rogday
cff0168f3a
Merge pull request #20453 from rogday:onnx_importer_fix
...
Split layer dispatch into functions in ONNXImporter
* split layer dispatch into functions
* fixes
* identation and comment fixes
* fix constness
2021-07-28 18:06:24 +03:00
Alexander Alekhin
06dcc5a2c6
Merge pull request #20424 from sbajtl:worker-importscript-bugfix
2021-07-24 15:28:01 +00:00
Julia Bareeva
4e5699fa71
Merge pull request #20450 from JulieBar:lstm_inside
...
Support non-zero hidden state for LSTM
* fully support non-zero hidden state for LSTM
* check dims of hidden state for LSTM
* fix failed test Test_Model.TextRecognition
* add new tests for LSTM w/ non-zero hidden params
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
2021-07-23 17:11:50 +03:00
Smirnov Egor
024b43ca06
implement asymmetric padding for conv2d, max_pool and conv2d_backprop_input
2021-07-22 16:58:40 +03:00
Saša Bajtl
2062a7ca8f
Bugfix on import script with web worker.
2021-07-18 10:12:39 +02:00
Alexander Alekhin
8334ee18e6
Merge pull request #20394 from SamFC10:conv-asymmetric-pads
2021-07-16 10:33:42 +00:00
SamFC10
96d35f7c54
Fix convolution asymmetric padding bug in onnx importer
2021-07-16 09:39:41 +05:30
Alexander Alekhin
98c5fc6ae2
Merge pull request #20410 from alalek:fix_dnn_dldt_output_layout
2021-07-15 22:43:42 +00:00
Alexander Alekhin
fbde0c6c96
dnn(ie): fix handling of 1D and non-32F outputs of InferenceEngine
2021-07-15 21:47:05 +00:00
Alexander Alekhin
602e7c83e2
dnn(test): add extra IR models, more checks in IE testing code
2021-07-15 21:47:05 +00:00
Alexander Alekhin
eb9218a86b
Merge pull request #20420 from berak:python_fix_trackbar_warning
2021-07-15 20:06:22 +00:00
berak
9f2dcc3f13
python: fix trackbar warning
2021-07-15 17:42:06 +02:00
Alexander Alekhin
bc210b292b
dnn(test): backport test_ie_models.cpp from 4.5.3
2021-07-15 00:05:02 +00:00
Pablo Romero
6f417b57c1
Merge pull request #20399 from pablorcum:3.4
...
Improves support for Unix non-Linux systems, including QNX
* Fixes #20395 . Improves support for Unix non-Linux systems. Focus on QNX Neutrino.
Signed-off-by: promero <promero@mathworks.com>
* Update system.cpp
2021-07-13 19:40:15 +00:00
César Gouveia
167a12028d
Merge pull request #20374 from cesarpgouveia:bugfix/fix_load_onnxModel_debug
...
* Fix bug while loading onnx model in debug
* dnn: fix other .at using
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-07-09 18:21:56 +00:00
Alexander Alekhin
1ba6cd8423
Merge pull request #20368 from mightbxg:bugfix_imshowqt
2021-07-08 20:54:09 +00:00
kikaxa
926535469d
fix videoio/src/container_avi.cpp VideoInputStream alignment
2021-07-07 18:31:53 +03:00
Xinguang Bian
5627a0cbdf
fix scale problem in DefaultViewPort::controlImagePosition()
2021-07-07 12:35:11 +08:00
Alexander Alekhin
9a9954a036
Merge tag '3.4.15'
2021-07-04 21:32:19 +00:00
Alexander Alekhin
591708903b
release: OpenCV 3.4.15
2021-07-04 21:10:13 +00:00
Alexander Alekhin
0f2f966a91
Merge pull request #20345 from mitruska:update_ngraph_normalizel2
2021-07-02 23:37:03 +00:00
mitruska
18dbac203f
Use explicit version of ngraph NormalizeL2
2021-07-02 21:33:05 +00:00
Alexander Alekhin
8d1f254dcc
java: force using of 'Ptr<>' for OpenCV classes
...
backport of commit: e5841d3126
2021-07-02 21:20:08 +00:00
Alexander Alekhin
b699fe7a9d
Merge pull request #20335 from SamFC10:concat-const-input
2021-07-01 10:25:35 +00:00
SamFC10
5b8c10f2f8
modified onnx importer to concat const input blobs
2021-07-01 10:58:31 +05:30
Alexander Alekhin
24983f62e2
Merge pull request #20325 from alalek:dnn_openvino_2021.4.0
2021-06-30 23:58:26 +00:00
Alexander Alekhin
f2057ce1ab
dnn(ie): replace deprecated calls
2021-06-30 22:30:15 +00:00
Alexander Alekhin
6797fd65a5
dnn(test): update tests for OpenVINO 2021.4
2021-06-30 22:30:15 +00:00
Alexander Alekhin
947e06a860
Merge pull request #20328 from alalek:backport_20321
2021-06-30 20:51:49 +00:00
Alexander Alekhin
db4b1e613c
core(persistence): fix types format handling
...
partial backport of 4eac198270
2021-06-29 21:54:52 +00:00
Alexander Alekhin
7d842f5bcf
dnn: use OpenVINO 2021.4 defines
2021-06-29 18:48:21 +00:00
Alexander Alekhin
828304d587
Merge pull request #20128 from kikaxa:master
2021-06-21 21:52:17 +00:00
kikaxa
bb60cb0bf9
Reenable filesystem for ios builds
2021-06-20 16:33:25 +00:00
SamFC10
55e1dfb778
Fix BatchNorm reinitialization
2021-06-20 13:19:29 +05:30
Alexander Alekhin
c2263db7bc
Merge pull request #20232 from gasparitiago:drawMatches3.4
2021-06-18 19:47:52 +00:00
Alexander Alekhin
7bbbda71df
Merge pull request #20253 from rogday:gtk_modifiers
2021-06-18 15:46:44 +00:00
Vincent Rabaud
c8268e65fd
Fix potential NaN in cv::norm.
...
There can be an int overflow.
cv::norm( InputArray _src, int normType, InputArray _mask ) is fine,
not cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask ).
2021-06-15 14:58:11 +02:00
Tiago De Gaspari
3cf4375387
Merge pull request #19842 from gasparitiago:3.4
...
Update rotatedRectangleIntersection function to calculate near to origin
* Change type used in points function from RotatedRect
In the function that sets the points of a RotatedRect, the types
should be double in order to keep the precision when dealing with
RotatedRects that are defined far from the origin.
This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.
* added proper type casts
* Update rotatedRectangleIntersection function to calculate near to origin
This commit changes the rotatedRectangleIntersection function in order
to calculate the intersection of two rectangles considering that they
are shifted near the coordinates origin (0, 0).
This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.
* Revert type changes in types.cpp and adequate code to c++98
* Revert unnecessary casts on types.cpp
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2021-06-12 23:28:54 +03:00
Alexander Alekhin
c1adbe3189
Merge pull request #20190 from rogday:tf_importer_ref
2021-06-11 20:06:09 +00:00
rogday
7ee1816612
split if into map of functions
2021-06-11 13:20:45 +03:00
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
2021-06-10 10:57:15 +03:00
Alexander Alekhin
2b84c97a78
Merge pull request #20251 from alalek:python_sys_path_0_workaround
2021-06-09 10:58:18 +00:00
Alexander Alekhin
bd26104088
python(loader): add workaround to detect and patch sys.path[0]
2021-06-09 09:51:07 +00:00
Alexander Alekhin
5f80f43ff5
core: fix nSize initialization in cvIplImage()
2021-06-09 07:31:38 +00:00
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:57:24 +00:00
Alexander Alekhin
43940f7ffc
pre: OpenCV 3.4.15 (version++)
2021-06-07 20:10:34 +00:00
Tiago De Gaspari
411fd2b761
Add Thickness parameter in drawMatches function
...
This commit adds the feature of selecting the thickness
of the matches drawn by the drawMatches function.
In larger images, the default thickness of 1 pixel creates images
that are hard to visualize.
2021-06-07 12:52:48 -03:00
Alexander Alekhin
61e30c15a9
Merge pull request #20211 from kstuedem:fix_dshow_memory_leak
2021-06-05 16:02:12 +00:00
Kai Stüdemann
636db09d73
videoio(dshow) fix incompatible media type left set on video device
2021-06-04 10:45:39 +02:00
Kai Stüdemann
64c018507b
videoio(dshow) fix memory leak
2021-06-04 10:02:48 +02:00
Alexander Alekhin
c34445a496
Merge pull request #20201 from PolarNick239:3.4
2021-06-03 16:20:24 +00:00
Paul Jurczak
ff60abb575
Merge pull request #20080 from pauljurczak:patch-3
...
* Update dnn.hpp
getPerfProfile is not supported by the CUDA backend, see https://github.com/opencv/opencv/issues/20077
* dnn.hpp: fix doxygen formatting
2021-06-02 19:15:52 +00:00
Alexander Alekhin
7d91dfe339
Merge pull request #20146 from asmorkalov:as/java_test_filter
2021-06-02 17:50:29 +00:00
Alexander Alekhin
15af65d4cf
Merge pull request #20149 from rogday:on_mouse_floor
2021-06-02 17:48:43 +00:00
Alexander Alekhin
e10de25e86
Merge pull request #20191 from alalek:issue_20032
2021-06-02 16:29:51 +00:00
Nikolay Polyarniy
746bd47ce5
EXR reading: support Z channel if no Y channel
2021-06-02 15:53:32 +03:00
Alexander Alekhin
59b4baee0c
ts: migrate from cgi.escape to html.escape in .py file
2021-06-01 19:19:05 +00:00
Alexander Alekhin
bb3bbd192b
Merge pull request #20150 from rogday:svm_detector_test
2021-06-01 13:31:12 +00:00
Alexander Smorkalov
1212aef03b
Analog of gtest_filter for java tests.
2021-06-01 11:04:18 +03:00
Developer-Ecosystem-Engineering
814550d2a6
Merge pull request #20011 from Developer-Ecosystem-Engineering:3.4
...
Improve performance on Arm64
* Improve performance on Apple silicon
This patch will
- Enable dot product intrinsics for macOS arm64 builds
- Enable for macOS arm64 builds
- Improve HAL primitives
- reduction (sum, min, max, sad)
- signmask
- mul_expand
- check_any / check_all
Results on a M1 Macbook Pro
* Updates to #20011 based on feedback
- Removes Apple Silicon specific workarounds
- Makes #ifdef sections smaller for v_mul_expand cases
- Moves dot product optimization to compiler optimization check
- Adds 4x4 matrix transpose optimization
* Remove dotprod and fix v_transpose
Based on the latest, we've removed dotprod entirely and will revisit in a future PR.
Added explicit cats with v_transpose4x4()
This should resolve all opens with this PR
* Remove commented out lines
Remove two extraneous comments
2021-06-01 09:39:55 +03:00
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
2021-05-31 19:03:50 +03:00
yo1990
d3be58b6d7
Merge pull request #20102 from yo1990:master
...
Add missing sqrt to magSpectrum().
* https://github.com/opencv/opencv/issues/20100
* slight optimization + fix for double-precision case
Co-authored-by: Yuma Oyama <yuma.oyama@acuity-inc.co.jp>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com>
2021-05-29 17:43:21 +03:00
Jonathan Deakin
8ecfbdb4ff
Merge pull request #19883 from jondea:arm-neon-optimised-color-lab-3.4
...
* Add Neon optimised RGB2Lab conversion
* Fix compile errors, change lambda to macro
* Change NEON optimised RGB2Lab to just use HAL
* Change [] to v_extract_n in RGB2Lab
* RGB2LAB Code quality, change to nlane agnostic
* Change RGB2Lab to use function rather than macro
* Remove whitespace
Co-authored-by: Francesco Petrogalli <25690309+fpetrogalli@users.noreply.github.com>
2021-05-28 14:20:26 +00:00
Alexander Alekhin
63256a00ff
Merge pull request #20174 from alalek:issue_20159
2021-05-28 14:10:17 +00:00
Alexander Alekhin
450dc92452
Merge pull request #20172 from alalek:fixup_19334
2021-05-28 14:09:52 +00:00
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
2021-05-28 01:58:58 +00:00
Alexander Alekhin
3d394943e6
core(ocl): avoid limit of Image kernel args
2021-05-28 00:43:59 +00:00
Smirnov Egor
84f78059d3
add reproducer and bugfix
2021-05-25 11:28:23 +03:00
Xinguang Bian
7499a15c92
fix data overflow problem in GaussianBlur
2021-05-21 15:17:20 +08:00
thezane
c0162a64d1
Merge pull request #20103 from thezane:make-div-spectrums-public
...
* Make divSpectrums public
* Add unit test
2021-05-19 12:14:11 +03:00
Giles Payne
e53a4ce64d
Fix for failing QRCodeDetectorTest.testDetectAndDecodeMulti test
2021-05-17 20:09:12 +09:00
Smirnov Egor
1d7d18afba
Document imwrite depth fallback
2021-05-12 19:55:58 +03:00
Alexander Alekhin
b335fe67b0
Merge pull request #20049 from jstaahl:jstaahl-static-inits
2021-05-11 17:06:11 +00:00
berak
302c2354a3
core: add missing implementation for Mat::ptr(Vec)
2021-05-09 14:15:12 +02:00
Jake Staahl
158b13e0ba
Remove static initializers caused by templated static member.
2021-05-07 12:53:14 -07:00
Guillaume Jacob
9f3e83baf6
calib3d: Update documentation of calibrateCamera
...
- Added missing documentation for the CALIB_FIX_FOCAL_LENGTH flag
- Removed erroneous information about the number of distortion coefficients
returned
- Added some missing @ref tags
2021-04-30 20:34:04 +02:00
Alexander Alekhin
17ab61a40d
Merge pull request #19956 from danielenricocahall:fix-edge-case-matcher-loop
2021-04-30 17:22:16 +00:00
Danny
1b844f8413
Merge pull request #19993 from danielenricocahall:fix-compute-ecc-issue
...
Fix unsigned int bug in computeECC
* address issue with unsigned ints in computeEcc
* remove additional logic checking firstOctave
* use swap instead of same src/dst
* simplify the unsigned check logic
2021-04-30 17:20:52 +00:00
Alexander Alekhin
baa22fa808
Merge pull request #20006 from alalek:dnn_ie_gpu_cache_dir
2021-04-30 17:18:52 +00:00
Alexander Alekhin
f78cebfc98
Merge pull request #20014 from alalek:fix_core_tls_process_termination
2021-04-30 16:06:40 +00:00
Alexander Alekhin
d2a9ca13f1
core(tls): handle process termination / cleanup issues
2021-04-29 23:25:44 +00:00
Alexander Alekhin
71bae7c23f
dnn(ie): implicit usage of IE::GPU OpenCL kernels cache
2021-04-29 12:43:22 +03:00
Alexander Alekhin
fd44ba296d
Merge pull request #19984 from sturkmen72:patch-4
2021-04-28 22:02:02 +00:00
Alexander Alekhin
55aa1d4852
Merge pull request #19975 from danielenricocahall:fix-template-matcher-sqdiff
2021-04-26 22:52:13 +00:00
Suleyman TURKMEN
159534313e
Update CMakeLists.txt
2021-04-26 22:43:04 +03:00
Zhuo Zhang
bf26050f7e
Fix missing return type for unsafe CV_XADD function
2021-04-26 20:08:45 +08:00
danielenricocahall
402bce1a31
address template matching sqdiff bug
2021-04-25 22:17:07 -04:00
Stefano Allegretti
1b64851fa8
Merge pull request #19951 from stal12:3.4
...
* Fix #4363 - wrong hierarchy (CV_RETR_TREE) in findContours
* Add regression test for findContours
* use C++11 => C++98 on 3.4 branch
2021-04-22 18:20:12 +00:00
Aleksandr Voron
2e143b8799
Merge pull request #19961 from alvoron:dnn_ngraph_int64_fix
...
Explicit usage of int64_t in CropAndResizeLayer (IE backend)
* Update crop_and_resize_layer.cpp
2021-04-21 18:29:19 +00:00
danielenricocahall
3930c9a492
fix loop boundary condition
2021-04-20 22:08:01 -04:00
berak
405e820fe1
Update contrast_preserve.hpp
...
fix a build warning:
```
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(289): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
with
[
_Tp=float
]
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(361): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
with
[
_Tp=float
]
```
(from https://build.opencv.org.cn/job/precommit/job/windows10/1633/console )
2021-04-20 12:59:36 +02:00
Alexander Alekhin
6598e9d506
Merge pull request #19908 from CSBVision:patch-2
2021-04-15 20:45:30 +00:00
Alexander Alekhin
0649a2fbdb
Merge pull request #19886 from alalek:issue_19875
2021-04-14 16:14:44 +00:00
CSBVision
ec32061f5f
Update __init__.py to support symbolic links
...
Currently, the LOADER_DIR is set as os.path.dirname(os.path.abspath(__file__)). This does not point to the true library path if the cv2 folder is symlinked into the Python package directory such that importing cv2 under Python fails. The proposed change only resolves symbolic links correctly by calling os.path.realpath(__file__) first and does not change anything if __file__ contains no symbolic link.
2021-04-14 16:13:45 +00:00
Alexander Alekhin
0bdbc745c4
ml: update checks
2021-04-13 11:09:14 +00:00
Alexander Alekhin
b9b19185bc
ml: fix legacy import in DTreesImpl
2021-04-12 19:21:48 +00:00
Alexander Alekhin
63ba9970bd
Merge pull request #19851 from sturkmen72:update_documentation
2021-04-11 21:44:03 +00:00
Danny
a9a6801c6d
Merge pull request #19884 from danielenricocahall:fix-prediction-features-bug
...
Fix bug with predictions in RTrees/Boost
* address bug where predict functions with invalid feature count in rtrees/boost models
* compact matrix rep in tests
* check 1..n-1 and n+1 in feature size validation test
2021-04-09 16:56:14 +00:00
Alexander Alekhin
222af8e7e4
core: avoid process cleanup deadlock if TlsStorage is not used
2021-04-09 16:08:08 +00:00
Suleyman TURKMEN
ec8b7c933a
Update Documentation
2021-04-08 22:29:45 +03:00
Danny
76860933f0
Merge pull request #19859 from danielenricocahall:fix-blob-detector-single-thresh
...
Fix Single ThresholdBug in Simple Blob Detector
* address bug with using min dist between blobs in blob detector
cast type in comparison and remove docs
address bug with using min dist between blobs in blob detector
use scalar instead of int
address bug with using min dist between blobs in blob detector
* fix namespace and formatting
2021-04-08 10:39:26 +00:00
Alexander Alekhin
19a936fc03
Merge pull request #19836 from 103yiran:warpaffine
2021-04-08 10:32:27 +00:00
Tiago De Gaspari
9f295b2c91
Expose maxIters in findEssentialMat
...
Lets the user choose the maximum number of iterations the robust
estimator runs for, similary to findFundamentalMat
and findHomography functions.
2021-04-07 00:07:33 -03:00
Alexander Alekhin
3a8154051f
Merge pull request #19810 from aarongreig:aaron/core/relaxClArithmTest
2021-04-06 19:56:46 +00:00
Aaron Greig
f3f46096d6
Relax accuracy requirements in the OpenCL sqrt perf arithmetic test.
...
Also bring perf_imgproc CornerMinEigenVal accuracy requirements in line with
the test_imgproc accuracy requirements on that test and fix indentation on
the latter.
Partially addresses issue #9821
2021-04-06 17:32:48 +01:00
Tiago De Gaspari
ac9182f20d
Add maxIters parameter to LMeDS method in findFundamentalMat
...
This commit passes the parameter maxIters that represent
the maximum number of iterations, that can be passed to findFundamentalMat
to the method LMeDS.
This parameter were added to the function findFundamentalMat and
were passed just for the RANSAC method, but should be passed to
both methods to be consistent.
2021-04-03 21:56:05 -03:00
Alexander Alekhin
2cf1a13755
Merge tag '3.4.14'
2021-04-02 09:31:32 +00:00
103yiran
6e6c0f31f7
delete unused variable
2021-04-02 10:30:27 +08:00
Alexander Alekhin
d0e3e638c3
release: OpenCV 3.4.14
2021-04-01 21:37:19 +00:00
Alexander Alekhin
6a72bf5085
Merge pull request #19823 from alalek:issue_contrib_2895
2021-04-01 20:38:46 +00:00
Alexander Alekhin
0ff57e3292
Merge pull request #19830 from alalek:issue_19368
2021-04-01 15:30:18 +00:00
Alexander Alekhin
5db484b6c2
Merge pull request #19831 from alalek:backport_19771
2021-04-01 14:05:09 +00:00
Alexander Alekhin
6865787a75
Merge pull request #19827 from alalek:build_videoio_macosx_override_3.4
2021-04-01 12:34:23 +00:00
Alexander Alekhin
7f664850f5
Merge pull request #19825 from alalek:cmake_fix_headers_order_python_3.4
2021-04-01 12:34:10 +00:00
Alexander Alekhin
d7cb2ea210
videoio(dshow): add NULL ptr check
2021-04-01 11:28:41 +00:00
Alexander Alekhin
4ae2c11520
videoio(build): eliminate inconsistent 'override' warnings
2021-04-01 09:56:21 +00:00
Alexander Alekhin
1b3e0b27af
cmake: fix files order in Python bindings
...
- with changes backport from 4.x
2021-04-01 09:48:50 +00:00
Alexander Alekhin
e4b0251e9d
cuda: fix inplace condition in cv::cuda::flip
2021-04-01 02:26:59 +00:00
Alexander Alekhin
b26f5b9468
core: backward compatibility for vx_store/vx_store_aligned calls
2021-04-01 02:17:47 +00:00
Alexander Alekhin
1615afd7f4
Merge pull request #19814 from alalek:pyopencv_to_safe
2021-03-31 22:58:18 +00:00
Alexander Alekhin
908957317f
Merge pull request #19813 from alalek:issue_19506
2021-03-31 22:57:50 +00:00
Alexander Alekhin
6fa2bdd7f2
Merge pull request #19812 from alalek:workaround_19634
2021-03-31 22:57:15 +00:00
Alexander Alekhin
f82303d614
Merge pull request #19811 from alalek:issue_19599
2021-03-31 22:56:48 +00:00
Alexander Alekhin
6773fa03e2
Merge pull request #19808 from alalek:3.4_python_fix_wrap_as
2021-03-31 22:56:14 +00:00
Alexander Alekhin
d651ff8d6b
python: exception-free pyopencv_to() wrapper
2021-03-31 14:18:32 +00:00
Alexander Alekhin
8069a6b4f8
core(IPP): disable some ippsMagnitude_32f calls
2021-03-31 13:38:57 +00:00
Alexander Alekhin
b697b3162f
videoio(mjpeg): disable parallel encoder
2021-03-31 12:35:12 +00:00
Alexander Alekhin
53a16b1186
Merge pull request #19809 from alalek:issue_19513
2021-03-31 10:50:20 +00:00
Alexander Alekhin
a2a92999be
core(arithm_op): workaround problem with scalars handling
2021-03-31 10:35:52 +00:00
Alexander Alekhin
40c0830b63
videoio(avfoundation): add getCaptureDomain()
2021-03-31 09:35:11 +00:00
Alexander Alekhin
bb6e15f2c0
python: fix CV_WRAP_AS handling
2021-03-30 22:02:48 +00:00
Anastasia Murzova
cc6d48959e
Added reduce sum by channel support
2021-03-30 23:01:22 +03:00
Vitaly Tuzov
aab62aa6dd
Merge pull request #18952 from terfendail:wui_doc
...
* Updated UI documentation to address WUI
* Added documentation for vx_ calls
* Removed vx_store operation overload
* Doxyfile updated to enable wide UI
* Enable doxygen documentation for vx_ WUI functions
* Wide intrinsics definition rework
* core: fix SIMD C++ emulator build (supports 128-bit only)
2021-03-30 16:18:03 +00:00
Alexander Alekhin
ac9f3a1242
Merge pull request #19793 from aarongreig:aaron/imgproc/relaxCornerEigenValTest
2021-03-29 13:41:44 +00:00