Zihao Mu
903bf0147e
Merge pull request #22666 from zihaomu:support_onnx_qdq_model
...
DNN: let Quant and Dequant of ONNX_importer support the Constant input.
* let Quant and Dequant support the Constant input.
* fix negative value of axis.
2022-10-31 16:06:31 +00:00
Alexander Alekhin
540aa13300
Merge pull request #22718 from zihaomu:improve_stackblur
2022-10-31 15:54:53 +00:00
Zihao Mu
18fbb72f7d
fix the infinite loop in tf importer.
2022-10-31 20:10:25 +08:00
JopKnoppers
0b5fd4f6bb
Included thread in gapi_async_test.cpp
...
Preventing: gapi_async_test.cpp:448:26: error: ‘sleep_for’ is not a member of ‘std::this_thread’
2022-10-31 12:19:04 +01:00
Alexander Alekhin
87360c2ae5
Merge pull request #22601 from cpoerschke:4.x-issue-22595
2022-10-30 16:49:01 +00:00
Zihao Mu
17b98dd005
improve code style and Doc of stackblur.
2022-10-29 17:34:28 +08:00
Alexander Alekhin
028d4d83d3
imgproc: sigma2=sigma1 in top-level function of GaussianBlur
2022-10-28 17:04:53 +00:00
Dmitry Matveev
b619477be9
Fix issues with VA_INCLUDE_HEADERS when building with CUDA support
...
...and not only?
2022-10-28 04:02:35 +00:00
Alexander Smorkalov
778faddbd8
Merge pull request #22463 from hanliutong:rvv
...
Redesign the SIMD macro.
2022-10-27 14:16:03 +03:00
Alexander Smorkalov
f644634aa6
Merge pull request #22702 from kallaballa:ffmpeg_environment_variables
...
Dump the values of OPENCV_FFMPEG_CAPTURE_OPTIONS and OPENCV_FFMPEG_WRITER_OPTIONS to debug log
2022-10-27 12:18:52 +03:00
kallaballa
547f4c2c5a
print a debug message if the environment variables OPENCV_FFMPEG_CAPTURE_OPTIONS and OPENCV_FFMPEG_WRITER_OPTIONS are set
2022-10-27 00:27:17 +02:00
HAN Liutong
5462a6be6e
Update SIMD macro for RVV backend.
2022-10-26 13:02:03 +00:00
Alexander Smorkalov
a60496f9df
Merge pull request #22633 from cudawarped:fix_3361
...
Reset cuda runtime error code to cudasuccess on runtime failure.
2022-10-26 15:48:06 +03:00
Rostislav Vasilikhin
a09bb3c2f6
doc fixes
2022-10-25 22:37:38 +02:00
Alexander Smorkalov
a6fadfe1c2
libav for jetson tk1 does not provide libavutil/display.h.
2022-10-25 10:21:20 +03:00
Rostislav Vasilikhin
95ab8517ae
trailing whitespaces
2022-10-25 02:58:55 +02:00
Rostislav Vasilikhin
a1820ff3d4
unused function removed
2022-10-25 02:45:42 +02:00
Rostislav Vasilikhin
097b0245da
getScaledDepth -> getProcessedDepth
2022-10-25 02:45:28 +02:00
Rostislav Vasilikhin
52d82bb44a
docs for Odometry+Frame
2022-10-25 02:44:12 +02:00
Alexander Smorkalov
22f8fb4d5c
Do not fail tests in Yolo v7 model was not found.
2022-10-24 17:59:18 +03:00
Rostislav Vasilikhin
8b7e586faa
Merge pull request #22598 from savuor:icp_oframe_readonly
...
Complement PR: #3366@contrib
Changes
OdometryFrame losts its getters: a user can provide data at construction stage only, pyramids and other generated data is read-only now
OdometryFrame is based on UMats: no TMat templates inside, CPU operations are done with UMat::getMat() method, chaining issues are solved ad-hoc
No more Odometry::createOdometryFrame() method, frames are compatible with all odometry algorithms
Normals computer is cached inside Odometry and exposed to API as well as its settings
Volume::raycast() won't return the result in OdometryFrame anymore
Added test for Odometry::prepareFrame*() & other test fixes
Minor code improvements
TODOs:
fix TODOs in code
lower acceptable accuracy errors
2022-10-24 16:34:01 +03:00
Alexander Smorkalov
23edec83fb
Merge pull request #22667 from zihaomu:bug_fix_in_winograd
...
DNN: bug fixed in Winograd
2022-10-21 17:54:13 +03:00
Alexander Smorkalov
e4cd430710
Merge pull request #22653 from WanliZhong:issue22597
...
DNN-TF: let StridedSlice layer support const input
2022-10-21 17:51:00 +03:00
Dmitry Kurtaev
35b2cff295
Merge pull request #22656 from dkurt:halide_fixes
...
* Fixes for Halide
* Enable some Halide tests
2022-10-21 17:49:49 +03:00
Zihao Mu
cee8c86b6e
fixed bug at winograd of SIMD128 and more robust code.
2022-10-21 19:14:54 +08:00
Maksim Shabunin
c0a84dcc85
Merge pull request #22651 from mshabunin:script-doc
...
ts: basic documentation for utility scripts
2022-10-20 14:11:02 +03:00
Alexander Smorkalov
e80b443cd9
Merge pull request #22659 from AleksandrPanov:qr_reduce_extra_adaptiveThreshold
...
QR code, reduce extra adaptiveThreshold()
2022-10-20 12:05:17 +03:00
Alexander Smorkalov
5d292826b2
Merge pull request #22593 from zihaomu:optimize_wino
...
optimize winograd futher more
2022-10-19 13:08:32 +03:00
Alexander Smorkalov
f378f02954
Merge pull request #22652 from rogday:cuda_test_fixes
...
Address CUDA-related errors
2022-10-19 09:37:12 +03:00
Zhi-Qiang Zhou
c8561eae2d
Update region_layer.cpp
...
Fix objectness (dstData[index + 4]) is not assigned if new_coords == 1.
2022-10-19 11:17:23 +08:00
AleksandrPanov
ba575fd4ad
reduce extra adaptiveThreshold()
2022-10-18 23:25:41 +03:00
Smirnov Egor
dd14cf6a9c
address CUDA-related errors and enable cuda in elementwise ops
2022-10-18 16:54:42 +03:00
Hashem Zavvari
6eb34716b8
Merge pull request #22635 from hzawary:4.x
...
Setting CAP_PROP_AUTO_EXPOSURE on VideoCapture with backend DSHOW does not change anything. Now with this implementation the property can be used with value 1 for availability.
2022-10-18 11:13:08 +03:00
Alexander Smorkalov
ec7fc5adca
Merge pull request #22529 from fengyuentau:scatter_scatternd
...
DNN: supports Scatter and ScatterND from ONNX
2022-10-17 14:57:46 +03:00
Alexander Smorkalov
02143cd0e2
Merge pull request #22531 from zihaomu:stop_rely_name
...
Parsing quantized nodes does not rely on names
2022-10-17 11:20:24 +03:00
Alexander Smorkalov
1c5dcbcac8
Merge pull request #22639 from WanliZhong:issue#22625
...
DNN: Make Unsqueeze layer support negative axes
2022-10-17 09:27:49 +03:00
fengyuentau
d24d8f2abe
implementation of scatter and scatternd with conformance tests enabled
2022-10-17 11:30:32 +08:00
Alexander Alekhin
584ea43b2f
Merge pull request #22527 from paroj:misc
2022-10-16 19:08:13 +00:00
Alexander Alekhin
762481411d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-10-15 16:44:47 +00:00
zoom
d816442e4d
Make Unsqueeze layer support negative axes.
2022-10-14 18:00:19 +08:00
Alexander Alekhin
ea5ca16036
Merge pull request #22617 from changh95:4.x
2022-10-14 09:17:16 +00:00
Alexander Smorkalov
2991717191
Merge pull request #22637 from alalek:docs_fix_links_generation_22572
...
docs: prefer # for links generation
2022-10-14 09:18:27 +03:00
Zihao Mu
0fa43e3aac
Optimize the winograd futher more.
2022-10-14 10:15:45 +08:00
Hyunggi Chang
085fb78e85
fix typo (portatibility -> portability)
2022-10-13 21:39:52 +00:00
Alexander Alekhin
a565aa6db9
docs: prefer # for links generation
...
- avoid `@ref`
- align with 4.x branch (minimize merge conflicts)
2022-10-13 20:55:53 +00:00
Alexander Alekhin
2763f988da
Merge pull request #22526 from paroj:pyrect
2022-10-13 11:46:28 +00:00
cudawarped
f89dee4f3e
Reset cuda error code to cudasuccess.
2022-10-13 10:15:40 +03:00
Pavel Rojtberg
70779d4e66
calib3d: use OCV_LAPACK_FUNC
2022-10-12 17:01:28 +02:00
Pavel Rojtberg
35f43cc429
core: expose rectangle intersection to bindings
2022-10-12 14:08:12 +02:00
zoom
9119692bb8
let StridedSlice layer support const input
2022-10-12 11:50:44 +08:00
Harvey Huang
8b0aa6a64d
Merge pull request #21966 from Harvey-Huang:Unicode_Path
...
Support use memory buffer to read multi-page image
2022-10-11 14:25:35 +03:00
Alexander Smorkalov
ec26541771
Merge pull request #22577 from zihaomu:Disable_winograd_branch_in_tryquantize
...
DNN: add enableWinograd API for Net
2022-10-11 09:44:00 +03:00
Alexander Smorkalov
1c825dd509
Merge pull request #22613 from erasta:patch-1
...
Opencv.js: on imread add willReadFrequently to getContext
2022-10-11 09:42:55 +03:00
Zihao Mu
d9eff7daeb
parse quantized nodes does not rely on name.
2022-10-10 17:08:46 +08:00
Alexander Smorkalov
3419e64dcf
Merge pull request #22611 from zihaomu:greaterOrEqual
...
DNN: support GreaterOrEqual and LessOrEqual op in ONNX
2022-10-10 11:43:44 +03:00
Zihao Mu
1e2ceca4df
add enableWinograd API for Net.
2022-10-09 09:33:07 +08:00
Alexander Alekhin
347246901e
Merge pull request #21745 from alalek:dnn_plugin_openvino
2022-10-08 22:32:25 +00:00
Eran Geva
68bd156a71
add willReadFrequently on imread in js
2022-10-08 12:05:33 +03:00
Zihao Mu
9821fae59d
add greater_or_equal and less_or_equal ONNX support
2022-10-08 15:51:40 +08:00
Alexander Alekhin
43b2bb2c25
dnn: plugin support for OpenVINO
2022-10-07 16:57:31 +00:00
Petr Glotov
a3ebafbdeb
Merge pull request #21942 from pglotov:add-blob-contours
...
added blob contours to blob detector
* added blob contours
* Fixed Java regression test after new parameter addition to SimpleBlobDetector.
* Added stub implementation of SimpleBlobDetector::getBlobContours to presume source API compatibility.
2022-10-07 19:07:51 +03:00
Alexander Smorkalov
5b97f6abec
Merge pull request #22136 from sturkmen72:HOGDescriptor_update
...
HOGDescriptor
2022-10-07 15:17:57 +03:00
Alexander Smorkalov
5cd07006f6
Merge pull request #22329 from chinery:stitching-py-fixes
...
Fix stitching Python bindings (and one stitching_detailed.cpp bug)
2022-10-07 15:03:37 +03:00
Alexander Smorkalov
3d350a002e
Merge pull request #22562 from cudawarped:add_bindings_to_cuda_fastNlMeansDenoising
...
Add bindings to CUDA photo denoising functions
2022-10-07 14:55:14 +03:00
Alexander Smorkalov
f18b8cd569
Merge pull request #22606 from savuor:doc_fix_lmsolver
...
Doc fix for LMSolver
2022-10-07 12:42:48 +03:00
Rostislav Vasilikhin
07c795408d
doc fix
2022-10-07 01:40:50 +02:00
Suleyman TURKMEN
07b62376af
Update objdetect.hpp
2022-10-06 23:13:44 +03:00
TolyaTalamanov
5f50e7bafe
Criteria -> Criterion
2022-10-06 09:41:30 +00:00
TolyaTalamanov
e92716a1b6
Merge branch '4.x' of github.com:opencv/opencv into at/add-num-iter
2022-10-06 07:12:14 +00:00
Christine Poerschke
40ae06091d
add cvGetPropVisible_COCOA
2022-10-05 21:51:26 +01:00
TolyaTalamanov
839321642e
Move impl from class
2022-10-05 12:01:45 +00:00
TolyaTalamanov
9f88a65873
Fix functional pipeline tool tests
2022-10-04 14:23:05 +00:00
Alexander Smorkalov
4103567776
Merge pull request #22194 from heavyrain-lzy:fixbug_pyrup
...
Fix the pyramid bug when src*2 < dst
2022-10-04 15:37:01 +03:00
Alexander Smorkalov
8f0edf6a1c
Merge pull request #22074 from bwang30:opencv-warpAffine-ippiw
...
Add warpAffine IPPIW implementation to replace with old version
2022-10-04 14:38:00 +03:00
TolyaTalamanov
1113c9ab10
Support num_iters criteria for pipeline tool
2022-10-04 08:37:56 +00:00
Alexander Smorkalov
bf5d7c0c10
Merge pull request #22588 from TolyaTalamanov:at/sync-ie-request-pool
...
G-API: Add synchronous execution for IE backend
2022-10-04 11:32:21 +03:00
Alexander Smorkalov
fef8d4c990
Merge pull request #22017 from xiong-jie-y:py_onnx
...
Add python bindings for G-API onnx
2022-10-04 10:33:10 +03:00
TolyaTalamanov
5a0c85b3ef
Refactor tests
2022-10-04 07:05:40 +00:00
TolyaTalamanov
9fd877acc9
Merge branch '4.x' of github.com:opencv/opencv into at/sync-ie-request-pool
2022-10-04 06:48:28 +00:00
robin
ed3b56d763
Add warpAffine IPPIW implementation protected by ipp NE flag
...
Signed-off-by: robin <bin.wang@intel.com>
2022-10-04 08:40:44 +03:00
Kumataro
2f79b1b087
Merge pull request #22404 from Kumataro:3.4-fix22388_2
...
* imgcodecs: tiff: Reduce memory usage to read 16bit image.
* imgcodecs: tiff: Reduce memory usage to read 8bit images
* imgcodecs: tiff: split basic test and full test.
* imgcodecs: tiff: fix to warning C4244
* imgcodecs: tiff: fix to warning C4244
2022-10-03 18:24:15 +03:00
Alexander Smorkalov
7208f63221
Merge pull request #22583 from TolyaTalamanov:at/add-cfg-output-precision-for-ie-backend
...
G-API: API for configuring model output precision for IE backend
2022-10-03 15:54:00 +03:00
TolyaTalamanov
0cd4396180
Expand modeling tool to support infer_mode
2022-10-03 11:08:15 +00:00
TolyaTalamanov
aafb7567c1
Add tests
2022-10-03 10:58:21 +00:00
TolyaTalamanov
cf5db9b94f
Add handle to configure async/sync infer mode
2022-10-03 09:43:50 +00:00
TolyaTalamanov
589b6c15f0
Fix windows warning
2022-10-03 09:43:50 +00:00
TolyaTalamanov
2af0813634
Add sync/async executors for infer request
2022-10-03 09:43:50 +00:00
TolyaTalamanov
15d2a5faf8
Add sync infer request
2022-10-03 09:43:50 +00:00
TolyaTalamanov
b1d28d5b4a
Expand performance report
2022-10-03 09:04:49 +00:00
TolyaTalamanov
a6fbd8287c
Fix comments to review
2022-10-03 08:04:31 +00:00
TolyaTalamanov
b0b77b3047
Add cfgOutputPrecision
2022-10-03 08:04:31 +00:00
Alexander Smorkalov
96844b0ca5
Merge pull request #22554 from WanliZhong:slice_axes_no_seq
...
DNN: Let Slice layer support non-sequential and negative axes
2022-10-03 10:15:55 +03:00
Biswapriyo Nath
6cf0910842
Merge pull request #22462 from Biswa96:fix-directx-check
...
* cmake: Fix DirectX detection in mingw
The pragma comment directive is valid for MSVC only. So, the DirectX detection
fails in mingw. The failure is fixed by adding the required linking library
(here d3d11) in the try_compile() function in OpenCVDetectDirectX.cmake file.
Also add a message if the first DirectX check fails.
* gapi: Fix compilation with mingw
These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.
* samples: Fix compilation with mingw
These changes remove MSVC specific pragma directive. The compilation fails at
linking time due to absence of proper linking library. The required libraries
are added in corresponding CMakeLists.txt file.
2022-10-03 08:37:36 +03:00
Alexander Alekhin
1646a21197
Merge pull request #22505 from asmorkalov:as/matcher_score_thresh
2022-10-01 12:05:03 +00:00
zoom
4557971481
enhance slice layer
...
refactor the code for parsing Slice layer
add test for Slice layer
let 'begin' and 'end' resize to dims
add opset message comment
2022-10-01 17:12:07 +08:00
cudawarped
8baf46c0a8
Add bindings and test
2022-09-30 12:31:24 +03:00
ocpalo
d18362c726
fix warnings in ImageCollection
2022-09-29 20:48:51 +03:00
Alexander Smorkalov
b403d37267
Merge pull request #20379 from zihaomu:stackblur
...
Add StackBlur for imgproc
2022-09-29 16:24:20 +03:00
Alexander Smorkalov
2d189e24ee
Merge pull request #22580 from seanm:Wextra-semi
...
Fixed most clang -Wextra-semi warnings
2022-09-29 11:50:20 +03:00
Alexander Smorkalov
c8c29b0f1a
Merge pull request #22585 from opencv:zm/remove-code-1
...
DNN: Remove unused code in onnx_importer.cpp
2022-09-29 11:44:19 +03:00
Alexander Smorkalov
784dd55d88
Extracted matches_confindece_thresh as stitching matcher parameter.
2022-09-29 09:04:24 +03:00
Alexander Smorkalov
adb916ce82
Merge pull request #22358 from AleksandrPanov:qrcode_x86_arm
...
QRcode, change INTER_LINEAR to INTER_LINEAR_EXACT
2022-09-29 08:56:07 +03:00
Zihao Mu
15cfafb360
DNN: Remove unused code in onnx_importer.cpp
2022-09-29 10:53:43 +08:00
AleksandrPanov
d43cb4fe7c
change resize flag INTER_LINEAR to INTER_LINEAR_EXACT
...
fix python test_detect_and_decode_multi, sort QR in multiDetect/multiDecode
enable tests with "version_5_up.jpg", "version_5_top.jpg"
2022-09-28 23:52:24 +03:00
Vincent Rabaud
38c9c20a35
Move marking memory as initialized earlier.
2022-09-28 21:58:17 +02:00
Alexander Smorkalov
c189f31f23
Merge pull request #22552 from alvoron:ocv_ov_instruction
...
OpenCV for OpenVINO documentation
2022-09-28 15:14:57 +03:00
Voron
cbf43a54fb
added opencv for openvino tutorial
2022-09-28 12:05:28 +02:00
Zihao Mu
2918071a3e
add stackblur for imgproc.
2022-09-28 17:47:32 +08:00
Sean McBride
1829eba584
Fixed most clang -Wextra-semi warnings
2022-09-27 18:06:46 -04:00
Alexander Smorkalov
3a64607d94
Merge pull request #22518 from TolyaTalamanov:at/expand-modeling-tool-to-support-config-in-yml
...
[G-API] Pipeline modeling tool - support local infer node config
2022-09-27 14:24:35 +03:00
catree
c34c4b50d0
Add information about the disparity-to-depth mapping matrix. Add more references about other related functions in the calib3d doc.
2022-09-26 18:40:18 +02:00
TolyaTalamanov
4521d66103
Remove r-value ref
2022-09-26 11:53:57 +00:00
Alexander Smorkalov
3d9f27b877
Report that animated webp is not supported for now.
2022-09-26 13:53:49 +03:00
HAN Liutong
df24bd295d
Fix v_signmask for RISC-V Vector.
2022-09-23 11:28:50 +00:00
Alexander Smorkalov
04ebedb6f0
Merge pull request #22128 from ocpalo:multipage_img_decoder
...
[GSoC 2022] Multipage Image Decoder API
2022-09-21 16:10:22 +03:00
Alexander Smorkalov
3857173845
Merge pull request #22287 from asenyaev:asen/disabled_compiling_warnings_5.x
...
Disabled compiling warnings in case of symbols in cmake for 5.x
2022-09-20 16:19:08 +03:00
Alexander Smorkalov
bfeeb0ad70
Merge pull request #22285 from asenyaev:asen/disabled_compiling_warnings_3.4
...
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 15:14:36 +03:00
Alexander Smorkalov
2273af0166
Merge pull request #22286 from asenyaev:asen/disabled_compiling_warnings_4.x
...
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 15:13:06 +03:00
Andrey Senyaev
752e5fdc26
Disabled compiling warnings in case of symbols in cmake for 5.x
2022-09-20 13:36:59 +03:00
Andrey Senyaev
ccfc34b13f
Disabled compiling warnings in case of symbols in cmake for 4.x
2022-09-20 13:35:48 +03:00
Andrey Senyaev
3f4abcb228
Disabled compiling warnings in case of symbols in cmake for 3.4
2022-09-20 13:34:17 +03:00
Alexander Smorkalov
f2ccce23f3
Merge pull request #22512 from alalek:build_warning_gcc12_uninitialized
...
build: eliminate uninitialized warnings from GCC12
2022-09-20 09:29:00 +03:00
Berke
062cee2933
new multipage image decoder api - ImageCollection
2022-09-19 20:27:01 +03:00
Alexander Smorkalov
fcf9f117b0
Merge pull request #22519 from stefan-spiss:stereo_calib_per_obj_extr_ret
...
Stereo Calibration: Return rotation and transformation vectors for each calibration object
2022-09-19 17:37:40 +03:00
Alexander Smorkalov
0ab4872032
Merge pull request #22511 from alalek:dnn_build_warning_gcc12
...
dnn: eliminate GCC12 warning in total() call
2022-09-19 16:22:54 +03:00
Alexander Smorkalov
a6274647a4
Merge pull request #21738 from rogday:gather
...
add Gather implementation
2022-09-19 16:21:14 +03:00
Egor Smirnov
65f71ce2eb
add Gather implementation
2022-09-19 15:06:44 +03:00
Alexander Smorkalov
6aefb8e86f
Merge pull request #22290 from fengyuentau:naive_yolov7
...
Support for YOLOv7 ONNX (not simplified)
2022-09-19 14:43:18 +03:00
fengyuentau
4aef9b1c93
dnn: support yolov7 (not simplified)
2022-09-19 18:38:03 +08:00
Alexander Smorkalov
0ac67ee8d9
Merge pull request #22343 from komakai:android_cam_polling
...
Poll for frame data if acquisition fails after OnCaptureCompleted
2022-09-19 08:51:13 +03:00
Rostislav Vasilikhin
f92a1aa07d
trying to fix MSVC compilation
...
double -> float warning
fix warnings in the rest 3d module files
extra var removed
try to fix warnings
2022-09-19 00:27:26 +02:00
Alexander Alekhin
66b3155a48
Merge pull request #22332 from komakai:android-cam-stride
2022-09-18 14:26:11 +00:00
Giles Payne
b3adffe437
Android Camera: poll for frame data if acquisition fails after OnCaptureCompleted
2022-09-18 13:41:36 +09:00
TolyaTalamanov
ec92f3fefa
Apply comments
...
* Rename intersectMapWith -> mergeMapWith
* Remove macro
* Add r-value ref
2022-09-16 15:24:13 +00:00
Alexander Smorkalov
1ae801554d
Merge pull request #22507 from TolyaTalamanov:at/replace-mfx-major-version-assert-to-warning
...
G-API: Replace MFX major version assertion to warning
2022-09-16 11:21:08 +03:00
Alexander Smorkalov
e1e9261450
Merge pull request #22479 from scottchou007:master
...
Fix issues in opencv_test_dnn from conv48 kernels without bias
2022-09-16 09:05:55 +03:00
Rostislav Vasilikhin
9ba4bb7355
initIntrisicParams2D() refactored
...
variables refactoring
levmarq fix
initIntrinsicParams2D() refactoring
undo LM fix
cameraCalcJErr: made a lambda; warnings fixed; vars rearranged & renamed, jacobian buffers, perViewErrors and allErrors fix, etc.
stereoCalibrate: internal vars in callback
stereoCalibrate: capture only useful variables
stereoCalibrate: perViewError fix + minors
rvecs and tvecs are not pointers anymore
no extra lambda
newObjPoints: no pointers
stdDevs: no pointers
_Jo removed: not used
Range::all() -> rowRange, colRange
param and mask are std::vectors now
indices shortened
tabs
less func-scoped vars; TODOs
less formatting & renaming changes
trailing whitespaces
less diff
less changes
less changes
Range::all() back
perViewErr ptr fix
NINTRINSIC captured
try to fix warning
trying to fix a warning
fix warnings, another attempt
2022-09-15 22:55:40 +02:00
scottchou007
a3cb2020bc
Fix issues in opencv_test_dnn from conv48 kernels using uninitialized tensors when there is no bias.
2022-09-15 13:41:27 -07:00
Alexander Smorkalov
a6017ac550
Merge pull request #22145 from danopdev:issues-22141
...
Fixed time value obtained on some frames at the end of the video #22141
2022-09-15 19:18:58 +03:00
Alexander Smorkalov
48e50a7674
Extended video timestamp test to cover fix for the issue #22141 .
2022-09-15 18:03:23 +03:00
Stefan Spiss
66cbb7b911
Extended tests for stereoCalibrate function of fisheye camera model.
2022-09-15 13:28:41 +02:00
Stefan Spiss
9ca3a3139a
Extended tests for stereoCalibrate function of pinhole camera model.
2022-09-15 13:28:41 +02:00
Stefan Spiss
6fb465cb4e
Extended stereoCalibrate function for fisheye model to return per view rotation and translation vectors between the calibration object coordinate space and the coordinate space of the first camera of the stereo pair. Added overloaded versions of the function for downward compatibility.
2022-09-15 13:28:41 +02:00
Stefan Spiss
8ae03fcd6e
Extended stereoCalibrate function for pinhole model to return per view rotation and translation vectors between the calibration object coordinate space and the coordinate space of the first camera of the stereo pair. Added overloaded versions of the function for downward compatibility.
2022-09-15 13:28:41 +02:00
Dan
122250b554
fix #22490
2022-09-15 13:24:18 +02:00
TolyaTalamanov
eb8883160d
Support config as part of Infer node in yml
2022-09-15 10:47:13 +00:00
Alexander Smorkalov
8af4fe9ed3
Merge pull request #22495 from cpoerschke:4.x-issue-22483
...
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-14 20:40:24 +03:00
Dan
13823f117b
#22214 and #22198
2022-09-14 14:19:04 +02:00
Alexander Alekhin
2e15582799
build: eliminate uninitialized warnings from GCC12
2022-09-14 11:58:43 +00:00
Alexander Alekhin
65bdb3a544
dnn: eliminate GCC12 warning in total() call
2022-09-14 11:37:00 +00:00
Alexander Smorkalov
ac91c45b0f
Merge pull request #22498 from alalek:update_ffmpeg_4.x
...
ffmpeg/4.x: update FFmpeg wrapper 2022.09
2022-09-14 09:34:12 +03:00
Henrik Dobbe Flemmen
6481cfd048
Update the fourcc codes link
2022-09-14 09:25:57 +03:00
Alexander Smorkalov
364b3f181d
Merge pull request #22372 from ocpalo:libjpegturbo_nasm
...
[GSoC 2022] nasm/simd support for libjpeg-turbo
2022-09-14 09:08:28 +03:00
Andrew Chinery
26a7647e0e
Fix stitching Python bindings PR #22329
2022-09-13 14:35:42 +01:00
Alexander Smorkalov
8eb036fb3c
Merge pull request #22040 from CNClareChen:4.x
...
Optimize the cvCeil and cvFloor functions for LoongArch
2022-09-13 16:26:20 +03:00
Hao Chen
fce8349c99
Optimize the cvCeil and cvFloor functions.
...
This patch optimizes the cvCeil and cvFloor functions on
the LoongArch platform.
Signed-off-by: Hao Chen <chenhao@loongson.cn>
2022-09-13 10:49:09 +03:00
TolyaTalamanov
5ea912e778
Change warning message
2022-09-13 08:28:34 +01:00
Alexander Smorkalov
c2c8da2517
Merge pull request #22448 from Ichini24:reshape-permutations-fix
...
changed names of permutations if Reshpe is in NHWC
2022-09-13 09:24:56 +03:00
ocpalo
d717de5719
nasm/simd support for libjpeg-turbo
2022-09-12 20:26:26 +03:00
TolyaTalamanov
bcc19a622d
Replace MFX major version assertion to warning
2022-09-12 17:54:00 +01:00
Alexander Alekhin
fb3fc5322c
videoio(ffmpeg): update tests with new Windows wrapper
2022-09-12 13:09:40 +00:00
cudawarped
46d988e2cb
Merge pull request #22248 from cudawarped:ffmpeg_rtsp_low_fps
...
* Allow the number of threads FFMpeg uses to be selected during VideoCapture::open().
Reset interupt timer in grab if
err = avformat_find_stream_info(ic, NULL);
is interupted but open is successful.
* Correct the returned number of threads and amend test cases.
* Update container test case.
* Reverse changes added to existing videoio_container test case and include test combining thread change and raw read in the newly added videoio_read test case.
2022-09-12 09:12:28 +03:00
Christine Poerschke
cb1a1e9a51
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-11 16:40:27 +01:00
wxsheng
4154bd0667
Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
...
* Add Loongson Advanced SIMD Extension support: -DCPU_BASELINE=LASX
* Add resize.lasx.cpp for Loongson SIMD acceleration
* Add imgwarp.lasx.cpp for Loongson SIMD acceleration
* Add LASX acceleration support for dnn/conv
* Add CV_PAUSE(v) for Loongarch
* Set LASX by default on Loongarch64
* LoongArch: tune test threshold for Core/HAL.mat_decomp/15
Co-authored-by: shengwenxue <shengwenxue@loongson.cn>
2022-09-10 09:39:43 +03:00
Rostislav Vasilikhin
b1020639f1
perViewErr fix
2022-09-09 17:40:26 +02:00
Alexander Smorkalov
866191478f
Merge pull request #22037 from xiong-jie-y:py_gapi_add_state_kernel
...
Add stateful kernel to python G-API
2022-09-09 15:13:22 +03:00
Alexander Smorkalov
c9060b053d
Merge pull request #22451 from dmatveev:dm/abstract_execs
...
G-API: Introduce abstract base classes for GExecutor and GStreamingExecutor
2022-09-09 13:42:42 +03:00
Yuantao Feng
9dc844a6e1
Merge pull request #22346 from fengyuentau:mat1d_part1
...
Changes separated from Mat 1D support in core #18594 (#22346 )
2022-09-09 12:56:30 +03:00
Alexander Alekhin
ca7f964104
dnn: use inheritance for OpenVINO net impl
2022-09-06 18:05:00 +00:00
Alexander Smorkalov
b26fc6f31b
Merge pull request #22466 from sturkmen72:patch-4
...
Improvement on error handling for HoughCircles
2022-09-06 12:01:59 +03:00
TolyaTalamanov
7955469f7c
Fix problem with handleNewStream functionality
2022-09-06 08:52:35 +01:00
Alexander Alekhin
2ac62bccec
videoio(test): fix build warning
2022-09-05 16:53:08 +00:00
Rostislav Vasilikhin
a8b4ffac50
volatile variable made mask-fixed as it should be
2022-09-05 18:42:17 +02:00
Rostislav Vasilikhin
8a43956a1b
less pointers
...
rtsort + formatting
less pointers + more compact code
less reallocations, cleaner code
less pointers, less GEMMs
trailing whitespace
2022-09-05 18:42:15 +02:00
Rostislav Vasilikhin
bfc4bdd9d0
regression test added
...
test data moved to opencv_extra, loads from yaml.gz file now
2022-09-05 18:42:12 +02:00
Rostislav Vasilikhin
96e2d32618
fixing broken stereo calibration
2022-09-05 18:42:12 +02:00
Rostislav Vasilikhin
487619e5fe
no address arithmetics
...
less address arithmetics
happy valgrind: copy recomputed intrinsics only
2022-09-05 18:42:09 +02:00
Suleyman TURKMEN
22eb91a7e0
Update hough.cpp
2022-09-05 18:58:20 +03:00
Alexander Smorkalov
448e3a7e58
Merge pull request #22226 from ocpalo:libspng
...
[GSoC 2022] spng encoder/decoder added as optional png codec
2022-09-05 13:25:41 +03:00
TolyaTalamanov
bf54a370e5
Add tests for stateful kernel functionality
2022-09-04 20:15:53 +01:00
anton
337452b4c0
changed names of permutations if Reshpe is in NHWC
2022-09-03 19:02:41 +02:00
Alexander Alekhin
5bb098ba5d
Merge pull request #22456 from TolyaTalamanov:at/onevpl-fixes-linux
2022-09-02 21:55:49 +00:00
Alexander Alekhin
4159842195
Merge pull request #22454 from zihaomu:bug_fix_22450
2022-09-02 21:55:29 +00:00
Zihao Mu
b69b1eae8f
fix bug 22450
2022-09-02 16:30:06 +08:00
ocpalo
c4a6e1fd4d
decode chunks and calculate checksums
2022-08-31 20:39:33 +03:00
Alexander Smorkalov
3456d28cc2
Merge pull request #22429 from hanliutong:more-rvv-intrin
2022-08-31 13:14:43 +00:00
Alexander Smorkalov
f376bfe95d
Merge pull request #22436 from Harvey-Huang:4-bit_palette_color
2022-08-31 10:33:59 +00:00
Alexander Smorkalov
a72074b33f
Merge pull request #22164 from lamm45:hough-angles
...
Fix angle discretization in Hough transforms
2022-08-31 12:23:52 +03:00
Alexander Smorkalov
5185544864
Enabled EXIF orientation tests for libspng.
2022-08-31 11:57:48 +03:00
lamm45
1f0bfc8d83
Fix angle discretization in Hough transforms
...
In some situations the last value was missing from the discrete theta
values. Now, the last value is chosen such that it is close to the
user-provided maximum theta, while the distance to pi remains always
at least theta_step/2. This should avoid duplicate detections.
A better way would probably be to use max_theta as is and adjust the
resolution (theta_step) instead, such that the discretization would
always be uniform (in a circular sense) when full angle range is used.
2022-08-30 18:46:16 -04:00
Dmitry Matveev
a122f0f248
G-API: Introduce GAbstractStreamingExecutor
...
Now GStreamingExecutor is its subclass; others to come
2022-08-30 23:50:34 +03:00
Dmitry Matveev
a31fb88fd0
G-API: Introduce GAbstractExecutor
...
GExecutor is now a subclass of GAbstractExecutor. Other to come
2022-08-30 22:48:29 +03:00
Alexander Smorkalov
70fb1cd603
Merge pull request #22440 from zihaomu:fix_conv_bug
2022-08-30 07:01:05 +00:00
Alexander Smorkalov
d2c48b898c
Merge pull request #22306 from zihaomu:qgemm_and_squeeze_opset13_onnximporter
2022-08-30 06:33:57 +00:00
Zihao Mu
2d837efba7
add qgemm and squeeze op13 supported on ONNXImporter
2022-08-30 09:50:29 +08:00
Alexander Smorkalov
1fd45a1b85
Merge pull request #22362 from fengyuentau:conv_asym_pad_fuse
...
Remove asymmetric padding in Conv layer since it is supported in CPU backend
2022-08-29 17:56:17 +03:00
Zihao Mu
2cd7e17b65
replace v_add with +
2022-08-29 17:15:35 +08:00
Alexander Smorkalov
2619099fe5
Merge pull request #22337 from zihaomu:load_ONNX_fp16_as_fp32
...
DNN: load fp16 ONNX model as fp32
2022-08-29 09:32:25 +03:00
fengyuentau
2959286eb5
tengine: supports conv with asymmetric padding
2022-08-29 02:51:26 +00:00
Harvey
a4b191a7e0
4-bit_palette_color
2022-08-29 10:21:17 +08:00
Berke
3929e26276
spng encoder/decoder added as optional png codec
2022-08-29 00:03:43 +03:00
Alexander Alekhin
a1d5565e65
Merge pull request #22432 from dmatveev:dm/ade_012a
2022-08-28 17:50:15 +00:00
Zihao Mu
9638e34ab0
reuse WORDS_BIGENDIAN.
2022-08-27 07:42:38 +08:00
Dmitry Matveev
ed9d4c0b2b
G-API: Update ADE to v0.1.2a to fix new Windows warnings
2022-08-26 21:29:56 +03:00
Zihao Mu
bb64db98d8
Further optimization of Conv2D, fused Conv_Add_Activation, bring latest code from ficus OpConv.fx. ( #22401 )
2022-08-26 12:57:25 +03:00
Alexander Smorkalov
67fa8a2f47
Merge pull request #22236 from mizo:v4l2-multi-planar-v2
...
V4L2: Add multi-planar capture support
2022-08-26 12:51:19 +03:00
Alexander Smorkalov
560eba91e5
Merge pull request #22347 from bu3w:filter-camera-streaming-by-format
...
select correct MediaType in MSMF backend.
2022-08-26 12:49:47 +03:00
Alexander Smorkalov
42561e1233
Merge pull request #22333 from cudawarped:fix_for_21101
...
Fix video codec fourcc #21101
2022-08-26 12:34:33 +03:00
HAN Liutong
7e2c8cc9f4
Add remaining intrinsics.
2022-08-26 07:06:51 +00:00
Zihao Mu
7eaec9dd22
load fp16 as fp32 and align fp16 and double in onnx_graph_simplifie
2022-08-26 10:04:44 +08:00
AleksandrPanov
2dd3408caa
change resize interpolation to enable tests in arm, disable close_5
2022-08-25 14:27:18 +03:00
Alexander Alekhin
3651831e7e
Merge pull request #22411 from zihaomu:remove_whitespace
2022-08-24 21:57:36 +00:00
TolyaTalamanov
a1d752bfc0
OneVPL fixes
2022-08-24 17:30:32 +01:00
Alexander Smorkalov
335d7bd16e
Merge pull request #22241 from savuor:normals_scale_test
...
More tests for normals
2022-08-24 10:25:55 +03:00
Alexander Smorkalov
3a02561c40
Merge pull request #22417 from savuor:levmarq_log_level_fix
2022-08-24 07:17:22 +00:00
Alexander Smorkalov
d10832074e
Merge pull request #22353 from hanliutong:more-rvv-intrin
...
[GSoC] Add more universal intrinsic implementations for RVV.
2022-08-23 12:50:01 +03:00
Rostislav Vasilikhin
eb571b500b
fixes warnings
2022-08-23 10:22:28 +02:00
Daisuke Mizobuchi
a001ab3a44
V4L2: Add multi-planar capture support
...
Devices which only support multi-planar capture cannot be processed as
single-planar.
Add multi-planar support to v4l driver.
2022-08-23 15:52:04 +09:00
Alexander Smorkalov
505bbab75b
Merge pull request #22413 from savuor:levmarq_log_level
...
LevMarq: log level lowered
2022-08-23 09:22:39 +03:00
Rostislav Vasilikhin
3cf3e3f6f7
LevMarq: log level lowered
2022-08-22 23:53:49 +02:00
Rostislav Vasilikhin
232a83ecb8
check mask values
2022-08-22 16:07:07 +02:00
MENG Yu
6432f02996
select correct MediaType in MSMF backend.
2022-08-22 12:09:28 +08:00
Zihao Mu
1fb8d60fd2
remove whitespace
2022-08-22 11:14:59 +08:00
Zihao Mu
5e92bf8e41
support silu activation in darknet
2022-08-22 10:51:29 +08:00
Alexander Alekhin
c25f776151
Merge branch 4.x
2022-08-21 15:27:31 +00:00
Anatoliy Talamanov
925ff6241f
Merge pull request #22393 from TolyaTalamanov:at/fix-gapi-vpl-windows-build
...
* Fix G-API OneVPL compilation
* Fix macro
__WIN32__ -> _WIN32
2022-08-20 20:24:41 +03:00
Rostislav Vasilikhin
48c10620cb
depthTo3d: fixed bug, added regression test
...
RgbdNormals: setMethod() removed as useless
RgbdNormals: tests + cross product, to be fixed
+ cross product
LINEMOD: diffThreshold param added + tests fixed
minor
diffThreshold fix
points3dToDepth16U fix
normals computer diffThreshold fix
random plane generation fixed + diffThreshold fix
Rendered normals test rewritten to GTest Params
random plane generation: scale
RGBD_Normals tests: thresholds tuned
Rendered normals tests: 64F support added
Random planes normal tests rewritten to GTest Params
LINEMOD and CrossProduct fix
SRI threshold raised
NormalsRandomPlanes: thresholds raised
assert on unknown alg; minor
fix
frame size reduced
TIFF replaced by YAML.GZ
depthTo3d test changed
cv::transform is used
fix warning
nanMask()
flipAxes()
absDotPixel() + forgotten code
helper functions removed
RGBDNormals: checkNormals() and compare LINEMOD's pts3d to depth input
Rendered: another criteria; thresholds; LINEMOD's pts3d to depth input comparison
thresholds raised a bit
SRI slightly optimized
assert change
normal tests refactored, parametrized, split
trailing namespace, thresholds raised
SRI caching optimized a lot
normal tests rewritten to fixture, no loop
minor
runCase() joined with testIt()
thresholds were put into GTest params
ternary operator
RgbdNormalsTest merged into NormalsRandomPlanes; RgbdPlanes moved closer to tests
normal test minor refactoring
plane finder tests refactored to GTest Params
skip tests
thresholds raised
plane test minor
plane tests: timers dropped, nPlanes put into GTest Params; refactoring
generated normals tests: minor refactoring
flipAxes() templated
rendered normals tests refactored: thresholds to GTest Params
CV_Error -> ASSERT_FALSE
2022-08-19 20:16:08 +02:00
Alexander Smorkalov
e14c3cff85
Merge pull request #22403 from Biswa96:add-locale-header
2022-08-19 10:01:23 +00:00
Biswapriyo Nath
984e42b0bc
videoio: Include missing locale header for std::wstring_convert
...
This fixes the following error with mingw toolchain:
opencv/modules/videoio/src/cap_msmf.cpp:1020: error: 'wstring_convert' is not a member of 'std'
1020 | std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> conv;
| ^~~~~~~~~~~~~~~
opencv/modules/videoio/src/cap_ffmpeg_hw.hpp:230:26: error: 'wstring_convert' is not a member of 'std'
230 | std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> conv;
| ^~~~~~~~~~~~~~~
The locale header is required according to C++ standard.
See https://en.cppreference.com/w/cpp/locale/wstring_convert
2022-08-19 13:15:58 +05:30
Alexander Smorkalov
0702685e7e
Merge pull request #22395 from hzcyf:infinite_loop_fix
2022-08-19 07:11:09 +00:00
Alexander Smorkalov
7deb8f568f
Merge pull request #22377 from Biswa96:condition_variable
2022-08-18 11:31:21 +00:00
Alexander Smorkalov
d8434e6875
Merge pull request #22396 from dmatveev:dm/ade-012
...
G-API: Bump ADE to version 0.1.2
2022-08-18 14:28:44 +03:00
HAN Liutong
b9a1039566
Remove the test log in test_interleave_pq.
2022-08-18 08:01:09 +00:00
Dmtiry Matveev
03130548ea
G-API: Bump ADE to version 0.1.2
2022-08-18 07:50:22 +03:00
hzcyf
11c5a6bb4d
Fix infinite loop in obsensor
2022-08-18 12:22:22 +08:00
HAN Liutong
8dc332721f
Add testcases for interleave_p&q and enable others testcases.
2022-08-17 14:39:23 +00:00
HAN Liutong
189f647264
Add implementation for zip, transpose, interleave, reverse and combine.
2022-08-17 14:38:38 +00:00
AleksandrPanov
7ffb103758
QRcode, change INTER_LINEAR to INTER_LINEAR_EXACT
...
fix python test_detect_and_decode_multi
fix python test_detect_and_decode_multi, sort QR in multiDetect/multiDecode
enable tests with "version_5_up.jpg", "version_5_top.jpg"
remove lambda
2022-08-16 10:24:54 +03:00
Alexander Smorkalov
9fcf015214
Merge pull request #22376 from zihaomu:issue_22373
2022-08-15 10:00:11 +00:00
Alexander Smorkalov
ffccfa2ee9
Merge pull request #22325 from komakai:fix-quicklook
2022-08-15 09:25:43 +00:00
Zihao Mu
d3dcef4b8b
add new check for vidcap.h
2022-08-15 16:44:25 +08:00
Alexander Alekhin
2ebdc04787
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-08-14 15:50:42 +00:00
Alexander Alekhin
cc8add9f66
Merge pull request #22370 from catree:fix_22242_filter2d_float_double_doc
2022-08-14 15:04:12 +00:00
Biswapriyo Nath
c2c539e3cc
videoio: Include missing condition_variable header
...
This fixes the following error with mingw toolchain:
opencv/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp:160:10: error: 'condition_variable' in namespace 'std' does not name a type
160 | std::condition_variable streamStateCv_;
| ^~~~~~~~~~~~~~~~~~
2022-08-14 19:26:08 +05:30
fengyuentau
0cdff46725
tune for opencl
2022-08-14 17:47:48 +08:00
Alexander Alekhin
d0d115321d
Merge pull request #22350 from alalek:rework_psabi_warning
2022-08-13 15:05:41 +00:00
HAN Liutong
f572ae3474
add missing test cases(v_abs)
2022-08-12 14:13:26 +00:00
HAN Liutong
e65ad44b32
Remove redundant intrinsics.
2022-08-12 14:12:52 +00:00
catree
3d8614cb47
Fix documentation about depth combinations for imgproc functions.
2022-08-12 12:53:01 +02:00
HAN Liutong
80c82e10aa
Update implementations on arithmetics.
2022-08-12 06:51:41 +00:00
HAN Liutong
2fb652ce09
Add testcase for continuous mul and add.
2022-08-12 01:44:30 +00:00
Alexander Smorkalov
bb71cb200e
Merge pull request #22199 from zihaomu:bug_fix_22195
...
DNN: Reduce Layer (add dynamic batch and ReduceSum support)
2022-08-11 12:59:51 +03:00
fengyuentau
e7e814fa8c
remove asymmetric padding checks
2022-08-10 19:52:44 +08:00
Jochen Sprickerhof
496eed950f
Add missing header for LIBAVCODEC_VERSION_INT
2022-08-08 23:33:28 +02:00
HAN Liutong
f0d29cd33c
Add more universal intrinsic implementations for RVV.
2022-08-08 02:09:54 +00:00
Alexander Alekhin
44b2f9637a
Revert "suppress warning on GCC 7 and later"
...
This reverts commit a630ad73cb
.
2022-08-07 15:43:10 +03:00
Alexander Smorkalov
348b7383f9
Merge pull request #22160 from sturkmen72:update_highgui
2022-08-05 11:39:53 +00:00
Alexander Smorkalov
b2b7193374
Merge pull request #22311 from zihaomu:layer_fused_optmized_mish
...
DNN: add another two Mish activation to onnx_graph_simplifier
2022-08-05 14:22:06 +03:00
Alexander Smorkalov
4c1e064a2b
Merge pull request #22250 from ocpalo:codec_fix
2022-08-05 07:52:32 +00:00
Alexander Smorkalov
88555948d0
Merge pull request #22339 from asenyaev:asen/obsensor_fix_for_win
2022-08-05 06:59:45 +00:00
Alexander Smorkalov
1893b37e23
Merge pull request #22057 from mohawk2:typos
...
Typos: cheirality vs chirality
2022-08-03 16:27:46 +03:00
Alexander Smorkalov
c3cbd302cb
Merge pull request #22330 from zihaomu:skip_too_long_in_debug_test_dnn
2022-08-03 11:26:37 +00:00
Alexander Smorkalov
2ffa7ac0da
Merge pull request #22217 from CSharperMantle:CSharperMantle-patch-steady-clock
...
Use `std::chrono::steady_clock` in `getTickCount`
2022-08-03 14:09:45 +03:00
Alexander Smorkalov
885a446b10
Merge pull request #22212 from SergeyIvanov87:gapi_vpl_multiple_devices
...
G-API: VPL Add VAAPI into tests & VPL sample
2022-08-03 12:34:10 +03:00
Alexander Smorkalov
8bfe620fcc
Merge pull request #22313 from mateusztabaka:getline
2022-08-03 09:30:22 +00:00
Andrey Senyaev
129319b0bc
Fix in obsensor for VS 14
2022-08-03 12:14:15 +03:00
cudawarped
7ce83f2a95
Skip new test until pr built into windows ffmpeg dll.
2022-08-03 09:41:06 +03:00
cudawarped
4b05765174
Initial fix to try and return a valid fourcc when _opencv_avcodec_get_name fails.
2022-08-02 17:18:42 +03:00
Giles Payne
3390da6beb
Fix for frame stride wider than frame width for 1080p issue
2022-08-02 21:00:22 +09:00
Zihao Mu
0614c40b42
add more skip for very long test case in test_dnn.
2022-08-02 14:58:05 +08:00
Zihao Mu
d4640f4647
support ReduceLayer without reshape layer.
2022-08-02 10:32:31 +08:00
hzcyf
e951edeed3
fix linkage issue when enable BUILD_opencv_world ( #22312 )
2022-08-01 14:38:22 +08:00
gbowser3@gmail.com
e7a787aa41
Imgproc: Fix doxygen typo
2022-07-31 19:22:10 -05:00
Giles Payne
500e24d6cd
Fix bug ObjC/Swift Quicklook function; check only one channel when drawing Mat as matrix
2022-07-31 21:04:14 +09:00
Zihao Mu
57545653b1
replace new mish impl with softplus
2022-07-28 13:19:06 +08:00
Zihao Mu
3c5377ca1b
add another Mish graph simplifier.
2022-07-28 11:21:29 +08:00
Mateusz Tabaka
a89868928b
Fix compilation error on CentOS 7 (gcc 4.8)
...
libstdc++ that comes with gcc 4.8 doesn't
define `getline(basic_istream<char>&&, std::string&)`
even if it's part of the c++11 standard.
However we can still use the following:
`getline(basic_istream<char>&, std::string&)`.
2022-07-27 13:24:25 +00:00
hzc
fc3e393516
videoio: add support for obsensor (Orbbec RGB-D Camera ) ( #22196 )
...
* videoio: add support for obsensor (Orbbec RGB-D Camera )
* obsensor: code format issues fixed and some code optimized
* obsensor: fix typo and format issues
* obsensor: fix crosses initialization error
2022-07-26 14:35:34 +03:00
Alexander Alekhin
0862d69a6e
Merge pull request #22271 from tomoaki0705:dotprod_neon
2022-07-25 15:00:32 +00:00
Giles Payne
b8106e4ba4
Fix bug in Objective-C/Swift [Mat initWithSize:**] functions
2022-07-25 20:57:53 +09:00
Rostislav Vasilikhin
869123d6f9
"FAIL() <<" replaced by "ASSERT_*() <<"
2022-07-24 18:40:55 +02:00
Rostislav Vasilikhin
02d864070a
minor
2022-07-24 18:29:34 +02:00
Rostislav Vasilikhin
0b34d90dfa
minor
2022-07-24 18:28:26 +02:00
Rostislav Vasilikhin
7bdacb8098
threshold comparison made more obvious
2022-07-24 18:27:35 +02:00
Rostislav Vasilikhin
d4e28f27b7
warpFrame test parametrized
2022-07-24 18:22:48 +02:00
Alexander Alekhin
6ce2f1316f
Merge pull request #22293 from mshabunin:fix-buffer-area-uas
2022-07-24 10:20:59 +00:00
Alexander Alekhin
294348939b
Merge pull request #22296 from alalek:fixup_22153
2022-07-24 10:20:13 +00:00
Alexander Alekhin
f8597fc150
imgproc: fixup leftovers of int->int64_t conversion
2022-07-24 12:39:25 +03:00
Alexander Alekhin
85b0b0cd77
build: add missing GCC condition for pragma
2022-07-24 12:19:37 +03:00
HAN Liutong
2bd72af2ef
Merge pull request #22292 from hanliutong:fix
...
[GSoC] Fix compilation errors and warnings when using MSVC on Windows.
* Pass reference of the argument.
* Add some cast to suppress warnings.
2022-07-24 12:15:13 +03:00
Maksim Shabunin
f729202272
core: remove unnecessary pointer cleanup in BufferArea
2022-07-24 11:58:17 +03:00
HAN Liutong
3e3b53f815
Fix compile errors when all SIMD is disabled.
2022-07-21 08:14:32 +00:00
HAN Liutong
e2bfe0ce76
Use "#if" instead of "#ifdef" for CV_SIMD128.
2022-07-21 03:23:57 +00:00
Zihao Mu
98c33c605d
batchsize dynamic is set to index 0.
2022-07-20 19:02:16 +08:00
Tomoaki Teshima
b3269b08a1
neon: add dotprod dispatch implementation
...
* read vector at runtime
* add enum
2022-07-20 19:25:39 +09:00
@lizhiyu3
e59cff47d4
fix the right border
2022-07-20 17:03:09 +08:00
HAN Liutong
0ef803950b
Merge pull request #22179 from hanliutong:new-rvv
...
[GSoC] New universal intrinsic backend for RVV
* Add new rvv backend (partially implemented).
* Modify the framework of Universal Intrinsic.
* Add CV_SIMD macro guards to current UI code.
* Use vlanes() instead of nlanes.
* Modify the UI test.
* Enable the new RVV (scalable) backend.
* Remove whitespace.
* Rename and some others modify.
* Update intrin.hpp but still not work on AVX/SSE
* Update conditional compilation macros.
* Use static variable for vlanes.
* Use max_nlanes for array defining.
2022-07-19 20:02:00 +03:00
Andrey Senyaev
1feabf4275
Fixed an issue with a recursion of cv2 in python
2022-07-19 13:52:29 +03:00
rogday
ed69bcae2d
Merge pull request #21865 from rogday:nary_eltwise_layers
...
Reimplementation of Element-wise layers with broadcasting support
* init
* semi-working initial version
* add small_vector
* wip
* remove smallvec
* add nary function
* replace auto with Mat in lambda expr used in transform
* uncomment asserts
* autobuffer shape_buf & step_buf
* fix a missing bracket
* fixed a missing addLayer in parseElementWise
* solve one-dimensional broadcast
* remove pre_broadcast_transform for the case of two constants; fix missing constBlobsExtraInfo when addConstant is called
* one autobuffer for step & shape
* temporal fix for the missing original dimension information
* fix parseUnsqueeze when it gets a 1d tensor constant
* support sum/mean/min/max with only one input
* reuse old code to handle cases of two non-constant inputs
* add condition to handle div & mul of two non-constant inputs
* use || instead of or
* remove trainling spaces
* enlarge buf in binary_forward to contain other buffer
* use autobuffer in nary_forward
* generate data randomly and add more cases for perf
* add op and, or & xor
* update perf_dnn
* remove some comments
* remove legacy; add two ONNX conformance tests in filter
* move from cpu_denylist to all_denylist
* adjust parsing for inputs>=2
Co-authored-by: fengyuentau <yuantao.feng@opencv.org.cn>
2022-07-19 06:14:05 +03:00
Alexander Alekhin
1d134025a5
Merge pull request #22249 from fengyuentau:fix_for_22221
2022-07-16 11:59:30 +00:00
Alexander Alekhin
96a9cfab36
Merge pull request #22255 from r2d3:python_trackbar_macos
2022-07-16 07:40:40 +00:00
David Geldreich
60846b2b7a
correct an issue of trackbar on macOS
...
Python binding is passing NULL as (int*)value.
sliderChanged crash when trying to dereference value
2022-07-15 22:02:02 +02:00
Long Nguyen
199c2d2fd0
Define STRSAFE_NO_DEPRECATE
for both clang and gcc mingw-w64
2022-07-15 18:01:15 +07:00
scorpiozj
bd54ba911d
Update imgproc.hpp
...
fix Rect value of integral image example;
2022-07-15 16:35:12 +08:00
Alexander Alekhin
a9354fc743
Merge pull request #22229 from zihaomu:bug_fix_22195_3_4
2022-07-14 20:27:25 +00:00
Berke
b4b69ae484
release png,jpeg resources in destructor
2022-07-14 17:03:57 +03:00
fengyuentau
1c7b71bf9e
define data_layout as unknown for pack
2022-07-14 19:27:20 +08:00
Andrey Senyaev
d2b1e38207
Pragma to ignore -Waggressive-loop-optimizations on Linux ARM64
2022-07-14 11:17:38 +03:00
SergeyIvanov87
9ffb67478f
Address several comments
2022-07-13 18:49:48 +03:00
SergeyIvanov87
1dee848d3e
Remove clnn header from sample
2022-07-13 18:07:41 +03:00
Alexander Alekhin
afe1c70f2d
Merge pull request #22228 from CSharperMantle:CSharperMantle-patch-std-shuffle
2022-07-13 06:23:16 +00:00
Zihao Mu
1b8fba8e26
support ReduceSum with two input and dynamic shape batch size in ReduceLayer.
2022-07-13 13:46:16 +08:00
Zihao Mu
45fbb67aba
fix scale layer can not handle 1x1 weight correctly.
2022-07-13 11:25:27 +08:00
Alexander Alekhin
914005174f
Merge pull request #22153 from vrabaud:opencv_drawing
2022-07-12 22:23:35 +00:00
Alexander Alekhin
2a82467a6f
Merge pull request #22232 from tomoaki0705:dryCmake
2022-07-12 18:46:57 +00:00
Vincent Rabaud
ed4bf13960
Fix cleanFoundConnectedQuads.
2022-07-12 16:24:44 +02:00
Rong Mantle Bao
3135063100
Make objdetect/test C++11-compliant and reproducible
...
- Add conditional compilation directives to replace deprecated std::random_shuffle with new std::shuffle when C++11 is available.
- Set random seed to a fixed value before shuffling containers to ensure reproducibility.
Resolves opencv/opencv#22209 .
2022-07-12 20:18:54 +08:00
Tomoaki Teshima
87ef6a9cc1
build: suppress the warning
...
DRY
bump the version
2022-07-12 19:42:39 +09:00
SergeyIvanov87
ff31f90b7e
Fix sample WIN compilation
2022-07-12 13:08:55 +03:00
SergeyIvanov87
2b2ba534e2
Forbid Rctx in IE for VAAPI temporary, Add preproc VAAPI
2022-07-12 12:41:23 +03:00
SergeyIvanov87
3635b3dee7
Improve UX: autofill cfg param with proper accel type, printout cfg params
2022-07-12 10:54:12 +03:00
Rong Mantle Bao
fa613e393f
Read CV_CXX11 for C++11 detection
2022-07-10 19:21:17 +08:00
Rong Mantle Bao
db70676933
Use cross-platform std::chrono in getTickCount()
...
Add conditional compilation directives to enable uses of std::chrono on supported compilers. Use std::chrono::steady_clock as a source to retrieve current tick count and clock frequency.
Fixes opencv/opencv#6902 .
2022-07-09 10:42:29 +08:00
SergeyIvanov87
b3b235ebc0
Apply WITHA_VA option in cmake
2022-07-08 17:15:31 +03:00
Alexander Alekhin
70492c2127
Merge pull request #22202 from tomoaki0705:fixWarnings
2022-07-08 13:48:11 +00:00
SergeyIvanov87
f562264674
Add VAAPI into tests & VPL sample
2022-07-08 11:43:56 +03:00
Vincent Rabaud
0a88f84847
Merge pull request #22208 from vrabaud:34_calibinit
...
Add missing code.
* Add missing code.
This was removed in c7fc563dc0
The resize is also a side-effect.
* Use shorteer cv::Point2f *=
2022-07-08 01:24:01 +03:00
Zihao Mu
139c443770
Merge pull request #22183 from zihaomu:fastConv_ARMv7_compatible
...
DNN: ARMv7 compatible fastConv
* support armv7 on fastConv
* remove whitespace.
2022-07-07 13:23:08 +03:00
Tomoaki Teshima
a630ad73cb
suppress warning on GCC 7 and later
2022-07-06 23:31:31 +09:00
@lizhiyu3
366e8217c2
merge the fixbug
2022-07-06 01:09:46 +08:00
@lizhiyu3
01226cb8ac
fix the bug when src*2 < dst
2022-07-06 01:01:16 +08:00
Zihao Mu
a80fcacd90
Merge pull request #21372 from zihaomu:dnn_quantize_per_tensor
...
Add per_tensor_quantize to int8 quantize
* add per_tensor_quantize to dnn int8 module.
* change api flag from perTensor to perChannel, and recognize quantize type and onnx importer.
* change the default to hpp
2022-07-05 19:14:42 +03:00
@lizhiyu3
c54ccaac31
change test number
2022-07-05 15:50:33 +08:00
@lizhiyu3
79731cb0ff
fix the bug when src*2 < dst
2022-07-05 15:43:52 +08:00
Alexander Alekhin
16b5fd4bf2
Merge pull request #22102 from jwinarske:jw/xdg_shell
2022-07-04 22:59:29 +00:00
Povilas Kanapickas
6a4c3b61e6
Improve doc of calcHist overload that accepts vectors
...
It's not clear how ranges argument should be used in the overload of
calcHist that accepts std::vector. The main overload uses array of
arrays there, while std::vector overload uses a plain array. The code
interprets the vector as a flattened array and rebuilds array of arrays
from it. This is not obvious interpretation, so documentation has been
added to explain the expected usage.
2022-07-04 12:19:16 +03:00
heavyrain-lzy
6360c3bf46
Merge pull request #22184 from heavyrain-lzy:fixbug_pyrUp
...
* fix the bug in pyrUp
* add test case for pyrUp
* coding style
2022-07-03 23:06:43 +03:00
Alexander Alekhin
3bf22d0024
Merge pull request #22156 from vpisarev:update_cvround
2022-07-01 12:17:38 +00:00
Alexander Alekhin
66567933d7
Merge pull request #22163 from philipphutterer:vcap-frame-type
2022-07-01 12:16:45 +00:00
Alexander Alekhin
d2f5a10f5d
Merge pull request #22176 from danopdev:doc-update-1
2022-07-01 12:13:45 +00:00
Dan
32bb4fa950
Update doc
2022-07-01 13:33:05 +02:00
Zihao Mu
59b870a87a
Merge pull request #21910 from zihaomu:fast_conv_ARM
...
DNN: Accelerating convolution
* Fast Conv of ARM, X86 and universal intrinsics.
* improve code style.
* error fixed.
* improve the License
* optimize memory allocated and Adjust the threshold.
* change FasterRCNN_vgg16 to 2GB memory.
2022-07-01 13:03:15 +03:00
Suleyman TURKMEN
0f067fd0a6
make imgcodecs optional for highgui
2022-07-01 10:53:37 +03:00
Rostislav Vasilikhin
75a8e3e956
minor
2022-06-30 21:32:41 +02:00
Rostislav Vasilikhin
3c3eba868a
floatL2 threshold raised a bit
2022-06-30 17:22:58 +02:00
Rostislav Vasilikhin
2ae7438c6b
odometry tests fixed
2022-06-30 17:10:26 +02:00
Rostislav Vasilikhin
2b767f9bc8
whitespace fix
2022-06-30 16:51:01 +02:00
Rostislav Vasilikhin
94e5ae6043
depth generator moved from main repo to extra
2022-06-30 00:00:47 +02:00
Rostislav Vasilikhin
fd14b959cf
warpFrame() rewritten, interface changed
2022-06-29 23:55:07 +02:00
Rostislav Vasilikhin
492d9dba1e
warpFrame() tests big update
2022-06-29 23:51:07 +02:00
Rostislav Vasilikhin
44c0b58258
depth generator fixed at absent values
2022-06-29 23:45:33 +02:00
Lucas Yang
b152b8cbcd
Fix missing CharVector for JavaScript bindings
2022-06-30 04:07:43 +08:00
Rostislav Vasilikhin
6b2d1033bd
warpFrame() test: more test cases
2022-06-27 01:24:39 +02:00
Rostislav Vasilikhin
162bd5be4c
distCoeffs removed from warpFrame() signature
2022-06-27 01:23:07 +02:00
Rostislav Vasilikhin
d56e8f053f
python depth generator: no numba, imageio -> PIL, requirements.txt
2022-06-26 22:33:31 +02:00
Joel Winarske
0769bf416f
highgui Wayland xdg_shell
...
-enable using -DWITH_WAYLAND=ON
-adapted from https://github.com/pfpacket/opencv-wayland
-using xdg_shell stable protocol
-overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Co-authored-by: Ryo Munakata <afpacket@gmail.com>
2022-06-26 12:11:09 -07:00
Philipp Hutterer
90f2e1f8b5
Frame type property for ffmpeg video capture
2022-06-26 17:30:31 +02:00
Alexander Alekhin
2a4926f417
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-26 14:22:24 +00:00
Alexander Alekhin
5e1c9099e8
Merge pull request #22158 from lamm45:intro-typos
2022-06-26 14:20:22 +00:00
Alexander Alekhin
397e9bc8d6
Merge pull request #22137 from danopdev:issues-22126
2022-06-25 15:21:55 +00:00
dan
2366f2cb2e
issues-22126
2022-06-25 15:12:59 +02:00
Sean McBride
35f1a90df7
Merge pull request #22149 from seanm:sprintf
...
Replaced sprintf with safer snprintf
* Straightforward replacement of sprintf with safer snprintf
* Trickier replacement of sprintf with safer snprintf
Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
2022-06-25 06:48:22 +03:00
lamm45
9faefa0c96
Fix minor errors in the first documentation page (Introduction)
...
This markdown file corresponds to the first link on the landing
page of OpenCV documentation.
2022-06-24 14:03:14 -04:00
Vadim Pisarevsky
b5adffd5c2
* cleaned cvRound(), cvFloor() and cvCeil() implementations, removed the old non-banking rounding branch completely
...
* enable the use of GCC/clang __builtin_*() functions more broadly
2022-06-24 14:58:32 +03:00
Vincent Rabaud
82010bf5c1
Fix some overflows in drawing.
2022-06-24 11:38:20 +02:00
Rostislav Vasilikhin
bf8f7b4e57
more scale stuff removed
2022-06-23 23:53:57 +02:00
Rostislav Vasilikhin
770c0d1416
1. removed (almost all) additional scale parameter mentions
...
2. refactored funcptrs to switch/cases & more
2022-06-23 23:47:08 +02:00
Rostislav Vasilikhin
c12d4c82df
python Odometry scale test removed
2022-06-23 23:25:30 +02:00
Rostislav Vasilikhin
bee410c748
warpFrame() test draft + script generating test data
2022-06-23 23:18:59 +02:00
dan
44c2519d75
issues-22141
2022-06-23 15:09:17 +02:00
Zihao Mu
ef94275eb6
bug fixed of GEMM node in ONNX_importer
2022-06-22 21:08:48 +08:00
Wanli
a6ca48a1c2
Merge pull request #22100 from WanliZhong:issue_22015
...
Fix issue 22015, let Clip layer support 1-3 inputs
* Fix issue 22015.
Let layer Clip support 1-3 inputs.
* Resolve other problems caused by modifications
* Update onnx_importer.cpp
added extra checks to min/max handling in Clip
* Add assertions to check the size of the input
* Add test for clip with min and max initializers
* Separate test for "clip_init_min_max". Change the check method for input_size to provide a clearer message in case of problem.
* Add tests for clip with min or max initializers
* Change the implementation of getting input
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2022-06-22 14:21:16 +03:00
Zihao Mu
2411b825b4
bug fixed of GEMM node in ONNX_importer
2022-06-22 15:00:17 +08:00
Kumataro
dd7b9000ad
Merge pull request #22064 from Kumataro:3.4-fix22052
...
* imgcodecs: jpeg: add IMWRITE_JPEG_SAMPLING_FACTOR parameter
* fix compile error
* imgcodecs: jpeg: add CV_LOG_WARNING() and fix how to initilize Mat
* imgcodecs: jpeg: fix for C++98 mode.
* samples: imgcodec_jpeg: Remove license
2022-06-20 21:42:50 +03:00
Alexander Alekhin
9d06e58c3c
Merge pull request #22127 from catree:update_homography_tutorial
2022-06-19 10:52:52 +00:00
catree
a04f9e7a59
Add more references. Update missing references with webarchive. Use mathbf for matrices. Check that the determinant of the rotation matrix is not negative (reflection), and correct it if it is the case.
2022-06-19 01:27:32 +02:00
Vincent Rabaud
0d52c37e11
Fix typo that prevents compilation with sanitizer.
2022-06-17 11:40:22 +02:00
Alexander Alekhin
734e309b3e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-16 11:04:50 +00:00
Saratovtsev
df490c6399
moving code from ICP+Scale
2022-06-14 13:40:14 +02:00
Vincent Rabaud
7a46d7efde
Fix compilation on some ARM architecture.
...
This condition is the same as the line above.
2022-06-13 17:39:24 +02:00
Stefan Dragnev
d09bd6f862
correct direction of displaymatrix rotation
2022-06-13 14:15:39 +00:00
Alexander Alekhin
dda2e9374b
Merge pull request #22018 from RidgeRun:gstreamer-consider-video-meta-if-available
2022-06-08 20:25:24 +00:00
Alexander Alekhin
14754deb21
Merge tag '4.6.0'
2022-06-05 19:23:41 +00:00
Alexander Alekhin
b0dc474160
release: OpenCV 4.6.0
2022-06-05 15:32:44 +00:00
Juan López Rubio
adf89bbb33
Merge pull request #22047 from jlopezr:trackbar-ordered-in-mac
...
* In Mac highgui now shows trackbars in creation order
* In Mac highgui trackbars show current value
* Remove trailing spaces in objectivec code
2022-06-05 15:30:16 +00:00
Alexander Alekhin
c103b63fe1
Merge tag '3.4.18'
2022-06-05 15:16:54 +00:00
Alexander Alekhin
a3d0882317
release: OpenCV 3.4.18
2022-06-05 07:52:44 +00:00
Alexander Alekhin
583bd1a6e2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-04 19:10:35 +00:00
Alexander Panov
53eda42da7
Merge pull request #22025 from AleksandrPanov:fix_samplingForVersion_multiplyingFactor
...
Fix sampling for version multiplying factor
* reduce experimentalFrequencyElem and listFrequencyElem
* fix large resize
* fix tile in postIntermediate
* add getMinSideLen(), add corrected_index
* add test decode_regression_21929 author Kumataro, add test decode_regression_version_25
2022-06-04 17:33:08 +03:00
Alexander Alekhin
c26c4a61c6
Merge pull request #22061 from alalek:imgproc_color_hsv_use_singleton
2022-06-03 09:03:33 +00:00
xiong-jie-y
ea2527c2d1
Add python bindings for G-API onnx
2022-06-02 19:09:26 +09:00
Alexander Alekhin
65fcf22670
imgproc: use singleton in color_hsv.simd.hpp
2022-06-01 19:02:56 +00:00
Kumataro
3577265508
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
2022-06-01 21:45:53 +09:00
Ed J
f28e191d70
cheirality -> chirality
2022-06-01 00:54:44 +01:00
Ed J
38b6c44b4c
for then given -> for the given
2022-06-01 00:54:44 +01:00
Kumataro
1a24e316d5
Merge pull request #22030 from Kumataro:3.4-fix22029
...
* objdetect: qrcode_encoder: fix to missing timing pattern
* objdetect: qrcode_encoder: Add SCOPED_TRACE() and replace CV_Assert() to ASSERT_EQ().
- Add SCOPED_TRACE() for version loop.
- Replace CV_Assert() to ASSERT_EQ().
- Rename expect_msg to msg.
2022-05-31 13:58:17 +03:00
Alexander Alekhin
9da9e8244b
Merge pull request #22041 from nglee:fix_return_by_const_value
2022-05-31 10:51:55 +00:00
Alexander Alekhin
d6151eae23
Merge pull request #22019 from victor1234:calib3d-fix-cameracalibration-test
2022-05-30 18:27:14 +00:00
Alexander Alekhin
4a0a3281c6
Merge pull request #22021 from victor1234:issue-10947_calib3d-update-fisheye-distortpoint-doc
2022-05-30 18:21:02 +00:00
Victor
1230075011
Merge pull request #22045 from victor1234:calib3d-fisheye-model-reference
...
* Add fisheye camera model summary description with reference
* Fix layout
* Move reference to bibtex
2022-05-30 18:03:08 +00:00
Namgoo Lee
24547f40ff
remove const from functions returning by value
2022-05-26 21:30:41 +09:00
mohawk2
72debee125
typo: Minkowsky is actually Minkowski
2022-05-26 12:54:26 +01:00
xiong-jie-y
a3d6994afa
Add stateful kernel to python G-API
2022-05-26 01:15:56 +09:00
Alexander Alekhin
e585453c2e
videoio(test): skip failed tests in misconfigured environments
2022-05-25 06:40:03 +00:00
Alexander Alekhin
86f4524010
Merge pull request #22028 from alalek:build_warnings_4.x
2022-05-25 06:39:37 +00:00
Alexander Alekhin
434c96e625
build: eliminate warnings
2022-05-24 23:34:11 +00:00
Alexander Alekhin
e9187ae38c
Merge pull request #22026 from alalek:update_version_3.4.18-pre
2022-05-24 20:23:28 +00:00
Alexander Alekhin
978dc76653
Merge pull request #22006 from rogday:21947_fix
2022-05-24 19:26:02 +00:00
rogday
a2ad997e97
fix vector access in TF::sortByExecutionOrder
2022-05-24 00:05:13 +03:00
Alexander Alekhin
e9428726ca
pre: OpenCV 4.6.0 (version++)
2022-05-23 19:25:16 +00:00
Alexander Alekhin
400906b433
pre: OpenCV 3.4.18 (version++)
2022-05-23 19:18:02 +00:00
berak
50d7c61c01
Update darknet_importer.cpp
...
make it more obvious, that this is a '404', not a 'parsing' problem
2022-05-23 19:18:31 +02:00
Alexander Alekhin
d9bf522b27
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-23 16:06:14 +00:00
rogday
93dc0679ec
Merge pull request #21818 from rogday:revert_renaming
...
* add prefixes to layer names and layer output names
* dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2022-05-23 14:50:42 +00:00
Wanli Zhong
b06544bd54
Merge pull request #21918 from No-Plane-Cannot-Be-Detected:5.x-region_growing_3d
...
Add normal estimation and region growing algorithm for point cloud
* Add normal estimation and region growing algorithm for point cloud
* 1.Modified documentation for normal estimation;2.Converted curvature in region growing to absolute values;3.Changed the data type of threshold from float to double;4.Fixed some bugs;
* Finished documentation
* Add tests for normal estimation. Test the normal and curvature of each point in the plane and sphere of the point cloud.
* Fix some warnings caused by to small numbers in test
* Change the test to calculate the average difference instead of comparing each normal and curvature
* Fixed the bugs found by testing
* Redesigned the interface and fixed problems:
1. Make the interface compatible with radius search.
2. Make region growing optionally sortable on results.
3. Modified the region growing interface.
4. Format reference.
5. Removed sphere test.
* Fix warnings
* Remove flann dependency
* Move the flann dependency to the corresponding test
2022-05-23 14:47:57 +00:00
Kataev Victor
1ddc51cfd1
Update fisheye::distortPoints() documentation
2022-05-23 14:30:09 +03:00
Kataev Victor
50bf0e10f5
Fix cameracalibration test
...
* Remove transpose for rvec after calibration
* Change compare threshold from 110% to 10% for perViewErrors
* Add transpose to goodRotMatrs load
2022-05-23 14:07:34 +03:00
Michael Gruner
6a22c5b2b5
Consider video meta on GStreamer video capture
...
Some GStreamer elements may produce buffers with very non
standard strides, offsets and/or even transport each plane
in different, non-contiguous pointers. This non-standard
layout is communicated via GstVideoMeta structures attached
to the buffers. Given this, when a GstVideoMeta is available,
one should parse the layout from it instead of generating
a generic one from the caps.
The GstVideoFrame utility does precisely this: if the buffer
contains a video meta, it uses that to fill the format and
memory layout. If there is no meta available, the layout is
inferred from the caps.
2022-05-22 20:08:44 -06:00
Alexander Alekhin
bb5462e327
Merge pull request #21991 from fengyuentau:qconv_asympad
2022-05-19 17:20:04 +00:00
Martin Tůma
df2e7fa6eb
Merge pull request #21992 from tumicdq:v4l2
...
* Added support for 4B RGB V4L2 pixel formats
Added support for V4L2_PIX_FMT_XBGR32 and V4L2_PIX_FMT_ABGR32 pixel
formats.
* Added workaround for missing V4L2_PIX_FMT_ABGR32 and V4L2_PIX_FMT_XBGR32
defines
2022-05-19 12:37:10 +00:00
Alexander Alekhin
11f36bdf9a
Merge pull request #21941 from cpoerschke:4.x-fix-imgproc-typos
2022-05-17 21:42:36 +00:00
Alexander Alekhin
bc0d4585b3
Merge pull request #21984 from xiong-jie-y:add_make_capture_for_camera_stream
2022-05-17 21:22:17 +00:00
Alexander Alekhin
8b3d2a57ad
Merge pull request #21968 from No-Plane-Cannot-Be-Detected:5.x-randomSampling_bug
2022-05-17 21:17:29 +00:00
Alexander Alekhin
9f6f0c7424
Merge pull request #21987 from alalek:gapi_test_reduce_used_memory
2022-05-17 16:26:14 +00:00
xiong-jie-y
c929f1b62f
Add make_capture_src for video stream to Python
2022-05-16 20:46:08 +09:00
fengyuentau
ff88132620
support asymmetric paddings for qconv
2022-05-16 19:01:37 +08:00
Alexander Alekhin
89f8d4ae12
build: GCC12 warnings
2022-05-15 16:21:16 +00:00
dbudnikov
3f4ffe7844
Merge pull request #21909 from dbudnikov:dbudnikov/reduce_gapi_tests_number
...
Reduce G-API tests number
* reduce number of G-API tests
* reduce number of G-API tests
* Address more comments from Dmitry.
2022-05-15 10:07:01 +00:00
Alexander Alekhin
22a00036e2
gapi(test): reduce used amount of memory
2022-05-15 09:41:25 +00:00
OpenCV Developers
d9a444ca1a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-14 11:23:21 +00:00
Manolis Lourakis
8d0fbc6a1e
Merge pull request #21702 from mlourakis:4.x
...
Fixes and optimizations for the SQPnP solver
* Fixes and optimizations
- optimized the calculation of qa_sum by moving equal elements outside the loop
- unrolled copying of the lower triangle of omega
- substituted SVD with eigendecomposition in the factorization of omega (2-3 times faster)
- fixed the initialization of lambda in FOAM
- added a cheirality test that checks a solution on all 3D points rather than on their mean. The old test rejected valid poses in some cases
- fixed some typos & errors in comments
* reverted to SVD
Eigen decomposition seems to yield larger errors in certain tests, reverted to SVD
* nearestRotationMatrixSVD
Added nearestRotationMatrixSVD()
Previous nearestRotationMatrix() renamed to nearestRotationMatrixFOAM() and reverts to nearestRotationMatrixSVD() for singular matrices
* fixed checks order
Fixed the order of checks in PoseSolver::solveInternal()
2022-05-13 18:11:14 +00:00
Klepikov Dmitrii
a99b4071a2
Merge pull request #20471 from ibvfteh:pointcloudio
...
GSoC module to save and load point cloud
* Add functionality to read point cloud data from files
* address issues found on review, add tests for mesh, refactor
* enable fail-safe execution and empty arrays as output
* Some improvements for point cloud io module
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai>
2022-05-13 18:10:39 +00:00
Kumataro
602caa9cd6
Merge pull request #21937 from Kumataro:4.x-fix-21911
...
* Fix warnings for clang15
* Fix warnings: Remove unnecessary code
* Fix warnings: Remove unnecessary code
2022-05-13 17:32:05 +00:00
OpenCV Pushbot
f35ec8c955
Merge pull request #21935 from Yulv-git:3.4-typos3
2022-05-13 17:30:57 +00:00
OpenCV Pushbot
612d43f284
Merge pull request #21871 from xiongzhen:apply-predictor-to-lzw-only
...
TIFFTAG_PREDICTOR should not be applied unless LZW, DEFLATE or ADOBE_DEFLATE
2022-05-13 17:25:59 +00:00
OpenCV Pushbot
56824d1769
Merge pull request #21847 from lamm45:imgproc-tform-doc
...
Minor documentation fixes for geometric image transformations
2022-05-13 17:23:23 +00:00
xiongzhen
2238ac7d59
Apply TIFFTAG_PREDICTOR option for LZW, DEFLATE and ADOBE_DEFLATE compression cases for smaller files.
2022-05-13 09:44:25 +03:00
OpenCV Pushbot
40d2904f3d
Merge pull request #21916 from chenjunnn:patch-1
2022-05-12 10:01:11 +00:00
OpenCV Pushbot
9712cc479b
Merge pull request #21963 from hellodoge:imwrite_fix
2022-05-12 09:02:54 +00:00
OpenCV Pushbot
0ef1fb0b67
Merge pull request #21954 from Darkyenus:patch-1
2022-05-12 08:59:10 +00:00
Victor
2b67bc448d
Merge pull request #21931 from victor1234:calib3d-add-undistortImagePoints
...
Add undistortImagePoints function
* Add undistortImagePoints function
undistortPoints has unclear interface and additional functionality. New function computes only undistorted image points position
* Add undistortImagePoints test
* Add TermCriteria
* Fix layout
2022-05-12 08:56:58 +00:00
Chen Jun
8d0dae4cec
Fix KalmanFilter comment error
...
If there will be measurement before the next predict, `statePost` would be assigned to updated value. So I guess these steps are meant to handle when no measurement and KF only do the predict step.
```cpp
statePre.copyTo(statePost);
errorCovPre.copyTo(errorCovPost);
```
2022-05-12 08:48:23 +00:00
OpenCV Pushbot
dda96264df
Merge pull request #21608 from zihaomu:depth2space
...
DNN: add depth2space and space2depth layer for onnx importer
2022-05-12 08:46:36 +00:00
OpenCV Pushbot
4af8e5c5c4
Merge pull request #21974 from cxcorp:fix-js-test-globals
2022-05-12 08:44:00 +00:00
Sergey
eff5605be5
Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux
...
G-API: VPL Source turn on Linux CPU version
* Turn on linux compilation
* Apply comments
* Change new files headline
* Add license header
2022-05-12 08:42:38 +00:00
OpenCV Pushbot
2b53ab23c0
Merge pull request #21882 from duanqn:improve-doc
2022-05-12 07:41:39 +00:00
Joona Heikkilä
646025589b
Fix global variable assignment in JS test suite
...
In test_imgproc.js, the test_filter suite's last test assigns a variable
to `size` without declaring it with `let`, polluting the global scope.
This commit adds `let` to the statement, so that the variable is scoped
to the test block.
2022-05-11 23:15:34 +03:00
Jan Polák
dea0815199
Small imencode documentation improvement
...
It was previously not clear that the extension should include the period, [and I am not the only person that encountered this problem](https://stackoverflow.com/questions/4254460/opencv-could-not-find-encoder-for-the-specified-extension ).
I assume that this is true for all supported extensions, but I haven't checked the source.
2022-05-11 14:57:38 +02:00
hellodoge
e4ed2d2e42
fix JpegEncoder::write
...
3rdparty/libjpeg-turbo/src/jpeglib.h:
`* NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.`
2022-05-11 13:08:02 +03:00
Wanli Zhong
627e6a0447
Modify randomSampling in point cloud
2022-05-11 15:30:58 +08:00
Vincent Rabaud
667e5e4f89
Merge pull request #21943 from vrabaud:3.4_proc
...
* Fix compilation with non glibc.
_SC_NPROCESSORS_ONLN is non standard as defined on https://man7.org/linux/man-pages/man3/sysconf.3.html
It seems to only be on glibc, cf https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html
* Fix to defined(_SC_NPROCESSORS_ONLN)
2022-05-05 07:59:29 +00:00
Christine Poerschke
9e1e960116
imgproc: fix two typos (imput, magnutude)
2022-05-01 19:59:55 +01:00
huangziqing
82ae9ef541
Wrap gpuMat::release to Python
2022-05-02 00:54:17 +08:00
OpenCV Developers
1b07274e34
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-30 18:54:20 +00:00
Yulv-git
15ac54d5d6
Fix some typos in modules/.
2022-04-30 13:40:07 +08:00
OpenCV Pushbot
fbac38d98b
Merge pull request #21923 from victor1234:calib3d-undistortPoints-R-P-test
2022-04-29 18:12:56 +00:00
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
2022-04-29 08:59:29 +03:00
Zihao Mu
64ded50bbf
parsing depth2space and space2depth of ONNX importer
2022-04-29 10:17:02 +08:00
Kataev Victor
6d0f1275c2
Add use of R and P parameters to cv::undistortPoints test
2022-04-28 21:47:53 +03:00
Alexander Smorkalov
2402fa4824
Fix #21894 : Wrap constructor to Python to create initialized cuda::BufferPool object.
2022-04-28 12:18:26 +03:00
Christine Poerschke
08c268bfc5
remove Imgproc_cvWarpAffine.regression test
2022-04-24 21:32:44 +01:00
OpenCV Developers
0fbd58bef9
Merge branch 4.x
2022-04-23 22:07:14 +00:00
Victor
5cc154147f
Merge pull request #21841 from victor1234:calib3d-undistortPoints-tests
...
Add distort/undistort test for fisheye::undistortPoints()
* Add distort/undistort test for fisheye::undistortPoints()
Lack of test has allowed error described in 19138 to be unnoticed.
In addition to random points, four corners and principal center
added to point set
* Add random distortion coefficients set
* Move undistortPoints test to google test, refactor
* Add fisheye::undistortPoints() perf test
* Add negative distortion coefficients to undistortPoints test, increase value
* Move to theRNG()
* Change test check from cvtest::norm(L2) to EXPECT_MAT_NEAR()
* Layout fix
* Add points number parameters, comments
2022-04-19 18:07:34 +00:00
rogday
9cd5a0a1e6
Merge pull request #21884 from rogday:cuda_cleanup
...
Fix CUDA compilation issues and adjust thresholds.
* Fix CUDA compilation issues and adjust thresholds.
* add conformance tests to denylist
2022-04-19 16:40:25 +00:00
Qingnan Duan
2958142e31
Remove extra not in doc
2022-04-18 14:18:27 +08:00
Victor
27c15bed60
Merge pull request #21834 from victor1234:issue-19138_add_termcriteria_to_fisheye_undistortpoints
...
* Add termination criteria to cv::fisheye::undistortPoints()
* Add criteria.type check
2022-04-16 17:59:53 +00:00
OpenCV Developers
2985739b8c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-16 14:41:15 +00:00
OpenCV Pushbot
556d211136
Merge pull request #21864 from rogday:21851_fix
2022-04-15 18:07:38 +00:00
Alexander Smorkalov
0ee2a58cdc
Document defaults for JPEG settings.
2022-04-15 14:36:48 +03:00
rogday
7daf84fb44
address security concerns in persistence
2022-04-14 22:18:00 +03:00
rogday
a2b84e9897
add assert to tf graph simplifier to address security concerns
2022-04-13 22:50:27 +03:00
OpenCV Pushbot
66f3c2673c
Merge pull request #21831 from zihaomu:sign_layer_onnx
...
DNN: Add sign, shrink and reciprocal for onnx_impoter
2022-04-13 17:08:30 +00:00
luzpaz
554d08c3a1
Merge pull request #21775 from luzpaz:typos/gapi
...
* GAPI: fix various gapi related typos
Fixes source comments and documentation related to gapi code.
* Fix source typos
* Fixed typos requested
* Follow-up typo fix
2022-04-13 17:06:37 +00:00
OpenCV Pushbot
3a595ea5c4
Merge pull request #21855 from opencv-pushbot:dnn_test_update_checks_face_detector_3.4
2022-04-12 17:33:13 +00:00
OpenCV Pushbot
03c9648f2e
Merge pull request #21854 from opencv-pushbot:dnn_test_update_checks_face_detector_4.x
2022-04-12 17:20:22 +00:00
OpenCV Developers
e3a55af336
dnn(test): update opencv_face_detector checks
...
original commit: be4a432bea
2022-04-11 20:27:06 +00:00
OpenCV Developers
be4a432bea
dnn(test): update opencv_face_detector checks
2022-04-11 20:26:25 +00:00
lamm45
0d32a24cba
Fix some doc references in geometric image transformations module
2022-04-10 13:13:30 -04:00
zihaomu
e36948cfbc
add ONNX OP sign, shrink and reciprocal
2022-04-07 15:32:12 +08:00
Alexander Alekhin
9aa647068b
Merge pull request #21822 from alalek:dnn_test_update_openvino_4.x
2022-04-05 18:08:46 +00:00
Alexander Alekhin
092030c1ca
Merge pull request #21819 from alalek:fix_videoio_ffmpeg_memory_leak_4.x
2022-04-05 18:03:59 +00:00
Alexander Alekhin
0bd261ded4
Merge pull request #21820 from alalek:fix_videoio_ffmpeg_memory_leak_3.4
2022-04-05 18:03:27 +00:00
Alexey Smirnov
7ed557497d
Merge pull request #21504 from smirnov-alexey:as/oak_infer
...
[GAPI] Support basic inference in OAK backend
* Combined commit which enables basic inference and other extra capabilities of OAK backend
* Remove unnecessary target options from the cmakelist
2022-04-05 21:00:32 +03:00
eplankin
d793ec2ffe
Merge pull request #21779 from eplankin:fix_11303
...
Fixed out-of-bounds read in parallel version of ippGaussianBlur()
* Fixed out-of-memory read in parallel version of ippGaussianBlur()
* Fixed check
* Revert changes in CMakeLists.txt
2022-04-05 15:58:15 +00:00
Alexander Alekhin
271f7df343
videoio(ffmpeg): avoid memory leaks
2022-04-05 15:51:56 +00:00
Alexander Alekhin
08d44f588f
dnn(test): update OpenVINO tests 2022.1.0 (OpenCV 4.x)
2022-04-05 14:13:38 +00:00
Artem Saratovtsev
3d12581798
Merge pull request #21741 from DumDereDum:odometry_prepareFrame_fix
...
Odometry prepareFrame fix
* fix issue; add tests
* img fix
* mask fix
* minor fix
2022-04-04 21:14:31 +00:00
Alexander Alekhin
b2e20a82ba
Merge pull request #21812 from cpoerschke:BackgroundSubtractor-getDefaultName
2022-04-04 18:57:00 +00:00
Alexander Alekhin
1b3a06a02a
videoio(ffmpeg): avoid memory leaks
2022-04-04 18:52:24 +00:00
Anastasiya(Asya) Pronina
91a5e75151
Merge pull request #21731 from AsyaPronina:asyadev/fix_new_stream_event
...
Fixed handling of new stream, especially for stateful OCV kernels
* Fixed handling of new stream, especially for stateful OCV kernels
* Removed duplication from StateInitOnce tests
* Addressed review comments for PR #21731
- Fixed explanation comments
- Expanded test for stateful OCV kernels in Regular mode
* Addressed review comments for PR #21731
- Moved notification about new stream to the constructor
- Added test on state reset for Regular mode
* Addresed review comments
* Addressed review comments
Co-authored-by: Ruslan Garnov <ruslan.garnov@intel.com>
2022-04-04 17:39:02 +00:00
sivanov-work
84b517f5a0
Fix warning
2022-04-04 08:25:03 +03:00
Christine Poerschke
8ac88cf069
add BackgroundSubtractor(KNN|MOG2).getDefaultName() implementation
2022-04-03 20:35:55 +01:00
Alexander Alekhin
13a995cc1d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-02 19:45:44 +00:00
Alexander Alekhin
a93fb52632
Merge pull request #21795 from alalek:dnn_test_update_openvino_3.4
2022-04-02 19:36:48 +00:00
Alexander Alekhin
4d927e73f1
dnn(test): update OpenVINO tests 2022.1.0
2022-04-02 17:42:53 +00:00
Alexander Alekhin
38228709c8
Merge pull request #21644 from sturkmen72:patch-5
2022-04-01 22:43:33 +00:00
Oguzhan Guclu
38788a3161
Merge pull request #21803 from oguzhanguclu:matches_info_pybinding
...
python binding for matches and inliers_mask attributes of cv2.detail_MatchesInfo class
* making matches and inliers_mask attributes of cv2.detail_MatchesInfo class accessible from python interface
* binding test for cv2.detail_MatchesInfo class
2022-04-01 22:13:14 +00:00
Alexander Alekhin
46b6973c05
Merge pull request #21798 from gititgo:4.x
2022-04-01 22:11:57 +00:00
Alexander Alekhin
af2b7708a8
Merge pull request #21794 from yash112-lang:3.4
2022-04-01 22:10:51 +00:00
Alexander Alekhin
a233982931
Merge pull request #20938 from JulieBar:lstm_cuda2
2022-04-01 22:10:08 +00:00
Alexander Alekhin
ed1439fbc6
Merge pull request #21754 from mshabunin:fix-ffmpeg5
2022-04-01 18:34:30 +00:00
Sergey Ivanov
f3945fbddb
Merge pull request #21688 from sivanov-work:vpp_ie_integration
...
G-API: VPP preprocessing GIEBackend integration
* Add ROI in VPP prepro
* Apply comments
* Integration to IE
* Removed extra invocations
* Fix no-vpl compilation
* Fix compilations
* Apply comments
* Use thin wrapper for device & ctx
* Implement Device/Context constructor functions
* Apply samples comment
* Fix compilation
* Fix compilation
* Fix build
* Separate Device&Context from selector, apply other comments
* Fix typo
* Intercept OV exception with pretty print out
2022-04-01 10:06:47 +00:00
shengwenxue
8b44ee2ce1
fix MSA sum overflow issue
2022-04-01 08:37:28 +00:00
Zihao Mu
7b582b71ba
Merge pull request #21036 from fengyuentau:timvx_backend_support
...
dnn: TIM-VX NPU backend support
* Add TimVX NPU backend for DNN module.
* use official branch from tim-vx repo; fix detecting viv sdk
Co-authored-by: fytao <yuantao.feng@outlook.com>
2022-03-31 21:42:11 +00:00
Yash Singhal
4e8c507276
Update Condition
...
Update connectedcomponents.cpp
2022-03-31 21:03:06 +00:00
Anatoliy Talamanov
9390c56831
Merge pull request #21782 from TolyaTalamanov:at/fix-1d-mat-problems
...
[G-API] Fix problems with 1D cv::Mat as graph output
* Fix issues with 1D cv::Mat
* Fix cv::Mat::create
* Fix standalone build
* Add test on 1d mat
* Fix warning
* Add additional condition
* Add more tests
2022-03-31 21:00:45 +00:00
Smirnov Egor
abebbf04b1
Add CUDA support for LSTM.
...
Co-authored-by: Julia Bareeva <jbareeva@gmail.com>
2022-03-31 16:38:22 +03:00
Alexander Alekhin
5e434073d4
Merge pull request #21796 from alalek:dnn_reduce_fixup_21601
2022-03-30 22:26:28 +00:00
HAN Liutong
3e4a566e46
Merge pull request #21351 from hanliutong:rvv-clang
...
* Update universal intrinsics of RVV back-end.
* Use array instead of malloc.
2022-03-30 20:04:34 +00:00
Alexander Alekhin
6f5cf8c15f
dnn: fix ReduceLayer implementation, update OpenVINO tests
2022-03-30 20:03:41 +00:00
Alexander Alekhin
b687bc807a
dnn(test): update OpenVINO tests 2021.4.2
2022-03-30 18:58:35 +00:00
Maksim Shabunin
5440fd6cb4
videoio: initial FFmpeg 5.0 support
2022-03-30 18:15:53 +03:00
Suleyman TURKMEN
b060151625
add test (DISABLED_open_from_web)
2022-03-30 15:01:02 +03:00
Anna Khakimova
be38d4ea93
Merge pull request #21777 from anna-khakimova:ak/convertto_simd
...
GAPI Fluid: SIMD for ConvertTo.
* GAPI Fluid: SIMD for convertto.
* Applied comments
2022-03-29 21:14:01 +00:00
Alexander Alekhin
386df457a9
python: ensure publishing of subclasses before derived types
2022-03-27 12:49:22 +00:00
Alexander Alekhin
e4abf6e723
Merge pull request #21781 from VadimLevin:dev/vlevin/skip-inline-namespaces
2022-03-26 21:40:45 +00:00
Alexander Alekhin
1339ebaa84
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-03-26 16:00:28 +00:00
Alexander Alekhin
c9b90884da
Merge pull request #21601 from zihaomu:add_reduceLayer
2022-03-26 10:20:10 +00:00
Alexander Alekhin
9b2b2c88df
Merge pull request #21750 from alalek:dnn_fix_index_access
2022-03-25 18:26:10 +00:00
Anna Khakimova
e5bdab0355
Merge pull request #21728 from anna-khakimova:ak/resize_f32c1_avx_simd
...
GAPI Fluid: SIMD AVX2 Resize F32C1.
* GAPI Fluid: Resize F32C1 scalar.
* Final version
* GAPI Fluid: SIMD AVX2 for Resize F32C1.
* Applied comments.
* Deleted warning suppression.
* Applied comments.
2022-03-25 18:11:01 +03:00
Vadim Levin
4d46958c82
fix: inline namespace handling in header parser
...
`inline namespace` should be skipped in header parser namespaces list.
Example:
```cpp
namespace cv {
inline namespace inlined {
namespace inner {
// content
} // namespace inner
} // namespace inlined
} // namespace cv
```
Before fix `inner` is registered as `cv..inner`
After fix: `cv.inner`
2022-03-25 15:36:31 +03:00
Anatoliy Talamanov
9dd8e4df7f
Merge pull request #21719 from TolyaTalamanov:at/pipeline_modeling_tool-skip-frames-for-nodes
...
[G-API] Pipeline modeling tool: Skip frames
* Add skip feature
* Refactoring
* Fix warning
* Put more comments
* Fix comments to review
* Agregate common params into structure
* Fix warning
* Clean up & add test
* Add assert
* Fix warning on Mac
* Update modules/gapi/samples/pipeline_modeling_tool.cpp
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com>
2022-03-25 08:22:45 +00:00
Anatoliy Talamanov
d98e07c3d3
Merge pull request #21660 from TolyaTalamanov:at/handle-exception-in-streamingexecutor
...
[G-API] Handle exceptions in streaming executor
* Handle exceptions in streaming executor
* Rethrow exception in non-streaming executor
* Clean up
* Put more tests
* Handle exceptions in IE backend
* Handle exception in IE callbacks
* Handle exception in GExecutor
* Handle all exceptions in IE backend
* Not only (std::exception& e)
* Fix comments to review
* Handle input exception in generic way
* Fix comment
* Clean up
* Apply review comments
* Put more comments
* Fix alignment
* Move test outside of HAVE_NGRAPH
* Fix compilation
2022-03-25 08:19:53 +00:00
luz paz
8e8e4bbabc
dnn: fix various dnn related typos
...
Fixes source comments and documentation related to dnn code.
2022-03-23 18:12:12 -04:00
Alexander Alekhin
12bae51384
Merge pull request #21759 from pkubaj:patch-1
2022-03-23 19:13:12 +00:00
Alexander Alekhin
7b848e215f
Merge pull request #21764 from alexanderconner:fixes/CameraBridgeViewBase-error-message
2022-03-23 19:11:30 +00:00
Stefano Allegretti
2a218b96c4
Fix VideoCapture::open() brief description
2022-03-23 15:55:30 +01:00
Alexander Conner
e76cda6923
Update CameraBridgeViewBase error message
...
Update CameraBridgeViewBase error message - Change "you device does" to "your device does"
2022-03-22 15:40:23 -04:00
Alexander Alekhin
9d16612a9b
Merge pull request #21756 from komakai:fix-pow
2022-03-22 13:45:35 +00:00
Alexander Alekhin
63c865ace6
Merge pull request #21746 from anna-khakimova:ak/dynamic_dispatch_sub
2022-03-21 17:10:40 +00:00
Maksim Shabunin
593996216f
cartToPolar/polarToCart: disable inplace mode
2022-03-21 16:06:12 +03:00
Maksim Shabunin
4eae23a2cc
ts: fix some EXPECT_MAT macros
2022-03-21 16:06:02 +03:00
pkubaj
f3699b5ac8
Fix build with LLVM 13 on ppc64le
...
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:352:12: warning: 'vec_permi' macro redefined [-Wmacro-redefined]
# define vec_permi(a, b, c) vec_xxpermdi(b, a, (3 ^ (((c) & 1) << 1 | (c) >> 1)))
^
/usr/lib/clang/13.0.0/include/altivec.h:13077:9: note: previous definition is here
#define vec_permi(__a, __b, __c) \
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:370:25: error: redefinition of 'vec_promote'
VSX_FINLINE(vec_dword2) vec_promote(long long a, int b)
^
/usr/lib/clang/13.0.0/include/altivec.h:14604:1: note: previous definition is here
vec_promote(signed long long __a, int __b) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:377:26: error: redefinition of 'vec_promote'
VSX_FINLINE(vec_udword2) vec_promote(unsigned long long a, int b)
^
/usr/lib/clang/13.0.0/include/altivec.h:14611:1: note: previous definition is here
vec_promote(unsigned long long __a, int __b) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/hal/intrin_vsx.hpp:1045:22: error: call to 'vec_rsqrt' is ambiguous
{ return v_float32x4(vec_rsqrt(x.val)); }
^~~~~~~~~
/usr/lib/clang/13.0.0/include/altivec.h:8472:34: note: candidate function
static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:362:29: note: candidate function
VSX_FINLINE(vec_float4) vec_rsqrt(const vec_float4& a)
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/hal/intrin_vsx.hpp:1047:22: error: call to 'vec_rsqrt' is ambiguous
{ return v_float64x2(vec_rsqrt(x.val)); }
^~~~~~~~~
/usr/lib/clang/13.0.0/include/altivec.h:8477:35: note: candidate function
static vector double __ATTRS_o_ai vec_rsqrt(vector double __a) {
^
/wrkdirs/usr/ports/graphics/opencv/work/opencv-4.5.5/modules/core/include/opencv2/core/vsx_utils.hpp:365:30: note: candidate function
VSX_FINLINE(vec_double2) vec_rsqrt(const vec_double2& a)
^
1 warning and 4 errors generated.
The specific functions were added to altivec.h in LLVM's 1ff93618e58df210def48d26878c20a1b414d900, c3da07d216dd20fbdb7302fd085c0a59e189ae3d and 10cc5bcd868c433f9a781aef82178b04e98bd098.
2022-03-21 02:05:05 +00:00
Giles Payne
9ce0e51305
Objective-C wrapper header fix-ups to avoid clashes with system macros
2022-03-20 18:47:26 +09:00
Alexander Alekhin
4c79318694
dnn: fix index access
2022-03-19 06:54:07 +00:00
Anna Khakimova
ee9fe1239a
GAPI Fluid: Enable dynamic dispatching for the Sub kernel.
2022-03-18 12:34:19 +03:00
Zihao Mu
b6b5c27cec
Support for some reduce layers for onnx
2022-03-18 10:19:13 +08:00
Anna Khakimova
48cd2d190f
Merge pull request #21678 from anna-khakimova:ak/resize_f32c1_scalar
...
GAPI Fluid: Resize F32C1 scalar version.
* GAPI Fluid: Resize F32C1 scalar.
* Final version
* Applied comments
2022-03-17 19:45:14 +03:00
Alexander Alekhin
685797f403
Merge pull request #21662 from alalek:dnn_split
2022-03-17 16:09:17 +00:00
Pierre Chatelier
ef6f421f89
Merge pull request #21677 from chacha21:rectangle_intersection
...
* better accuracy of _rotatedRectangleIntersection
instead of just migrating to double-precision (which would work), some computations are scaled by a factor that depends on the length of the smallest vectors.
There is a better accuracy even with floats, so this is certainly better for very sensitive cases
* Update intersection.cpp
use L2SQR norm to tune the numeric scale
* Update intersection.cpp
adapt samePointEps with L2 norm
* Update intersection.cpp
move comment
* Update intersection.cpp
fix wrong numericalScalingFactor usage
* added tests
* fixed warnings returned by buildbot
* modifications suggested by reviewer
renaming numericalScaleFctor to normalizationScale
refactor some computations
more "const"
* modifications as suggested by reviewer
2022-03-16 17:46:11 +03:00
Maksim Shabunin
0d16b5fc38
Fix libva dynamic loading
2022-03-15 19:08:20 +03:00
Alexander Alekhin
ac8a27cba9
Merge pull request #21686 from anna-khakimova:ak/dynamic_disp_add_kernel
2022-03-15 15:28:48 +00:00
Anatoliy Talamanov
e5f2a8ebf2
Merge pull request #21636 from TolyaTalamanov:at/gapi_modeling_tool_drop_frames
...
[G-API] Pipeline modeling tool - support frame dropping for source
* Implement drop frames functionality for dummy src
* Reconsider frame dropping
* Fix comments
2022-03-15 18:27:39 +03:00
Sergey Ivanov
54733eba6f
Merge pull request #21687 from sivanov-work:vpp_pp_integr
...
G-API: Add VPP preproc CPU/GPU dispatcher
* Add VPP preproc acceleration dispatcher & UTs
* Fix compilation
* Apply some comments
2022-03-15 11:01:03 +03:00
rogday
93353aea70
Merge pull request #21522 from rogday:lstm
...
Fix LSTM support in ONNX
* fix LSTM and add peephole support
* disable old tests
* turn lambdas into functions
* more hacks for c++98
* add assertions
* slice fixes
* backport of cuda-related fixes
* address review comments
2022-03-15 09:14:05 +03:00
rogday
e16cb8b4a2
Merge pull request #21703 from rogday:transpose
...
Add n-dimensional transpose to core
* add n-dimensional transpose to core
* add performance test, write sequentially and address review comments
2022-03-14 13:10:04 +00:00
Alexander Alekhin
5bf3c1df24
Merge pull request #21715 from ilyachur:change_type_info_creation
2022-03-14 09:18:58 +00:00
Ilya Churaev
419918076e
Changed call of NodeTypeInfo constructor
2022-03-14 10:55:33 +03:00
Alexander Alekhin
eb067fee55
videoio(ffmpeg): fix memory leak
2022-03-13 04:08:51 +00:00
Pierre Chatelier
6390b50d6e
Merge pull request #21701 from chacha21:tiff_10_12_14
...
Add 10-12-14bit (integer) TIFF decoding support
* Add 12bit (integer) TIFF decoding support
An (slow) unpacking step is inserted when the native bpp is not equal to the dst_bpp
Currently, I do not know if there can be several packing flavours in TIFF data.
* added tests
* move sample files to opencv_extra
* added 10b and 14b unpacking
* fix compilation for non MSVC compilers by using more standard typedefs
* yet another typdef usage change to fix buildbot Mac compilation
* fixed unpacking of partial packets
* fixed warnings returned by buildbot
* modifications as suggested by reviewer
2022-03-11 21:07:12 +03:00
Alexander Alekhin
852904e1a4
Merge pull request #21669 from rgarnov:rg/cpu_backend_reshape
2022-03-09 17:25:44 +00:00
Alexander Alekhin
a120adde63
dnn: add dnn.cpp file with information about git commits history
2022-03-08 19:22:47 +00:00
Alexander Alekhin
a80af177b6
dnn: split dnn.cpp code
...
base commit: 19926e2979
original dnn.cpp content: 19926e2979/modules/dnn/src/dnn.cpp
2022-03-08 19:22:46 +00:00
Tsukasa Sugiura
8db7d435b9
Merge pull request #21692 from UnaNancyOwen:add_softmax
...
* add apply softmax option to ClassificationModel
* remove default arguments of ClassificationModel::setSoftMax()
* fix build for python
* fix docs warning for setSoftMax()
* add impl for ClassficationModel()
* fix failed build for docs by trailing whitespace
* move to implement classify() to ClassificationModel_Impl
* move to implement softmax() to ClassificationModel_Impl
* remove softmax from public method in ClassificationModel
2022-03-07 20:26:15 +00:00
Alexander Alekhin
901e0ddfe4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-03-05 19:46:28 +00:00
Ruslan Garnov
ecb30409f6
Added reshape() functionality to CPU backend
2022-03-05 14:18:13 +03:00
Sergey Ivanov
44c2c77548
Merge pull request #21658 from sivanov-work:vpp_core_add_roi
...
G-API: Add ROI processing in VPP preproc
* Add ROI in VPP prepro
* Apply comments
2022-03-05 13:50:40 +03:00
Anna Khakimova
5be5efdacf
GAPI Fluid: Dynamic dispatching for Add kernel.
2022-03-05 00:18:29 +03:00
Vincent Rabaud
057c3da82a
Allow Matx static function to work with Vec.
2022-03-04 14:06:20 +01:00
masa-iwm
1ae2320e09
bugfix convertFromD3D11Texture2D
2022-03-03 07:21:53 +09:00
Anna Khakimova
9c7adb7248
Merge pull request #21530 from anna-khakimova:ak/simd_divrc
...
* GAPI Fluid: SIMD for DivRC kernel.
* Fluid: Div kernel's SIMD refactoring
* SIMD for DivRC 3 channel case
* Applied comments
2022-03-02 13:36:16 +00:00
Vadim Levin
ccebbbc0ac
feature: submodule or a class scope for exported classes
...
All classes are registered in the scope that corresponds to C++
namespace or exported class.
Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`
For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type
2022-03-02 14:30:52 +03:00
Pierre Chatelier
ebb6915e58
Merge pull request #21645 from chacha21:applyColorMap_8UC1_optimized
...
Optimize cv::applyColorMap() for simple case
* Optimize cv::applyColorMap() for simple case
PR for 21640
For regular cv::Mat CV_8UC1 src, applying the colormap is simpler than calling the cv::LUT() mechanism.
* add support for src as CV_8UC3
src as CV_8UC3 is handled with a BGR2GRAY conversion, the same optimized code being used afterwards
* code style
rely on cv::Mat.ptr() to index data
* Move new implementation to ColorMap::operator()
Changes as suggested by reviewer
* style
improvements suggsted by reviewer
* typo
* tune parallel work
* better usage of parallel_for_
use nstripes parameter of parallel_for_
assume _lut is continuous to bring faster pixel indexing
optimize src/dst access by contiguous rows of pixels
do not locally copy the LUT any more, it is no more relevant with the new optimizations
2022-03-01 19:55:00 +03:00
Alexander Alekhin
5cc27fd3b5
Merge pull request #21542 from rogday:split_expand
2022-02-28 22:38:24 +00:00
Egor Smirnov
375fe81311
fix slice and expand
2022-02-28 17:18:07 +03:00
Tatsuro Shibamura
d354ad1c34
Merge pull request #21630 from shibayan:arm64-msvc-neon
...
* Added NEON support in builds for Windows on ARM
* Fixed `HAVE_CPU_NEON_SUPPORT` display broken during compiler test
* Fixed a build error prior to Visual Studio 2022
2022-02-26 17:35:03 +00:00
Vadim Levin
119d8b3aca
Merge pull request #21553 from VadimLevin:dev/vlevin/scope-for-classes-4x-port
...
4.x: submodule or a class scope for exported classes
* feature: submodule or a class scope for exported classes
All classes are registered in the scope that corresponds to C++
namespace or exported class.
Example:
`cv::ml::Boost` is exported as `cv.ml.Boost`
`cv::SimpleBlobDetector::Params` is exported as
`cv.SimpleBlobDetector.Params`
For backward compatibility all classes are registered in the global
module with their mangling name containing scope information.
Example:
`cv::ml::Boost` has `cv.ml_Boost` alias to `cv.ml.Boost` type
* refactor: remove redundant GAPI aliases
* fix: use explicit string literals in CVPY_TYPE macro
* fix: add handling for class aliases
2022-02-25 01:17:43 +03:00
Sergey Ivanov
8f1c502d2b
Merge pull request #21618 from sivanov-work:vpp_preproc_core
...
G-API: Add VPL/VPP preproc core module
* Add BaseMediAdapter for VPL
* Add PreprocSession & PreprocEngine interface part
* Implement preproc UT, Fix base path
* Add common PP interface, add common pp_params
* Rough decoupling VPL & Preproc
* Add syntax sugar for PP interface
* Integrate VPP preproc in GIEbackend
* Add PP bypass
* Add perf tests for PP
* Fix warning in vpl core UT
* Add inner preproc resolution Unit Test
* Remove VPP preproc description from single ROI sample
* Apply SetROIBlob for diferent Infer operations
* Eliminate extra branch-lines for cfg_param_parser & transcode_engine
* Fix UT warning &PreprocSession compile
* Fix compilation & warnings
* Reduce Session&Engine code amount
* Apply some comments
* Revert IE changes, rename preproc
* Fix for DX11 infer for OV: turn off texture array
* Remove dependency PP on IE
* Change fixture tests params
* Apply other comments & turn off ROI for GPU
* Fix compilation: remove forgotten INFER define
* Apply debt comments
* Fix PP UTs: add FrameInfo value comparator
* Fix style
* Remove standalone map for preproc frames storage
* Add other comments
2022-02-24 10:35:52 +00:00
Rostislav Vasilikhin
aa5055261f
Merge pull request #21652 from savuor:fix/hash_tsdf_normals_simd32_compilation
...
Fix HashTSDF compilation
* big SIMD compilation fix (try 1)
* fixing compilation, try 2
2022-02-24 10:29:28 +00:00
Alexander Alekhin
899b4d1452
Merge branch 4.x
2022-02-22 19:55:26 +00:00
Alexander Alekhin
92312fbc0c
Merge pull request #21613 from YusukeKameda:patch-1
2022-02-22 19:23:32 +00:00
Alexander Alekhin
2efcaa9e8e
Merge pull request #21534 from alexgiving:atrutnev/simd_for_merge4
2022-02-21 22:17:17 +00:00
Aleksei Trutnev
aa53541235
enable dynamic dispatching for merge4
2022-02-22 00:13:22 +03:00
Yuantao Feng
f77c3574af
Merge pull request #21607 from fengyuentau:fix_FaceDetectorYN_dynamic_shape
...
Use YuNet of fixed input shape to fix not-supported-dynamic-zero-shape for FaceDetectorYN
* use yunet with input of fixed shape
* update yunet used in face recognition regression
2022-02-21 13:49:07 +00:00
Zhuo Zhang
f5105bac65
remove const in seamless_cloding APIs for better semantics
2022-02-21 20:39:41 +08:00
Alexander Alekhin
5a86592e93
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-19 21:04:35 +00:00
Alexander Alekhin
2c83cfc14c
Merge pull request #21639 from georgthegreat:patch-1
2022-02-19 20:58:57 +00:00
KaurkerDevourer
9198e30688
Fix DpSeamFinder::hasOnlyOneNeighbor
...
std::lower_bound is linear for set
https://en.cppreference.com/w/cpp/algorithm/lower_bound
2022-02-19 14:24:05 +03:00
Ruan
e5d648d2d0
Merge pull request #21615 from No-Plane-Cannot-Be-Detected:5.x-ptcloud_comments
...
Added 3D point cloud code comments and copyright
1. update the code comments.
2. add author information.
2022-02-18 20:43:08 +03:00
Artem Saratovtsev
1890157faa
Merge pull request #21635 from DumDereDum:issue_21595_3.4
...
Issue 21595 fix 3.4 branch
* bug fix; add test
* rewrite tests avoiding vector in tests
2022-02-18 14:58:58 +00:00
Yuriy Chernyshov
0898f372b1
Аix -Winvalid-noreturn under clang-cl
2022-02-18 17:57:46 +03:00
Artem Saratovtsev
9c87d8bf9c
Merge pull request #21189 from DumDereDum:new_volume
...
New Volume pipeline
2022-02-18 14:50:26 +00:00
Alexander Alekhin
b9e5256cf9
Merge pull request #21628 from anna-khakimova:ak/resize_fix_32bit_builds
2022-02-17 12:16:06 +00:00
Anna Khakimova
6b6d89b911
GAPI Fluid: Fix for 32bit build issue.
2022-02-17 13:13:02 +03:00
Alexander Alekhin
d3e0193c8a
Merge pull request #21602 from paroj:hidpi
2022-02-16 18:37:15 +00:00
Alexander Alekhin
31881209d6
Merge pull request #21626 from anna-khakimova:ak/workaround_for_16s
2022-02-16 17:47:48 +00:00
Alexander Alekhin
5c7e893393
Merge pull request #21529 from alexgiving:atrutnev/simd_for_merge3
2022-02-16 17:45:19 +00:00
Anna Khakimova
3c814ebf87
GAPI Perf Tests:Workaround for the OpenCV's issue.
2022-02-16 14:22:04 +03:00
Alexander Alekhin
5cf1dca36e
Merge pull request #21612 from seanm:tsan-call-once
2022-02-16 09:57:25 +00:00
Sean McBride
5b23752205
Replaced incorrect double checked locking with a static
...
Thread Sanitizer identified an incorrect implementation of double checked locking.
Replaced it with a static, which therefore can only be created once.
2022-02-15 14:24:21 -05:00
Alexander Alekhin
4e53f301d8
Merge pull request #21622 from alalek:imgcodecs_checks_3.4
2022-02-15 18:19:51 +00:00
Alexander Alekhin
2b7803dbac
imgcodecs: add runtime checks to validate input
...
backport of commit: f9b1dbe2ac
2022-02-15 16:33:35 +00:00
Alexander Alekhin
446a278f3d
Merge pull request #21620 from alalek:imgcodecs_checks
2022-02-15 16:30:47 +00:00
Alexander Alekhin
0047d3f81a
Merge pull request #21614 from alalek:fix_build_power8_vec_absd
2022-02-15 15:31:23 +00:00
Alexander Alekhin
f9b1dbe2ac
imgcodecs: add runtime checks to validate input
2022-02-15 11:48:09 +00:00
Maksim Shabunin
a251474144
Update filters in ONNX tests
2022-02-15 11:56:28 +03:00
Alexander Alekhin
8d88bb06b2
core(vsx): update vec_absd() workaround condition
2022-02-15 07:26:40 +03:00
Maksim Shabunin
45cbf70265
Update filters in ONNX tests
2022-02-14 17:16:49 +03:00
Yusuke Kameda
33f219dfe6
Incorrect kernel matrix size when Scharr
...
Incorrect Mat size ksize==-1
2022-02-14 19:31:45 +09:00
Suleyman TURKMEN
44db2eea70
update HOGDescriptor documentation
2022-02-13 23:54:27 +03:00
Pavel Rojtberg
12ab54648c
highui: qt - enable hidpi by default
...
can be overriden by environment:
QT_AUTO_SCREEN_SCALE_FACTOR=0
2022-02-12 14:56:42 +01:00
Alexander Alekhin
19926e2979
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-11 17:32:37 +00:00
Alexander Alekhin
3215db26aa
Merge pull request #21591 from alalek:dnn_drop_legacy_ie
2022-02-10 21:47:30 +00:00
cudawarped
76aff84788
Merge pull request #21561 from cudawarped:ffmpeg_prefer_tcp_default
...
Default FFMPEG VideoCapture backend to rtsp_flags=prefer_tcp
* Make the VideoCapture ffmpeg backends default rtsp connection type prefer_tcp.
* Ensure that the ffmpeg version of avformat is checked.
2022-02-10 19:45:34 +03:00
Vincent Rabaud
fc28ba3156
Merge pull request #21594 from vrabaud:3.4_msan
...
* Fix harmless MSAN error.
This is similar to https://github.com/opencv/opencv/pull/21527
A macro is also created to simplify the code.
* Declare fallback only once.
2022-02-10 19:44:14 +03:00
Alexander Alekhin
effce0573b
dnn: drop legacy Inference Engine NN builder API
2022-02-10 11:55:24 +00:00
Sergey Ivanov
d5ecb5ff5a
Merge pull request #21567 from sivanov-work:gapi_streaming_fix
...
G-API: Fix streaming hangs for ConstSource & Improve troubleshooting logger messages
2022-02-09 18:48:06 +00:00
Greg Fiumara
dae73938e8
Fix cv::FileStorage::Mode::Memory doxygen layout
2022-02-09 12:24:50 -05:00
Anatoliy Talamanov
619b6dfae3
Merge pull request #21579 from TolyaTalamanov:at/handle-errors-in-iebackend
...
[G-API] Handle errors in IEBackend & modeling tool
* Handle errors in IEBackend & modeling tool
* Handle exceptions in callback
* Add const cv to exception
2022-02-09 16:52:23 +00:00
Dmitry Budnikov
3eeec4faae
Merge pull request #21560 from dbudniko:dbudniko/gapi_media_format_gray_plus_gst_source
...
G-API gst source gray support
2022-02-08 16:51:53 +03:00
Suleyman TURKMEN
ffee1a4126
fix cv::floodfill() for calling it with an empty mask
2022-02-08 15:28:19 +03:00
Anatoliy Talamanov
08356007c9
Merge pull request #21566 from TolyaTalamanov:at/gapi-modeling-tool_fix_handling_fp16_precision
...
[G-API] Pipeline modeling tool - Fix generating FP16 Mat
* Fix handling fp16 precision
* Disable preproc in case FP16 input inside IE backend
* Fix isApplicableForResize function
2022-02-07 16:48:43 +00:00
Artem Saratovtsev
4ba2b05df8
Merge pull request #21439 from DumDereDum:python_odometry
...
Odometry python support
2022-02-07 16:16:17 +00:00
lamm45
5064b6f747
Update LineIterator documentation
2022-02-06 18:42:26 -05:00
Alexander Alekhin
57d3002ee1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-02-06 16:10:43 +00:00
Alexander Alekhin
a00a0dbfcd
Merge pull request #21564 from alalek:dnn_fix_openvino_outputs
2022-02-06 16:06:23 +00:00
Alexander Alekhin
b41d2c5c14
Merge pull request #21569 from alalek:fixup_18031
2022-02-06 16:04:38 +00:00
Alexander Alekhin
1da48beeec
dnn(ngraph): fix output names
2022-02-06 13:08:53 +00:00
Alexander Alekhin
b57ff73086
dnn(ngraph): fix outputs handling, drop 'unconnected' logic
2022-02-06 13:08:53 +00:00
Alexander Alekhin
67978b5746
dnn(ngraph): add debuging messages
2022-02-06 13:08:53 +00:00
Alexander Alekhin
062f305d1a
dnn: don't fuse 'outputs' with OpenVINO backend
2022-02-06 13:08:53 +00:00
Alexander Alekhin
1f70d4e2a5
dnn(test): re-enable ONNX split tests for OpenVINO
2022-02-06 10:36:15 +00:00
Alexander Alekhin
aa5bc20c83
dnn(ngraph): fixup get_output_as_single_output_node() replacement patch
2022-02-06 10:35:59 +00:00
Alexander Alekhin
46e1560678
Merge pull request #21555 from cudawarped:fix_gpumat_dataend_bug
2022-02-03 12:28:49 +00:00
Dmitry Budnikov
4d0148b417
Merge pull request #21511 from dbudniko:dbudniko/gapi_media_format_gray
...
G-API media format gray
2022-02-03 15:20:21 +03:00
Anna Khakimova
1605d1d24d
Merge pull request #21474 from anna-khakimova:ak/simd_for_divc
...
GAPI Fluid: SIMD for DivC kernel.
* GAPI Fluid:SIMD for DivC
* Applied comment
2022-02-02 18:47:01 +00:00
cudawarped
f66a2ffa1e
Fix GpuMat to correctly calculate dataend when using GpuMat::create().
...
Add output to createMat() to be used by locateROI test cases.
2022-02-02 14:25:46 +00:00
Maksim Shabunin
d1e76a34a0
3.4: Use modern OpenVINO package interface
...
original commit: 437af37b13
2022-02-02 09:04:03 +00:00
Alexander Alekhin
415a42f327
Merge pull request #21452 from mshabunin:ov-pkg
2022-02-01 18:59:59 +00:00
Alexander Alekhin
a351e05a17
Merge pull request #21538 from edman007:fixup-21536
2022-02-01 17:01:16 +00:00
Maksim Shabunin
437af37b13
Use modern OpenVINO package interface
2022-02-01 16:52:17 +00:00
Aleksei Trutnev
c62367612d
Enable dynamic dispatching for Merge3
2022-02-01 16:40:20 +03:00
Anatoliy Talamanov
a92cba8484
Merge pull request #21477 from TolyaTalamanov:at/pipeline-builder-tool
...
[G-API] Implement G-API pipeline modeling tool
* Implement G-API pipeline builder tool
* Remove whitespaces from config
* Remove unused unittest stuff
* Fix comments to review
* Fix MAC warning
* Rename to pipeline_modeling_tool
* Move to opencv apps
* Move config to gapi/samples/data
* gapi: samples sources are installed automatically
2022-02-01 16:32:56 +03:00
Ed Martin
dc29632d4e
Fallback to vaCreateImage + vaPutImage/vaGetImage when vaDeriveImage fails
...
Per intel docs for libva, when vaDeriveImage fails vaCreateImage +
vaPutImage should be tried. This is important as mesa with AMD HW
will always fail because the image is interlaced so a indirect
method must be used to get the surface to/from and image
Fixes https://github.com/opencv/opencv/issues/21536
2022-01-31 17:12:37 -05:00
Harvey
f4a7754cc0
Merge pull request #21428 from Harvey-Huang:TIFF
...
TiffEncoder write support more depth type
* TiffEncoder write support more depth type
* testing code
* update testing code
* add fallthrough
2022-01-31 17:54:27 +00:00
Trutnev Aleksei
245f6273bd
Merge pull request #21520 from alexgiving:atrutnev/simd_for_split4
...
GAPI FLUID: Enable dynamic dispatching for Split4
* Enable dynamic dispatching for split4
* Add tail proc for split3 and split4
2022-01-31 17:45:56 +00:00
Alexander Alekhin
870c8d3c4e
dnn(test): fix int8 tolerances
2022-01-31 12:54:01 +00:00
Alexander Alekhin
d573472a86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-31 12:53:45 +00:00
Alexander Alekhin
a7e6a1059c
dnn(test): fix outputs handling in ONNX conformance
...
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
2022-01-29 23:29:51 +00:00
Alexander Alekhin
85719a0a5d
dnn: support outputs registration under new names
...
- fixed ONNX importer
2022-01-29 23:29:51 +00:00
Vincent Rabaud
b5b52afd35
Merge pull request #21527 from vrabaud:3.4_msan
...
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
2022-01-28 15:35:47 +00:00
Alexander Alekhin
dc35633aa4
Merge pull request #21521 from alalek:dnn_ignore_denormals
2022-01-28 15:31:44 +00:00
Zihao Mu
9e3ba487fa
Merge pull request #21518 from zihaomu:resize_onnx_opset13
...
Add resize layer compatible with ONNX opset13 version
2022-01-28 17:55:01 +03:00
Alexander Alekhin
aee8425b68
Merge pull request #21533 from alexgiving:atrutnev/tolerance_for_divc_kernel
2022-01-28 13:11:22 +00:00
Aleksei Trutnev
94229bb262
tolerance for divc
2022-01-28 17:12:20 +03:00
Suleyman TURKMEN
439ef6447d
Update window.cpp
2022-01-28 10:20:36 +03:00
Trutnev Aleksei
9cab808c5d
Merge pull request #21475 from alexgiving:atrutnev/fix_tests
...
GAPI: Replace resize perf test to imgproc
* resize + test configs
* fluid kernel "add"
* Add fluid core
2022-01-27 12:27:41 +00:00
Alexander Alekhin
d41fcf7345
Merge pull request #21489 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix-backport
2022-01-27 10:16:13 +00:00
Vadim Levin
ef85b24a78
fix: wrong reference counter after module initialization
2022-01-27 12:05:06 +03:00
Vadim Levin
d88730685e
fix: submodules creation and registration
...
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
- Add Python 2 and Python 3 reference counting handling
2022-01-27 11:06:06 +03:00
Alexander Alekhin
7f782a1a24
Merge pull request #21499 from sturkmen72:update_documentation
2022-01-26 17:37:51 +00:00
Alexander Alekhin
9188ce68aa
Merge pull request #21490 from rogday:optional_outputs
2022-01-26 15:18:07 +00:00
Anatoliy Talamanov
2b79a6ff8f
Merge pull request #20832 from TolyaTalamanov:at/python-gstreamer-source
...
G-API: Wrap GStreamerSource
* Wrap GStreamerSource into python
* Fixed test skipping when can't make Gst-src
* Wrapped GStreamerPipeline class, added dummy test for it
* Fix no_gst testing
* Changed wrap for GStreamerPipeline::getStreamingSource() : now python-specific in-class method GStreamerPipeline::get_streaming_source()
* Added accuracy tests vs OCV:VideoCapture(Gstreamer)
* Add skipping when can't use VideoCapture(GSTREAMER);
Add better handling of GStreamer backend unavailable;
Changed video to avoid terminations
* Applying comments
* back to a separate get_streaming_source function, with comment
Co-authored-by: OrestChura <orest.chura@intel.com>
2022-01-26 14:01:13 +00:00
Alexander Alekhin
70b0274c8e
dnn: apply hint to ignore denormals processing
2022-01-26 11:28:35 +00:00
Alexander Alekhin
83ce1de8e7
Merge pull request #21506 from alalek:core_fp_denormals
2022-01-26 08:52:27 +00:00
Alexander Alekhin
b1d484f827
core(parallel): propagate FP denormals mode
2022-01-26 05:19:02 +00:00
Alexander Alekhin
123519165d
core: FP denormals hints support
2022-01-26 05:19:02 +00:00
Alexander Alekhin
906f5f7e96
Merge pull request #21514 from pkubaj:patch-1
2022-01-25 18:44:26 +00:00
Aleksei Trutnev
5e89b9a455
Dynamic Dispatching for split3
2022-01-25 18:13:30 +03:00
pkubaj
5d9ea394ba
Fix VSX detection on FreeBSD
...
hwcap should actually be long.
2022-01-25 13:35:22 +00:00
Vincent Rabaud
abb5c9fd92
Fix undefined behavior in line drawing.
...
Left shift of negative values is undefined.
2022-01-25 11:37:39 +01:00
Sergey Ivanov
266835cd2e
Merge pull request #21232 from sivanov-work:vpl_gpu_remote_infer
...
G-API: oneVPL DX11 inference
* Draft GPU infer
* Fix incorrect subresource_id for array of textures
* Fix for TheOneSurface in different Frames
* Turn on VPP param configuration
* Add cropIn params
* Remove infer sync sample
* Remove comments
* Remove DX11AllocResource extra init
* Add condition for NV12 processing in giebackend
* Add VPP frames pool param configurable
* -M Remove extra WARN & INFOs, Fix custom MAC
* Remove global vars from example, Fix some comments, Disable blobParam due to OV issue
* Conflict resolving
* Revert back pointer cast for cv::any
2022-01-24 17:05:26 +03:00
Yuriy Chernyshov
d1b533d399
Disable -Wreturn-type-c-linkage under clang-cl
...
clang-cl defines both __clang__ and _MSC_VER, yet uses `#pragma GCC` to disable certain diagnostics.
At the time `-Wreturn-type-c-linkage` was reported by clang-cl.
This PR fixes this behavior by reordering defines.
2022-01-24 11:42:02 +03:00
David Fan
574320ec3f
Merge pull request #21500 from Kanaderu:fix-gst-audio-win
...
videoio: added explicit gst-audio dependency for windows
* Update detect_gstreamer.cmake
videoio: added explicit gst-audio dependency for win32
* Fixed whitespace
2022-01-23 17:02:14 +03:00
Alexander Alekhin
3f2377017c
Merge pull request #21497 from alalek:fix_build_gcc12_3.4
2022-01-23 14:00:55 +00:00
Suleyman TURKMEN
2b5bb02817
Update imgcodecs.hpp
2022-01-23 01:24:34 +03:00
Alexander Alekhin
302d14adef
build: fix GCC12 compilation
2022-01-22 11:48:44 +00:00
Alexander Alekhin
b796ededae
Merge pull request #21437 from alalek:dnn_api_explicit_const_4.x
2022-01-21 20:19:50 +00:00
Alexander Alekhin
f811ba8777
Merge pull request #21429 from alalek:dnn_api_explicit_const_3.4
2022-01-21 20:04:58 +00:00
Alexander Alekhin
eb7b45d26b
dnn: fix API - explicit ctors, const methods
2022-01-21 12:38:51 +00:00
Smirnov Egor
17b2d92a3d
add optional outputs support and fix graph links
2022-01-21 12:31:46 +03:00
Alexander Alekhin
22f0bcaf8f
Merge pull request #21453 from sturkmen72:bigtiff
2022-01-20 20:00:29 +00:00
Alexander Alekhin
ca5258f140
Merge pull request #21483 from alalek:cmake_highgui_opengl_update_3.4
2022-01-20 14:37:09 +00:00
Alexander Alekhin
82818e7324
cmake(highgui): update handling of OpenGL libraries
2022-01-20 02:31:15 +00:00
Alexander Alekhin
6ae8103022
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-19 19:29:58 +00:00
Vadim Levin
eca2d92791
fix: submodules creation and registration
...
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
2022-01-19 18:06:58 +03:00
Maxim Pashchenkov
6778e19710
Merge pull request #21362 from mpashchenkov:mp/ocv-gapi-suppress-warn
...
G-API: Suppress ngraph warnings for MSVS2015 (4268)
* 4268 are suppressed
* 1900-->>1910 (v140)
* Two more warnings from ngraph include
2022-01-19 11:40:36 +00:00
Alexander Alekhin
6ffa2b01e1
Merge pull request #21357 from rogday:model_diag
2022-01-18 15:50:11 +00:00
Tsukasa Sugiura
ed6ca0d7fa
Merge pull request #21369 from UnaNancyOwen:fix_uwp
...
Fix support objdetect module for UWP
* Fix support objdetect module for UWP
* Fix define module for objdetect
* Remove conditional compilation from public headers
* Add StsNotImplemented for FaceDetectorYN/FaceRecognizerSF
* Fix typo error message
* Fix error message
* coding style, eliminate warnings
2022-01-18 18:47:36 +03:00
Alexander Alekhin
7f6dcc2745
Merge pull request #21467 from alalek:issue_21448
2022-01-18 09:55:13 +00:00
Vadim Levin
76e34d6f2c
fix: handle possible PyModule_AddObject failure
...
Comment from Python documentation:
Unlike other functions that steal references, `PyModule_AddObject()` only
decrements the reference count of value on success.
This means that its return value must be checked, and calling code must
`Py_DECREF()` value manually on error.
2022-01-18 11:38:33 +03:00
Alexander Alekhin
5ba9a089e1
core(persistence): avoid NULL pointer dereference
2022-01-18 04:56:43 +00:00
Alexey Smirnov
f2d5d6d24e
Merge pull request #20785 from smirnov-alexey:as/oak_backend
...
GAPI: Add OAK backend
* Initial tests and cmake integration
* Add a public header and change tests
* Stub initial empty template for the OAK backend
* WIP
* WIP
* WIP
* WIP
* Runtime dai hang debug
* Refactoring
* Fix hang and debug frame data
* Fix frame size
* Fix data size issue
* Move test code to sample
* tmp refactoring
* WIP: Code refactoring except for the backend
* WIP: Add non-camera sample
* Fix samples
* Backend refactoring wip
* Backend rework wip
* Backend rework wip
* Remove mat encoder
* Fix namespace
* Minor backend fixes
* Fix hetero sample and refactor backend
* Change linking logic in the backend
* Fix oak sample
* Fix working with ins/outs in OAK island
* Trying to fix nv12 problem
* Make both samples work
* Small refactoring
* Remove meta args
* WIP refactoring kernel API
* Change in/out args API for kernels
* Fix build
* Fix cmake warning
* Partially address review comments
* Partially address review comments
* Address remaining comments
* Add memory ownership
* Change pointer-to-pointer to reference-to-pointer
* Remove unnecessary reference wrappers
* Apply review comments
* Check that graph contains only one OAK island
* Minor refactoring
* Address review comments
2022-01-17 22:56:01 +00:00
rogday
0fe7420638
fix model diagnostic tool
2022-01-18 01:22:22 +03:00
Alexander Alekhin
b304730225
dnn: fix API - explicit ctors, const methods
2022-01-17 21:45:29 +00:00
Suleyman TURKMEN
f1857030b5
bigtiff images reading
2022-01-16 11:49:10 +03:00
Suleyman TURKMEN
172bb7887c
Update imgcodecs.hpp
2022-01-14 23:36:53 +03:00
Anna Khakimova
60228d30d1
Merge pull request #21144 from anna-khakimova:ak/resize_simd_v2
...
GAPI Fluid: Resize Linear U8C3 - reworking horizontal pass.
* Reworked horizontal pass
* Fixed valgrind issue and removed unnesesary snippet
2022-01-14 12:48:52 +00:00
Lukas Yoder
9592537840
Merge pull request #20363 from SentToDevNull:master
...
Updated To Modern Version of Aravis USB 3 Vision Protocol Library
* updated aravis backend to support aravis-0.8
* bugfix for aravis-0.8 support
2022-01-13 23:22:36 +03:00
Maksim Shabunin
d5f73f89d8
Fixed issues found by static analysis
2022-01-13 14:51:25 +03:00
Dmitry Budnikov
19bbe6c67d
Merge pull request #21424 from dbudniko:dbudniko/media_frame_adapter_enabling
...
Adapt remote inference to operate with NV12 blobs
* Media Frame Adapter support
* address comments
2022-01-12 17:38:14 +00:00
Alexander Alekhin
aebb65e983
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-12 13:26:10 +00:00
Alexander Alekhin
5e327af327
Merge pull request #21426 from alalek:dnn_simd_unaligned_weights_fix
2022-01-12 13:11:45 +00:00
Alexander Alekhin
bc1f8813c2
Merge pull request #21422 from alexgiving:atrutnev/wrong_destination_size_deduction_resize
2022-01-12 12:43:09 +00:00
Alexander Alekhin
80d9f624d0
dnn: don't use aligned load without alignment checks
...
- weights are unaligned in dasiamprn sample (comes from numpy)
2022-01-12 05:11:18 +00:00
Aleksei Trutnev
e9c46f38fc
fix rounding
2022-01-12 01:11:46 +03:00
cudawarped
ecfbaa267d
Merge pull request #21374 from cudawarped:fix_cuda_event_flags
...
Allow cv::cuda::Event to accept combinations of flags
2022-01-11 23:57:25 +03:00
Harvey
c3e27bcf87
Merge pull request #21400 from Harvey-Huang:master
...
tiff need check TIFFTAG_SAMPLEFORMAT, should not always use unsigned.
2022-01-11 16:51:50 +00:00
Vincent Rabaud
4db3a388dd
Fix a potential UBSAN error.
...
We only use that value as uint64_t below anyway.
2022-01-11 12:01:47 +01:00
Suleyman TURKMEN
fe2a259eb1
Update documentation
2022-01-10 18:34:39 +03:00