Corentin Noël
a035608100
highgui: Reduce the difference between GTK+2 and GTK+3 version
...
Make the GTK+3 API the default one by wrapping the missing GTK+2 functions in defines
Make sure to always guard with GTK_VERSION2 or GTK_VERSION3 to allow future addition
of Gtk4
2023-02-28 00:48:39 +01:00
Alexander Alekhin
b3c9842a98
Merge pull request #23287 from alalek:dnn_tflite_fix_illegal_access
2023-02-22 10:22:08 +00:00
Alexander Alekhin
9eb5e39ff3
dnn(tflite): fix wrong axis normalization
2023-02-21 21:20:37 +00:00
Alexander Alekhin
5a227352b4
Merge pull request #23274 from alalek:dnn_flatbuffers_builtin
2023-02-21 18:42:49 +00:00
Alexander Alekhin
bdff0949bb
dnn(tflite): add 3rdparty flatbuffers with pre-generated schema
2023-02-21 16:06:19 +00:00
Alexander Alekhin
4262127854
Merge pull request #23246 from mshabunin:rvv07-support
2023-02-20 18:06:30 +00:00
Vadim Pisarevsky
ca48e217f1
fixed another SIFT constructor ( #23272 )
2023-02-18 00:07:45 +03:00
Vadim Pisarevsky
f48939c2d7
temporarily set "enable_precise_upscale=false" by default to avoid sporadic failures in regression tests ( #23270 )
2023-02-17 18:57:38 +03:00
Maksim Shabunin
903ec0ec60
RISC-V: support RVV 0.7 in mainline RVV intrinsics
2023-02-17 18:17:11 +03:00
Zihao Mu
20dac7ea48
Merge pull request #23255 from zihaomu:fused_cuda_naryeltwise
...
DNN: fuse conv+naryEletwise on CUDA backend.
2023-02-17 10:18:13 +00:00
Vaclav Vavra
923dbcc58f
different interpolation by double image ( #23124 )
...
* different interpolation by double image
* fixing scaling mapping
* fixing a test
* added an option to enable previous interpolation
* added doxygen entries for the new parameter
* ASSERT_TRUE -> ASSERT_EQ
* changed log message when using old upscale mode
2023-02-17 10:35:54 +03:00
Anatoliy Talamanov
6c235c8edb
Merge pull request #23211 from TolyaTalamanov:at/pipeline-modeling-tool-perf-alignment
...
[G-API] Pipeline modeling tool: Refactor calculating performance statistics
* Add warmup execution
* Align perf metrics
* Add busy wait mode for source
* Small fix for late frames
* pl_fn to src_fn
* Change show statistics
* Correct warm-up iteration
* Properly calculate drop frames
* Enable frame dropping for streaming mode
* Enable frame dropping for streaming mode
* Fix comments to review
* Fix typos
* Cosmetic
2023-02-15 14:04:14 +03:00
Alexander Alekhin
58d8a2702a
Merge pull request #23243 from WanliZhong:accelerate_palm_det
2023-02-14 16:25:02 +00:00
Dmitry Kurtaev
76350cd30f
Merge pull request #23161 from dkurt:dnn_tflite
...
TFLite models importer
* initial commit
* Refactor TFLiteImporter
* Better FlatBuffers detection
* Add permute before 4D->3D reshape
* Track layers layout
* TFLite Convolution2DTransposeBias layer
* Skip TFLite tests without FlatBuffers
* Fix check of FlatBuffers in tests. Add readNetFromTFLite from buffer
* TFLite Max Unpooling test
* Add skip for TFLite unpooling test
* Revert DW convolution workaround
* Fix ObjC bindings
* Better errors handling
* Regenerate TFLite schema using flatc
* dnn(tflite): more checks, better logging
* Checks for unimplemented fusion. Fix tests
2023-02-13 14:00:20 +00:00
Alexander Alekhin
47293f28cf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2023-02-11 18:35:00 +00:00
Yannis Guyon
56102737d7
Merge pull request #23131 from y-guyon:align_ptr_intrin_sse
...
Fix misaligned-pointer-use in intrin_sse.hpp
* Fix misaligned-pointer-use in intrin_sse.hpp
* Use _mm_loadu_si32() instead of memcpy()
* Use CV_DECL_ALIGNED instead of _mm_loadu_si32()
2023-02-10 22:46:21 +00:00
Yuantao Feng
c2b7c1f13b
Merge pull request #23219 from fengyuentau:add_gelu
...
Add GELU layer for vision transformers
* add gelu and gelu approximation
* drop setKernelParams
2023-02-10 18:03:29 +00:00
wanli
c8f5e228fc
release MUL and ADD operator on CUDA
2023-02-10 19:33:59 +08:00
Alexander Alekhin
d3c6b85638
Merge pull request #23209 from CSBVision:patch-3
2023-02-09 10:43:52 +00:00
Alexander Alekhin
96a45e842e
Merge pull request #23061 from WanliZhong:gemm_cuda
...
DNN: make GEMM can be supported with transA and transB in CUDA
2023-02-09 00:06:32 +03:00
Ibai Gorordo
c280cd7290
Merge pull request #23210 from ibaiGorordo:rect_nfa_bugfix
...
Fix rect_nfa (lsd)
* Fix missing log_gamma in nfa()
Comparing the nfa function with the function in the binomial_nfa repository (https://github.com/rafael-grompone-von-gioi/binomial_nfa/blob/main/C99/log_binomial_nfa.c#L152 ), the first log_gamma call is missing.
* Fix rect_nfa pixel index
* Replace std::rotate
* Rename tmp to v_tmp
* Replace auto and std::min_element
* Change slope equality check to int
* Fix left limit check
2023-02-08 17:33:06 +00:00
Alexander Alekhin
44290af516
Merge pull request #23224 from VadimLevin:dev/vlevin/cxx-named-arguments
2023-02-08 17:31:30 +00:00
Alexander Alekhin
649841e6bf
Merge pull request #23225 from mshabunin:fix-clang-warnings
2023-02-08 17:28:07 +00:00
Alexander Alekhin
606c80344a
Merge pull request #23222 from siilats:patch-1
2023-02-07 15:30:15 +00:00
CSBVision
6ea22535e2
Fixes #23187 (part 1)
...
Supports delay-loading for Ninja generators and Python bindings.
2023-02-07 09:04:06 +01:00
Maksim Shabunin
e4acd74e87
Fix some clang 14 warnings
2023-02-07 01:19:00 +03:00
Vadim Levin
b07031b594
feat: named arguments handling in Python interface
2023-02-06 22:14:58 +03:00
Alexander Alekhin
0981814473
Merge pull request #23214 from asmorkalov:as/xcode_warning_supression3.4
2023-02-06 18:29:01 +00:00
Alexander Smorkalov
3d635cb4a7
Warning supression fix for XCode 13.1 and newer. Backport #23203
2023-02-06 11:12:05 +03:00
keith siilats
b0aace31ec
Update charuco_detector.cpp
...
Delete the debug print statements accidentally left in
2023-02-05 19:39:25 -05:00
Alexander Alekhin
9eb78eeb18
Merge pull request #23217 from laitingsheng:4.x
2023-02-05 20:08:49 +00:00
Alexander Alekhin
6dfa647f05
Merge pull request #23067 from sashashura:patch-3
2023-02-05 19:50:45 +00:00
Tinson Lai
f8f425e34c
Change custom_hal.hpp output location
2023-02-03 18:21:15 +08:00
Alexander Smorkalov
206a3fcea8
Merge pull request #23203 from asmorkalov:as/xcode_warning_supression
...
Supress tones of -Wdeprecated-copy warnings
2023-02-02 18:09:15 +03:00
Alexander Smorkalov
c855dcc52f
Supressed tones of Wdeprecated-copy that jump out of GTes after XCode update to 13.1 on Mac M1.
2023-02-02 13:54:47 +03:00
Alexander Alekhin
cb2052dbfe
Merge pull request #23204 from whuaegeanse:fix-sift
2023-02-01 16:52:29 +00:00
whuaegeansea
400572b19f
Fix bug
2023-02-01 11:25:31 +08:00
Alexander Alekhin
a6b178a3d9
Merge pull request #23198 from mshabunin:fix-rvv-07
2023-01-31 13:11:46 +00:00
wanli
4718a4bf81
make GEMM can be supported with transA and transB in CUDA
2023-01-31 15:14:17 +08:00
Maksim Shabunin
9efaa3cce7
RISC-V/RVV 0.7: v_add/v_sub saturation and avoiding 64-bit register in v_check_
2023-01-30 23:25:53 +03:00
Alexander Smorkalov
ff8af10cfe
Merge pull request #23168 from genciberisha/bug/issue-22205_and_23105_encodeStructuredAppend_problem
...
Fix encodeStructuredAppend() resulting in only one QR code problem, and false output data fix.
2023-01-30 09:15:18 +03:00
Alexander Alekhin
cd44aa0bb1
Merge pull request #23162 from zihaomu:issue_23151
2023-01-28 13:00:43 +00:00
Alexander Alekhin
d3ae175bca
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2023-01-28 10:01:23 +00:00
Rostislav Vasilikhin
deaf632881
Merge pull request #23179 from savuor:port34_stddev_calib_fisheye
...
Backport to 3.4 of the fisheye calibration uncertainty fix
* uncertainties fix
* trailing whitespace
* comment added
2023-01-28 09:56:13 +00:00
Alexander Alekhin
c67d4fc633
Merge pull request #23076 from inayd:22012-bugfixFillPoly
2023-01-28 09:55:02 +00:00
zihaomu
f45a12439a
fix depth wise issue.
2023-01-28 11:41:00 +08:00
Alexander Alekhin
bd9d60c4c6
Merge pull request #23185 from y-guyon:parallel_tsan_data_race
2023-01-27 15:10:18 +00:00
Yuantao Feng
4d918ba40b
Merge pull request #23047 from fengyuentau:layer_norm
...
dnn: add layer normalization for vision transformers
* add layer norm onnx parser, impl and tests
* add onnx graph simplifier for layer norm expanded
* handle the case when constants are of type Initializer
* add test case for layer norm expanded with initializers
* use CV_Assert & CV_CheckType in place of CV_Assert_N; use forward_fallback for OCL_FP16
* use const ref / ref in parameters of invoker::run; extract inner const if from nested loop; use size_t in place of ull
* template hasBias
* remove trailing whitespace
* use pointer parameter with null check; move normSize division & mean_square division outside of loop; use std::max to ensure positive value before std::sqrt
* refactor implementation, optimize parallel_for
* disable layer norm expanded
* remove the removal of layer norm optional outputs
2023-01-27 16:35:59 +03:00
Yannis Guyon
bf29a4d746
Avoid double-checked locking with TSAN in parallel
...
Omit the first check of the double-checked locking pattern in
recordException() in parallel.cpp when CV_THREAD_SANITIZER is defined.
This should only slow recordException() down when the thread sanitizer
is used, and avoids the TSAN data race warning.
2023-01-27 13:36:33 +01:00
Genci Berisha
743d4ecf7b
generateQR() method data loss fix
...
Added regression parameterized test for Structure Append mode
final_qr_code clear outside generateQR() method
2023-01-26 23:30:14 +01:00