Alexander Smorkalov
725e440d27
release: OpenCV 4.7.0
2022-12-28 17:31:52 +03:00
Alexander Panov
121034876d
Merge pull request #22986 from AleksandrPanov:move_contrib_charuco_to_main_objdetect
...
merge with https://github.com/opencv/opencv_contrib/pull/3394
move Charuco API from contrib to main repo:
- add CharucoDetector:
```
CharucoDetector::detectBoard(InputArray image, InputOutputArrayOfArrays markerCorners, InputOutputArray markerIds,
OutputArray charucoCorners, OutputArray charucoIds) const // detect charucoCorners and/or markerCorners
CharucoDetector::detectDiamonds(InputArray image, InputOutputArrayOfArrays _markerCorners,
InputOutputArrayOfArrays _markerIds, OutputArrayOfArrays _diamondCorners,
OutputArray _diamondIds) const
```
- add `matchImagePoints()` for `CharucoBoard`
- remove contrib aruco dependencies from interactive-calibration tool
- move almost all aruco tests to objdetect
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-28 17:28:59 +03:00
Alexander Alekhin
9627ab9462
Merge pull request #23050 from zihaomu:fix_memory
2022-12-28 10:04:25 +00:00
Alexander Alekhin
499035c6ea
Merge pull request #23049 from alalek:issue_23048
2022-12-28 09:54:16 +00:00
zihaomu
71765858dc
fix invalid memory access
2022-12-28 17:16:11 +08:00
Alexander Alekhin
9a2a34f94e
dnn(openvino): remove undefined status
2022-12-28 06:55:00 +00:00
Alexander Alekhin
838c34eee1
Merge pull request #23043 from AlejandroSilvestri:patch-1
2022-12-27 15:33:14 +00:00
AlejandroSilvestri
253429d3f1
Add missing ORB.setFastThreshold(int) method
...
ORB constructor is failing to set the very important protected parameter fastThreshold,
so binding this method is necessary.
2022-12-27 09:39:56 -03:00
Alexander Alekhin
38f7cd7173
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-27 08:58:28 +00:00
Alexander Alekhin
eab7faf536
Merge tag '3.4.19'
2022-12-27 08:41:49 +00:00
Alexander Alekhin
83391ac59d
release: OpenCV 3.4.19
2022-12-27 03:50:12 +00:00
Alexander Alekhin
a8a93a57e7
Merge pull request #23029 from savuor:backport3_fix_fisheye_aspect_ratio
2022-12-27 03:47:01 +00:00
Alexander Alekhin
f637629c5a
Merge pull request #23037 from cudawarped:fix_for_cuda_12
2022-12-27 03:43:59 +00:00
Rostislav Vasilikhin
93aa94e71e
backported changes
...
no lambda
whitespace
fixing build Java tests
2022-12-27 00:54:39 +01:00
Alexander Alekhin
86b46a27cf
Merge pull request #23039 from alalek:cmake_3.5_fix
2022-12-26 20:31:39 +00:00
Alexander Alekhin
1bc3077890
cmake: VERSION_GREATER_EQUAL is not supported in CMake 3.5.1
2022-12-26 17:41:53 +00:00
Alexander Alekhin
fc27a343e9
Merge pull request #22905 from zihaomu:clean_up_conv3d_1d
2022-12-26 17:39:18 +00:00
cudawarped
692d6168b3
cuda: fix CUDA 12.0 build errors
2022-12-26 15:25:29 +02:00
Alexander Alekhin
de9787a6ac
Merge pull request #23036 from asmorkalov:as/blobdetect_range_fix
2022-12-26 12:47:45 +00:00
Alexander Smorkalov
d2bf2be8e6
Merge pull request #23035 from alalek:update_ffmpeg_4.x
...
ffmpeg/4.x: update FFmpeg wrapper 2022.12
2022-12-26 15:04:55 +03:00
Alexander Smorkalov
b7292bc899
Fixed blob detector parameters range.
2022-12-26 15:02:24 +03:00
Alexander Alekhin
dbd4a0e5e6
videoio(ffmpeg): update tests with new Windows wrapper
2022-12-26 02:32:11 +00:00
Alexander Alekhin
b361209d52
ffmpeg/4.x: update FFmpeg wrapper 2022.12
...
- FFmpeg 4.4.3
2022-12-25 18:55:19 +00:00
Alexander Alekhin
4abe6dc48d
Merge pull request #22972 from alalek:update_version_4.7.0-pre
2022-12-25 18:40:27 +00:00
Alexander Alekhin
26f36f2ff9
Merge pull request #22971 from alalek:update_version_3.4.19-pre
2022-12-25 18:39:54 +00:00
Alexander Alekhin
b42c11de82
pre: OpenCV 4.7.0 (version++)
2022-12-25 17:00:22 +00:00
Alexander Alekhin
a494c75bfe
pre: OpenCV 3.4.19 (version++)
2022-12-25 16:59:47 +00:00
Alexander Alekhin
bc8c912c7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-24 13:54:58 +00:00
Alexander Alekhin
5247237bf0
Merge pull request #23028 from zihaomu:update_doc_nanotrack
2022-12-24 11:16:46 +00:00
zihaomu
8e6aae0d7a
Add spaces to make links clickable.
2022-12-24 15:26:42 +08:00
Dmitry Kurtaev
8681686d8f
Merge pull request #22957 from dkurt:new_openvino_api
...
Switch to new OpenVINO API after 2022.1 release
* Pass Layer_Test_Convolution_DLDT.Accuracy/0 test
* Pass test Test_Caffe_layers.Softmax
* Failed 136 tests
* Fix Concat. Failed 120 tests
* Custom nGraph ops. 19 failed tests
* Set and get properties from Core
* Read model from buffer
* Change MaxPooling layer output names. Restore reshape
* Cosmetic changes
* Cosmetic changes
* Override getOutputsInfo
* Fixes for OpenVINO < 2022.1
* Async inference for 2021.4 and less
* Compile model with config
* Fix serialize for 2022.1
* Asynchronous inference with 2022.1
* Handle 1d outputs
* Work with model with dynamic output shape
* Fixes with 1d output for old API
* Control outputs by nGraph function for all OpenVINO versions
* Refer inputs in PrePostProcessor by indices
* Fix cycled dependency between InfEngineNgraphNode and InfEngineNgraphNet.
Add InferRequest callback only for async inference. Do not capture InferRequest object.
* Fix tests thresholds
* Fix HETERO:GPU,CPU plugin issues with unsupported layer
2022-12-23 16:58:41 +00:00
Alexander Smorkalov
9012e6dd9b
Merge pull request #22965 from vrabaud:numpy_fix
...
Remove references to deprecated NumPy type aliases.
2022-12-23 15:34:02 +03:00
Alexander Alekhin
139bd30247
Merge pull request #22962 from stopmosk:20465-dstchannels-does-not-cover-all-color-codes-1
2022-12-23 11:41:31 +00:00
Alexander Smorkalov
4930516652
Merge pull request #22898 from fengyuentau:slice_neg_steps
...
dnn: support ONNX Slice with negative steps by adding and using cv::flipND
2022-12-23 14:15:06 +03:00
Vincent Rabaud
ad568edd7f
Remove references to deprecated NumPy type aliases.
...
This change replaces references to a number of deprecated NumPy
type aliases (np.bool, np.int, np.float, np.complex, np.object,
np.str) with their recommended replacement (bool, int, float,
complex, object, str).
Those types were deprecated in 1.20 and are removed in 1.24,
cf https://github.com/numpy/numpy/pull/22607 .
2022-12-23 13:53:49 +03:00
Maxim Milashchenko
62b3a20da5
Merge pull request #22930 from MaximMilashchenko:gstreamer_support
...
Support one-time audio video reading
* stream switching functionality
* audio+video pipeline with switch stream functionality
* audio video sync
* fixed sync
* removed switch swtream functionality
* changed test for gstreamer audio
* fixed error
* fixed error
* fixed issue
* fixed issue
* fixed error
* fixed error
* fixed error
2022-12-23 10:15:22 +00:00
Alexander Alekhin
1f41d06f9a
Merge pull request #23008 from mshabunin:fix-yolov4-tiny-hash
2022-12-23 10:14:25 +00:00
Sergei Shutov
1339c7f30c
Define the number of dstChannels for Lab, Luv, YCrCb and XYZ conversions
2022-12-23 12:04:30 +02:00
Alexander Smorkalov
734fb18c4d
Merge pull request #23017 from asmorkalov:as/qrcode_valgrind
...
Valgrind issues fix in QRCode detector.
2022-12-23 12:10:29 +03:00
zihaomu
71c6339af0
remove old convolution branch, and optimize conv3d and conv1d.
2022-12-23 16:50:28 +08:00
fengyuentau
34a0897f90
add cv::flipND; support onnx slice with negative steps via cv::flipND
2022-12-23 16:39:53 +08:00
Alexander Smorkalov
a32100d9ba
Valgrind issues fix in QRCode detector.
2022-12-23 10:50:31 +03:00
Alexander Alekhin
b5400902a7
Merge pull request #23002 from alalek:issue_22206
...
* obj-c: de-duplicate values of nested enums
- prefix with outer class name
* obj-c: handle enum names change in assigned values
* obj-c: switch on 'const_fix'
* obj-c: add NS_SWIFT_NAME
2022-12-22 14:01:21 +00:00
Maksim Shabunin
d35fbe6bfc
dnn: updated YOLOv4-tiny model and tests
2022-12-22 15:49:21 +03:00
Alexander Smorkalov
645930387c
Merge pull request #23012 from cudawarped/fix_win32_cuda_warning
...
Fix nvcc compile errors when built against CUDA SDK < 11.2
2022-12-22 14:05:35 +03:00
Alexander Smorkalov
44dfe62af0
Merge pull request #22914 from tozanski:tomoz/ransac-bugfix
...
Bugfix for solvePnPRansac with SOLVEPNP_ITERATIVE
2022-12-22 11:58:14 +03:00
Alexander Alekhin
4acb267cf4
Merge pull request #23014 from alalek:ffmpeg_default_threads
2022-12-22 07:57:24 +00:00
Alexander Alekhin
8676d19dc3
videoio(ffmpeg): limit number of default threads
2022-12-22 04:45:29 +00:00
Alexander Alekhin
6b4f3e5fab
Merge pull request #22993 from alalek:fixup_21738
2022-12-21 19:50:51 +00:00
Alexander Alekhin
dafc4e456d
Merge pull request #23004 from erasta:patch-2
2022-12-21 19:49:38 +00:00
Alexander Alekhin
2a884cc179
Merge pull request #23013 from vrabaud:mertens_fix
2022-12-21 19:45:58 +00:00
Vincent Rabaud
b774753922
Fix self converTo.
...
We still need images[i] = img because it is used below in buildPyramid.
2022-12-21 18:28:26 +01:00
cudawarped
5e03305da5
build: only disable win32 cuda warnings on CUDA SDK >= 11.2
2022-12-21 17:09:41 +02:00
Alexander Smorkalov
3ff1ec99ac
Merge pull request #23009 from asmorkalov:as/aruco_js_update2
...
Update Javascript bindings for Aruco after migration
2022-12-21 17:43:09 +03:00
Marco Feuerstein
bc8d494617
Merge pull request #22959 from feuerste:parallel_mertens
...
Parallelize implementation of HDR MergeMertens.
* Parallelize MergeMertens.
* Added performance tests for HDR.
* Ran clang-format.
* Optimizations.
* Fix data path for Windows.
* Remove compiiation warning on Windows.
* Remove clang-format for existing file.
* Addressing reviewer comments.
* Ensure correct summation order.
* Add test for determinism.
* Move result pyramid into sync struct.
* Reuse sync for first loop as well.
* Use OpenCV's threading primitives.
* Remove cout.
2022-12-21 14:10:59 +00:00
Alexander Alekhin
35e771daab
Merge pull request #22999 from mshabunin:ffmpeg-valgrind-supp
2022-12-21 14:08:35 +00:00
Alexander Smorkalov
1ab259df9a
Merge pull request #23005 from alalek:objdetect_cleanup_aruco_ptr_filestorage
...
aruco(cleanup): don't use Ptr<FileStorage>
2022-12-21 16:45:14 +03:00
augustinmanecy
0bd54a60e9
Merge pull request #20367 from augustinmanecy:features2d-rw
...
**Merge with contrib**: https://github.com/opencv/opencv_contrib/pull/3003
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
- [x] The PR is proposed to proper branch
- [ ] There is reference to original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2022-12-21 16:03:00 +03:00
Alexander Smorkalov
63b6b24cd0
Merge pull request #22967 from stopmosk:usac-maxiters-bugfix
...
Fix maxIter parameter in usac findEssentialMat
2022-12-21 15:58:44 +03:00
Maksim Shabunin
8e49560709
valgrind: suppressed FFV1 16 bit issue in avcodec-57
2022-12-21 15:49:03 +03:00
Alexander Smorkalov
b8f57c9a96
Update Javascript bindings for Aruco after migration
2022-12-21 15:46:04 +03:00
Alexander Alekhin
c6a15e1835
aruco(cleanup): don't use Ptr<FileStorage>
2022-12-21 10:52:43 +00:00
Eran Geva
05f4416ba0
SourceForge folder update
...
The folder `http://sourceforge.net/projects/opencvlibrary/files/opencv-win/ ` is stale and wasn't updated since 2018. The parent folder `http://sourceforge.net/projects/opencvlibrary/files/ ` has fresh windows install exe files.
2022-12-21 12:26:07 +02:00
Alexander Smorkalov
91ac790249
Merge pull request #23001 from alalek:videoio_init_vars
...
videoio(v4l): initialize variables
2022-12-21 09:56:55 +03:00
Sergei Shutov
3cfe737581
Fix hardcoded maxIters
2022-12-21 09:51:59 +03:00
Yuantao Feng
a2b3acfc6e
dnn: add the CANN backend ( #22634 )
...
* cann backend impl v1
* cann backend impl v2: use opencv parsers to build models for cann
* adjust fc according to the new transA and transB
* put cann net in cann backend node and reuse forwardLayer
* use fork() to create a child process and compile cann model
* remove legacy code
* remove debug code
* fall bcak to CPU backend if there is one layer not supoorted by CANN backend
* fix netInput forward
2022-12-21 09:04:41 +03:00
Alexander Alekhin
f4b23de9dd
videoio(v4l): initialize variables
2022-12-21 03:28:09 +00:00
Alexander Alekhin
a08c98cdfb
Merge pull request #22995 from alalek:dnn_fix_opencl_matmul
2022-12-20 14:52:35 +00:00
Alexander Smorkalov
279e2be56b
Merge pull request #22963 from cudawarped:replace_texture_ref_with_texture_obj
...
Replace all instances of CUDA texture references with texture objects
2022-12-20 15:07:10 +03:00
Alexander Alekhin
cdbb893b27
dnn: disable OpenCL code path in MatMul processing
...
- this mode is not supported by 22828
2022-12-20 09:46:48 +00:00
Alexander Alekhin
41d172f22d
Merge pull request #22994 from alalek:gapi_build_issues
2022-12-20 09:42:16 +00:00
Alexander Alekhin
3f7ec99166
build: eliminate build warnings on Ubuntu 20.04/16.04
2022-12-20 06:46:30 +00:00
Alexander Alekhin
1102b7eff8
dnn: fix gather layer implementation
...
- support FP16 data
2022-12-20 06:09:34 +00:00
Alexander Alekhin
da43778c1f
Merge pull request #22981 from alalek:core_freeze_cache_dir_prefix_4.x
2022-12-19 17:29:57 +00:00
cudawarped
9aa5ab7557
cv::cuda: Replace all instances of texture references/objects with texture objects using the existing updated cv::cudev::Texture class.
...
Fixes bugs in cv::cuda::demosaicing, cv::cuda::resize and cv::cuda::HoughSegmentDetector.
2022-12-19 19:28:15 +02:00
Alexander Alekhin
d44c58a1fb
Merge pull request #22988 from vrabaud:mm_pause_fix
2022-12-19 17:06:50 +00:00
Vincent Rabaud
7463e9b8bb
Even faster CV_PAUSE on SkyLake and above.
...
No need to loop as RDTSC is 3/4 times faster than _mm_pause.
2022-12-19 14:15:34 +01:00
Alexander Smorkalov
9f201a8ebe
Merge pull request #22979 from alalek:fix_videio_test_limit_threads
...
videoio(test): reduce number of test threads
2022-12-19 10:01:43 +03:00
Alexander Alekhin
91998d6424
Merge pull request #22935 from alalek:gapi_error
...
G-API: replace GAPI_Assert() with 'false' and '0' to GAPI_Error()
* gapi: GAPI_Error() macro
* gapi: replace GAPI_Assert() with 'false' and '0' to GAPI_Error()
* build: eliminate 'unreachable code' after CV_Error() (MSVC 2015)
* build: eliminate 'unreachable code' warning for MSVS 2015/2017
- observed in constructors stubs with throwing exception
2022-12-19 06:05:15 +00:00
Alexander Alekhin
420db56ffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-18 02:17:17 +00:00
Alexander Alekhin
07ed5e5346
Merge pull request #22980 from alalek:samples_python_3.11
2022-12-18 02:07:46 +00:00
Alexander Alekhin
4824ce300f
core: freeze cache directory prefix - "4.x"
2022-12-18 00:24:52 +00:00
Alexander Alekhin
5855eba9f3
samples: query for Python 3.11 setup
2022-12-18 00:14:41 +00:00
Alexander Alekhin
cdaf4c7321
videoio(test): reduce number of test threads
2022-12-18 00:02:07 +00:00
Alexander Alekhin
eace6adb6d
Merge pull request #22934 from alalek:fix_filestorage_binding
2022-12-17 03:28:13 +00:00
Alexander Smorkalov
6db9fcbc30
Merge pull request #22880 from cudawarped:remember_cudacodec_lib_locations
...
Prevent cudacodec libs locations being reset when cmake is re-run
2022-12-16 12:30:03 +03:00
Alexander Panov
b4b35cff15
Merge pull request #22368 from AleksandrPanov:move_contrib_aruco_to_main_objdetect
...
Megre together with https://github.com/opencv/opencv_contrib/pull/3325
1. Move aruco_detector, aruco_board, aruco_dictionary, aruco_utils to objdetect
1.1 add virtual Board::draw(), virtual ~Board()
1.2 move `testCharucoCornersCollinear` to Board classes (and rename to `checkCharucoCornersCollinear`)
1.3 add wrappers to keep the old api working
3. Reduce inludes
4. Fix java tests (add objdetect import)
5. Refactoring
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
```
**WIP**
force_builders=linux,win64,docs,Linux x64 Debug,Custom
Xbuild_contrib:Docs=OFF
build_image:Custom=ubuntu:22.04
build_worker:Custom=linux-1
```
2022-12-16 12:28:47 +03:00
hzc
47fb79bd8c
Merge pull request #22936 from hzcyf:orbbec_new_cam_support
...
videoio: add Orbbec Gemini 2 and Astra 2 camera support
### Test Result
| OS | Compiler | Camera | Result |
|-----|-----------|---------|--------|
|Windows11| (VS2022)MSVC17.3|Orbbec Gemini 2|Pass|
|Windows11| (VS2022)MSVC17.3|Orbbec Astra 2|Pass|
|Ubuntu22.04|GCC9.2|Orbbec Gemini 2|Pass|
|Ubuntu22.04|GCC9.2|Orbbec Astra 2|Pass|
### Pull Request Readiness Checklist
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-16 12:23:12 +03:00
Alexander Smorkalov
6b50410336
Merge pull request #22966 from vrabaud:mm_pause_fix
...
Fix slower CV_PAUSE on SkyLake and above.
2022-12-16 12:19:24 +03:00
Alexander Alekhin
6e3700593f
compatibility: keep Ptr<FileStorage> stubs till OpenCV 5.0
2022-12-16 00:47:44 +00:00
Alexander Alekhin
6a8c5a1d27
python: resolve Ptr<FileStorage> requirement issue
2022-12-16 00:47:44 +00:00
Parthiban Marimuthu
50da209dc4
Merge pull request #22907 from partheee:patch-1
...
* Update windows_install.markdown
Fixing Issue - #22053 Inaccuracy in the tutorial for installation for Windows
* Update windows_install.markdown #22907
Changed all changes mentioned in the comments
* Update windows_install.markdown #22907
* fix whitespace, update configurations order (64-bit goes first)
- x86 is optional and not available by default in packages
2022-12-15 21:52:08 +00:00
Vincent Rabaud
b7b08fa0c3
Fix slower CV_PAUSE on SkyLake and above.
...
This is fixing https://github.com/opencv/opencv/issues/22852
2022-12-15 14:18:57 +01:00
cudawarped
b1288dad40
Enable cudacodec libs by default, prevent their locations being lost when cmake is re-run and add log info when the libs/headers cannot be found.
2022-12-15 15:01:31 +02:00
Alexander Smorkalov
ac6fb17784
Merge pull request #22828 from WanliZhong:improve_matmul
...
DNN: make MatMul support 3D or 4D with broadcast
2022-12-15 13:36:22 +03:00
Alexander Smorkalov
3f22f4727c
Merge pull request #22919 from asmorkalov:as/gstreamer_read_timeout
...
Address https://github.com/opencv/opencv/issues/22868
Used the same defaults as it's done for FFmpeg
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
```
force_builders=Custom
build_image:Custom=gstreamer:16.04
buildworker:Custom=linux-1
```
2022-12-15 12:53:22 +03:00
Alexander Smorkalov
0153e796cc
Merge pull request #22891 from AleksandrPanov:qr_add_alignment
...
Use QR code alignment markers
2022-12-15 09:39:58 +03:00
zoom
4891818114
make MatMul support 3D or 4D with broadcast
2022-12-15 10:36:08 +08:00
Alexander Alekhin
db4a557187
Merge pull request #22951 from zihaomu:update_nanotrack_comment
2022-12-14 21:21:49 +00:00
Alexander Alekhin
04c3a534af
Merge pull request #22958 from asmorkalov:as/ffmpeg_missing_include
2022-12-14 21:16:07 +00:00
AleksandrPanov
a32143003d
add alignment detect
2022-12-14 23:56:57 +03:00
Sergei Shutov
8bd17163c7
Merge pull request #22939 from stopmosk:21826-python-bindings-for-videocapturewaitany
...
Add Python bindings for VideoCapture::waitAny #21826
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2022-12-14 22:15:02 +03:00
Alexander Smorkalov
81aaca8c04
Merge pull request #22675 from CSBVision:patch-2
...
Update OpenCVDetectCUDA.cmake
2022-12-14 15:41:34 +03:00
Alexander Smorkalov
189e1b228d
Fix missing FFmpeg include needed for av_get_pix_fmt_name
2022-12-14 13:09:37 +03:00
Alexander Smorkalov
52709c7771
Merge pull request #22954 from VadimLevin:dev/vlevin/fix-merge-artifacts-in-python-misc-tests
...
fix: remove function duplicates in test_misc.py
2022-12-14 09:42:43 +03:00
zihaomu
7dbb125a34
add nanotrack v2 at regression test.
2022-12-14 14:41:49 +08:00
Alexander Smorkalov
aff375808d
Merge pull request #22955 from VadimLevin:dev/vlevin/handle-properties-with-keyword-names
...
fix: add _ suffix to properties having reserved keyword names
2022-12-14 09:35:07 +03:00
Vadim Levin
3f5f09e730
fix: add _ suffix to properties having reserved keyword names
2022-12-13 20:56:39 +03:00
CSBVision
332ff4bf1c
Update OpenCVDetectCUDA.cmake
...
Adds the option to enable delay loading of CUDA DLLs on Windows. This is particularly useful to use the same binary on systems with and without CUDA support without distributing the CUDA DLLs to systems that cannot use them at all due to missing CUDA-supported hardware.
Resolves #13509
2022-12-13 17:40:53 +01:00
Vadim Levin
253a4c113e
fix: remove function duplicates in test_misc.py
2022-12-13 19:14:52 +03:00
Alexander Smorkalov
1788c93aea
Merge pull request #22924 from alalek:logger_strip_base_dir
...
core(logger): strip opencv's modules base path
2022-12-13 15:28:10 +03:00
Alexander Smorkalov
c2ecbc76ce
Merge pull request #22946 from VadimLevin:dev/vlevin/avfoundation-stable-multicamera-index
...
fix: AVFoundation inconsistent camera indices
2022-12-13 10:34:42 +03:00
Alexander Alekhin
4203c903f8
Merge pull request #22928 from alalek:riscv_toolchains
2022-12-13 06:32:16 +00:00
Vadim Levin
727feda935
fix: AVFoundation inconsistent camera indices
2022-12-12 17:15:46 +03:00
Alexander Alekhin
39087fecdc
Merge pull request #22942 from alalek:videoio_test_update_hw_checks
...
* videoio(test): update PSNR check for H264/265
* videoio(test): reduce size for ffmpeg tests on 32-bit platforms
2022-12-12 12:38:14 +00:00
Alexander Alekhin
c725771e11
build(riscv): suppress massive -Wignored-attributes warnings
2022-12-11 17:10:00 +00:00
Alexander Alekhin
103212f209
Merge pull request #22940 from alalek:build_warnings_msvc
2022-12-10 14:42:13 +00:00
Alexander Alekhin
be326ff752
build: fix/eliminate MSVC warnings
2022-12-10 12:19:31 +00:00
Alexander Alekhin
ebaee3ea21
Merge pull request #22937 from asmorkalov:as/issue_22893
2022-12-09 17:11:51 +00:00
Alexander Smorkalov
423bc515e5
Integer underflow fix for morphologyEx in Carotene (arm).
2022-12-09 18:08:22 +03:00
Alexander Alekhin
941d89e06d
cmake: fix RISC-V toolchains
...
- RVV options are moved to configuration scripts instead of toolchains
2022-12-09 12:02:28 +00:00
Alexander Alekhin
281b790618
Merge pull request #22922 from alalek:fix_riscv_intrin_rvv
2022-12-08 22:07:46 +00:00
Alexander Alekhin
f5d7c5f103
Merge pull request #22932 from alalek:cmake_drop_libjpeg_simd_warning
2022-12-08 22:07:30 +00:00
Alexander Alekhin
93c4bca04d
Merge pull request #22933 from alalek:fixup_22894
2022-12-08 22:07:04 +00:00
Alexander Alekhin
726f0adde3
cmake(3rdparty): drop simd warning in libjpeg-turbo
2022-12-08 17:22:51 +00:00
Alexander Alekhin
24d7eb0ca5
videoio(test): test skip due to non-updated FFmpeg wrapper
2022-12-08 17:18:29 +00:00
Alexander Alekhin
8ba44e7d55
Merge pull request #22882 from zihaomu:gemm_first_const
2022-12-08 14:18:33 +00:00
Alexander Alekhin
49f539cb46
Merge pull request #22894 from mshabunin:ffmpeg-16bit
2022-12-08 14:12:51 +00:00
Zihao Mu
0a650b573b
Merge pull request #22840 from zihaomu:optimze_conv_memory_usage
...
DNN: reduce the memory used in convolution layer
* reduce the memory in winograd and disabel the test when usage memory is larger than 2gb.
* remove VERY_LOG tag
2022-12-08 12:57:13 +00:00
Alexander Alekhin
7e3c53b9d3
core(logger): strip path prefix
2022-12-07 23:58:36 +00:00
Alexander Smorkalov
ab912329b6
Merge pull request #22885 from asmorkalov:as/new_qt_icons
...
Switch QT UI to icons with Google Material Design
2022-12-07 14:25:31 +03:00
Maksim Shabunin
6ad216576d
videoio/FFmpeg: added CV_16UC1 read/write support
2022-12-07 12:12:31 +03:00
Alexander Alekhin
c5a4df30c6
risc-v: fix RVV backend on clang with undefined CV_RVV_SCALABLE
...
- v_interleave_quads
- v_pack_triplets
- v_signmask
2022-12-06 13:49:05 +00:00
Zihao Mu
cb8f1dca3b
Merge pull request #22808 from zihaomu:nanotrack
...
[teset data in opencv_extra](https://github.com/opencv/opencv_extra/pull/1016 )
NanoTrack is an extremely lightweight and fast object-tracking model.
The total size is **1.1 MB**.
And the FPS on M1 chip is **150**, on Raspberry Pi 4 is about **30**. (Float32 CPU only)
With this model, many users can run object tracking on the edge device.
The author of NanoTrack is @HonglinChu.
The original repo is https://github.com/HonglinChu/NanoTrack .
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [ ] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2022-12-06 08:54:32 +03:00
Tomasz Ożański
d1ff87d94d
Bugfix for solvePnPRansac with SOLVEPNP_ITERATIVE
...
The current implementation overwrites the result rotation and translation in every iteration.
If SOLVEPNP_ITERATIVE was run as a refinement it will start from the incorrect initial
transformation thus degrading the final outcome.
2022-12-03 16:46:03 +01:00
Alexander Alekhin
b16f76eede
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-03 12:39:41 +00:00
Christine Poerschke
4792837f2e
Merge pull request #22865 from cpoerschke:3.4-issue-22860
...
ocl_minMaxIdx to call minmaxloc.cl for OpenCL 1.2+ only
2022-12-03 05:29:04 +00:00
Alexander Alekhin
416830fb59
Merge pull request #22888 from alalek:dnn_ov_fix_custom_layers
2022-12-03 05:24:28 +00:00
Alexander Alekhin
07b1bc2e88
Merge pull request #22910 from alalek:cmake_pkg_config_ignore_atomic
2022-12-03 05:22:04 +00:00
Alexander Alekhin
d16b3b2487
dnn(test): restore openvino tests with 'Cannot get memory' message
2022-12-03 01:34:48 +00:00
Alexander Alekhin
74d0b4cc78
dnn(openvino): fix custom layers BlockingDesc
2022-12-03 01:34:10 +00:00
Alexander Alekhin
8832a9dbd5
cmake: ocv_check_modules: ignore -latomic and -lstdc++
2022-12-02 22:49:46 +00:00
Alexander Smorkalov
c55613ccf7
Switch QT UI to icons with Google Material Design.
2022-12-02 11:21:02 +03:00
Alexander Alekhin
6c399aa62a
Merge pull request #22899 from mshabunin:fix-videoio-plugin
2022-12-01 21:39:15 +00:00
Maksim Shabunin
5862b50217
videoio: fixed FFmpeg plugin build
2022-12-01 20:26:08 +03:00
Alexander Smorkalov
5696629b13
Merge pull request #22594 from ZhaoChuyang:pr_test_for_22253
...
add test for PR #22253
2022-12-01 13:47:32 +03:00
Vadim Levin
3a15152be5
refactor: rework test to be more specific
2022-11-30 18:31:03 +03:00
赵楚洋
f1055a7e91
add test
2022-11-30 18:31:03 +03:00
Alexander Smorkalov
d4dc6b509b
Merge pull request #22796 from ClayXrex:patch-1
...
fix: typo in opencv-python tutorials
2022-11-30 14:26:07 +03:00
Alexander Smorkalov
1192779d05
Merge pull request #22792 from tailsu:sd/avfoundation-orientation-meta
...
Add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend
2022-11-30 14:25:09 +03:00
ClayXrex
71a1150c95
fix: typo
2022-11-30 12:52:51 +03:00
Alexander Smorkalov
e14ca39fd7
Merge pull request #22857 from fengyuentau:batched_nms
...
dnn: add batched nms
2022-11-30 12:37:49 +03:00
Alexander Smorkalov
421ba8730a
Merge pull request #22809 from fengyuentau:tile
...
dnn: support ONNX Tile
2022-11-29 14:42:28 +03:00
zihaomu
0d56524b72
gemm support transA and transB, and first input is constance.
2022-11-29 17:13:36 +08:00
fengyuentau
9fded9ca53
batched nms impl
2022-11-29 15:32:34 +08:00
fengyuentau
441624a5fb
tile impl
2022-11-29 11:15:38 +08:00
Alexander Alekhin
25ac77e010
Merge pull request #22873 from WanliZhong:issue22859
2022-11-28 19:10:51 +00:00
Alexander Alekhin
77d887898d
Merge pull request #22875 from asmorkalov:as/cl_error_code_fix
2022-11-28 19:05:59 +00:00
HAN Liutong
a32f2cd24a
Merge pull request #22520 from hanliutong:hsv
...
Modify the SIMD loop in color_hsv.
* Modify the SIMD loops in color_hsv.
* Add FP supporting in bit logic.
* Add temporary compatibility code.
* Use max_nlanes instead of vlanes for array declaration.
* Use "CV_SIMD || CV_SIMD_SCALABLE".
* Revert the modify of the Universal Intrinsic API
* Fix warnings.
* Use v_select instead of bits manipulation.
2022-11-28 18:28:14 +00:00
Alexander Smorkalov
eb68de9268
Merge pull request #22695 from AleksandrPanov:qr_improve_version_detect
...
Improve QR code version estimation
2022-11-28 19:50:02 +03:00
AleksandrPanov
ed3810f7a5
add getNumModules(), add decode version
2022-11-28 17:45:09 +03:00
Alexander Smorkalov
1c3e287d32
More fixes for OpenCL error reporting.
2022-11-28 09:47:51 +03:00
zoom
5044af69d1
let MatMul can work when both two inputs are const
2022-11-27 17:32:41 +08:00
Alexander Alekhin
bc6544c0bc
Merge pull request #22866 from asmorkalov:as/error_formatting
2022-11-25 22:47:20 +00:00
Stefan Dragnev
a462f49b99
add support for CAP_PROP_ORIENTATION_AUTO to AVFoundation backend
...
* extract rotateFrame as free function, rename to applyMetadataRotation
* LegacyCapture::get() always return 0, if cap is null
2022-11-25 17:25:13 +01:00
Alexander Smorkalov
7622fbf895
Fixed OpenGL errors formatting.
2022-11-25 16:46:12 +03:00
Amir Hassan
3f371fe2dd
Merge pull request #22855 from kallaballa:print_cl_status_on_fail
...
Print CL status code on error in opengl interop functions
2022-11-25 09:13:57 +03:00
Alexander Smorkalov
6ca205a029
Merge pull request #22478 from WanliZhong:nary_eltwise_cuda
...
DNN: Let part of the operators in nary_eltwise support CUDA
2022-11-22 16:15:50 +03:00
Dan Mašek
aba2167d9c
Merge pull request #22838 from dan-masek:fix_issue_22837
...
Fix issue 22837: No more blank buttons on toolbar after resizing the window
2022-11-22 13:47:27 +03:00
Alexander Smorkalov
5db4f1f7df
Merge pull request #22830 from alalek:issue_22752
...
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2022-11-22 12:50:02 +03:00
Alexander Alekhin
a0a8d2160d
Merge pull request #22775 from WanliZhong:issue22713
2022-11-21 19:55:48 +00:00
Alexander Alekhin
2a5da50902
Merge pull request #22806 from dan-masek:fix_issue_22767
2022-11-21 19:53:34 +00:00
Alexander Smorkalov
51758b2dd6
Merge pull request #22842 from asmorkalov:as/pr_22737_backport
...
backport #22737 : Cocoa/highgui: Set [NSApp activateIgnoringOtherApps] to spawn window on top
2022-11-21 13:41:44 +03:00
fwcd
90b144cf0a
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-21 12:49:08 +03:00
Alexander Smorkalov
529bd0425e
Merge pull request #22737 from fwcd:activate-cocoa-window-on-top
...
Cocoa/highgui: Set `[NSApp activateIgnoringOtherApps]` to spawn window on top
2022-11-21 12:28:00 +03:00
Alexander Alekhin
6c36cd5d6e
Merge pull request #22839 from zchrissirhcz:fix-typo-3.4
2022-11-21 07:48:04 +00:00
Alexander Alekhin
c102720af4
Merge pull request #22831 from mshabunin:fix-gapi-test-crash
2022-11-21 07:33:55 +00:00
Zhuo Zhang
c63a6c472d
fix typo: Gausssian to Gaussian
2022-11-21 10:44:12 +08:00
Alexander Alekhin
5b3f721efa
Merge pull request #22805 from dan-masek:fix_issue_22766
2022-11-20 22:28:24 +00:00
Dan Mašek
e5bea2bde4
Fix #22766 : Corrected off-by one error causing inconsistent row spacing. (rebased to 3.4)
2022-11-20 21:48:23 +01:00
Dan Mašek
e9d64e0a8c
Fix #22767 : Ensure that the buttons are spaced to the size of the toolbar window, which is always visible. (rebased to 3.x)
2022-11-20 20:53:23 +01:00
Alexander Alekhin
f0df78b7e7
imgcodecs: ensure parameters are key-value pairs, fix HDR encoder
2022-11-20 13:08:46 +00:00
Maksim Shabunin
e93d976d00
gapi: fix InferWithReshape test crash when data is not found
2022-11-19 01:56:45 +03:00
Anatoliy Talamanov
64aad34cb4
Merge pull request #22735 from TolyaTalamanov:at/expose-all-imgproc-to-python
...
G-API Expose all imgproc operations to python
* Expose imgproc operations
* Fix alignment
2022-11-18 15:25:51 +00:00
Alexander Smorkalov
7592d58f0c
Merge pull request #22771 from kallaballa:opencl_hls_and_hsv_conversions_bug
...
define the number of dstChannels for HLS and HSV conversion as well
2022-11-17 13:36:18 +03:00
Alexander Smorkalov
08906ddd4b
Merge pull request #22814 from AleksandrPanov:log_qr_version
...
log QR version and corners
2022-11-17 11:02:11 +03:00
su77ungr
d21761c0fd
Merge pull request #22727 from su77ungr:patch-1
...
Rename file name to correct spelling
2022-11-17 06:54:25 +00:00
Alexander Smorkalov
277ead95d9
Merge pull request #22816 from cudawarped/remove_windows_cuda_dll_warning
...
Suppress CUDA nvcc generated warnings #1394-D and #1388-D on windows
2022-11-17 09:17:18 +03:00
Alexander Alekhin
5d14cc68b7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-11-16 16:54:11 +00:00
Alexander Alekhin
ce80e0dc57
Merge pull request #22559 from smirnov-alexey:as/vpl_ocl
...
G-API: Connect OneVPL source and OpenCL backend
2022-11-16 19:24:48 +03:00
Alexey Smirnov
4c74e6d89d
Copy mpashchenkov's changes
...
Minor refactoring
Partially address review comments
Move DX-related stuff from the sample to a default source
Simplify the default OneVPL config
Address minor review comments
Add class for the default VPL source
WIP: Add initial stub for tests with description
Removing default vpl source and minor refactoring
Refactor default files
Fix build and application crash
Address review comments
Add test on VPL + OCL interaction compared to CPU behavior
Fix test
2022-11-16 14:17:02 +01:00
cudawarped
45d04175d4
Suppress
...
warning #1394-D: field of class type without a DLL interface used in a class with a DLL interface
from windows CUDA builds.
2022-11-16 11:14:17 +02:00
AleksandrPanov
687c9b7b29
log QR version and corners
2022-11-16 10:41:13 +03:00
Alexander Alekhin
d9f66413ee
Merge pull request #22811 from alalek:core_check_bool
2022-11-16 04:06:23 +00:00
Alexander Alekhin
1b1bbe4262
Merge pull request #22801 from alalek:update_zlib
...
* 3rdparty: zlib 1.2.12 => 1.2.13
https://github.com/madler/zlib/releases/tag/v1.2.13
- replace README -> LICENSE in install distribution
* 3rdparty(zlib): re-apply patch 20190330-ununitialized-use-state-check.diff
2022-11-16 04:05:08 +00:00
Alexander Smorkalov
3edf7c25d4
Merge pull request #22804 from dan-masek:fix_issue_22765
...
Fix #22765
2022-11-15 15:02:23 +03:00
Alexander Alekhin
54531f8e3b
core: support CV_Check*() macros with 'bool' parameters
2022-11-15 11:47:16 +00:00
Alexander Smorkalov
b5a68f235a
Merge pull request #22802 from zihaomu:fix_infinit_loop_in_tf_34
...
Fix infinit loop in tf 3.4 branch
2022-11-15 11:45:14 +03:00
zihaomu
5bf64e7dfe
fix the infinite loop in tf importer of 3.4 branch
2022-11-15 11:42:10 +08:00
Dan Mašek
51b897b672
Fix #22765 : Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the window parameters.
2022-11-15 00:44:51 +01:00
Amir Hassan
da4ac6b7ef
Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2
...
Introduce libavdevice to make v4l2 available to the ffmpeg backend
* introduce libavdevice to make v4l2 available to the ffmpeg backend
* downgrade the min required libavdevice version to 53.2.0
* make libavdevice optional
* create OCV_OPTION OPENCV_FFMPEG_ENABLE_LIBAVDEVICE and add definition through ocv_add_external_target
* move OCV_OPTION 'OPENCV_FFMPEG_ENABLE_LIBAVDEVICE' to detect_ffmpeg.cmake
2022-11-11 22:28:02 +00:00
Juha Reunanen
1ba0984203
Merge pull request #22790 from reunanen:add-capability-to-set-DWA-compression-level-in-OpenEXR-encoding
...
OpenEXR encoder: add capability to set the DWA compression level
* OpenEXR encoder: add capability to set the DWA compression level from outside
* Do not try to call `header.dwaCompressionLevel()` if OpenEXR is not version 3 or later
* Minor cleanup
2022-11-11 08:40:53 +00:00
kallaballa
f5e852cdf0
define the number of dstChannels for HLS and HSV conversion as well
2022-11-11 09:23:28 +01:00
zoom
ef2677b0a6
Make MatMul layer support 3d or 4d operation with const input
2022-11-10 11:41:44 +08:00
Anatoliy Talamanov
2aad039b4f
Merge pull request #22494 from TolyaTalamanov:at/expose-all-core-to-python
...
G-API Expose all core operations to python
* Expose all G-API core operations to python
* Fix typo in python gapi types test
2022-11-08 11:43:38 +00:00
Alexander Alekhin
8a90948a1c
Merge pull request #22761 from reunanen:fix-floodFill-for-very-large-images
2022-11-07 20:51:38 +00:00
Juha Reunanen
63bff33e85
Fix floodFill for very large images
2022-11-07 13:42:20 +02:00
Alexander Alekhin
21133a2091
Merge pull request #22744 from WanliZhong:fix_gitcode_mirror
2022-11-03 16:14:28 +00:00
zoom
39f995e319
Fix the problem that "ADE" downloaded from GitCode doesn't work.
2022-11-03 16:54:08 +08:00
Alexander Alekhin
91624e87ab
Merge pull request #22739 from zihaomu:remove_never_used_code
2022-11-03 04:41:56 +00:00
zoom
11d492b0b9
Let part of the operators in nary_eltwise support cuda
2022-11-02 14:08:21 +08:00
Zihao Mu
17f2b56291
remove never used code in onnximporter
2022-11-02 10:45:16 +08:00
fwcd
d1d8ac57f3
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-01 18:24:10 +01:00
Alexander Alekhin
b418eb112c
Merge pull request #22717 from alalek:issue_22716
2022-10-31 17:03:43 +00:00
Alexander Alekhin
ee9137f176
Merge pull request #22725 from zihaomu:fix_infinit_loop_in_tf
2022-10-31 17:03:03 +00:00
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
Alexander Alekhin
bbbf1168dc
Merge pull request #22726 from JopKnoppers:master
2022-10-31 15:52:29 +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
1293e99ad8
Merge pull request #22712 from dmatveev:dm/fix_va_headers
2022-10-28 20:47:53 +00:00
Alexander Alekhin
028d4d83d3
imgproc: sigma2=sigma1 in top-level function of GaussianBlur
2022-10-28 17:04:53 +00:00
cudawarped
be670e168a
Merge pull request #22615 from cudawarped:nvcuvenc
...
Update CMake rules to include Nvidia Video Codec SDK encoding libs
2022-10-28 11:03:51 +03: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
Alexander Smorkalov
acd8d3a617
Merge pull request #22692 from asmorkalov:as/arm_debug_4x
...
4.x: Added ARM64 debug configuration to CI.
2022-10-26 12:00:51 +03:00
Alexander Smorkalov
0c92305a4b
Merge pull request #22690 from alalek:android_config_ndk25
...
android: add configuration for NDK 25 and Android API 32 (12L)
2022-10-25 14:40:17 +03:00
Alexander Smorkalov
1ecfff0fa0
Merge pull request #22689 from asmorkalov:as/ubuntu14_tk1_ffmpeg
...
libav for jetson tk1 does not provide libavutil/display.h
2022-10-25 13:47:02 +03:00
Alexander Smorkalov
d933034ad4
Added ARM64 debug configuration to CI.
2022-10-25 13:41:10 +03:00
Alexander Smorkalov
a6fadfe1c2
libav for jetson tk1 does not provide libavutil/display.h.
2022-10-25 10:21:20 +03:00
Alexander Alekhin
aae317c017
android: add configuration for NDK 25 and Android API 32 (12L)
2022-10-24 22:24:04 +00:00
Alexander Smorkalov
37683aca56
Merge pull request #22687 from asmorkalov:as/yolo7_test
...
Do not fail tests in Yolo v7 model was not found
2022-10-24 19:09:29 +03:00
Alexander Smorkalov
22f8fb4d5c
Do not fail tests in Yolo v7 model was not found.
2022-10-24 17:59:18 +03:00
Alexander Smorkalov
7d1589d407
Merge pull request #22684 from alalek:android_update
...
android: update build scripts
2022-10-24 13:47:03 +03:00
Alexander Smorkalov
b35018d955
Merge pull request #22683 from alalek:android_activity_export
...
android: add android:exported="true"
2022-10-24 10:48:41 +03:00
Alexander Alekhin
c29a3aa0a0
android: update build scripts
2022-10-23 16:35:17 +00:00
Alexander Alekhin
eae5fd81e5
android: add android:exported="true"
2022-10-23 12:11:10 +00: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
Ramiro Silveyra d'Avila
8e5f37f87c
Merge pull request #22672 from ramasilveyra:docs/remove-dup-v4
...
* docs: remove duplicated step in Build .js doc
* docs: add missing emcmake prefix to command
2022-10-21 14:04:35 +00: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 Alekhin
e309a06b47
Merge pull request #22661 from catree:fix_AKAZE_bib_pages
2022-10-19 15:48:38 +00:00
Alexander Alekhin
86dad3aebe
Merge pull request #22662 from catree:fix_chessboard_img
2022-10-19 12:57:16 +00:00
catree
5a9fe9dedb
Replace the chessboard.png image with the pattern.png image since the chessboard.png image does not have proper squares which is not good for camera calibration accuracy.
2022-10-19 14:11:01 +02:00
catree
c7d24c0fb3
Fix AKAZE bib reference using dblp.org and bmva.org sources.
2022-10-19 13:55:33 +02: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
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
Alexander Smorkalov
2c81cb2f76
Merge pull request #22654 from asenyaev:asen/cuda_trigger_4.x
...
Trigger on "category: dnn (onnx)" label
2022-10-18 11:14:23 +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
Andrey Senyaev
871bc98933
Trigger on dnn (onnx) label
2022-10-18 08:55:10 +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
c0c3f4cbac
Merge pull request #22643 from sturkmen72:cosmetic
...
cosmetic changes
2022-10-17 14:57:12 +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
Suleyman TURKMEN
292f62c5cc
cosmetic changes
2022-10-16 04:05:20 +03: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
Alexander Smorkalov
82ac7ea236
Merge pull request #22629 from asenyaev:asen/cuda_pipeline
...
Workflow Ubuntu 20.04 x64 with CUDA support (4.x)
2022-10-13 12:18:05 +03: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
c0ecf08ca0
cmake: use upstream PCH support if possible
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
Andrey Senyaev
cfafd0493c
Workflow Ubuntu 20.04 x64 with CUDA support (4.x)
2022-10-12 14:41:19 +03: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
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
Alexander Smorkalov
5389d9e0d4
Merge pull request #22596 from TolyaTalamanov:at/add-num-iter
...
[G-API] Pipeline modeling tool: Support num_iters criteria
2022-10-07 09:09:19 +03:00
Rostislav Vasilikhin
07c795408d
doc fix
2022-10-07 01:40:50 +02: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
Alexander Alekhin
bbcc1752b1
Merge pull request #22600 from alalek:cmake_opt_force_targets
2022-10-06 05:05:40 +00:00
Christine Poerschke
40ae06091d
add cvGetPropVisible_COCOA
2022-10-05 21:51:26 +01:00
Alexander Alekhin
d480e2e51b
cmake(opt): force separate targets for dispatched code
...
- PCH may not pass compilation flags properly
2022-10-05 21:54:46 +03: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
b77330bafc
Merge pull request #22501 from cabelo:oak-devices-docs
...
OAK Information
2022-10-04 17:09:03 +03:00
Alexander Smorkalov
4a4b2a0ce6
Merge pull request #22539 from catree:feat_homography_tutorial_gif
...
Add a gif to the homography exercise
2022-10-04 15:59:40 +03:00
Alexander Smorkalov
0ae126d3b8
Typos and formating fixes.
2022-10-04 15:52:38 +03:00
Alessandro de Oliveira Faria (A.K.A. CABELO)
af9332dfaf
OAK Information
2022-10-04 15:42:31 +03: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
catree
ab5279f4ad
Add an image to illustrate camera poses interpolation for the small homography exercise.
2022-10-04 13:36:58 +02: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
Alexander Smorkalov
572d4f4491
Merge pull request #22584 from vrabaud:msan
...
Move marking memory as initialized earlier.
2022-10-03 15:48:38 +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
Alexander Smorkalov
468431cd8f
Merge pull request #22542 from TolyaTalamanov:at/expand-performance-report-with-metrics
...
[G-API] Pipeline modeling tool - expand performance report
2022-10-03 13:14:17 +03: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
Alexander Smorkalov
7fc6146973
Merge pull request #22560 from fengyuentau:enable_issue_template_chooser_with_templates
...
Enable issue template chooser
2022-10-03 10:01:39 +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
fengyuentau
692c536ac5
enable issue template chooser with templates for bug report, feature
...
request and documentation
2022-10-01 21:51:48 +08: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
Alexander Smorkalov
0c0083ba72
Merge pull request #22589 from ocpalo:imagecollection_warnings
...
fix warnings in ImageCollection
2022-09-30 10:10:14 +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
935acc500f
Merge pull request #22566 from asmorkalov:as/libjpeg_turbo_linkage_warning
...
Fix multiple sdtlib linkage warning on Windows with MSVS.
2022-09-28 20:04:24 +03: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
Alexander Smorkalov
64649a1207
Fix multiple sdtlib linkage warning on Windows with MSVS.
...
Use global OpenCV settings for MS Visual Studio run-time libraries to prevent colision.
2022-09-27 14:13:30 +03:00
Alexander Smorkalov
4dfbbabf8b
Merge pull request #22572 from catree:feat_improve_doc_calib3d
...
[3.4] Add information about the disparity-to-depth mapping matrix
2022-09-27 10:19:17 +03:00
Alexander Smorkalov
72f1ce6550
Merge pull request #22570 from alalek:fix_riscv_opt_path
...
riscv: use /opt/riscv path in toolchain
2022-09-27 09:44:43 +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
0c238c9e72
Merge pull request #22568 from asmorkalov:as/webp_warning
...
Report that animated webp is not supported for now
2022-09-26 14:16:18 +03:00
Alexander Smorkalov
3d9f27b877
Report that animated webp is not supported for now.
2022-09-26 13:53:49 +03:00
Alexander Alekhin
50e66a2e53
riscv: use /opt/riscv path in toolchain
...
- align with defaults from https://github.com/riscv-collab/riscv-gnu-toolchain
2022-09-26 10:50:01 +00:00
Alexander Smorkalov
a682f02f59
Merge pull request #22558 from hanliutong:signmask
...
Fix v_signmask for RISC-V Vector
2022-09-25 13:15: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
71ae1cac5f
Merge pull request #22547 from dkurt:riscv_toolchain
...
Detect RISC-V compiler from PATH environment variable
2022-09-21 16:08:10 +03:00
Dmitry Kurtaev
e0b21dccf1
Detect RISC-V compiler from PATH environment variable
2022-09-21 11:40:54 +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
Alexander Smorkalov
604192337f
Merge pull request #22535 from sashashura:patch-2
...
GitHub Workflows security hardening
2022-09-20 14:56:46 +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
Alex
7d96ef2671
build: harden arm64-build-checks.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-09-19 21:01:34 +02:00
Alex
2882725927
build: harden lint_python.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com >
2022-09-19 21:01:06 +02: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
0f1cb5ad7c
Merge pull request #22444 from catree:feat_calibrate_camera_exe_initial_guess_4.x
...
Add flag to pass initial guess for camera intrinsics into the calibration exe
2022-09-19 16:25:10 +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
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
fb85a83108
Merge pull request #22523 from fengyuentau:update_mirrors_220916
...
Update mirrors 220916
2022-09-16 16:24:26 +03:00
Alexander Smorkalov
41ef2bfb16
Merge pull request #21945 from driftee:fix-3rdparty_carotene_blur
...
fix a 3rd party blur3x3 function(the 7th value in tcurr should be set to the 5th value in old tcurr, which will be be overwritten by the 3rd value in old tcurr)
2022-09-16 16:23:09 +03: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
fengyuentau
65998d8076
fix a bug when download from github instead but the subdir is changed to a wrong one
2022-09-16 16:04:20 +08:00
fengyuentau
45a7b71cac
bump ADE to 0.1.2a
2022-09-16 16:02:56 +08: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
Alexander Smorkalov
819e5b19b3
Merge pull request #22521 from asmorkalov/as:cuddn_version_non_cache
...
Do not store full CuDNN version in cache to exclude inconsistency duкing reconfiguration
2022-09-16 07:42:06 +03: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
7faeb82585
Merge pull request #22503 from danopdev:android-video-writter
...
Add H264 / H265 writter support for Android
2022-09-15 18:47:14 +03:00
Alexander Smorkalov
48e50a7674
Extended video timestamp test to cover fix for the issue #22141 .
2022-09-15 18:03:23 +03:00
Alexander Smorkalov
dc9d775f88
Do not store full CuDNN version in cache to exclude inconsistency during reconfiguration.
2022-09-15 16:15:52 +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
Alexander Smorkalov
adb5971494
Merge pull request #22516 from ocpalo:patch-1
...
3rdparty: Update readme.txt for libjpeg-turbo simd
2022-09-14 20:38:57 +03:00
Alexander Smorkalov
377fdf5ae5
Merge pull request #22504 from hflemmen:fix-broken-link
...
Removes a broken link
2022-09-14 20:01:04 +03:00
Alexander Smorkalov
e1272d73fe
Merge pull request #22227 from danopdev:issue-22198
...
Fix issues: #22214 and #22198
2022-09-14 19:59:08 +03:00
ocpalo
e3e61078a5
3rdparty: Update readme.txt for libjpeg-turbo simd
2022-09-14 19:20:41 +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
0f6b01a531
Merge pull request #22508 from sunshinemyson:TIMVX
...
Disable default path while search libtim-vx.so with TIMVX_INSTALL_DIR
2022-09-14 09:16:25 +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
ocpalo
04849f26b2
libjpegturbo simd extension update cmake flag
2022-09-13 22:12:52 +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
xiang.zhang
1be40554af
Disable default path while search libtim-vx.so with TIMVX_INSTALL_DIR
...
Signed-off-by: xiang.zhang <xiang.zhang@verisilicon.com >
2022-09-13 11:11:49 +08: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
Alexander Alekhin
2eff70fbf4
ffmpeg/4.x: update FFmpeg wrapper 2022.09
...
- FFmpeg 4.4.2
- added AV1 support hrough aom 3.4.0: https://aomedia.googlesource.com/aom/+/refs/tags/v3.4.0
- use Ubuntu 18.04 => 20.04 as build image
2022-09-12 11:30:31 +00:00
Alexander Smorkalov
d885242b61
Merge pull request #22482 from Glutamat42:tutorial_generalized_hough_transform
...
Tutorial for Generalized Hough Ballard and Guil Transform
2022-09-12 10:45:18 +03: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
Alexander Smorkalov
7a5122121b
Merge pull request #22497 from ocpalo:patch-1
...
Update 3rdparty readme.txt for spng
2022-09-12 08:50:48 +03:00
ocpalo
7fc14504b1
Update 3rdparty readme.txt for spng
2022-09-11 23:45:40 +03:00
Christine Poerschke
cb1a1e9a51
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-11 16:40:27 +01:00
Markus Heck
619e038de9
move tutorial to imgproc and example to ImgTrans
2022-09-10 17:42:20 +02: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
Markus Heck
5408949951
fix typo and simplify example (grayscale template)
2022-09-09 15:27:11 +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
Markus Heck
e2a9cff3dc
Include code snippets with doxygen notation and small fix in table_of_content_objdetect.markdown
2022-09-08 13:03:33 +02:00
Markus Heck
c3b83b8354
Tutorial for Generalized Hough Ballard and Guil Transform
2022-09-08 03:40:52 +02:00
Alexander Smorkalov
e24382691f
Merge pull request #21934 from Yulv-git:3.4-typos2
...
Fix some typos in platforms/, samples/.
2022-09-07 17:16:23 +03:00
Yulv-git
9074b3e980
Fix some typos in platforms/, samples/, 3rdparty/.
2022-09-07 16:09:23 +03:00
Alexander Smorkalov
65d66a05dd
Merge pull request #22480 from gr8jam/fix/pattern_tools:undesiarabe_behaviour_on_windows
...
Save output file to local directory instead of desktop (for windows)
2022-09-07 10:56:36 +03:00
Matej Jeglic
7de7891c4d
Removed intialization of _default_directory
2022-09-07 08:25:31 +02:00
Matej Jeglic
4bec43cf79
Pythonify the 'interpret_fileName function'
2022-09-06 21:08:37 +02:00
Matej Jeglic
6cc0107693
Save output file to local directory instead of desktop (for windows)
2022-09-06 20:53:52 +02: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
Alexander Smorkalov
5fa624f35e
Merge pull request #22475 from cabelo:yolov4_models
...
ADD weights yolov4 in models.yml
2022-09-06 11:29:28 +03:00
TolyaTalamanov
7955469f7c
Fix problem with handleNewStream functionality
2022-09-06 08:52:35 +01:00
Alexander Alekhin
ce62fc8371
Merge pull request #22474 from alalek:fix_msvs_warning_ffmpeg_test
2022-09-05 23:16:48 +00:00
alessandro faria
2e40b7f113
ADD weights yolov4 in models.yml
2022-09-05 18:22:01 -03:00
Alexander Alekhin
2ac62bccec
videoio(test): fix build warning
2022-09-05 16:53:08 +00: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
Alexander Smorkalov
7834a465d5
Merge pull request #22443 from catree:feat_calibrate_camera_exe_initial_guess
2022-08-31 07:48:32 +00: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
catree
1852d0b9b8
Add flags to set the camera intrinsic parameters as an initial guess (can allow converging to the correct camera intrinsic parameters).
...
Add -imshow-scale flag to resize the image when displaying the results.
Add -enable-k3 flag to enable or disable the estimation of the K3 distortion coefficient.
2022-08-30 00:45:47 +02:00
catree
837e41f9a7
Add -ws flag for cornerSubPix params (backported from 4.x).
...
Add flags to set the camera intrinsic parameters as an initial guess (can allow converging to the correct camera intrinsic parameters).
Add -imshow-scale flag to resize the image when displaying the results.
Add -enable-k3 flag to enable or disable the estimation of the K3 distortion coefficient.
2022-08-29 23:55:00 +02: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
8eb4f72531
Merge pull request #22425 from AleksandrPanov:qrcode_test_arm
...
QR code, change resize interpolation for Arm
2022-08-29 10:39:27 +03: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
88115811a9
Merge pull request #22130 from catree:homography_tutorial_add_exercise
...
Update homography tutorial with a small exercise
2022-08-26 12:52:55 +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
Alexander Smorkalov
eea05f5078
Merge pull request #22412 from asenyaev/asen/carotene_warnings_macos_arm64
...
Suppress warnings in carotene on macOS ARM64 for 3.4 branch
2022-08-26 09:40:30 +03: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
Andrey Senyaev
e1305e8d05
Fixed a warning in case of typename on macOS ARM64
2022-08-25 18:17:03 +03: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
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
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
Andrey Senyaev
ef570e4e13
Suppress warnings in carotene on macOS ARM64 for 3.4 branch
2022-08-22 17:42:22 +03:00
Alexander Smorkalov
7831aae5dd
Merge pull request #22410 from zihaomu:silu_support
2022-08-22 12:30:49 +00:00
Alexander Smorkalov
1336da9450
Merge pull request #22407 from Biswa96:cmake-pkgconfig-mingw
2022-08-22 09:50:55 +00: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
Biswapriyo Nath
7e5d012f75
cmake: Enable pkgconfig support for mingw
2022-08-21 12:06:46 +05:30
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
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
Alexander Smorkalov
56baf4ed87
Merge pull request #22382 from AleksandrPanov:qrcode_x86_arm_34
2022-08-16 13:48:48 +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
27bfab4e6e
Merge pull request #22371 from kianelbo:patch-1
2022-08-15 09:32:15 +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 Smorkalov
3cd36ebc7b
Merge pull request #22366 from lukasalexanderweber:4.x
2022-08-15 08:21:44 +00: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
Kian Eliasi
99683e958a
Fix the example in py_calib3d/py_calibration
2022-08-12 19:26:59 +04:30
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
Alexander Smorkalov
d09cc0f30c
Merge pull request #22344 from ocpalo:libjpegturbo2.1.3
2022-08-12 10:26:26 +00: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
Lukas Weber
1bab920cf5
remove static con_thresh for adjuster
2022-08-11 18:04:28 +02: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
Alexander Smorkalov
48afe1586a
Merge pull request #22357 from jspricke:missing_header
2022-08-11 09:50:46 +00: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
75bb6aa9a1
build: disable psabi warning with GCC 7.0 and ARM
2022-08-07 15:46:44 +03:00
Alexander Alekhin
44b2f9637a
Revert "suppress warning on GCC 7 and later"
...
This reverts commit a630ad73cb .
2022-08-07 15:43:10 +03:00
ocpalo
0643165519
update libjpeg-turbo version to 2.1.3
2022-08-05 23:38:57 +03:00
Alexander Smorkalov
cde18648dc
Merge pull request #22298 from rogday:tutorial_fix
2022-08-05 13:30:18 +00:00
rogday
04e01e2b31
Add new params
2022-08-05 15:08:16 +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
47a59d72c9
Merge pull request #22135 from rogday:force_reopen
2022-08-05 11:14:23 +00:00
Alexander Smorkalov
163770f99a
Merge pull request #22146 from rogday:symcircles
2022-08-05 11:13:14 +00: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
Alexander Smorkalov
50707a2741
Merge pull request #22223 from klatism:mobile-dynamically-linked-libs
2022-08-02 09:11:08 +00:00
Zihao Mu
0614c40b42
add more skip for very long test case in test_dnn.
2022-08-02 14:58:05 +08:00
Alexander Smorkalov
facd07a732
Merge pull request #22327 from hzcyf:4.x
2022-08-02 06:41:51 +00:00
Alexander Smorkalov
26ac81df3e
Merge pull request #22324 from gmbows:typo_fix
2022-08-02 06:36:34 +00:00
Alexander Smorkalov
1ec10ca565
Merge pull request #22309 from asenyaev:asen/ubuntu14.04_workflow
2022-08-02 06:33:01 +00:00
Alexander Smorkalov
26a39c733b
Merge pull request #22318 from asenyaev:asen/docs_4.x
2022-08-02 06:24:37 +00:00
Alexander Smorkalov
15f0e2e7cb
Merge pull request #22317 from asenyaev:asen/docs_3.4
2022-08-02 06:22:25 +00:00
Zihao Mu
d4640f4647
support ReduceLayer without reshape layer.
2022-08-02 10:32:31 +08:00
Andrey Senyaev
4c9364a803
Docs workflow in GHA for 3.4
2022-08-01 10:04:57 +03: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
Andrey Senyaev
759cbd7486
Docs workflow in GHA for 4.x
2022-07-28 17:46:01 +03: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
Andrey Senyaev
5bf3991f55
Workflow on Ubuntu 14.04 for 3.4 branch
2022-07-27 10:19:34 +03:00
Smirnov Egor
08696d92ea
Add option to force reopen camera in interactive calibration tool
2022-07-26 15:43:40 +03:00
Smirnov Egor
2c2466fb25
Add symmetric circles board
2022-07-26 15:39:33 +03: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
ebaf8cc06c
Merge pull request #22300 from komakai:fix-Mat-initWithSize
2022-07-26 01:07:07 +00: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
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
e2db95184f
Merge pull request #22295 from alalek:fixup_22246
2022-07-24 10:16:34 +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
Alexander Alekhin
47f30a04d2
Merge pull request #22278 from hanliutong:fix
2022-07-22 16:49:14 +00:00
Alexander Alekhin
a42b35598e
Merge pull request #22280 from asenyaev:asen/android_4.x
2022-07-22 09:58:28 +00:00
Alexander Alekhin
db53f4533e
Merge pull request #22279 from asenyaev:asen/android_3.4
2022-07-22 09:57:44 +00:00
Andrey Senyaev
71e33265f5
Android GHA workflow for 4.x branch
2022-07-21 17:59:16 +03:00
Andrey Senyaev
a016f6022c
Android GHA workflow for 3.4 branch
2022-07-21 17:47:55 +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
Alexander Alekhin
47912431e6
Merge pull request #22269 from asenyaev:asen/fix_python_recursion
2022-07-19 21:41:30 +00: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
Alexander Alekhin
3c23a44786
Merge pull request #22267 from asenyaev:asen/rename_lin_arm_pipelines_4.x
2022-07-19 14:24:25 +00:00
Alexander Alekhin
701d0d9905
Merge pull request #22266 from asenyaev:asen/rename_lin_arm_pipelines
2022-07-19 14:23:52 +00:00
Alexander Alekhin
d4e1d89901
Merge pull request #22270 from tomoaki0705:fix_layout
2022-07-19 14:20:33 +00:00
Tomoaki Teshima
14aa9eaadd
doc: fix layout
2022-07-19 21:44:07 +09:00
Andrey Senyaev
1feabf4275
Fixed an issue with a recursion of cv2 in python
2022-07-19 13:52:29 +03:00
Andrey Senyaev
65c173f2a3
Linux ARM64 rename ubuntu version on 4.x
2022-07-19 13:12:50 +03:00
Andrey Senyaev
697acf7f6a
Linux ARM64 rename ubuntu version on 3.4
2022-07-19 13:10:12 +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
728545468c
Merge pull request #22257 from rogday:save_frames_fix
2022-07-18 18:27:33 +00:00
rogday
33b1e76e48
fix save_frames parameter
2022-07-18 12:53:04 +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
Alexander Alekhin
c9e10e1d0b
Merge pull request #22225 from scorpiozj:patch-1
2022-07-16 07:40:14 +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
Alexander Alekhin
6fe7886e2b
Merge pull request #22254 from longnguyen2004:mingw-strsafe
2022-07-15 19:55:16 +00: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
Alexander Alekhin
1377f0147e
Merge pull request #22246 from asenyaev:asen/fix_warning_lnx_arm64_3.4
2022-07-14 11:09:04 +00: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
Alexander Alekhin
a233232b7d
Merge pull request #22234 from vrabaud:34_calib
2022-07-12 18:15:25 +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
Michael Klatis
7d3dbcb027
dynamically linked libs on mobile
2022-07-09 21:45:58 -07: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
Alexander Alekhin
3891b72f33
Merge pull request #22189 from p12tic:document-calchist-overload
2022-07-05 16:16:20 +00: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
Yuantao Feng
fb9463c55f
Merge pull request #22186 from fengyuentau:ci_job_rename_4.x
...
Rename jobs for better understanding for branch 4.x
* rename jobs
* remove dots from job names
* correct ubuntu version for linux arm64
2022-07-05 01:46:01 +03:00
Yuantao Feng
2920a8e0ec
Merge pull request #22185 from fengyuentau:ci_job_rename_3.4
...
Rename jobs for better understanding for branch 3.4
* rename jobs
* remove dots from job names
* correct ubuntu version for linux arm64
2022-07-05 01:45:14 +03: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
e313603aac
Merge pull request #22182 from alalek:build_fix_warnings
2022-07-02 19:20:17 +00:00
Alexander Alekhin
0f3de805f4
build: fix warnings
2022-07-02 00:56:10 +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
56e19e3494
Merge pull request #22173 from ycs77:patch-2
2022-07-01 12:14:57 +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
Alexander Alekhin
8ae06b4648
Merge pull request #22111 from asenyaev:asen/ios_workflow_3.4
2022-07-01 10:06:15 +00:00
Alexander Alekhin
652396678d
Merge pull request #22110 from asenyaev:asen/ios_workflow_4.x
2022-07-01 10:06:00 +00: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
rogday
b91f173680
Merge pull request #22147 from rogday:zoom_factor
...
Add zoom factor to interactive calibration tool
* add zoom factor
* address review comments
2022-06-30 23:31:52 +03:00
Andrey Senyaev
a311d1bdc0
Workflow for labeled iOS PRs in 4.x branch
2022-06-30 11:22:34 +03:00
Alexander Alekhin
eb7add1828
Merge pull request #22169 from tomoaki0705:OrinCC
2022-06-29 20:41:04 +00:00
Lucas Yang
b152b8cbcd
Fix missing CharVector for JavaScript bindings
2022-06-30 04:07:43 +08:00
Tomoaki Teshima
2336b0706d
add support for Orin GPU
2022-06-29 20:35:27 +09:00
Andrey Senyaev
300b57dd70
Workflow for labeled iOS PRs in 3.4 branch
2022-06-27 21:34:15 +03: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
Alexander Alekhin
6234f01a6d
Merge pull request #22148 from zihaomu:gemm_onnx_bug_fix_branch34
2022-06-23 22:35:36 +00: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
Alexander Alekhin
24a66a44bf
Merge pull request #22122 from zihaomu:gemm_onnx_bug_fix
2022-06-22 08:56:47 +00: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
catree
f1328c7395
Add a small exercise to show the warping of the homography transformations step-by-step.
2022-06-19 22:59:50 +02:00
Alexander Alekhin
9d06e58c3c
Merge pull request #22127 from catree:update_homography_tutorial
2022-06-19 10:52:52 +00:00
Alexander Alekhin
711b136191
Merge pull request #22124 from vrabaud:3.4_sanitizer
2022-06-19 10:51:36 +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
Christine Poerschke
db5b22e895
Merge pull request #22065 from cpoerschke:3.4-apps-visualisation-configurable-codec
...
* apps/opencv_visualisation: configurable video codec
* Update apps/visualisation/opencv_visualisation.cpp
2022-06-17 14:48:30 +03: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
Alexander Alekhin
3efc645975
Merge pull request #22103 from fengyuentau:macOS_workflows_for_3.4
2022-06-15 18:32:26 +00:00
fengyuentau
572812217b
re-commit: add workflows for macOS for 3.4
2022-06-15 18:25:35 +08:00
Alexander Alekhin
008507327c
Merge pull request #22104 from fengyuentau:macOS_workflows_for_4.x
2022-06-15 07:54:38 +00:00
fengyuentau
f4a6c3e7ea
add workflows for macOS for 4.x
2022-06-15 11:02:07 +08:00
Alexander Alekhin
ff41fbc5c1
Merge pull request #22091 from mukai1011:3.4
2022-06-14 21:35:08 +00:00
Alexander Alekhin
cac864192c
Merge pull request #22080 from vrabaud:fix_arm
2022-06-13 18:17:24 +00:00
Alexander Alekhin
b19683eb41
Merge pull request #22089 from tailsu:sd/fix-displaymatrix-orientation
2022-06-13 18:17:08 +00: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
7676be5570
Merge pull request #22079 from asmorkalov:as/calibration_save_frames
2022-06-11 10:39:05 +00:00
Kôtaro Mukai
ed9524e125
Missing import
2022-06-11 18:42:30 +09:00
Alexander Smorkalov
533bb035cf
Save Frames option for interactive calibration tool
...
The option to save all frames that contribute to final calibration result.
Useful for dataset collection and further offline tuning.
2022-06-10 09:32:58 +03: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
Alexander Alekhin
d0572538ff
Merge pull request #22059 from Kumataro:3.4-fix21899
2022-06-01 18:38:22 +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
8d51ef0f35
Merge pull request #22054 from asenyaev:asen/fix_matching_xcode_version
2022-05-31 06:39:10 +00:00
Andrey Senyaev
9cfae823a7
Fix Xcode version matching
2022-05-31 01:58:50 +03: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
Alexander Alekhin
7459954377
Merge pull request #21843 from Rufflewind:doc
2022-05-28 11:44:19 +00:00
Alexander Alekhin
cf38098ba8
Merge pull request #22034 from alalek:update_ffmpeg_4.x
2022-05-28 02:57:55 +00:00
Lukas-Alexander Weber
8ca394efaf
Merge pull request #22005 from lukasalexanderweber:delete_stitching_tool
...
Move stitching package and tool to a dedicated repository
* deleted moved files
* Update README.md
2022-05-26 22:30:24 +03:00
Alexander Alekhin
f9c7931800
Merge pull request #22035 from mohawk2:patch-1
2022-05-26 19:15:39 +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
08c270f65a
Merge pull request #22033 from alalek:windows_skip_failed_videoio_tests
2022-05-25 11:51:31 +00: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
6d098cc230
ffmpeg/4.x: update FFmpeg wrapper 2022.05
...
- FFmpeg 4.4.2
- libvpx 1.11
2022-05-24 23:44:10 +00:00
Alexander Alekhin
434c96e625
build: eliminate warnings
2022-05-24 23:34:11 +00:00
Alexander Alekhin
d6e9616256
Merge pull request #22027 from alalek:update_version_4.6.0-pre
2022-05-24 21:37:18 +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
Alexander Alekhin
b409fd32ac
Merge pull request #22024 from berak:patch-1
2022-05-24 08:20:26 +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
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
Phil Ruffwind
d1ccb7e47f
Update js_usage.markdown to use onRuntimeInitialized
...
The Emscripten library is not guaranteed to be fully loaded during the
script element's onload event. Module.onRuntimeInitialized seems to be
more reliable.
2022-05-22 20:53:35 -07: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
7e845a3b87
Merge pull request #22013 from asenyaev:asen/move_workflows_4.x
2022-05-22 13:42:34 +00:00
Alexander Alekhin
ea1c970190
Merge pull request #22001 from asenyaev:asen/move_workflows
2022-05-22 13:41:56 +00:00
Andrey Senyaev
3d207ccf11
Move workflows to a dedicated repository for 4.x branch
2022-05-20 19:46:56 +03:00
Andrey Senyaev
aaf7f5ae02
Move workflows to a dedicated repository
2022-05-20 14:29:43 +03:00
Alexander Alekhin
50e8ad285b
Merge pull request #22008 from zachlowry:umat-format-string
2022-05-19 21:51:02 +00: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
70917f291c
Merge pull request #21988 from alalek:fix_warnings_gcc12_3.4
2022-05-17 16:27:15 +00:00
Alexander Alekhin
9f6f0c7424
Merge pull request #21987 from alalek:gapi_test_reduce_used_memory
2022-05-17 16:26:14 +00:00
Alexander Alekhin
4722a8df3c
Merge pull request #21998 from alalek:gha_fix_git_merge_fixup_21986
2022-05-17 16:24:25 +00:00
Andrey Senyaev
7be8a71c60
Merge pull request #21994 from asenyaev:asen/extra_dnn_testing
...
Extended DNN testing in GHA
* Extended DNN testing in GHA for 3.4 branch
* Updated docker images in Linux GitHub Actions
* Added OPENCV_DOWNLOAD_PATH flag for ARM build to use pre-downloaded binaries
2022-05-17 16:23:32 +00:00
Alexander Alekhin
ce859edba8
GHA: fix git merge (part 2)
2022-05-17 15:06:46 +00:00
Alexander Alekhin
90820cd044
Merge pull request #21986 from alalek:gha_fix_git_merge
2022-05-16 14:35:56 +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
ed567a2dd1
Merge pull request #21907 from fengyuentau:workflow_arm_4.x
2022-05-15 10:04:55 +00:00
Alexander Alekhin
22a00036e2
gapi(test): reduce used amount of memory
2022-05-15 09:41:25 +00:00
Alexander Alekhin
2aac0a5a26
GHA: fix git merge
2022-05-15 09:35:51 +00:00
fengyuentau
07ad6a437e
add ARM64 workflow for 4.x
...
add opencv_contrib fork check
use image hosted on quay.io
2022-05-14 15:26:56 +00:00
OpenCV Developers
d9a444ca1a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-05-14 11:23:21 +00:00
OpenCV Pushbot
766f58ed7e
Merge pull request #21980 from asenyaev:asen/move_variables_to_the_host
2022-05-14 11:03:17 +00:00
Andrey Senyaev
1099b4c881
Move environment variables on a host side (GHA Windows)
2022-05-14 09:03:21 +00:00
OpenCV Pushbot
7c0f49fc36
Merge pull request #21977 from asenyaev:asen/win_contrib
2022-05-13 20:59:51 +00:00
OpenCV Pushbot
761e796201
Merge pull request #21964 from Julian-Sz:patch-1
...
Documentation Fix: Python and Java switched in Explanation
2022-05-13 18:13:30 +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
Andrey Senyaev
affcea8822
Added opencv_contrib branch check on Windows
2022-05-13 17:37:54 +00:00
OpenCV Pushbot
53f0be00a9
Merge pull request #21975 from asenyaev:asen/fix_terminating_windows_actions
2022-05-13 17:34:30 +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
1316491e50
Merge pull request #21933 from Yulv-git:3.4-typos1
2022-05-13 17:28:08 +00:00
Yuantao Feng
2cc4309bf8
Merge pull request #21924 from fengyuentau:workflow_arm64_3.4
...
Workflow to build and test on ARM64 for 3.4 branch
* add ARM64 workflow for 3.4
* add opencv_contrib fork check
* rename RET to OPENCV_EXTRA_FORK
2022-05-13 17:27:01 +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
Andrey Senyaev
2b5b192cd7
Moved from https to ssh for Windows in Github Actions
2022-05-13 01:37:55 +03:00
Julian Szigethy
64e1d23cba
Fix: Python and Java switched in Explanation
2022-05-12 20:35:05 +02: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
Andrey Senyaev
a3f81b79ed
Merge pull request #21917 from asenyaev:asen/self_hosted_runner_linux_3.4
...
Workflow to use a self-hosted Github runner on Linux x86_64 for 3.4 branch
* Changed a workflow to use a self-hosted Github runner for 3.4 branch
2022-05-12 08:52:23 +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
OpenCV Pushbot
2010de9104
Merge pull request #21971 from asenyaev:asen/filtering_tests_4.x
...
GTest filtered list for 4.x
2022-05-12 07:40:06 +00:00
OpenCV Pushbot
280a99b3b6
Merge pull request #21970 from asenyaev:asen/filtering_tests_3.4
...
GTest filtered list for 3.4 branch
2022-05-12 07:39:05 +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
Andrey Senyaev
4502003e61
GTest filtered list for 4.x
2022-05-11 18:08:44 +03:00
Andrey Senyaev
07abb6240e
GTest filtered list
2022-05-11 17:53:40 +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
Andrey Senyaev
c8228e5789
Merge pull request #21896 from asenyaev:asen/worflow_windows_4.x
...
Added workflow for Github Actions to build and test OpenCV on Windows for 4.x branch
2022-05-05 08:09:20 +00: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
OpenCV Pushbot
ada703a73a
Merge pull request #21940 from hakaboom:python_wrap
2022-05-04 09:40:39 +00:00
lgx
2b8094f915
fix a blur3x3 function
2022-05-02 20:42:41 +08: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
Yulv-git
1cdd8510fd
Fix some typos in doc.
2022-04-30 13:29:25 +08:00
OpenCV Pushbot
039f3d01a0
Merge pull request #21856 from LaurentBerger:I21853
...
Try to solve I21853 mouse wheel problem with GTK3
2022-04-29 18:18:02 +00:00
OpenCV Pushbot
f63feea05e
Merge pull request #21920 from asenyaev:asen/contrib_fork_check
2022-04-29 18:14:06 +00: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
OpenCV Pushbot
d44ac61033
Merge pull request #21919 from asmorkalov:as/cuda_buffer_pool_python
2022-04-28 19:11:40 +00:00
Andrey Senyaev
18ada77d8a
Merge pull request #21888 from asenyaev:asen/workflow_only_windows_3.4
...
Added workflow for Github Actions to build and test OpenCV on Windows for 3.4 branch
* Added workflow for Github Actions to build and test OpenCV on Windows
* Updated Github Actions for 3.4 branch on Windows using self-hosted runner
* Fixed url for a fork in Windows workflow (3.4 branch)
* opencv_extra fork usage in Github Actions
2022-04-28 19:07:07 +00:00
Kataev Victor
6d0f1275c2
Add use of R and P parameters to cv::undistortPoints test
2022-04-28 21:47:53 +03:00
Andrey Senyaev
a848eccfc6
opencv_contrib fork usage in Github Actions (3.4 branch)
2022-04-28 16:19:00 +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
OpenCV Pushbot
2bf4135afc
Merge pull request #21915 from asenyaev:asen/fork_opencv_extra_4_x
2022-04-27 17:26:01 +00:00
OpenCV Pushbot
c677f132cd
Merge pull request #21914 from asenyaev:asen/fork_opencv_extra
2022-04-27 17:25:30 +00:00
Andrey Senyaev
ec4015d73c
opencv_extra fork usage in Github Actions (4.x branch)
2022-04-26 14:20:44 +03:00
Andrey Senyaev
8c42dbf71c
opencv_extra fork usage in Github Actions
2022-04-26 14:05:21 +03:00
OpenCV Pushbot
4ca679180d
Merge pull request #21905 from asenyaev:asen/fix_fork_url_4.x
2022-04-26 05:27:43 +00:00
OpenCV Pushbot
64da959619
Merge pull request #21904 from asenyaev:asen/fix_fork_url
2022-04-25 19:06:52 +00:00
Andrey Senyaev
88123e2512
Fixed url for a fork (4.x branch)
2022-04-24 01:53:53 +03:00
Andrey Senyaev
87e98e8788
Fixed url for a fork
2022-04-24 01:44:15 +03:00
OpenCV Developers
767857c516
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-23 19:00:10 +00:00
OpenCV Pushbot
2b60166e5c
Merge pull request #21811 from fengyuentau:update_mirrors
...
Support mirrors for TIM-VX and others 3rdparty components in opencv_contrib
2022-04-22 18:46:23 +00:00
Andrey Senyaev
2e41db39f5
Merge pull request #21876 from asenyaev:asen/workflow_only_linux_4x
...
Added workflow for Github Actions to build and test OpenCV on Linux for 4.x
* Added workflow for Github Actions to build and test OpenCV
* Merged a build and tests jobs into one, split tests by steps, renamed job names
2022-04-21 15:04:22 +00:00
Andrey Senyaev
a55fa8389e
Merge pull request #21875 from asenyaev:asen/workflow_only_linux
...
Added workflow for Github Actions to build and test OpenCV on Linux
* Added workflow for Github Actions to build and test OpenCV
* Merged a build and tests in one job, changed naming
* Renamed job names, split workflows by branch, removed and added some cmake flags, save unit tests results as a html file
* Split tests by steps, removed workflows for 4.x and 5.x branches
2022-04-21 14:59:56 +00:00
fengyuentau
d23142027f
add mirrors for tim-vx and others in opencv_contrib
2022-04-21 14:48:40 +08:00
rogday
438fe3f9db
Merge pull request #21805 from rogday:pretty_fix
...
Mat pretty printer: fix submatrix indexation
* fix submatrix indexation
* fix channels
2022-04-20 04:55:04 +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
2465d93330
Merge pull request #21873 from asmorkalov:as/jpeg_options
...
Document defaults for JPEG settings.
2022-04-15 18:49:49 +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
OpenCV Pushbot
9aff01c9a9
Merge pull request #21861 from rogday:21852_fix
...
Add assert to address tf simplifier security concerns
2022-04-14 09:59:44 +00: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
Alexander Alekhin
84b4a5a495
Merge pull request #21821 from alalek:update_zlib
...
* 3rdparty: zlib 1.2.11 => 1.2.12
https://github.com/madler/zlib/releases/tag/v1.2.12
* 3rdparty(zlib): re-apply patch 20190330-ununitialized-use-state-check.diff
2022-04-05 14:29:36 +03: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
Alexander Alekhin
4754b0e253
Merge pull request #21815 from sivanov-work:gapi_fix_ov_warning
2022-04-04 12:20:25 +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
Yuantao Feng
b379b67a32
Merge pull request #21752 from fengyuentau:add_github_actions_for_timvx_backend
...
CI for TIM-VX backend
* github actions for TIM-VX backend https://github.com/opencv/opencv/pull/21036
* add reference to yuentau/ocv_ubuntu:20.04; remove extra quotes; enable BUILD_TESTS
* rename to timvx_backend_tests.yml
* add image source prefix
* remove if condition for x86_64 simulator
2022-04-01 12:35:12 +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
56f21c4fd5
Merge pull request #21785 from alalek:python_fix_subclass_order
2022-03-28 12:16:56 +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
Alexander Alekhin
78bc11465b
Merge pull request #21772 from luzpaz:typo/dnn
2022-03-24 16:32:46 +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
90671233c6
Merge pull request #21743 from luzpaz:typos
2022-03-23 19:14:03 +00: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
Alexander Alekhin
21872e2fb0
Merge pull request #21768 from stal12:4.x
2022-03-23 19:10:19 +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
Alexander Alekhin
0a62de0d4f
Merge pull request #21739 from mshabunin:fix-cart-polar
2022-03-21 17:10:11 +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
Yuantao Feng
f7ac724c5d
Merge pull request #21531 from fengyuentau:add_3rdparty_mirrors
...
Support downloading 3rdparty resources from Gitcode & Gitlab-style mirrors
* replace github.com with gitcode.net for ocv_download
* replace raw.githubusercontent.com with gitcode.net for ocv_download
* rename funtions and remove some comments
* add options for custom mirrors, which simply replace domain github.com & githubusercontent.com
* run ocv_init_download once; replace DL_URL with mirrored one when calling ocv_download
* fix for empty download links when not using mirror
* fix bugs: set(.. .. PARENT_SCOPE) for ocv_init_download; correct macro names for replace github archives and raw githubusercontent
* adjusted mirror swapping impl: replace with mirrored link before each ocv_download; update md5sum for archives
* fix a bug: macro invoked with incorrect arguments by non-set vars
* enclose if statement
* workable impl
* shorten the var names of two key options
* scalable implementation of downloading from mirror and using custom mirror
* improve ocv_init_download help message
* fix the different extracted directory name in case of ADE & TBB which are downloaded from release page
* improve help message printing
* Download ADE & TBB using commit ids instead of from release pages
* support custom mirrors on downloading archives
* improve hints
* add missing parentheses
* reset ocv_download calls
* mirror support implementation using ocv_cmake_hook & ocv_cmake_hook_append
* move ocv_init_download into cmake/OpenCVDownload.cmake
* move ocv_cmake_hook before checking CMake cache
* improve hints when not fetching as git repo
* add WORKING_DIRECTORY in execute_process in ocv_init_download
* use OPENCV_DOWNLOAD_MIRROR_ID
* add custom.cmake for custom mirror
* detect github origin
* fix broken var name
* download from github by default if custom tbb is set
* add checksum checks for gitcode.cmake before replacing urls and checksums
* add checksum checks for custom.cmake before replacing urls and checkusms
* use description specify instead of set for messages in custom.cmake; use warning message for warnings
* updates and fixes
2022-03-18 09:50:21 +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
luz paz
632e07b749
Fix typos in tutorials within docs/
...
Fix various typos found within tutorial documentation
2022-03-17 16:06:54 -04: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
Alexander Alekhin
e0ffd3e8a5
Merge pull request #21722 from mshabunin:fix-va-link
2022-03-16 09:45:35 +00: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
fb768c420d
Merge pull request #21710 from alalek:fix_21696
2022-03-13 13:59:03 +00: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
5d8134ed32
Merge pull request #21684 from vrabaud:34_vec
2022-03-11 18:03:35 +00: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: https://github.com/opencv/opencv/blame/19926e2979ef049a89dd029e2231555db40c2776/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
Alexander Alekhin
8fa429caef
Merge pull request #21674 from jeremyephron:patch-1
2022-03-04 09:50:29 +00:00
Alexander Alekhin
87f526d82f
Merge pull request #21676 from masa-iwm:fix-convertFromD3D11Texture2D
2022-03-03 08:46:46 +00:00
masa-iwm
1ae2320e09
bugfix convertFromD3D11Texture2D
2022-03-03 07:21:53 +09:00
Jeremy Ephron
54693cf7b1
Update stitching_detailed.py
...
### Critical bugs fixed:
- `seam_finder.find()` returns None and overwrites `masks_warped`
- `indices` is only 1-dimensional
### Nice-to-have bugs fixed:
- avoid invalid value in sqrt and subsequent runtime warning
- avoid printing help string on each run (use argparse builtin behavior)
### New features:
- added graphcut seam finder support
### Test Summary:
Tested on Ubuntu 20.04 with python 3.8.10 and opencv-python-contrib 4.5.5.62
2022-03-02 11:01:53 -08:00
Alexander Alekhin
a082375d57
Merge pull request #21488 from VadimLevin:dev/vlevin/scope-for-classes
2022-03-02 18:44:00 +00: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
Sinitsina Maria
a332509e02
Merge pull request #21458 from SinM9:speech_recognition_cpp
...
AudioIO: add dnn speech recognition sample on C++
* add speech recognition cpp
* fix warnings
* fixes
* fix warning
* microphone fix
2022-02-28 18:23:00 +03: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
Alexander Alekhin
cd9edba26f
Merge pull request #21625 from hanliutong:rvv1p0
2022-02-24 12:08:55 +00: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
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
Alexander Alekhin
b863c25d21
Merge pull request #21646 from zchrissirhcz:seamless_cloning-remove-const
2022-02-21 16:34:10 +00: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
Alexander Alekhin
863546e125
Merge pull request #21598 from KaurkerDevourer:patch-1
2022-02-19 20:58:35 +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
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
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
HAN Liutong
12338c1dc4
Update clang toolchain for RVV.
2022-02-16 16:01:38 +08: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
4e1f17d65b
Merge pull request #21617 from mshabunin:disable-onnx-tests-34
2022-02-15 13:11:59 +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
Alexander Alekhin
9f2ff3ed22
Merge pull request #21609 from mshabunin:disable-onnx-tests
2022-02-14 15:53:24 +00:00
Maksim Shabunin
45cbf70265
Update filters in ONNX tests
2022-02-14 17:16:49 +03:00
Alexander Alekhin
59e16b88ae
Merge pull request #21606 from sturkmen72:hog_update
2022-02-14 14:14:30 +00: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
1620a1e014
Merge pull request #21599 from alalek:winpack_dldt_force_cmake_config
2022-02-11 16:46:55 +00:00
Alexander Alekhin
888546b6f5
build(winpack_dldt): force using CMake config for InferenceEngine
2022-02-11 13:07:25 +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
Alexander Alekhin
e8db363431
Merge pull request #21590 from berak:patch-1
2022-02-09 18:49:41 +00:00
Alexander Alekhin
9603b6877d
Merge pull request #21582 from gfiumara:3.4
2022-02-09 18:49: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
berak
8f9c36b730
Update text_detection.py
...
there is a recent change, how `std::vector<int>` is wrapped in python,
it used to be a 2d array (requirig that weird `[0]` indexing), now it is only 1d
2022-02-09 17:14:05 +01: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
Alexander Alekhin
972a4b95b6
Merge pull request #21577 from sturkmen72:upd_floodfill
2022-02-08 13:30:29 +00:00
Suleyman TURKMEN
ffee1a4126
fix cv::floodfill() for calling it with an empty mask
2022-02-08 15:28:19 +03:00
Alexander Alekhin
96e23c2ff6
Merge pull request #21573 from lamm45:lineiterator-doc
2022-02-07 17:55:12 +00: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
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
09af10f635
Merge pull request #21562 from alalek:cmake_carotene_use_cv_disable_optimization
2022-02-03 19:18:26 +00:00
Alexander Alekhin
4d7953aa56
cmake(carotene): disable with CV_DISABLE_OPTIMIZATION
2022-02-03 17:25:52 +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
Alexander Alekhin
5190043e56
Merge pull request #21551 from alalek:cmake_dnn_backport_3.4
2022-02-02 18:04:51 +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
Ilya Lavrenov
5b3d5f9f3c
3.4: Support of OpenVINO interface libraries
...
original commit: c703f1eed6
2022-02-02 08:57:56 +00:00
Alexander Alekhin
415a42f327
Merge pull request #21452 from mshabunin:ov-pkg
2022-02-01 18:59:59 +00:00
Alexander Alekhin
09f6e55338
Merge pull request #21547 from mshabunin:plugin-link
2022-02-01 17:01:36 +00:00
Alexander Alekhin
a351e05a17
Merge pull request #21538 from edman007:fixup-21536
2022-02-01 17:01:16 +00:00
Lukas-Alexander Weber
d37bcbdc92
Merge pull request #21420 from lukasalexanderweber:4.x
...
Introduce Cropping to OpenCV Stitching Tool
* Introduced Cropping
* integrate https://github.com/opencv/opencv/pull/21413/
* fixed failing subsetter tests
* updated stuff
2022-02-01 16:56:44 +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
Maksim Shabunin
5f7d922b10
Option to enable/disable plugin linking with OpenCV
2022-02-01 14:53:15 +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
Alexander Alekhin
6811d3d80b
Merge pull request #21508 from tailsu:sd/fix-zlib-png-android
2022-01-31 17:51:23 +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
441b6dbda0
Merge pull request #21540 from alalek:dnn_support_outputs_registration_3.4
2022-01-31 12:46:14 +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
Alexander Alekhin
1f6444fbea
Merge pull request #21528 from sturkmen72:patch-5
2022-01-28 12:52:25 +00: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
Alexander Alekhin
ac51ba38f9
Merge pull request #21525 from VadimLevin:dev/vlevin/pysubmodules-refcounter-fix
2022-01-27 10:15:21 +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
16661847a7
Merge pull request #21517 from alalek:cmake_dont_force_werror
2022-01-26 17:51:52 +00: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
30ff9c6775
cmake: don't force -Werror=...
...
- improve compatibility with further compiler versions
- warnings are not errors by default
2022-01-26 04:34:51 +00:00
Alexander Alekhin
906f5f7e96
Merge pull request #21514 from pkubaj:patch-1
2022-01-25 18:44:26 +00:00
Alexander Alekhin
9238316cf1
Merge pull request #21441 from alexgiving:atrutnev/split3_simd_fluid
2022-01-25 15:00:54 +00:00
Aleksei Trutnev
5e89b9a455
Dynamic Dispatching for split3
2022-01-25 18:13:30 +03:00
Alexander Alekhin
e3a4ff33d2
Merge pull request #21512 from vrabaud:3.4_ub_drawing
2022-01-25 13:42:49 +00: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
Alexander Alekhin
92af03579c
Merge pull request #21501 from sturkmen72:update_samples
2022-01-24 14:04:14 +00:00
Stefan Dragnev
2e20f2b89f
android: set all zlib variables used by downstream packages
2022-01-24 13:52:23 +01:00
Alexander Alekhin
e67593673f
Merge pull request #21505 from georgthegreat:patch-1
2022-01-24 12:35:54 +00: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
Suleyman TURKMEN
2647902fee
Update python samples
2022-01-24 11:13:56 +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
e61277002c
Merge pull request #21349 from alalek:cmake_link_no_undefined
2022-01-20 19:56:17 +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
8f4473b3e3
Merge pull request #21478 from VadimLevin:dev/vlevin/pysubmodules-initialization-fix
2022-01-20 10:08:00 +00:00
Alexander Alekhin
51e8af9e5f
cmake(link): add '-Wl,--no-undefined'
...
- avoid missing of necessary library dependencies
2022-01-20 02:36:02 +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
25f25275cd
Merge pull request #21468 from VadimLevin:dev/vlevin/handle-pymodule-add-object-result
2022-01-19 11:27:06 +00:00
Alexander Alekhin
7e746ad2a6
Merge pull request #21454 from sturkmen72:update_templates
2022-01-19 11:26:42 +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
8e2a3c1d2f
Merge pull request #21470 from alalek:winpack_dldt_fix_21469
2022-01-18 11:06:00 +00: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
e613b17c05
build(winpack_dldt): repair build with MSVS 2019 (16.11.9)
2022-01-18 08:20:54 +00: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
Alexander Alekhin
a1ec4ea3a9
Merge pull request #21361 from alalek:sample_fix_tracking
2022-01-17 22:26:59 +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
Alexander Alekhin
4801526f35
Merge pull request #21451 from sturkmen72:update_imreadmulti_doc
2022-01-16 15:55:27 +00:00
Suleyman TURKMEN
f1857030b5
bigtiff images reading
2022-01-16 11:49:10 +03:00
Suleyman TURKMEN
b5b3f4e1c6
Update PULL_REQUEST_TEMPLATE.md and ISSUE_TEMPLATE.md
2022-01-15 13:31:41 +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
Alexander Alekhin
8768a80242
Merge pull request #21440 from mshabunin:fix-kw-2022-01
2022-01-13 17:46:04 +00: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
Alexander Alekhin
c25fd3349b
Merge pull request #21421 from vrabaud:3.4size_t
2022-01-11 18:27:18 +00: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
Alexander Alekhin
a5894f3e6b
Merge pull request #21413 from berak:patch-1
2022-01-11 15:41: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
Alexander Alekhin
6fd1a2ef52
Merge pull request #21409 from sturkmen72:patch-3
2022-01-10 17:35:39 +00:00
Suleyman TURKMEN
fe2a259eb1
Update documentation
2022-01-10 18:34:39 +03:00
Alexander Alekhin
1ba7c2f276
Merge pull request #21416 from alalek:videoio_msmf_sourcereadercb_dtor_message_info
2022-01-10 15:22:09 +00:00
h6197627
649f747f8a
Merge pull request #21405 from h6197627:3.4
...
* Use c++ namespaces explicitly
* Add root cv c++ namespace
2022-01-10 14:51:07 +03:00
Alexander Alekhin
05dbaf7672
videoio(msmf): use info message in SourceReaderCB destructor
2022-01-10 12:16:01 +03:00
Alexander Alekhin
742a08229e
Merge pull request #21412 from crackwitz:kmeans-N-ge-K-message
2022-01-09 21:01:28 +00:00
berak
5602d2c7bb
Update stitching_detailed.py
...
resolves : #21406
use constructors consistently
2022-01-09 12:26:24 +01:00
Christoph Rackwitz
f3e0479a8f
kmeans: assertion "There can't be more clusters than elements"
2022-01-08 23:42:21 +01:00
Alexander Alekhin
a1143c4ea0
Merge pull request #21398 from thegrizzlylabs:fix-catalyst-arch
2022-01-06 11:34:48 +00:00
Alexander Alekhin
0314d1dd01
Merge pull request #21394 from vrabaud:3.4_doc
2022-01-06 08:44:04 +00:00
Guillaume Gigaud
751b3f502d
apple/build_xcframework.py: fix incorrect catalyst archs
2022-01-06 09:36:28 +01:00
Vincent Rabaud
bf5e09d5ab
Remove unnecessary use of ref-capture in code example.
2022-01-05 13:42:55 +01:00
Alexander Alekhin
14e4a10312
Merge pull request #21378 from sturkmen72:fix_legacy_constants
2022-01-04 14:33:28 +00:00
Alexander Alekhin
53b89e1ee4
Merge pull request #21382 from stal12:CCL_fix_4conn
2022-01-04 13:21:25 +00:00
Alexander Alekhin
370f878a36
Merge pull request #21375 from JoeHowse:3.4-umatusageflags-docs
2022-01-04 13:08:10 +00:00
Alexander Alekhin
6e4d61c1fd
copyright: 2022
2022-01-04 12:49:15 +00:00
Alexander Alekhin
f6fe5c07f6
copyright: 2022
2022-01-04 12:48:27 +00:00
Stefano Allegretti
c685293297
Fix #21366
2022-01-03 18:15:09 +01:00
Suleyman TURKMEN
0e6a2c0491
fix legacy constants
2022-01-03 15:08:10 +03:00
Joe Howse
c2209ad5e4
Doc warnings about experimental UMatUsageFlags
2021-12-31 13:51:06 -04:00
Alexander Alekhin
5f249a3e67
Merge pull request #21356 from alalek:core_ocl_option_to_abort_on_kernel_build_error
2021-12-30 14:04:52 +00:00
Alexander Alekhin
76fb3652fc
dnn(ocl): fix fp16 kernel compilation
2021-12-29 19:58:25 +00:00
Alexander Alekhin
92925e846d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-29 15:22:13 +00:00
Trutnev Aleksei
43c04c29ce
Merge pull request #21157 from alexgiving:atrutnev/move_resize
...
GAPI: Move Resize kernel from core to imgproc
* Move Resize kernel from core to imgproc
* Applied style comments
* Adding backward compatibility
* Applied Asya PR
2021-12-29 15:13:43 +00:00
Alexander Alekhin
06b74c87da
Merge pull request #21360 from alalek:core_ocl_option_to_abort_on_kernel_build_error_3.4
2021-12-29 15:11:18 +00:00
Alexander Alekhin
7f075b0b15
samples(python): update tracker.py
2021-12-29 01:30:13 +00:00
Alexander Alekhin
c5a86c22a4
core(ocl): add option to abort on OpenCL kernel build failure
...
- exceptions are catched by fallback CPU path
- OPENCV_OPENCL_ABORT_ON_BUILD_ERROR (disabled by default)
2021-12-29 00:04:45 +00:00
Alexander Alekhin
3621c6234c
Merge pull request #21354 from alalek:samples_python_3.10
2021-12-28 17:59:48 +00:00
Alexander Alekhin
80c2fefc43
Merge pull request #21318 from alexgiving:atrutnev/move_GKernelPackage
2021-12-28 12:20:41 +00:00
Alexander Alekhin
a47952146a
samples: query for Python 3.10 setup
2021-12-28 11:49:55 +00:00
Alexander Alekhin
a55950865e
Merge pull request #21347 from StefanBruens:fix_qt_opengl_link
2021-12-26 14:10:08 +00:00
Stefan Brüns
ab181ac329
highgui: Fix unresolved OpenGL functions for Qt backend
...
The Qt backend directly calls some OpenGL functions (glClear, glHint,
glViewport), but since OCV 4.5.5 the GL libraries are no longer part
of the global extra dependencies. When linking with "-Wl,--no-undefined"
this causes linker errors:
`opencv-4.5.5/modules/highgui/src/window_QT.cpp:3307: undefined reference to `glClear'`
Fixes : #21346
Related issues: #21299
2021-12-26 01:10:45 +01:00
Alexander Alekhin
db172d1053
Merge tag '4.5.5'
2021-12-25 11:22:16 +00:00
Alexander Alekhin
dad26339a9
release: OpenCV 4.5.5
2021-12-25 03:53:27 +00:00
Alexander Alekhin
3b0ed61826
Merge pull request #21343 from alalek:dnn_onnx_handle_domains
2021-12-25 02:54:21 +00:00
Alexander Alekhin
9699e2b483
dnn(onnx): handle non-default ONNX domains
...
- re-enable quantized models tests
2021-12-25 01:38:52 +00:00
Rostislav Vasilikhin
3048188b5b
Merge pull request #21319 from savuor:backport_levmarqfromscratch
...
Warning fixes for quaternion headers
* warning fixes for quaternion headers
* a/T(x) => a * T(1/x)
2021-12-24 23:00:21 +00:00
Alexander Alekhin
547bb3b053
Merge pull request #21197 from SinM9:speech_recognition_python
2021-12-24 18:10:47 +00:00
Alexander Alekhin
7c2087cf05
Merge pull request #21339 from AsyaPronina:asyadev/wa_valgrind_issues
2021-12-24 18:10:32 +00:00
Alexander Alekhin
217fea9667
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-24 16:48:07 +00:00
Alexander Alekhin
523c3cd50b
Merge tag '3.4.17'
2021-12-24 16:45:05 +00:00
Alexander Alekhin
631126c77a
release: OpenCV 3.4.17
2021-12-24 16:39:15 +00:00
Alexander Alekhin
655d381ef3
Merge pull request #21341 from alalek:issue_20930_3.4
2021-12-24 16:33:19 +00:00
Aleksei Trutnev
c68fec7e97
Move GKernelPackage to cv namespace
2021-12-24 18:04:11 +03:00
Alexander Alekhin
cdfa8a668b
python: use '((x,y), (w,h), angle)' in std::vector<RotatedRect>
2021-12-24 15:01:45 +00:00
Alexander Alekhin
92651d228d
Merge pull request #21329 from alalek:cmake_openexr_find_package
2021-12-24 11:56:12 +00:00
Alexander Alekhin
90e3692603
Merge pull request #21327 from alalek:imgcodecs_openexr_runtime_disabled
2021-12-24 11:55:55 +00:00
Alexander Alekhin
3a8316ab93
Merge pull request #21320 from catree:solvePnP_doc_page
2021-12-24 11:55:34 +00:00
Alexander Alekhin
8d3f0d0eab
Merge pull request #21306 from aBITnav:patch-1
2021-12-24 10:49:10 +00:00
Anastasiya Pronina
ded0efb955
Disabling SSE4.1 path in GFluidResize due to Valgrind issues
2021-12-24 13:37:16 +03:00
Alexander Alekhin
cdd4354256
Merge pull request #21336 from alalek:dnn_pooling_check_array_indexes
2021-12-24 08:35:11 +00:00
Alexander Alekhin
bde955fc56
Merge pull request #21335 from alalek:dnn_onnx_dump_input_output
2021-12-24 08:34:47 +00:00
Alexander Alekhin
abc9e98625
Merge pull request #21325 from APrigarina:fix_asift_sample
2021-12-24 08:26:16 +00:00
ABHINAV JHA
d086ee14dd
Fix: Grammatical mistake
2021-12-24 08:01:13 +00:00
Alexander Alekhin
f43fec7ee6
cmake: use find_package(OpenEXR) to support OpenEXR 3+
2021-12-24 00:21:48 +00:00
Alexander Alekhin
6385511e88
dnn: add checks in pooling layer implementation
...
- to avoid out of buffer access
2021-12-24 00:15:30 +00:00
Alexander Alekhin
ed4becf007
dnn(onnx): debug dump of inputs/outputs/initializers in importer
2021-12-23 21:11:40 +00:00
Alexander Alekhin
f11ab4c569
Merge pull request #21331 from alalek:issue_21289
2021-12-23 20:09:52 +00:00
Alexander Alekhin
b12c2c76d1
Merge pull request #21330 from alalek:fix_highgui_gtk_mouse_callbacks
2021-12-23 20:09:40 +00:00
Alexander Alekhin
f5589445b9
Merge pull request #21322 from alalek:dnn_catch_errors
2021-12-23 20:09:22 +00:00
catree
032a61b197
Summarize PnP pose computation on a single separate page.
2021-12-23 19:52:14 +01:00
Alexander Alekhin
011ed380aa
Merge pull request #21323 from alalek:dnn_do_not_rebuilt_network_in_setInput
2021-12-23 15:45:28 +00:00
Alexander Alekhin
88a18c8b6a
dnn(onnx): emit error in Shape for dynamic input
2021-12-23 15:42:59 +00:00
Alexander Alekhin
51e65db715
dnn(onnx): fix Resize inputs handling
2021-12-23 15:42:59 +00:00
Alexander Alekhin
cc02fcd889
dnn: improve debug messages, add ONNX opset version
2021-12-23 15:42:59 +00:00
Alexander Alekhin
9f17c62533
Merge pull request #21321 from alalek:dnn_test_decompose_dynamic_axes
2021-12-23 15:26:21 +00:00
Alexander Alekhin
36bd2a65e3
highgui(gtk): repair scroll events
2021-12-23 13:06:44 +00:00
Alexander Alekhin
85d4e56bb1
highgui(gtk): fix onmouse event flags
2021-12-23 12:15:14 +00:00
Alexander Alekhin
381d9bafdf
imgcodecs: disable OpenEXR in runtime for 3rdparty source code
...
- builtin OpenEXR source code is outdated
- external OpenEXR distributions are allowed
2021-12-23 10:41:18 +00:00
APrigarina
ada16fd188
prevent index error in find_obj sample
2021-12-23 11:29:27 +03:00
Alexander Alekhin
c408157a4d
dnn: do not try to rebuilt network during setInput()
...
- this doesn't make sense in case of multiple inputs
2021-12-23 02:40:33 +00:00
Alexander Alekhin
6e299b582a
dnn(test): decompose 'DynamicAxes' test
2021-12-23 00:47:27 +00:00
Alexander Alekhin
9777fbacf6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-22 15:57:02 +00:00
Alexander Alekhin
643b4dd126
Merge pull request #21314 from alalek:fix_links_4.x
2021-12-22 15:53:43 +00:00
Alexander Alekhin
19ac54277b
Merge pull request #21313 from alalek:fix_links_3.4
2021-12-22 15:53:02 +00:00
Alexander Alekhin
c78a8dfd2d
fix 4.x links
2021-12-22 13:24:30 +00:00
Alexander Alekhin
b1a57c4cb2
fix 3.4 links
2021-12-22 12:38:21 +00:00
dwardor
54c180092d
Merge pull request #21114 from dwardor:patch-1
...
* Fix compile against lapack-3.10.0
Fix compilation against lapack >= 3.9.1 and 3.10.0 while not breaking older versions
OpenCVFindLAPACK.cmake & CMakeLists.txt: determine OPENCV_USE_LAPACK_PREFIX from LAPACK_VERSION
hal_internal.cpp : Only apply LAPACK_FUNC to functions whose number of inputs depends on LAPACK_FORTRAN_STR_LEN in lapack >= 3.9.1
lapack_check.cpp : remove LAPACK_FUNC which is not OK as function are not used with input parameters (so lapack.h preprocessing of "LAPACK_xxxx(...)" is not applicable with lapack >= 3.9.1
If not removed lapack_check fails so LAPACK is deactivated in build (not want we want)
use OCV_ prefix and don't use Global, instead generate OCV_LAPACK_FUNC depending on CMake Conditions
Remove CONFIG from find_package(LAPACK) and use LAPACK_GLOBAL and LAPACK_NAME to figure out if using netlib's reference LAPACK implementation and how to #define OCV_LAPACK_FUNC(f)
* Fix typos and grammar in comments
2021-12-22 12:00:00 +00:00
Alexander Alekhin
be110d0464
Merge pull request #21303 from alalek:issue_21299_4.x
2021-12-21 18:42:58 +00:00
Alexander Alekhin
6e733b65ae
Merge pull request #21302 from alalek:issue_21299_3.4
2021-12-21 18:39:52 +00:00
Alexander Alekhin
f948a2d0c0
Merge pull request #21305 from alalek:cmake_plugins_lowercase_internal_names
2021-12-21 18:37:40 +00:00
Alexander Alekhin
2aa47554fc
Merge pull request #21301 from alalek:coverity_fixes_4.x
2021-12-21 16:39:04 +00:00
Alexander Alekhin
c80b270678
cmake: force lowercase plugins internal names
2021-12-21 16:34:48 +00:00
Alexander Alekhin
dcc32e84b9
highgui: fix Win32 with OPENGL=ON
2021-12-21 15:51:22 +00:00
Alexander Alekhin
947d610309
Merge pull request #21297 from rogday:div_fix
2021-12-21 15:48:40 +00:00
Alexander Alekhin
3e01a387ba
highgui: fix Win32 with OPENGL=ON
2021-12-21 15:44:59 +00:00
Alexander Alekhin
4dbba5ac98
videoio: add non zero check
2021-12-21 14:32:19 +00:00
Alexander Alekhin
374cc4183e
Merge pull request #21296 from alalek:update_ffmpeg_4.x
2021-12-20 18:11:54 +00:00
Alexander Alekhin
b9d9730b62
Merge pull request #21295 from alalek:update_ffmpeg_3.4
2021-12-20 18:11:41 +00:00
rogday
0a178a687a
fix const/x in Div
2021-12-20 19:53:37 +03:00
Alexander Alekhin
c4c43c3d26
ffmpeg/4.x: update FFmpeg wrapper 2021.12
...
- FFmpeg 4.4.1
2021-12-20 16:30:21 +00:00
Alexander Alekhin
8fa86d4d34
ffmpeg/3.4: update FFmpeg wrapper 2021.12
...
- FFmpeg 3.4.9
2021-12-20 15:32:05 +00:00
Alexander Alekhin
a22dd28e02
videoio: fix ffmpeg standalone build
2021-12-20 15:03:21 +00:00
Alexander Alekhin
0e274fc4be
Merge pull request #21294 from mshabunin:fix-gst-audio
2021-12-20 13:13:58 +00:00
Maksim Shabunin
bc3da25a4a
videoio: added gst-audio dependency
2021-12-20 13:25:08 +03:00
Alexander Alekhin
80492d663e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-18 16:19:06 +00:00
Alexander Alekhin
172c539a5a
Merge pull request #21281 from alalek:update_version_4.5.5-pre
2021-12-18 13:46:38 +00:00
Alexander Alekhin
a079acc0d9
Merge pull request #21280 from alalek:update_version_3.4.17-pre
2021-12-18 13:46:29 +00:00
Alexander Alekhin
30df77fa4c
Merge pull request #21190 from rogday:acts
2021-12-18 13:41:48 +00:00
Smirnov Egor
71a22e45b0
add celu, hardsigmoid, selu, thresholdedrelu layers
2021-12-18 03:19:54 +03:00
Alexander Alekhin
defd8a527b
Merge pull request #21279 from cabelo:new-example-intelrealsense
2021-12-17 19:41:02 +00:00
Alexander Alekhin
3ce29236f3
Merge pull request #21253 from cabelo:allRrealsense
2021-12-17 19:40:19 +00:00
Alexander Alekhin
04ee99f1a3
Merge pull request #21282 from alalek:dnn_test_vulkan_skip
2021-12-17 19:39:35 +00:00
Stefano Allegretti
91817bffe1
Merge pull request #21275 from stal12:CCL_improvements
...
Improve CCL with new algorithms and tests
* Improve CCL with new algorithms and tests
* Split CCL test into dedicated tests cases
2021-12-17 19:36:57 +00:00
Alexander Alekhin
c39b83667b
Merge pull request #21176 from rogday:eltwise_layers
2021-12-17 19:35:13 +00:00
Smirnov Egor
1bd382c1d0
Add acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, hardswish, sin, sinh, softplus, softsign, tan layers
2021-12-17 18:19:40 +03:00
Alexander Alekhin
49bef1cdbf
Merge pull request #21283 from rogday:flatten_fix
2021-12-17 14:27:40 +00:00
Alexander Alekhin
249c508126
dnn(test): skip failed tests on Vulkan backend
2021-12-17 14:01:04 +00:00
Trutnev Aleksei
04b27525fa
Merge pull request #21231 from alexgiving:atrutnev/SIMD_SubRC_fluid
...
GAPI FLUID: SIMD for SubRC kernel
* SIMD for SubRC
* Reverse subrc
2021-12-17 13:42:47 +00:00
eplankin
175bcb1734
Merge pull request #21258 from eplankin:fix_threshold_to_zero_ipp_bug
...
Fixed threshold(THRESH_TOZERO) at imgproc(IPP)
* Fixed #16085 : imgproc(IPP): wrong result from threshold(THRESH_TOZERO)
* 1. Added test cases with float where all bits of mantissa equal 1, min and max float as inputs
2. Used nextafterf instead of cast to hex
* Used float value in test instead of hex and casts
* Changed input value in test
2021-12-17 13:31:37 +00:00
Smirnov Egor
fec2c7e715
fix Flatten layer
2021-12-17 16:29:56 +03:00
Alexander Alekhin
07dca8cc03
pre: OpenCV 4.5.5 (version++)
2021-12-17 10:12:11 +00:00
Alexander Alekhin
60c093f086
pre: OpenCV 3.4.17 (version++)
2021-12-17 10:05:52 +00:00
Maxim Milashchenko
db4ab1c936
Merge pull request #21264 from MaximMilashchenko:AudioGStreamer
...
Audio GStreamer: added support .wav .flac audio formats
* added support .wav, lossless compressed audio formats
* fixed docs
* fixes
* videoio(gstreamer-audio): extra tests, improve error handling
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-12-16 19:43:02 +00:00
Alexander Alekhin
f071207463
Merge pull request #21277 from alalek:backport_21267
2021-12-16 18:52:23 +00:00
Alexander Alekhin
622b9d9276
Merge pull request #21267 from mshabunin:fix-kw-2021-12
2021-12-16 18:51:47 +00:00
alessandro faria
05bfdeab7a
New example for realsense
2021-12-16 15:07:53 -03:00
Gruhuang
b4bb98ea60
Merge pull request #21268 from pccvlab:tf_Arg
...
add argmax and argmin parsing for tensorflow
* add argmax and argmin for tf
* remove whitespace
* remove whitespace
* remove static_cast
Signed-off-by: Crayon-new <1349159541@qq.com >
2021-12-16 17:06:02 +00:00
Maksim Shabunin
792b7e0629
(3.4) Fixed several issues found by static analysis
...
original commit: a079c2eb7c
2021-12-16 17:02:58 +00:00
Maksim Shabunin
a079c2eb7c
Fixed several issues found by static analysis
2021-12-16 19:21:25 +03:00
Alexander Alekhin
f7aa91e660
Merge pull request #21265 from alalek:dnn_onnx_test_filter_update_4.x
2021-12-16 16:05:50 +00:00
Alexander Alekhin
6d677bbd63
dnn(test): update ONNX conformance filters (4.x)
2021-12-16 12:09:31 +00:00
Alexander Alekhin
cee3ec6dc4
Merge pull request #21271 from vrabaud:3.4_clip
2021-12-16 11:19:53 +00:00
Vincent Rabaud
3da17c42a4
Use NaN-safe clip function.
...
This is to prevent more NaN to int conversions like in #21111 .
2021-12-16 11:34:04 +01:00
Alexander Alekhin
2329cbc1a2
Merge pull request #21269 from mshabunin:fix-hardening-o3
2021-12-16 09:17:51 +00:00
Maksim Shabunin
b39ee54103
Do not force -O2 flag in hardening-enabled builds
2021-12-16 11:40:42 +03:00
Alexander Alekhin
299f9837b7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-15 16:38:56 +00:00
Alexander Alekhin
6a889ed3e5
Merge pull request #21261 from alalek:dnn_onnx_test_filter_update
2021-12-15 16:24:04 +00:00
Alexander Alekhin
f3ba88c87c
dnn(test): update ONNX conformance filters
2021-12-15 12:53:53 +00:00
Alexander Alekhin
498f1525b2
Merge pull request #21246 from pccvlab:square
2021-12-15 12:02:20 +00:00
Alexander Alekhin
e7c5120682
Merge pull request #21259 from rogday:random_fixes
2021-12-15 10:26:49 +00:00
Alexander Alekhin
19cfaa2be7
Merge pull request #21254 from alalek:build_opencv_winpack_dldt_2021.4.2
2021-12-15 08:17:09 +00:00
Smirnov Egor
e97c7e042b
fix max_unpool missing attributes, add default value of keepdims in reducemean/max/sum, add support for keepdims=true in full reduction branch, add new padding type to Pad
2021-12-14 22:09:27 +03:00
Sinitsina Maria
d8b1fc45aa
Merge pull request #20934 from SinM9:spectrogram_samples
...
AudioIO: add spectrogram samples for C++/python
2021-12-14 17:33:26 +00:00
Alexander Alekhin
35f27d0d3e
Merge pull request #21257 from alalek:imgproc_cvtcolor_lab_fix_nan
2021-12-14 16:59:07 +00:00
Alexander Alekhin
330a11861e
Merge pull request #21256 from zchrissirhcz:fix-3.4-pyramid-tutorial
2021-12-14 16:58:53 +00:00
rogday
4827fe86bb
Merge pull request #21088 from rogday:onnx_tests
...
Onnx conformance tests
* Add ONNX conformance tests
* dnn(test): add filters for ONNX conformance tests
* add filter lists for OCV backend
* address review comments
* move test_clip_inbounds to all_denylist
* address clip issue
* avoid empty lists
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-12-14 16:58:06 +00:00
Alexander Alekhin
72c55b56f2
imgproc: catch NaNs in clip(), use table index debug check
...
- no NaN propagation guarantee
2021-12-14 15:31:51 +00:00
Trutnev Aleksei
295da7e5f3
Merge pull request #21150 from alexgiving:atrutnev/fluid_perf
...
GAPI: Add compare function to perf tests
* Add PhasePerfTest and SqrtPerfTest
* rebasing
* debug tests
* remove spaces
* Disable DivRCPerfTestGPU
* rebase
* Applied comments
* Correction
* Revert parameter changes
2021-12-14 15:16:59 +00:00
Alexander Alekhin
4eab85d364
Merge pull request #21251 from vrabaud:3.4_bayer
2021-12-14 15:15:07 +00:00
Zhuo Zhang
3cc83ce024
docs: correct normalize factor in gaussian pyramid tutorial
2021-12-14 21:06:02 +08:00
Alexander Alekhin
52c423a423
build: winpack_dldt with dldt 2021.4.2
2021-12-14 09:00:43 +00:00
alessandro faria
952f8e38cf
Illustration about realsense
2021-12-14 03:21:31 -03:00
Vincent Rabaud
542b3e8a64
Fix harmless signed integer overflow.
...
When computing:
t1 = (bayer[1] + bayer[bayer_step] + bayer[bayer_step+2] + bayer[bayer_step*2+1])*G2Y;
there is a T (unsigned short or char) multiplied by an int which can overflow.
Then again, it is stored to t1 which is unsigned so the overflow disappears.
Keeping all unsigned is safer.
2021-12-13 23:43:49 +01:00
Alexander Alekhin
4f79eb256d
Merge pull request #21250 from alalek:videoio_msmf_update_camera_3.4
2021-12-13 22:24:33 +00:00
Alexander Alekhin
7620456486
videoio(MSMF): add queue for async ReadSample()
2021-12-13 21:02:24 +00:00
Alexander Alekhin
052d209901
Merge pull request #21202 from alalek:videoio_msmf_update_camera
2021-12-13 20:38:15 +00:00
Alexander Alekhin
e9c45ff406
Merge pull request #21178 from alalek:cmake_fix_soversion
2021-12-13 19:00:58 +00:00
Alexander Alekhin
f1053d48a2
Merge pull request #21204 from anna-khakimova:ak/move_simd_absdiffc
2021-12-13 18:03:50 +00:00
Alexander Alekhin
ba12f52f6c
Merge pull request #21247 from rogday:coverity_fix
2021-12-13 17:16:03 +00:00
Polina Smolnikova
456137fa24
Merge pull request #21166 from rayonnant14:issue_21105
...
Fix intrinsics processing in case USAC parameters
* fixed USAC intrinsics processing
* change mat to matx33d, added test
2021-12-13 17:12:49 +00:00
rogday
692059e899
initialize members
2021-12-13 18:41:23 +03:00
cqn2219076254
252ce0b581
add square layer
2021-12-13 21:43:13 +08:00
Alexander Alekhin
d24befa0bc
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-11 15:18:57 +00:00
Alexander Alekhin
5462710103
Merge pull request #21235 from jonay2000:fix-docs
2021-12-11 15:14:43 +00:00
Jonathan Dönszelmann
d1b923bee9
Update name from Gunner to Gunnar as that's the name he published his
...
paper under.
2021-12-11 13:10:52 +01:00
Alexander Alekhin
81a6d1b0d4
cmake: update SOVERSION
...
- OpenCV 4.x doesn't guarantee or maintain ABI compatibility
- We should increase SO version on each release
2021-12-10 16:14:56 +00:00
Alexander Alekhin
04020f391a
Merge pull request #21193 from alalek:imgproc_test_bitexact_cvtcolor_yuv
2021-12-10 16:11:06 +00:00
Alexander Alekhin
c4ab0c09ea
Merge pull request #21228 from alalek:issue_21198
2021-12-10 16:07:57 +00:00
Alexander Alekhin
6e50e4b9ee
Merge pull request #21161 from rogday:elu_alpha_4x
2021-12-10 16:04:01 +00:00
HAN Liutong
1599f9f0c0
Merge pull request #21086 from hanliutong:rvv-dnn
...
Further optimize DNN for RISC-V Vector.
* Optimize DNN on RVV by using vsetvl.
* Rename vl.
* Update fastConv by using setvl instead of mask.
* Fix fastDepthwiseConv
2021-12-10 16:03:22 +00:00
Alexander Alekhin
0c5b6e5556
videoio(MSMF): add queue for async ReadSample()
2021-12-10 16:01:08 +00:00
Alexander Alekhin
e3e04f5dae
Merge pull request #21222 from asenyaev:asen/replace_distutils_copy_tree
2021-12-10 14:12:01 +00:00
Gruhuang
17bc8565f6
Merge pull request #21154 from pccvlab:MatMul_with_two_inputs
...
Add BatchMatMul layer support for tf_importer
* two inputs
* support batch_matmul
* refactor: remove useless code
* refactor: decrease nesting
2021-12-10 14:44:27 +03:00
Simon Wilson
c08954c18b
Merge pull request #21227 from sbwilson:fix_framework_unicode_headers
...
* fix unicode errors for framework headers
This would crash if the header file included non-ASCII characters. This change ensures that headers are read and written as UTF-8 encoded files instead of ascii.
* Adds spaces after commas
2021-12-10 14:36:14 +03:00
Alexander Alekhin
7ba56a4b88
Merge pull request #21194 from whalenpt:qt_opengl_build_fix
2021-12-10 11:33:17 +00:00
Alexander Alekhin
9b7f40ce4d
Merge pull request #21074 from vrabaud:3.4_rect
2021-12-10 11:32:03 +00:00
Sergey Ivanov
b70370f3fd
Merge pull request #21230 from sivanov-work:gapi_win32_vpl_fix
...
G-API: Fix Win32 build: uint64_t ->size_t
* Fix Win32 build: uint64_t ->size_t
* Fix for MAC
2021-12-10 08:58:59 +00:00
Andrey Senyaev
4d3cf77ad5
Replaced distutils to shutil when copying files in a tree
2021-12-10 11:46:27 +03:00
Patrick Whalen
b2005ccaef
Fix broken build for Qt6 with options: WITH_QT=ON and WITH_OPENGL=ON
...
- QGLWidget changed to QOpenGLWidget in window_QT.h for Qt6 using
typedef OpenCVQtWidgetBase for handling Qt version
- Implement Qt6/OpenGL functionality in window_QT.cpp
- Swap QGLWidget:: function calls for OpenCVQtWidgetBase:: function calls
- QGLWidget::updateGL deprecated, swap to QOpenGLWidget::update for Qt6
- Add preprocessor definition to detect Qt6 -- HAVE_QT6
- Add OpenGLWidgets to qdeps list in highgui CMakeLists.txt
- find_package CMake command added for locating Qt module OpenGLWidgets
- Added check that Qt6::OpenGLWidgets component is found. Shut off Qt-openGL functionality if not found.
2021-12-09 13:22:20 -08:00
Alexander Alekhin
659cf7249e
imgproc(ocl): fix resizeLN, avoid integer overflow
2021-12-09 20:30:26 +00:00
UncleLLD
62a010a25d
Merge pull request #21224 from UncleLLD:fix-cvtColor-error
...
fix cvtColor-error
* fix gray image channel error
* fix gray image channel error
* fix cvtColor error after the video end
* fix cvtColor error after the video end and change next variable
* fix cvtColor error after the video end
* reset next variable
* fix cvtColor error after the video end
* fix cvtColor error after the video end
2021-12-09 19:11:05 +00:00
Vincent Rabaud
6b4ea68bc7
Solve Rect overflow issues.
...
Fow now, it is possible to define valid rectangle for which some
functions overflow (e.g. br(), ares() ...).
This patch fixes the intersection operator so that it works with
any rectangle.
2021-12-09 12:04:26 +01:00
Andrey Senyaev
d6891c705e
Merge pull request #21219 from asenyaev:asen/remove_distutils
...
* Replaced distutils module to sysconfig
* Fixed getting a path to python lib
2021-12-08 18:51:34 +00:00
Alexander Alekhin
9bcb006ec7
Merge pull request #21218 from alalek:cmake_gapi_gstreamer_option
2021-12-08 12:36:10 +00:00
Alexander Alekhin
02ac6ec81c
cmake: option to disable GStreamer in G-API
...
- OPENCV_GAPI_GSTREAMER
2021-12-08 11:07:32 +00:00
Sergey Ivanov
5c91f5b71d
Merge pull request #21049 from sivanov-work:vpl_dx11_merge
...
G-API: oneVPL merge DX11 acceleration
* Merge DX11 initial
* Fold conditions row in MACRO in utils
* Inject DeviceSelector
* Turn on DeviceSelector in DX11
* Change sharedLock logic & Move FMT checking in FrameAdapter c-tor
* Move out NumSuggestFrame to configure params
* Drain file source fix
* Fix compilation
* Force zero initializetion of SharedLock
* Fix some compiler warnings
* Fix integer comparison warnings
* Fix integers in sample
* Integrate Demux
* Fix compilation
* Add predefined names for some CfgParam
* Trigger CI
* Fix MultithreadCtx bug, Add Dx11 GetBlobParam(), Get rif of ATL CComPtr
* Fix UT: remove unit test with deprecated video from opencv_extra
* Add creators for most usable CfgParam
* Eliminate some warnings
* Fix warning in GAPI_Assert
* Apply comments
* Add VPL wrapped header with MSVC pragma to get rid of global warning masking
2021-12-08 07:09:33 +00:00
Alexander Alekhin
16b674b984
Merge pull request #21213 from alalek:issue_20850_case1
2021-12-07 16:34:54 +00:00
Alexander Alekhin
65392d5e6b
cmake: fix OPENGL_LIBRARIES handling
2021-12-07 12:12:42 +00:00
Alexander Alekhin
41d108ead6
Merge pull request #21208 from rogday:argminmax_dnn
2021-12-07 12:11:39 +00:00
Alexander Alekhin
0c9dbc61a1
Merge pull request #21212 from OrestChura:oc/fix_openvino_standalone_build
2021-12-07 11:32:28 +00:00
Alexander Alekhin
6788fdb0d6
Merge pull request #21205 from anna-khakimova:ak/fix_for_muldouble_gpu
2021-12-07 10:24:50 +00:00
Anna Khakimova
3a4b61579d
GAPI GPU: fix for tests failure.
2021-12-07 11:21:04 +03:00
OrestChura
51d7ba7446
Bring updates from openvino version of standalone files
2021-12-07 06:56:48 +03:00
Smirnov Egor
e608adea60
add ArgMax and ArgMin layers
2021-12-06 20:49:54 +03:00
Anastasiya(Asya) Pronina
8dd6882222
Merge pull request #20709 from AsyaPronina:asyadev/integrate_gstreamer_source
...
Ported GStreamerSource to OpenCV
* Ported GStreamerSource to OpenCV
* Fixed CI failures
* Whitespaces
* Whitespaces + removed exception from destructors C4722
* Removed assert for Priv's getSS and descr_of
* Removed assert for pull
* Fixed last review comment
Co-authored-by: Pashchenkov Maxim <maxim.pashchenkov@intel.com >
2021-12-06 16:54:21 +00:00
UncleLLD
5aef565fb6
Merge pull request #21188 from UncleLLD:fix-markdown-error
...
fix issue 21187: markdown file: gray image does not have three dimensions
2021-12-06 16:14:17 +00:00
Anna Khakimova
a4d6bcba09
GAPI Fluid: Enable dynamic dispatching for AbsDiffC kernel.
2021-12-06 15:15:47 +03:00
Sinitsina Maria
f09a577ab5
add OpenCV audio reading
2021-12-05 17:58:44 +03:00
Maksim Shabunin
973e1acb67
Merge pull request #21182 from mshabunin:split-cv2cpp
...
Split cv2.cpp
* split cv2.cpp: util, numpy
* split cv2.cpp: convert
* split cv2.cpp: highgui, more utils
* split cv2.cpp: fix numpy import
2021-12-05 12:49:36 +00:00
Tejas M R
676a724491
Merge pull request #21180 from tezz-io:4.x
...
Added CV_PROP_RW macro to keypoints
* Added CV_PROP_RW macro to keypoints
As outlined in the feature request in the issue https://github.com/opencv/opencv/issues/21171 : the keypoints field has been made parsable by the bindings.
* Added test for keypoints
Added test to check if the CV_PROP_RW macro added in the previous commit makes keypoints public and accessible through the python API.
2021-12-05 12:47:44 +00:00
Alexander Alekhin
73318fd514
Merge pull request #21167 from alalek:dnn_test_reenable_ov_2021_4
2021-12-04 22:12:18 +00:00
MaximMilashchenko
cb08c15616
Merge pull request #21145 from MaximMilashchenko:AudioUpdate
...
Audio MSMF: added the ability to set sample per second
* Audio MSMF: added the ability to set sample per second
* changed the valid sampling rate check
* fixed docs
* add test
* fixed warning
* fixed error
* fixed error
2021-12-04 10:37:10 +00:00
Alexander Alekhin
a3287b85c5
carotene: disable YUV color conversions (bit-exact issue)
2021-12-04 07:32:57 +00:00
Alexander Alekhin
0c0b1ec9ae
imgproc(test): add bit-exact tests for YUV cvtColor conversions
2021-12-04 04:36:57 +00:00
Michael Davis
d2f87ca76c
Merge pull request #21147 from mjmdavis:4.x
...
* remove tickmarks on NSSlider
2021-12-03 16:40:49 +00:00
HAN Liutong
4935b14539
Merge pull request #21012 from hanliutong:rvv_clang
...
Update RVV backend for using Clang.
* Update cmake file of clang.
* Modify the RVV optimization on DNN to adapt to clang.
* Modify intrin_rvv: Disable some existing types.
* Modify intrin_rvv: Reinterpret instead of load&cast.
* Modify intrin_rvv: Update load&store without cast.
* Modify intrin_rvv: Rename vfredsum to fredosum.
* Modify intrin_rvv: Rewrite Check all/any by using vpopc.
* Modify intrin_rvv: Use reinterpret instead of c-style casting.
* Remove all macros which is not used in v_reinterpret
* Rename vpopc to vcpop according to spec.
2021-12-03 15:13:24 +00:00
Alexander Alekhin
0835611d3a
dnn(test): re-enable tests which works with OpenVINO 2021.4.x
2021-12-03 14:01:30 +00:00
Alexander Alekhin
8b4fa2605e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-03 12:32:49 +00:00
Anna Khakimova
c3910807c5
Merge pull request #21177 from anna-khakimova:ak/simd_mulc
...
* GAPI Fluid: SIMD for MulC kernel.
* Changes for MulDouble kernel.
2021-12-03 12:30:39 +00:00
Sergey Ivanov
c5b8b5687f
Merge pull request #21041 from sivanov-work:gin_gout_concept
...
G-API: GAPI introduce compile guard for some types for gin/gout params passing
* Initial for taged solution
* Move out tags to gtags.hpp & add protection for own::Mat
* Add compile guard to proper place
* Fix MACRO concat
* Add unit tests
* Remove class MACRO injection due to Python3
* Revert back unproper changes
* Apply comments: reuse shape from traits
* Throw away unused gtags
* Apply comments
* Handle own::*
* Fix test
* Fix test(1)
* Fix unix build
* Try on type list
* Apply comments
* Apply comments
* Fix warning
2021-12-03 12:30:05 +00:00
Alexander Alekhin
f61883b227
Merge pull request #21165 from utibenkei:fix_android_ndk_camera_order_of_u_and_v
2021-12-02 17:16:35 +00:00
Alexander Alekhin
35ff9af6ce
Merge pull request #21162 from rogday:softmax_simplification
2021-12-02 17:14:48 +00:00
Alexander Alekhin
dad2b9aac8
Merge pull request #21160 from rogday:elu_alpha
2021-12-02 17:13:57 +00:00
rogday
1613d30544
Merge pull request #21159 from rogday:ceil_mode
...
fix ceil_mode for Average/MaxPooling
* fix ceil_mode
* add a comment
2021-12-02 20:11:11 +03:00
Alexander Alekhin
b6df9debaf
Merge pull request #21174 from APrigarina:fix_qr_encoder
2021-12-02 16:41:03 +00:00
Alexander Alekhin
b9d0dc60b0
Merge pull request #21173 from alalek:3.4_dnn_test_reenable_ov_2021_4
2021-12-02 16:33:15 +00:00
APrigarina
37b1876807
qr encoder: fix memory and unused variables issues
2021-12-02 18:35:33 +03:00
Alexander Alekhin
d206350738
Merge pull request #21172 from alalek:dnn_test_drop_non_cpu_int8
2021-12-02 13:50:04 +00:00
Jong Sin Kim
2da1f9181a
Merge pull request #21170 from JJJoonngg:4.x
...
Check buffer size when frameWidth * frameHeight bigger than allocated buffer size
2021-12-02 13:48:11 +00:00
Alexander Alekhin
bd396e1fd5
dnn(test): re-enable tests which works with OpenVINO 2021.4.x (3.4)
2021-12-02 11:30:45 +00:00
Alexander Alekhin
f55c9ed1ba
dnn(test): drop non OCV/CPU cases for Int8
...
- zero code coverage and up to x3-x8 tests slowdown
- implementation executes OCV/CPU in all cases
- wrong skip conditions
2021-12-02 06:27:10 +00:00
Alexander Alekhin
5da69c0b9a
Merge pull request #21164 from rogday:sum_identity
2021-12-01 22:49:02 +00:00
Alexander Alekhin
a806e8cc58
Merge pull request #21163 from rogday:transpose_default
2021-12-01 22:47:57 +00:00
Anna Khakimova
369b260e12
Merge pull request #21158 from anna-khakimova:ak/simd_subC
...
* GAPI Fluid: SIMD for SubC kernel.
* Applied comments
2021-12-01 21:58:30 +00:00
Alexander Alekhin
d9e7c1626a
Merge pull request #21153 from alalek:build_warnings_msvs2017
2021-12-01 12:49:28 +00:00
Vincent Rabaud
1a1a7bbbfd
Merge pull request #21112 from vrabaud:3.4_luv_overflow
...
* Fix integer overflow in cv::Luv2RGBinteger::process.
For LL=49, uu=205, vv=23, we end up with x=7373056 and y=458
which overflows y*x.
* imgproc(test): adjust test parameters to cover SIMD code
2021-12-01 15:46:03 +03:00
Smirnov Egor
33e97e994d
add sum of 1 input
2021-11-30 15:42:20 +03:00
Smirnov Egor
11e6848bb9
add default order to transpose
2021-11-30 15:34:34 +03:00
Smirnov Egor
829410729c
add new (Log)SoftMax simplification passes
2021-11-30 15:20:52 +03:00
Smirnov Egor
4995aecd62
add alpha parameter to ELU
2021-11-30 14:43:18 +03:00
Smirnov Egor
0e2a3686c0
add alpha parameter to ELU layer
2021-11-30 12:20:35 +03:00
Alexander Alekhin
66b2140892
build: eliminate C4309 warning from protobuf files with MSVS2017
2021-11-30 04:27:39 +00:00
Alexander Alekhin
0d2857a242
Merge pull request #21152 from rogday:fix_defaults
2021-11-29 22:39:27 +00:00
Alexander Alekhin
17d99e6266
Merge pull request #21142 from alalek:dnn_two_inputs_ocl_fp16_3.4
2021-11-29 21:44:59 +00:00
Andrew Ryrie
ea7d4be3f8
Merge pull request #20658 from smbz:lstm_optimisation
...
* dnn: LSTM optimisation
This uses the AVX-optimised fastGEMM1T for matrix multiplications where available, instead of the standard cv::gemm.
fastGEMM1T is already used by the fully-connected layer. This commit involves two minor modifications:
- Use unaligned access. I don't believe this involves any performance hit in on modern CPUs (Nehalem and Bulldozer onwards) in the case where the address is actually aligned.
- Allow for weight matrices where the number of columns is not a multiple of 8.
I have not enabled AVX-512 as I don't have an AVX-512 CPU to test on.
* Fix warning about initialisation order
* Remove C++11 syntax
* Fix build when AVX(2) is not available
In this case the CV_TRY_X macros are defined to 0, rather than being undefined.
* Minor changes as requested:
- Don't check hardware support for AVX(2) when dispatch is disabled for these
- Add braces
* Fix out-of-bounds access in fully connected layer
The old tail handling in fastGEMM1T implicitly rounded vecsize up to the next multiple of 8, and the fully connected layer implements padding up to the next multiple of 8 to cope with this. The new tail handling does not round the vecsize upwards like this but it does require that the vecsize is at least 8. To adapt to the new tail handling, the fully connected layer now rounds vecsize itself at the same time as adding the padding(which makes more sense anyway).
This also means that the fully connected layer always passes a vecsize of at least 8 to fastGEMM1T, which fixes the out-of-bounds access problems.
* Improve tail mask handling
- Use static array for generating tail masks (as requested)
- Apply tail mask to the weights as well as the input vectors to prevent spurious propagation of NaNs/Infs
* Revert whitespace change
* Improve readability of conditions for using AVX
* dnn(lstm): minor coding style changes, replaced left aligned load
2021-11-29 21:43:00 +00:00
Smirnov Egor
05db8784ae
fix Clip, LeakyReLU, LRN, Split defaults
2021-11-29 20:20:34 +03:00
utibenkei
68667d6057
fix_android_ndk_camera_order_of_u_and_v
2021-11-30 01:44:22 +09:00
Anna Khakimova
d58b5ef74b
Merge pull request #21119 from anna-khakimova:ak/simd_addc
...
* GAPI Fluid: SIMD for AddC kernel
* Final version
* Applied comments.
2021-11-29 11:20:53 +00:00
rogday
f044037ec5
Merge pull request #20733 from rogday:argmaxnd
...
Implement ArgMax and ArgMin
* add reduceArgMax and reduceArgMin
* fix review comments
* address review concerns
2021-11-28 16:17:46 +00:00
Suleyman TURKMEN
a97f21ba4e
Merge pull request #20957 from sturkmen72:update-documentation
...
Update documentation
* Update DNN-based Face Detection And Recognition tutorial
* samples(dnn/face): update face_detect.cpp
* final changes
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-11-28 12:56:28 +00:00
Supernovae
b594ed99b8
Merge pull request #20933 from shubham-shahh:master
...
Improved overall readability of the code
* grid_nms.cu: minor fix-ups
* Update grid_stride_range.hpp
* Update tf_importer.cpp
2021-11-28 12:54:29 +00:00
Alexander Alekhin
58b06222ff
dnn(DataLayer): fix CPU/OpenCL code paths for FP16 handling
2021-11-28 07:44:05 +00:00
Alexander Alekhin
58dc397930
dnn(test): add two_inputs test with FP32/U8 data types
...
- remove similar test from IE scope under HAVE_INF_ENGINE
2021-11-28 07:44:04 +00:00
Alexander Alekhin
15073d63d9
Merge pull request #21126 from alalek:dnn_test_ie_update_4.x
2021-11-27 19:27:59 +00:00
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
2021-11-27 18:34:52 +00:00
Alexander Alekhin
31b2d6be75
dnn(test): update InferenceEngine tests (4.x)
2021-11-27 18:16:52 +00:00
Alexander Alekhin
57ee14d62d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-27 16:50:55 +00:00
Alexander Alekhin
d470cfe86e
Merge pull request #21134 from alalek:gapi_fix_build_ie_msvs2015
2021-11-27 12:59:46 +00:00
Alexander Alekhin
b55d8f46f4
Merge pull request #21133 from alalek:dnn_test_ie_update_3.4
2021-11-26 20:35:58 +00:00
Alexander Alekhin
c15218e37a
gapi: fix build with MSVS2015 (with IE)
2021-11-26 19:34:52 +00:00
Alexander Alekhin
985aa0423d
dnn(test): update InferenceEngine tests
2021-11-26 18:46:26 +00:00
Alexander Alekhin
c14a8dce93
Merge pull request #21131 from cclauss:codespell
2021-11-26 18:32:54 +00:00
Alexander Alekhin
f5d45221ca
Merge pull request #21130 from cclauss:print-function
2021-11-26 18:31:32 +00:00
Christian Clauss
d668aa7c24
Merge pull request #21121 from cclauss:patch-2
...
* GitHub Action to lint Python code
* Move from automatic events to manual ones
* flake8: Do not look for undefined names
2021-11-26 18:18:48 +00:00
Orest Chura
e20fe421e7
Merge pull request #21103 from OrestChura:oc/fix_1D_Mat_RMat_View_issue
...
[G-API] Fix issue of getting 1D Mat out of RMat::View
* Fix issue of getting 1D Mat out of RMat::View
- added test
- fixed for standalone too (removed Assert(dims.empty()))
* Fixed asVeiw() function for standalone
* Put more detailed comment
2021-11-26 16:42:12 +00:00
Orest Chura
2deb38d615
Merge pull request #21083 from OrestChura:oc/fix_coverity_vino_issues
...
[G-API] Fixed Coverity issues
* Fixed Coverity issues
- VectorRef&OpaqueRef m_kind = CV_UNKNOWN
- added same-type overload for saturate()
- sanitized resize value in ByteMemoryInStream::operator>> (std::string& str)
- handled throws from ~GStreamingExecutor()
* Catching exception by const ref
* Addressing Sergey's comments
* Applied enable_if semanitcs to saturate(x, round) too
* Removed uncaught_exception, made destructor noexcept back
* Split Fluid ConvertTo to multiple functions to avoid ifs; added CV_ALWAYS_INLINE
* Added FIXME to address throwings from stop()
* Fix standalone
* Addressing comments
* Guarded SIMD optimizations properly
* Removed excess parameter from simd_impl functions
2021-11-26 16:40:36 +00:00
Maxim Pashchenkov
b95d71af2b
Merge pull request #21106 from mpashchenkov:mp/ocv-gapi-clean-samples
...
G-API: Cleaning samples
* parseSSD + removed render details from gcpukernel
* self-rev
* Applying comment
* Added operators
* warnings
2021-11-26 14:31:15 +03:00
Christian Clauss
ebe4ca6b60
Fix typos discovered by codespell
2021-11-26 12:29:56 +01:00
Alexander Alekhin
f159ed20c2
Merge pull request #21128 from cclauss:patch-3
2021-11-26 11:11:58 +00:00
Christian Clauss
cdbb042ce4
Use print() function in both Python 2 and Python 3
2021-11-26 11:57:54 +01:00
Christian Clauss
23bbe511fe
CMakeLists.txt: Fix typo discovered by codespell
...
https://pypi.org/project/codespell/
2021-11-26 11:07:14 +01:00
Alexander Alekhin
444218e755
Merge pull request #21123 from cclauss:patch-3
2021-11-25 18:06:33 +00:00
Christian Clauss
9cc60c9dd3
Use ==/!= to compare constant literals (str, bytes, int, float, tuple)
...
Avoid `SyntaxWarning` on Python >= 3.8
```
>>> "convolutional" == "convolutional"
True
>>> "convolutional" is "convolutional"
<stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
True
```
Related to #21121
2021-11-25 15:39:58 +01:00
Alexander Alekhin
cc1fbe0956
Merge pull request #21108 from ShuangLiu1992:patch-1
2021-11-24 20:10:37 +00:00
Alexander Alekhin
2c226d597d
Merge pull request #21110 from alalek:update_libjpeg-turbo
2021-11-24 20:08:27 +00:00
Alexander Alekhin
c6ab32ffb9
3rdparty: libjpeg-turbo 2.1.0 => 2.1.2
...
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.2
2021-11-24 04:00:47 +00:00
cudawarped
97c6ec6d49
Merge pull request #20978 from cudawarped:videocapture_read_raw_enchancement
...
Add capacity to Videocapture to return the extraData from FFmpeg when required
* Update rawMode to append any extra data recieved during the initial negotiation of an RTSP stream or during the parsing of an MPEG4 file header.
For h264[5] RTSP streams this ensures the parameter sets if available are always returned on the first call to grab()/read() and has two purposes:
1) To ensure the parameter sets are available even if they are not transmitted in band. This is common for axis ip camera's.
2) To allow callers of VideoCapture::grab()[read()] to write to split the raw stream over multiple files by appending the parameter sets to the begining of any new files.
For (1) there is no alternative, for (2) if the parameter sets were provided in band it would be possible to parse the raw bit stream and search for the parameter sets however that would be a lot of work when that information is already provided by FFMPEG.
For MPEG4 files this information is only suplied in the header and is required for decoding.
Two properties are also required to enable the raw encoded bitstream to be written to multiple files, these are;
1) an indicator as to whether the last frame was a key frame or not - each new file needs to start at a key frame to avoid storing unusable frame diffs,
2) the length in bytes of the paramater sets contained in the last frame - required to split the paramater sets from the frame without having to parse the stream. Any call to VideoCapture::get(CAP_PROP_LF_PARAM_SET_LEN) returning a number greater than zero indicates the presense of a parameter set at the begining of the raw bitstream.
* Adjust test data to account for extraData
* Address warning.
* Change added property names and remove paramater set start code check.
* Output extra data on calls to retrieve instead of appending to the first packet.
* Reverted old test case and added new one to evaluate new functionality.
* Add missing definition.
* Remove flag from legacy api.
Add property to determine if returning extra data is supported.
Always allow extra data to be returned on calls to cap.retrieve()
Update test case.
* Update condition which indicates CAP_PROP_CODEC_EXTRADATA_INDEX is not supported in test case.
* Include compatibility for windows dll if not updated.
Enforce existing return status convention.
* Fix return error and missing test constraints.
2021-11-23 21:18:55 +00:00
Hanxi Guo
1fcf7ba5bc
Merge pull request #20406 from MarkGHX:gsoc_2021_webnn
...
[GSoC] OpenCV.js: Accelerate OpenCV.js DNN via WebNN
* Add WebNN backend for OpenCV DNN Module
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Add WebNN head files into OpenCV 3rd partiy files
Create webnn.hpp
update cmake
Complete README and add OpenCVDetectWebNN.cmake file
add webnn.cpp
Modify webnn.cpp
Can successfully compile the codes for creating a MLContext
Update webnn.cpp
Update README.md
Update README.md
Update README.md
Update README.md
Update cmake files and
update README.md
Update OpenCVDetectWebNN.cmake and README.md
Update OpenCVDetectWebNN.cmake
Fix OpenCVDetectWebNN.cmake and update README.md
Add source webnn_cpp.cpp and libary libwebnn_proc.so
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
update dnn.cpp
update op_webnn
update op_webnn
Update op_webnn.hpp
update op_webnn.cpp & hpp
Update op_webnn.hpp
Update op_webnn
update the skeleton
Update op_webnn.cpp
Update op_webnn
Update op_webnn.cpp
Update op_webnn.cpp
Update op_webnn.hpp
update op_webnn
update op_webnn
Solved the problems of released variables.
Fixed the bugs in op_webnn.cpp
Implement op_webnn
Implement Relu by WebNN API
Update dnn.cpp for better test
Update elementwise_layers.cpp
Implement ReLU6
Update elementwise_layers.cpp
Implement SoftMax using WebNN API
Implement Reshape by WebNN API
Implement PermuteLayer by WebNN API
Implement PoolingLayer using WebNN API
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Implement poolingLayer by WebNN API and add more detailed logs
Update dnn.cpp
Update dnn.cpp
Remove redundant codes and add more logs for poolingLayer
Add more logs in the pooling layer implementation
Fix the indent issue and resolve the compiling issue
Fix the build problems
Fix the build issue
FIx the build issue
Update dnn.cpp
Update dnn.cpp
* Fix the build issue
* Implement BatchNorm Layer by WebNN API
* Update convolution_layer.cpp
This is a temporary file for Conv2d layer implementation
* Integrate some general functions into op_webnn.cpp&hpp
* Update const_layer.cpp
* Update convolution_layer.cpp
Still have some bugs that should be fixed.
* Update conv2d layer and fc layer
still have some problems to be fixed.
* update constLayer, conv layer, fc layer
There are still some bugs to be fixed.
* Fix the build issue
* Update concat_layer.cpp
Still have some bugs to be fixed.
* Update conv2d layer, fully connected layer and const layer
* Update convolution_layer.cpp
* Add OpenCV.js DNN module WebNN Backend (both using webnn-polyfill and electron)
* Delete bib19450.aux
* Add WebNN backend for OpenCV DNN Module
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Add WebNN head files into OpenCV 3rd partiy files
Create webnn.hpp
update cmake
Complete README and add OpenCVDetectWebNN.cmake file
add webnn.cpp
Modify webnn.cpp
Can successfully compile the codes for creating a MLContext
Update webnn.cpp
Update README.md
Update README.md
Update README.md
Update README.md
Update cmake files and
update README.md
Update OpenCVDetectWebNN.cmake and README.md
Update OpenCVDetectWebNN.cmake
Fix OpenCVDetectWebNN.cmake and update README.md
Add source webnn_cpp.cpp and libary libwebnn_proc.so
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
Update dnn.cpp
update dnn.cpp
update op_webnn
update op_webnn
Update op_webnn.hpp
update op_webnn.cpp & hpp
Update op_webnn.hpp
Update op_webnn
update the skeleton
Update op_webnn.cpp
Update op_webnn
Update op_webnn.cpp
Update op_webnn.cpp
Update op_webnn.hpp
update op_webnn
update op_webnn
Solved the problems of released variables.
Fixed the bugs in op_webnn.cpp
Implement op_webnn
Implement Relu by WebNN API
Update dnn.cpp for better test
Update elementwise_layers.cpp
Implement ReLU6
Update elementwise_layers.cpp
Implement SoftMax using WebNN API
Implement Reshape by WebNN API
Implement PermuteLayer by WebNN API
Implement PoolingLayer using WebNN API
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Update pooling_layer.cpp
Implement poolingLayer by WebNN API and add more detailed logs
Update dnn.cpp
Update dnn.cpp
Remove redundant codes and add more logs for poolingLayer
Add more logs in the pooling layer implementation
Fix the indent issue and resolve the compiling issue
Fix the build problems
Fix the build issue
FIx the build issue
Update dnn.cpp
Update dnn.cpp
* Fix the build issue
* Implement BatchNorm Layer by WebNN API
* Update convolution_layer.cpp
This is a temporary file for Conv2d layer implementation
* Integrate some general functions into op_webnn.cpp&hpp
* Update const_layer.cpp
* Update convolution_layer.cpp
Still have some bugs that should be fixed.
* Update conv2d layer and fc layer
still have some problems to be fixed.
* update constLayer, conv layer, fc layer
There are still some bugs to be fixed.
* Update conv2d layer, fully connected layer and const layer
* Update convolution_layer.cpp
* Add OpenCV.js DNN module WebNN Backend (both using webnn-polyfill and electron)
* Update dnn.cpp
* Fix Error in dnn.cpp
* Resolve duplication in conditions in convolution_layer.cpp
* Fixed the issues in the comments
* Fix building issue
* Update tutorial
* Fixed comments
* Address the comments
* Update CMakeLists.txt
* Offer more accurate perf test on native
* Add better perf tests for both native and web
* Modify per tests for better results
* Use more latest version of Electron
* Support latest WebNN Clamp op
* Add definition of HAVE_WEBNN macro
* Support group convolution
* Implement Scale_layer using WebNN
* Add Softmax option for native classification example
* Fix comments
* Fix comments
2021-11-23 21:15:31 +00:00
Alexander Alekhin
12c1e1d149
Merge pull request #21032 from alalek:js_tracker_mil
2021-11-23 19:57:38 +00:00
ShuangLiu1992
fa222b0ea2
Update cap_android_camera.cpp
...
since u and v Pixel ptr have been swapped the compare condition should be updated too
2021-11-23 15:03:18 +00:00
Alexander Alekhin
101be77d9d
Merge pull request #21092 from alalek:core_logger_show_timestamp
2021-11-22 22:44:31 +00:00
Ruan
a6dbef89c2
Merge pull request #21094 from Ryyyc:patch-2
...
* Update how_to_use_OpenCV_parallel_for_new.markdown
Fix an incorrect jump link in the tutorial how_to_use_OpenCV_parallel_for_new.
* Update how_to_use_OpenCV_parallel_for_new.markdown
Update the URL of the tutorial code.
2021-11-22 18:52:08 +00:00
Sergey Ivanov
02f08879a4
Merge pull request #21022 from sivanov-work:async_mfp_demux
...
G-API: oneVPL Implement asynchronous MFP demux data provider
* Add dummy dmux
* Initial commit for draft versionn
* Demux for low res file works
* Add media source resolver to work over incorrect MIME
* Add MFP Demux logger
* stash changes
* Extend IDataProvider with CodecId, Add troubleshooting info
* Add IDapaProvider dispatcher
* Add ComPtrGuard wrappers
* Add new unit test scope for MFP demux & Add minor changes
* Enhance UTs
* Remove ATL header
* Remove ATL another one
* Fix build
* Add static for some methods
* Initial commit
* Add async demuxing
* Apply tdd idea
* Intro IDataProvider changes: +fetch_bitstream, -fetch_data
* Fix UTs
* Remove IDataProvider::CodecId & Fix EOF hang
* Remove sync demux
* Remove mfp async dependencies
* Remove VPL dependencies from IDataProvider declaration
* Apply comments
* Fix compilation
* Suppress unused warning
* Apply some comments
* Apply some comments
* Apply comments
2021-11-22 14:53:38 +03:00
Alexander Alekhin
61f1ee2d2d
core(logger): dump timestamp information with message
2021-11-20 15:34:23 +00:00
Alexander Alekhin
ac4b592b4e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-20 05:13:50 +00:00
Alexander Alekhin
93b6e80cd7
Merge pull request #21063 from vrabaud:3.4_h_clamping
2021-11-19 20:28:25 +00:00
zcx
f5de714451
Merge pull request #20987 from zcx-xxx:master
...
* Update drawing.cpp
optimize FillEdgeCollection function
* Update drawing.cpp
optimize FillEdgeCollection,remove sort_flag
2021-11-19 18:57:07 +03:00
Vincent Rabaud
d4741eece1
Fix H clamping for very small negative values.
...
In case of very small negative h (e.g. -1e-40), with the current implementation,
you will go through the first condition and end up with h = 6.f, and will miss
the second condition.
2021-11-19 16:34:09 +01:00
Alexander Alekhin
585484cb06
Merge pull request #21067 from NickJackolson:nickjackolson/imread-warning
2021-11-18 22:48:40 +00:00
nickjackolson
b696928a5b
add !empty assertion in seamlessClone()
...
issue #20617 addresses lack of warnings on
seamlessClone() function when src is None.
This commit adds source check using CV_Assert
therefore debugging would be easier.
Signed-off-by: nickjackolson <metedurlu@gmail.com >
2021-11-18 21:19:05 +01:00
nickjackolson
79d4e865fe
Add warning message to imread()
...
Add a warning message using CV_LOG__WARNING().
This way api behaviour is preserved. Outputs are
the same but user gets an extra warning in case
fopen() fails to access image file for some reason.
This would help new users and also debugging
complex apps which use imread()
Signed-off-by: nickjackolson <metedurlu@gmail.com >
2021-11-18 21:19:05 +01:00
Alexander Alekhin
8380879804
Merge pull request #21077 from alalek:js_test_pin_cli_table
2021-11-18 18:34:44 +00:00
Alexander Alekhin
091461cece
Merge pull request #21081 from alalek:issue_17261
2021-11-18 18:23:00 +00:00
Alexander Alekhin
d228c5459d
core: avoid using of 'check' identifier
2021-11-18 16:02:59 +00:00
Alexander Alekhin
3d5d3ea20c
js: add TrackerMIL
2021-11-18 12:13:05 +00:00
Alexander Alekhin
de7f8eec04
js(test): pin cli-table dependency
2021-11-18 05:40:16 +00:00
Alexander Alekhin
4b6047e746
Merge pull request #21024 from anna-khakimova:ak/simd_mul
2021-11-17 18:41:52 +00:00
Anna Khakimova
c47673bf10
Fluid: SIMD multiply kernel
2021-11-17 11:35:32 +03:00
Alexander Alekhin
49432009fe
Merge pull request #21064 from alalek:doc_videoio_api_preference_3.4
2021-11-16 20:05:59 +00:00
Maxim Pashchenkov
2f6d2b08aa
Merge pull request #20995 from mpashchenkov:mp/ocv-gapi-tdp-skip
...
G-API: Removing G-API test code that is a reflection of ts module
* gapi: don't hijack testing infrastructure
* Removed initDataPath functionality (ts module exists)
* Removed false for ocv_extra data from findDataFile
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-11-16 18:27:42 +00:00
Alexander Alekhin
473f10877c
doc(videoio): fix apiPreference note, replace DSHOW(deprecated)->MSMF
2021-11-16 17:08:11 +00:00
Anatoliy Talamanov
c7df82460c
Merge pull request #20925 from TolyaTalamanov:at/enable-2d-inputs-giebackend
...
[G-API] Enable 2D inputs for GIEBackend
* Enable 2D inputs
* Fix typo
2021-11-16 12:52:42 +00:00
Anna Khakimova
b19697e3ac
Merge pull request #20914 from anna-khakimova:ak/simd_div
...
GAPI Fluid: SIMD Div kernel.
* HAL implementation for Div kernel
* Removed dbg lines
* Applied comments.
* Reworked
* Final version
2021-11-15 17:16:25 +00:00
Qiushi Zheng
3e51448ef0
Merge pull request #17889 from ZhengQiushi:my_3.4
...
QR code (encoding process)
* add qrcode encoder
* qr encoder fixes
* qr encoder: fix api and realization
* fixed qr encoder, added eci and kanji modes
* trigger CI
* qr encoder constructor fixes
Co-authored-by: APrigarina <ann73617@gmail.com >
2021-11-15 17:15:39 +00:00
Anatoliy Talamanov
2b2e515a30
Merge pull request #20918 from TolyaTalamanov:at/fix-empty-map-importNetwork
...
[G-API] Fix bugs in GIEBackend
* Remove inputs/outputs map from IEUnit
* Add test
* Add NV12 test
* Reorganize setBlob function
* Check that backend don't overwrite blob precision
* Stop setting config to global IE::Core
* Replace mutable to const_cast
* Update modules/gapi/test/infer/gapi_infer_ie_test.cpp
* Update modules/gapi/test/infer/gapi_infer_ie_test.cpp
* Make blob parameter as const ref
* Cosmetic fixes
* Fix failed test on inferROI
* Removed double ref for ii
* Disable tests
* Skip tests if device not available
* Use Sync prim under shared_ptr to avoid issue on MAC
* Apply WA for IE::Core
* Apply WA for MAC build
* Try to apply another WA
* Not release IE::Core for apple
* Put comment
* Support PreprocInfo for
* InferROI
* InferList
* InferList2
* Remove empty line
* Fix alignment
Co-authored-by: Maxim Pashchenkov <maxim.pashchenkov@intel.com >
2021-11-15 17:11:53 +00:00
Alexander Alekhin
394e640909
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-13 15:11:30 +00:00
Alexander Alekhin
b48eb4e88b
Merge pull request #21039 from SegaraRai:use-pragma-message
2021-11-12 14:31:03 +00:00
Trutnev Aleksei
b525480b25
Merge pull request #20857 from alexgiving:atrutnev/move_API_samples
...
Move API sample code to tutorial_code location
2021-11-12 14:17:21 +00:00
Alexander Alekhin
45f18eaa52
Merge pull request #21048 from ffontaine:4.x
2021-11-12 12:28:28 +00:00
Fabrice Fontaine
4c92a2869b
modules/videoio/src/cap_ffmpeg_impl.hpp: fix build with gcc 4.8
...
Fix the following build failure with gcc 4.8:
In file included from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/cap_ffmpeg_impl.hpp:100:0,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/cap_ffmpeg.cpp:50:
/home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/cap_ffmpeg_hw.hpp: In constructor 'HWAccelIterator::HWAccelIterator(cv::VideoAccelerationType, bool, AVDictionary*)':
/home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/cap_ffmpeg_hw.hpp:939:23: error: use of deleted function 'std::basic_istringstream<char>& std::basic_istringstream<char>::operator=(const std::basic_istringstream<char>&)'
s_stream_ = std::istringstream(accel_list);
^
In file included from /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/complex:45:0,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/core/include/opencv2/core/cvstd.inl.hpp:47,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/core/include/opencv2/core.hpp:3306,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/include/opencv2/videoio.hpp:46,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/precomp.hpp:57,
from /home/buildroot/autobuild/instance-3/output-1/build/opencv4-4.5.4/modules/videoio/src/cap_ffmpeg.cpp:42:
/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/sstream:272:11: note: 'std::basic_istringstream<char>& std::basic_istringstream<char>::operator=(const std::basic_istringstream<char>&)' is implicitly deleted because the default definition would be ill-formed:
class basic_istringstream : public basic_istream<_CharT, _Traits>
^
/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-none-linux-gnueabi/include/c++/4.8.3/sstream:272:11: error: use of deleted function 'std::basic_istream<char>& std::basic_istream<char>::operator=(const std::basic_istream<char>&)'
Fixes:
- http://autobuild.buildroot.org/results/60f8846b435dafda0ced412d59ffe15bdff0810d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com >
2021-11-12 09:50:17 +01:00
Alexander Alekhin
8041ab8a61
Merge pull request #21025 from alalek:issue_21004
...
* dnn(ocl4dnn): fix LRN layer accuracy problems
- FP16 intermediate computation is not accurate and may provide NaN values
* dnn(test): update tolerance for FP16
2021-11-12 01:54:07 +03:00
Alexander Alekhin
8251fc0811
Merge pull request #21028 from AleksandrPanov:fix_markers_parse_in_gen_pattern.py
2021-11-11 22:11:34 +00:00
Alexander Alekhin
827ff80c06
Merge pull request #20977 from JulieBar:remap_overflow
2021-11-11 22:06:16 +00:00
Trutnev Aleksei
18ca998f67
Merge pull request #21040 from alexgiving:atrutnev/rename_RMatAdapter
...
GAPI: Rename MatAdapter to RMatOnMat
2021-11-11 14:52:38 +03:00
tv3141
cb286a66be
Merge pull request #21030 from tv3141:fix_seg_fault_houghlinespointset
...
Fix seg fault houghlinespointset
* Clarify parameter doc for HoughLinesPointSet
* Fix seg fault.
* Add regression test.
* Fix latex typo
2021-11-10 22:15:38 +03:00
SegaraRai
8444470e3a
use #pragma message instead of #warning for non-GCC compilers
2021-11-11 03:14:19 +09:00
Alexander Alekhin
f33828a1ca
Merge pull request #20870 from pkubaj:master
2021-11-10 16:08:20 +00:00
Piotr Kubaj
68e425f869
Add support for runtime CPU feature check on POWER on FreeBSD.
...
1. Code uses PPC_FEATURE_HAS_VSX, but it's not checked similarly to
PPC_FEATURE2_ARCH_3_00 and PPC_FEATURE2_ARCH_3_00 for availability. FreeBSD has
those macros in machine/cpu.h, but I went with the way chosen for
PPC_FEATURE2_ARCH_3_00 and PPC_FEATURE2_ARCH_3_00. Other than that, FreeBSD also
has sys/auxv.h and that's where elf_aux_info() is defined.
2. getauxval() is actually Linux-only, but code checked for __unix__. It won't
work on all UNIX, so change it back to __linux__. Add another code variant
strictly for FreeBSD.
3. Update comment. This commit adds code for FreeBSD, but recently there
appeared support for powerpc64 in OpenBSD.
2021-11-10 13:28:09 +00:00
Sergey Ivanov
da6344297a
Merge pull request #20901 from sivanov-work:merge_source_unite_perf_mod
...
G-API: oneVPL - Performance: Add async decode pipeline & add cached pool
* Add async decode pipeline & intro cached pool
* Fix performacne test with checking OPENCV_EXTRA
* Add sip perf test with no VPL
* Fix misprint
* Remove empty line..
* Apply some comments
* Apply some comments
* Make perf test fail if no OPENCV_TEST_DATA_PATH declared
2021-11-10 13:21:51 +00:00
Anna Khakimova
3cfca01372
Merge pull request #20664 from anna-khakimova:ak/resize_simd
...
Fluid: SIMD for Resize Linear 8UC3
* SIMD for fluid::Resize 8U3C
* Rework horizontal pass + add 8U4C case
* Reproduce stackoverflow test
* StackOverflow test
* SSE42 impl
* SSE42 impl improvement
* GAPI:SSE42 simd opt for Resize 8UC3. Final version
* Fix tests
* Conditional compilation fix
* Applied comments
* Applied comments. Step2
* Applied comments. Step2
2021-11-10 13:19:52 +00:00
Alexander Alekhin
d934bb15b0
Merge pull request #20998 from alalek:update_protobuf_3.19.1
...
3rdparty(protobuf): upgrade 3.5.2 => 3.19.1
* 3rdparty(protobuf): upgrade 3.5.2 => 3.19.1
* dnn: update protobuf files (3.19.1)
* 3rdparty(protobuf): re-apply OpenCV patch for custom fields (3.19.1)
* protobuf: suppress new build warnings
* protobuf: remove unused files
2021-11-10 12:03:45 +00:00
AleksandrPanov
0c0a8392e5
fix markers parse in gen_pattern.py
2021-11-10 11:14:06 +03:00
ZaKiiiiiiiii
98b6ce353c
Merge pull request #20904 from Crayon-new:fix_bug_in_maxLayer
...
fix bug: wrong output dimension when "keep_dims" is false in pooling layer.
* fix bug in max layer
* code align
* delete permute layer and add test case
* add name assert
* check other cases
* remove c++11 features
* style:add "const" remove assert
* style:sanitize file names
2021-11-09 19:24:04 +03:00
Alexander Alekhin
58043dac0f
Merge pull request #21027 from anonymouss:4.x
2021-11-09 15:12:35 +00:00
jcong
d2c1f1131b
videoio: drop unnecessary offset for accessing video output buffer
...
Fix : #21021
NDK API AMediaCodec_getOutputBuffer() returns MediaCodecBuffer::data()
which is actually ABuffer::data(). The returned buffer address is already
adjusted by offset.
More info:
ABuffer::base() returns base address without offset
ABuffer::data() returns base + offset
Change-Id: I2936339ce4fa9acf657a5a7d92adc1275d7b28a1
2021-11-09 17:23:34 +08:00
Lukas-Alexander Weber
fa5c7a9e75
Merge pull request #21020 from lukasalexanderweber:squash
...
Created Stitching Tool based on stitching_detailed.py
2021-11-08 11:54:06 +00:00
Alexander Alekhin
ceb94d52a1
Merge pull request #21016 from alalek:issue_21002
2021-11-06 22:12:40 +00:00
Alexander Alekhin
a2716712ab
highgui(win32): fix trackbar setRange
2021-11-06 15:19:22 +00:00
Alexander Alekhin
1ac7baceff
Merge pull request #21005 from nikpappas:bug-samples-falsecolor-trackbar
2021-11-06 14:19:58 +00:00
Nikolaos Pappas
968d94d417
Fix trackbar in falsecolor cpp sample
2021-11-06 10:11:58 +00:00
Alexander Alekhin
7842181b47
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-05 09:27:46 +00:00
Alexander Alekhin
2ce47fda88
Merge pull request #21011 from vrabaud:3.4
2021-11-05 09:25:50 +00:00
Vincent Rabaud
ffd010767f
Only use fma functions when CV_FMA3 is set.
...
In practice, processors offering AVX2/AVX512 also FMA, that is why it got unnoticed.
2021-11-04 23:15:49 +01:00
Alexander Alekhin
635990a5b0
Merge pull request #21009 from alalek:dnn_skip_tests_32bit
2021-11-04 18:15:50 +00:00
Alexander Alekhin
562f2375c5
dnn(test): skip tests with high memory usage
...
- 32-bit configuration may fail due to memory fragmentation
2021-11-04 13:26:33 +00:00
Alexander Alekhin
edf533c83e
Merge pull request #21007 from alalek:cmake_dnn_fix_wrong_tengine_order
2021-11-04 12:28:27 +00:00
Alexander Alekhin
c1d61c88e9
dnn(cmake): don't hijack OpenCL options with Tengine
2021-11-04 09:59:19 +00:00
Alexander Alekhin
6360b846c6
Merge pull request #21003 from APrigarina:add_test_qrdetect_fix
2021-11-03 22:32:00 +00:00
Alexander Alekhin
57900d07f0
Merge pull request #20882 from flytogcp:flytogcp-patch-1
2021-11-03 20:30:24 +00:00
APrigarina
8e72e1ed88
add test case for QR detect fix
2021-11-03 19:56:54 +00:00
Alexander Alekhin
10c547396d
Merge pull request #20990 from alalek:fix_warnings_msvc_clang_dshow_3.4
2021-11-03 19:51:31 +00:00
cpengu
66dd871288
Update qrcode.cpp
...
Fixed issue #20880 , QRDetect::searchHorizontalLines() boundary condition will skip the matched qrcode near the end
2021-11-03 19:45:24 +00:00
Alexander Alekhin
d484939c02
Merge pull request #20999 from alalek:dnn_replace_deprecated_calls
...
dnn(protobuf): replace deprecated calls
* dnn: replace deprecated ByteSize() => ByteSizeLong()
* dnn: replace deprecated calls, use GetRepeatedFieldRef
2021-11-03 15:59:36 +00:00
Alexander Alekhin
85fd8729ce
Merge pull request #20970 from s-trinh:update_Bayer_naming
2021-11-02 20:41:17 +00:00
Alexander Alekhin
b3e16c6423
videoio(dshow): eliminate build warnings from MSVC-Clang
2021-11-02 19:22:47 +00:00
Souriya Trinh
30d6766db4
Add conventional Bayer naming.
2021-11-02 20:17:57 +01:00
Trutnev Aleksei
17234f82d0
Merge pull request #20836 from alexgiving:atrutnev/rename_Adapter_to_IAdapter
...
* Rename RMat::Adapter to RMat::IAdapter
* Add comments
2021-11-01 12:43:27 +00:00
Alexander Alekhin
7b57df02a7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-30 14:26:17 +00:00
Alexander Alekhin
b65ae3b036
Merge pull request #20982 from alalek:highgui_drop_cvGetWindowImageRect_4.x
2021-10-30 14:01:33 +00:00
Alexander Alekhin
bce76a7977
Merge pull request #20980 from alalek:highgui_fix_cvGetWindowImageRect_3.4
2021-10-30 13:59:08 +00:00
Alexander Alekhin
66f3e97457
highgui: drop invalid cvGetWindowImageRect
2021-10-30 12:47:07 +00:00
Alexander Alekhin
0ee61d178f
highgui: drop invalid cvGetWindowImageRect
...
- return type is C++ template
- removal from 'extern "C"' scope broke ABI anyway, so this symbols is removed completelly
2021-10-30 12:40:20 +00:00
Alexander Alekhin
1ceba29f4b
Merge pull request #20976 from alalek:issue_20968
2021-10-30 10:27:32 +00:00
Alexander Alekhin
40c748a2ae
python: properly handle step for multichannel case
2021-10-29 18:29:19 +00:00
Alexander Alekhin
0e9453a395
Merge pull request #20971 from alalek:cmake_build_type_use_release
2021-10-29 17:45:09 +00:00
Julie Bareeva
69d0bc8fd5
Added overflow handling during conversion from float to int for LinearFilter
2021-10-29 19:46:11 +03:00
Trutnev Aleksei
6a73e5a720
Merge pull request #20922 from alexgiving:atrutnev/align_expect_assert_macros
...
GAPI: Align EXPECT/ASSERT macros
* Align TEST macros
* restart CI
* Fix ASSERT_GT in gapi_async_test
2021-10-29 16:30:35 +00:00
Alexander Alekhin
e70ba29d95
Merge pull request #20972 from Isydmr:correct-db-text-detector-drive-links
2021-10-29 15:19:34 +00:00
Alexander Alekhin
e5647cf70d
cmake: use CMAKE_BUILD_TYPE=Release by default
2021-10-29 15:15:17 +00:00
Ihsan Soydemir
9637cf0574
Correct drive links for DB_IC15 and DB_TD500
2021-10-29 13:30:51 +03:00
Alexander Alekhin
74cc63ba2f
Merge pull request #20969 from alalek:fix_msvc_clang_warning_noreturn
2021-10-28 23:00:49 +00:00
Alexander Alekhin
0b6e360602
Merge pull request #20967 from alalek:fix_msvc_clang_unused_parameter
2021-10-28 22:27:41 +00:00
Alexander Alekhin
a49cda6523
core: eliminate Winvalid-noreturn in base.hpp
2021-10-28 21:33:20 +00:00
Alexander Alekhin
d612c72405
build: fix MSVC-Clang warnings about unused parameters in stubs
2021-10-28 21:08:36 +00:00
Maxim Pashchenkov
eb152d7431
Merge pull request #20937 from mpashchenkov:mp/ocv-gapi-warnings
...
G-API: Disable Windows warnings with 4996 code
* Windows warnings 4503 and 4996 are disabled with dnn style
* Applying comments to review
* Reproducing
* Added check MSVC_VERSION for both warnings
2021-10-28 18:19:46 +00:00
Alexander Alekhin
6bd143dd25
Merge pull request #20961 from alalek:fix_msvc_clang
2021-10-28 13:54:24 +00:00
Alexander Alekhin
770d3eabc0
Merge pull request #20960 from alalek:fix_icc_support_3.4
2021-10-28 13:54:07 +00:00
Alexander Alekhin
75e2ba5af3
core(simd): fix compilation with MSVC-Clang
2021-10-28 11:25:00 +00:00
Alexander Alekhin
1726bb6c0d
build(icc): fix nodiscard attribute handling
2021-10-28 05:52:22 +00:00
Alexander Alekhin
5dfe65d53a
cmake: fix popcnt detection with Intel Compiler
2021-10-28 05:37:23 +00:00
Alexander Alekhin
83afd09f13
Merge pull request #20950 from Harvey-Huang:master
2021-10-27 20:09:51 +00:00
Alexander Alekhin
d059cc7170
Merge pull request #20958 from noahstier:3.4_tvl1_optimization
2021-10-27 19:59:57 +00:00
Alexander Alekhin
96488c1c74
Merge pull request #20954 from shengyu7697:remove-redundant-semicolon
2021-10-27 19:31:27 +00:00
Noah Stier
84a81579ba
tvl1 cuda optflow optimization
2021-10-27 12:01:53 -07:00
Chengrui Wang
244ba1a61a
Merge pull request #20935 from crywang:dnn_face
...
Fix problems in tutorial and python sample of dnn_face.
* Update dnn_face.markdown
* Update face_match.py
2021-10-27 12:23:42 +00:00
shengyu
9dadc06e64
remove redundant semicolons
2021-10-27 20:19:05 +08:00
Alexander Alekhin
60f949e36f
Merge pull request #20924 from alexgiving:atrutnev/fix_gkernel_documentation
2021-10-27 09:17:16 +00:00
Harvey
af154e3053
fixed bug: opencv read tif file convert Palette color image as grayscale image
2021-10-27 14:10:11 +08:00
Alexander Alekhin
9e6c290696
Merge pull request #20947 from alalek:cmake_find_package_quiet
2021-10-26 16:04:17 +00:00
MaximMilashchenko
0a71063530
Merge pull request #20942 from MaximMilashchenko:AudioPatch
...
Audio patch
* fixed microphone, audio position
* fixed docs
* changed AudioOpenCheck
2021-10-26 14:33:53 +00:00
Alexander Alekhin
0b1ae11498
cmake: find_package with QUIET
2021-10-26 14:29:57 +00:00
Alexander Alekhin
017a4e7c30
Merge pull request #20940 from alalek:cmake_fix_samples_parallel_backend
2021-10-25 18:17:13 +00:00
Alexander Alekhin
3891f18e71
samples: update parallel_backend examples
...
- use find_package(TBB)
2021-10-25 16:21:05 +00:00
Alexander Alekhin
6a2077cbd8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-23 15:33:31 +00:00
Alexander Alekhin
aa11cc19e8
Merge pull request #20919 from berak:patch-1
2021-10-22 14:08:08 +00:00
Harvey
9267536fee
Merge pull request #20875 from Harvey-Huang:master
...
* bmp specified BI_BITFIELDS should take care RGBA bit mask
* change the name
* support xrgb bmp file
* support xrgb bmp file(add test case)
* update testing code
2021-10-22 17:04:19 +03:00
berak
a6f5717567
resolves #20913
...
imgproc: remove asserts for circles_ in HoughCircles
2021-10-22 15:07:57 +02:00
atrutnev
0a58d6812a
fix gkernel Doxygen documentation
2021-10-22 11:06:09 +03:00
Alexander Alekhin
12507aab8a
Merge pull request #20912 from AleksandrPanov:fix_findMinEnclosingTriangle
2021-10-21 16:26:53 +00:00
Sergey Ivanov
d376fe9e17
Merge pull request #20921 from sivanov-work:atl_patch
...
G-API: FIX OpenVINO build - Add CComPtr RAII replacement into G-API sample
* Add CComPtr RAII replacement into G-API sample
* Remove completely `atlbase.h'
2021-10-21 16:12:03 +00:00
AleksandrPanov
d21622bef4
fix findMinEnclosingTriangle and add tests
2021-10-21 18:12:51 +03:00
Maksim Shabunin
7febec49b2
Merge pull request #20614 from mshabunin:use-onevpl-load
...
videoio: use oneVPL load mechanism, encoder bitrate estimation
* videoio: updated oneVPL support - use mfxLoad
* videoio: advanced bitrate estimation for MFX encoder
* videoio: improved MediaSDK/oneVPL/libva detection
* videoio(ffmpeg): don't try oneVPL
* videoio(test): tune checks of videoio_mfx.read_write_raw tests
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-21 13:56:11 +00:00
Alexander Alekhin
14d5098ca2
Merge pull request #20903 from alalek:samples_fix_nothreads_build
2021-10-21 13:04:01 +00:00
Alexander Alekhin
bc8eac2439
Merge pull request #20906 from alalek:backport_20903
2021-10-21 13:03:46 +00:00
Alexander Alekhin
4e65db80e8
Merge pull request #20916 from Harvey-Huang:32bit_rgb
2021-10-21 11:45:48 +00:00
Alexander Alekhin
c0c71d6b3a
Merge pull request #20920 from alalek:hotfix_clang_abi
2021-10-21 11:35:58 +00:00
Alexander Alekhin
bac1c6d12f
hotfix: repair Clang ABI
2021-10-21 09:36:25 +00:00
Harvey
ce68291d83
32bit rgb bmp file should not copy data as rgba
2021-10-21 16:47:27 +08:00
Alexander Alekhin
4176a0ade3
Merge pull request #20908 from alalek:4.x_drop_legacy
2021-10-21 07:09:14 +00:00
Alexander Alekhin
ec10f2e72b
Merge pull request #20877 from rogday:simple_layers
2021-10-20 17:00:38 +00:00
MaximMilashchenko
f36c268b9e
Merge pull request #19721 from MaximMilashchenko:Audio
...
add audio support in cap_msmf
* audio msmf
* fixed warnings
* minor fix
* fixed SampleTime MSMF
* minor fix, fixed audio test, retrieveAudioFrame
* fixed warnings
* impelemented sync audio and video stream with start offset
* fixed error
* fixed docs
* fixed audio sample
* CAP_PROP_AUDIO_POS, minor fixed
* fixed warnings
* videoio(MSMF): update audio test checks, add debug logging
* fixed
* fixed desynchronization of time positions, warnings
* fixed warnings
* videoio(audio): tune tests checks
* videoio(audio): update properties description
* build warnings
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-20 16:18:24 +03:00
Alexander Alekhin
824392a1c2
Merge pull request #20910 from lukasalexanderweber:sift_fix
2021-10-20 09:48:20 +00:00
Sergey Ivanov
1f9a7b8fd3
Merge pull request #20738 from sivanov-work:merge_master_vpl_dev_select
...
G-API: oneVPL - Implement IDeviceSelector & default cfg_param-based selector
* Initial commit
* Add MACRO undef
* Change IDeviceSelector, Change Inf sample for choose external device
* Fix compilation
* Address some comments
* Fix compilation
* Add missing header
* Add EXPORT to dev selector
* Add guard
* Remove enum type attr
* Fix compilation without VPL
* Add HAVE_INFER guard in sample
* Remove unusable include from tests
* Remove unusable include from sample
* Remove cl_d3d11 header from unit test
2021-10-20 12:43:32 +03:00
Lukas Weber
9379e85e23
changed no longer patented SIFT
2021-10-20 09:07:48 +02:00
Alexander Alekhin
805c2832c1
4.x: drop DISABLE_OPENCV_24_COMPATIBILITY macro
...
not used in 4.x code
2021-10-20 05:45:40 +00:00
Alexander Alekhin
d33a048d89
Merge pull request #20892 from alalek:issue_20888
2021-10-19 19:45:35 +00:00
Alexander Alekhin
f77fdc0ce8
samples: fix build without threading support
2021-10-19 13:35:09 +00:00
Zhuo Zhang
7da51787b9
Merge pull request #20900 from zchrissirhcz:3.4-hwfeatures-support-qnx
...
* fix: correctly check neon flags for QNX platform
* refactor: change __QNXNTO__ to __QNX__
2021-10-19 13:30:27 +00:00
Alexander Alekhin
b1f422c1c5
Merge pull request #20894 from alalek:core_simd_int64_ctor_sse
2021-10-19 13:29:52 +00:00
rogday
b3f966e2ca
Merge pull request #20883 from rogday:eltwise_refactoring
...
* backport elementwise_layers refactor
* keep NULL
2021-10-19 13:29:22 +00:00
Alexander Alekhin
3f191e1b75
Merge pull request #20897 from ThalesGroup:master
2021-10-19 13:27:54 +00:00
Alexander Alekhin
6d5fdfbf73
samples: fix build without threading support
2021-10-19 09:31:12 +00:00
Michel Promonet
9a9e457dd6
Allow to set av_log_set_level to reduce ffmpeg level below AV_LOG_ERROR
2021-10-19 10:46:41 +02:00
Alexander Alekhin
c316dbe2aa
Merge pull request #20895 from sergiud:avx-error-immediate
2021-10-18 19:08:50 +00:00
Alexander Alekhin
b5fcb06a76
core(SIMD): update int64 SSE constructor
2021-10-18 18:59:40 +00:00
Anatoliy Talamanov
b5a9a6793b
Merge pull request #20856 from TolyaTalamanov:at/cfg-batch-size
...
G-API: Extend ie::Params to specify batch size
* Add cfgBatchSize to ie::Params
* Fix comments to review
2021-10-18 19:31:48 +03:00
Sergey Ivanov
0cf79155d4
Merge pull request #20773 from sivanov-work:merge_vpl_source_unite
...
G-API: oneVPL (simplification) unite components in entire VPL source
* Unify components in VPLSource
* Revert back decode WRN & Add compile guard
* Address come comments
* Add source alias
* Apply comment for exception handling
2021-10-18 19:20:55 +03:00
Sergiu Deitsch
f8f9f3c438
fixed AVX compile error
...
Some older compilers do not allow to pass a `const int` as an immediate. Use an unnamed enum instead.
2021-10-18 14:56:19 +02:00
Alexander Alekhin
1926e919be
dnn(int8): fix using of incorrect UMat constructor
2021-10-18 04:46:00 +00:00
Alexander Alekhin
e6c68eed51
Merge pull request #20879 from Wehzie:patch-1
2021-10-17 16:50:13 +00:00
Wehzie
f9e747dbc6
Fixed typo in CV_Error message
...
Error was "Input parameters must be a matrices!", but "matrices" is plural and doesn't allow the unspecific article "a".
2021-10-17 15:37:14 +03:00
Alexander Alekhin
0e86e292e4
Merge pull request #20885 from alalek:cmake_fix_python_submodules
2021-10-15 15:34:30 +00:00
Alexander Alekhin
a590682764
cmake: update installation of python extra submodules
...
- support Python standalone builds
- loader installs submodules unconditionally
2021-10-15 14:21:31 +00:00
Alexander Alekhin
31c40fa4cc
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-15 13:35:03 +00:00
Smirnov Egor
1feb3838b5
add Ceil, Floor, Log, Round, Sqrt, Not, Equal, Less, Greater
2021-10-15 16:02:46 +03:00
Nicholas Ho
bd0732b1d0
Merge pull request #20740 from Nicholas-Ho-arm:3.4_SymmColumnVec_32f8u
...
* Add SymmColumnVec_32f8u
* Fix double to float warnings
2021-10-15 11:47:53 +00:00
Alexander Alekhin
0b5cbcefdd
Merge pull request #20868 from icestraw:fix-type-error-of-slice-indices
2021-10-14 16:11:37 +00:00
icestraw
e4a87f2f4f
fix type error of slice indices
2021-10-14 11:52:35 +08:00
Alexander Alekhin
3c8cadf7ca
Merge pull request #20867 from alalek:fix_CV_POPCNT_U64_msvs
2021-10-13 17:08:58 +00:00
Alexander Alekhin
7c0b26e8a0
Merge pull request #20834 from sthalik:msvc-shared-library-static-crt
2021-10-13 14:21:08 +00:00
Alexander Alekhin
982503e9a8
core: ensure 'int' result from CV_POPCNT_U64(x)
2021-10-13 01:14:37 +00:00
Stanislaw Halik
3d93675ff9
fix link error on shared libs with -MT
2021-10-12 17:50:31 +02:00
Alexander Alekhin
53d6c9b9c0
Merge pull request #20860 from rogday:sum_fix
2021-10-12 15:36:32 +00:00
Alexander Alekhin
a02e90d502
Merge pull request #20859 from rogday:sub_const_fix
2021-10-11 18:51:46 +00:00
Smirnov Egor
238dbffb48
change asserts for Sum
2021-10-11 20:59:44 +03:00
Smirnov Egor
a9d7b6eab7
fix const - input and remove unimplemented function
2021-10-11 18:58:10 +03:00
Alexander Alekhin
39c3334147
Merge tag '4.5.4'
2021-10-10 00:22:46 +00:00
Alexander Alekhin
4223495e6c
release: OpenCV 4.5.4
2021-10-09 15:48:26 +00:00
Alexander Alekhin
023e86d68f
Merge pull request #20848 from alalek:reverse_plugins_candidates_order
2021-10-09 15:45:17 +00:00
Yaniv Hollander
ac57be91e1
Merge pull request #20721 from YanivHollander:DocFixes
...
Doc fixes
* Update imgproc.hpp
* Update imgproc.hpp
2021-10-09 15:43:50 +00:00
Alexander Alekhin
c2e65bafb5
Merge pull request #20846 from alalek:issue_19947
2021-10-09 06:22:02 +00:00
Alexander Alekhin
74161b2122
Merge pull request #20847 from alalek:fix_build_js_simd_tests
2021-10-09 05:59:24 +00:00
Alexander Alekhin
39ee5c5a46
plugins: reverse candidates order to fetch higher versions first
2021-10-08 20:34:07 +00:00
Alexander Alekhin
788f330d07
js: fix build of SIMD tests
2021-10-08 20:15:41 +00:00
Alexander Alekhin
af56151231
highgui(docs): we don't support 32-bit integer images in imshow()
2021-10-08 19:51:18 +00:00
Yuantao Feng
34d359fe03
Merge pull request #20422 from fengyuentau:dnn_face
...
Add DNN-based face detection and face recognition into modules/objdetect
* Add DNN-based face detector impl and interface
* Add a sample for DNN-based face detector
* add recog
* add notes
* move samples from samples/cpp to samples/dnn
* add documentation for dnn_face
* add set/get methods for input size, nms & score threshold and topk
* remove the DNN prefix from the face detector and face recognizer
* remove default values in the constructor of impl
* regenerate priors after setting input size
* two filenames for readnet
* Update face.hpp
* Update face_recognize.cpp
* Update face_match.cpp
* Update face.hpp
* Update face_recognize.cpp
* Update face_match.cpp
* Update face_recognize.cpp
* Update dnn_face.markdown
* Update dnn_face.markdown
* Update face.hpp
* Update dnn_face.markdown
* add regression test for face detection
* remove underscore prefix; fix warnings
* add reference & acknowledgement for face detection
* Update dnn_face.markdown
* Update dnn_face.markdown
* Update ts.hpp
* Update test_face.cpp
* Update face_match.cpp
* fix a compile error for python interface; add python examples for face detection and recognition
* Major changes for Vadim's comments:
* Replace class name FaceDetector with FaceDetectorYN in related failes
* Declare local mat before loop in modules/objdetect/src/face_detect.cpp
* Make input image and save flag optional in samples/dnn/face_detect(.cpp, .py)
* Add camera support in samples/dnn/face_detect(.cpp, .py)
* correct file paths for regression test
* fix convertion warnings; remove extra spaces
* update face_recog
* Update dnn_face.markdown
* Fix warnings and errors for the default CI reports:
* Remove trailing white spaces and extra new lines.
* Fix convertion warnings for windows and iOS.
* Add braces around initialization of subobjects.
* Fix warnings and errors for the default CI systems:
* Add prefix 'FR_' for each value name in enum DisType to solve the
redefinition error for iOS compilation; Modify other code accordingly
* Add bookmark '#tutorial_dnn_face' to solve warnings from doxygen
* Correct documentations to solve warnings from doxygen
* update FaceRecognizerSF
* Fix the error for CI to find ONNX models correctly
* add suffix f to float assignments
* add backend & target options for initializing face recognizer
* add checkeq for checking input size and preset size
* update test and threshold
* changes in response to alalek's comments:
* fix typos in samples/dnn/face_match.py
* import numpy before importing cv2
* add documentation to .setInputSize()
* remove extra include in face_recognize.cpp
* fix some bugs
* Update dnn_face.markdown
* update thresholds; remove useless code
* add time suffix to YuNet filename in test
* objdetect: update test code
2021-10-08 19:13:49 +00:00
Alexander Alekhin
4672dbda2a
Merge pull request #20818 from rogday:yolov4x_mish_cuda
2021-10-08 19:12:43 +00:00
Alexander Alekhin
62252d157e
Merge tag '3.4.16'
2021-10-08 19:05:00 +00:00
Alexander Alekhin
b1cf550123
release: OpenCV 3.4.16
2021-10-08 18:31:56 +00:00
Smirnov Egor
9c84749e2c
backport YOLOv4x-mish new_coords CUDA implementation
2021-10-08 14:14:49 +03:00
Alexander Alekhin
cca4c47781
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-08 11:05:45 +00:00
Alexander Alekhin
17bd9a1fa1
Merge pull request #20841 from alalek:core_keep_TlsAbstraction_singleton_3.4
2021-10-08 07:01:05 +00:00
Alexander Alekhin
0321644bbd
Merge pull request #20842 from alalek:valgrind_suppression
2021-10-08 09:29:41 +03:00
Alexander Alekhin
81e7988eb9
Merge pull request #20840 from alalek:dnn_ocl_cleanup_code
2021-10-08 05:07:51 +00:00
Alexander Alekhin
4985311d46
core(tls): avoid destruction of TlsAbstraction singleton
2021-10-08 03:12:58 +00:00
Alexander Alekhin
05348f3250
Merge pull request #20839 from alalek:issue_20828_netbsd
2021-10-08 02:19:54 +00:00
Alexander Alekhin
003609e565
Merge pull request #20838 from alalek:fix_20833
2021-10-08 02:09:46 +00:00
Alexander Alekhin
e0cfaee7aa
Merge pull request #20837 from alalek:fixup_20825
2021-10-08 02:08:26 +00:00
Jonas Vautherin
9537a909f7
Merge pull request #20801 from JonasVautherin:fix-gst-error-handling
...
* Fix gst error handling
* Use the return value instead of the error, which gives no guarantee of being NULL in case of error
* Test err pointer before accessing it
* Remove unreachable code
* videoio(gstreamer): restore check in writer code
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-08 02:07:04 +00:00
Alexander Alekhin
e75387f029
core: fix compilation of copy ctors/assignment operators with GCC 4.x
2021-10-08 00:49:30 +00:00
Alexander Alekhin
8c2dd5fb9a
dnn(ocl4dnn): cleanup dead code, improve logging
2021-10-08 00:39:40 +00:00
Alexander Alekhin
27545dcc86
core: add __NetBSD__ build fix in parallel.cpp
2021-10-07 23:29:28 +00:00
Alexander Alekhin
724e04e979
dnn(ocl4dnn): add extra checks to convolution layer
...
- prevent running code over unsupported/non-tested configurations
- prevent integer div by zero
2021-10-07 23:18:32 +00:00
Alexander Panov
dfc94c58f0
Merge pull request #20823 from AleksandrPanov:fix_orb_integer_overflow
...
Fix ORB integer overflow
* set size_t step to fix integer overflow in ptr0 offset
* added issue_537 test
* minor fix tags, points
* added size_t_step and offset to remove mixed unsigned and signed operations
* features2d: update ORB checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-07 22:46:25 +00:00
Alexander Alekhin
4b0f8d76f4
Merge pull request #20835 from sthalik:msvc-no-thread-support
2021-10-07 16:43:19 +00:00
Alexander Alekhin
fac895d7ba
Merge pull request #20831 from sthalik:fix-msvc-build-3.4
2021-10-07 16:16:59 +00:00
Stanislaw Halik
d023f316ac
fix OPENCV_DISABLE_THREAD_SUPPORT
...
Message was,
CMake Error at CMakeLists.txt:1475 (message):
Not all parallel frameworks have been disabled (using Concurrency).
2021-10-07 16:43:17 +02:00
Stanislaw Halik
04b40ff221
add new supported MSVC version
2021-10-07 13:46:34 +02:00
Alexander Alekhin
03a08435e2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-07 04:27:22 +00:00
Alexander Alekhin
4dd3ab8f32
Merge pull request #20825 from alalek:issue_20718
2021-10-06 22:50:09 +00:00
Alexander Alekhin
8e0660ad54
Merge pull request #20820 from alalek:issue_20514
2021-10-06 22:47:31 +00:00
Alexander Alekhin
1f42512199
Merge pull request #20819 from alalek:issue_19567
2021-10-06 22:46:58 +00:00
Alexander Alekhin
1a29ea1038
Merge pull request #20829 from alalek:dnn_ocl_skip_int8_tests
2021-10-06 22:46:21 +00:00
Alexander Alekhin
eab2b9dc09
core: ensure is_trivially_copyable for simple types
2021-10-06 21:39:53 +00:00
Alexander Alekhin
94e92cd6c0
dnn(ocl): skip int8 tests due to memory access issues
2021-10-06 21:27:18 +00:00
Alexander Alekhin
57cd6d2de1
Merge pull request #20826 from alalek:fix_20824
2021-10-06 20:30:48 +00:00
Alexander Alekhin
822d468232
Merge pull request #20813 from rogday:soft_nms
2021-10-06 20:20:34 +00:00
Alexander Alekhin
bdaa6a1910
highgui: repair Qt backend
2021-10-06 19:14:22 +00:00
Smirnov Egor
2221dcc9f2
add SoftNMS implementation
2021-10-06 21:31:45 +03:00
Alexander Alekhin
2eb1ee967c
Merge pull request #20817 from komakai:fix_old_xcode_build
2021-10-06 17:32:09 +00:00
Alexander Alekhin
c49cfefe88
videoio: fix plugins handling if no filesystem available
2021-10-06 17:29:00 +00:00
Alexander Alekhin
c6a6f39d29
android: drop sourceCompatibility/targetCompatibility options
2021-10-06 16:49:02 +00:00
Oliver Kuckertz
a3d7811f24
Merge pull request #20725 from mologie:fix-dnn-tf-on-arm
...
* dnn: fix unaligned memory access crash on armv7
The getTensorContent function would return a Mat pointing to some
member of a Protobuf-encoded message. Protobuf does not make any
alignment guarantees, which results in a crash on armv7 when loading
models while bit 2 is set in /proc/cpu/alignment (or the relevant
kernel feature for alignment compatibility is disabled). Any read
attempt from the previously unaligned data member would send SIGBUS.
As workaround, this commit makes an aligned copy via existing clone
functionality in getTensorContent. The unsafe copy=false option is
removed. Unfortunately, a rather crude hack in PReLUSubgraph in fact
writes(!) to the Protobuf message. We limit ourselves to fixing the
alignment issues in this commit, and add getTensorContentRefUnaligned
to cover the write case with a safe memcpy. A FIXME marks the issue.
* dnn: reduce amount of .clone() calls
* dnn: update FIXME comment
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-06 16:41:05 +00:00
Giles Payne
eb56ca3b0d
Fix build on older Xcode versions
2021-10-06 21:06:30 +09:00
Alexander Alekhin
755e0143fb
Merge pull request #20815 from alalek:fix_20649_revert_19859
...
features2d: repair SimpleBlobDetector
* features2d: revert code change by PR #19859
Reverted commit 76860933f0
* features2d: check SimpleBlobDetector parameters consistency
2021-10-06 15:05:45 +03:00
Alexander Alekhin
dfa48094dc
Merge pull request #20814 from alalek:dnn_pytest_input_3d
2021-10-06 12:02:34 +00:00
Alexander Alekhin
e585192eeb
Merge pull request #20802 from alalek:core_tls_init_TlsAbstraction
2021-10-06 12:01:06 +00:00
Alexander Alekhin
646924fce8
dnn(pytest/test_input_3d): reload model between switching targets
2021-10-05 23:23:08 +00:00
Alexander Alekhin
13c6eb42e9
Merge pull request #20731 from komakai:matrix_mult_android_ios
2021-10-05 15:35:58 +00:00
HAN Liutong
e5fb50476c
Merge pull request #20521 from hanliutong:dev-rvv-multiVLEN
...
Make the implementation of optimization in DNN adjustable to different vector sizes with RVV intrinsics.
* Update fastGEMM for multi VLEN.
* Update fastGEMM1T for multi VLEN.
* Update fastDepthwiseConv for multi VLEN.
* Update fastConv for multi VLEN.
* Replace malloc with cv::AutoBuffer.
2021-10-05 15:35:00 +00:00
Alexander Alekhin
073c590d0b
Merge pull request #20811 from alalek:update_ffmpeg_4.x
2021-10-05 15:06:25 +00:00
Alexander Alekhin
c63aa7f085
Merge pull request #20808 from alalek:update_ffmpeg_3.4
2021-10-05 15:06:08 +00:00
Alexander Alekhin
c832e62db0
Merge pull request #20771 from smirnov-alexey:as/render_fixture_params
2021-10-05 11:38:10 +00:00
Alexander Alekhin
b7a7119b1f
ffmpeg/4.x: update FFmpeg wrapper 2021.10
...
- FFmpeg 4.4 (no changes)
2021-10-05 14:32:39 +03:00
Giles Payne
19a880bb91
Simple matrix multiplication for Mat in iOS/Android
2021-10-05 20:16:06 +09:00
Alexander Alekhin
672399c751
Merge pull request #20788 from alalek:update_version_4.5.4-pre
2021-10-05 10:45:12 +00:00
Alexander Alekhin
c54abde1bd
ffmpeg/3.4: update FFmpeg wrapper 2021.10
...
- FFmpeg 3.4.8 (no changes)
2021-10-05 10:09:27 +03:00
Alexander Alekhin
95c1d2a887
Merge pull request #20806 from alalek:update_version_3.4.16-pre
2021-10-04 22:50:26 +00:00
Alexander Alekhin
3e6f27522b
pre: OpenCV 4.5.4 (version++)
2021-10-04 22:35:47 +00:00
Alexander Alekhin
1b70f94282
Merge pull request #20782 from YashasSamaga:cuda4dnn-eltwise-broadcast
2021-10-04 22:35:00 +00:00
Alexander Alekhin
ebef84e9ea
pre: OpenCV 3.4.16 (version++)
2021-10-04 20:47:07 +00:00
Alexander Alekhin
87d4970e8b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-04 19:50:01 +00:00
Alexander Alekhin
b1a772d194
Merge pull request #20803 from alalek:core_parallel_workaround_tsan
2021-10-04 19:16:27 +00:00
Shivanshu Tyagi
4938765eb3
Merge pull request #20291 from spazewalker:master
...
speech recognition sample
* speech recognition sample added.(initial commit)
* fixed typos, removed plt
* trailing whitespaces removed
* masking removed and using opencv for displaying spectrogram
* description added
* requested changes and add opencl fp16 target
* parenthesis and halide removed
* workaround 3d matrix issue
* handle multi channel audio
support for multiple files at once
* suggested changes
fix whitespaces
2021-10-04 18:18:02 +00:00
Jebastin Nadar
cce78cc5e2
Merge pull request #20535 from SamFC10:onnx-q
...
dnn : int8 quantized layers support in onnx importer
* added quantized layers support in onnx importer
* added more cases in eltwise node, some more checks
* added tests for quantized nodes
* relax thresholds for failed tests, address review comments
* refactoring based on review comments
* added support for unsupported cases and pre-quantized resnet50 test
* relax thresholds due to int8 resize layer
2021-10-04 18:07:38 +00:00
keroiber
f11f2bfb56
Merge pull request #20743 from keroiber:prefix_js_function_bindings_with_namespace
...
* Prefix global javascript functions with sub-namespaces
* js: handle 'namespace_prefix_override', update filtering
- avoid functions override with same name but different namespace
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-04 16:51:49 +00:00
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-10-04 16:44:57 +00:00
Zihao Mu
9085b933d8
Merge pull request #20702 from zihaomu:tf_expand_dim_layer
...
Add ExpandDims layer of tf_importer.cpp
* Add ExpandDims to tf_importer.
* add -1 expand test case.
* Support different dimensions of input.
* Compatible with 5-dimensional NDHWC data
* Code align
* support 3-dim input.
* 3-dim bug fixed.
* fixing error of code format.
2021-10-04 16:37:38 +00:00
Alexander Alekhin
d94d469c86
valgrind: update suppressions
2021-10-04 16:27:05 +00:00
Alexander Alekhin
59502594f8
Merge pull request #20772 from shengyu7697:remove-redundant-semicolon
2021-10-04 15:38:49 +00:00
Alexander Alekhin
d20c9bde7e
core(TLS): force TlsAbstraction initialization before main()
2021-10-04 11:34:09 +00:00
Alexander Alekhin
62414e3073
core(parallel): suppress TSAN warning
2021-10-04 10:46:32 +00:00
YashasSamaga
505dde09de
support broadcasting in eltwise ops
2021-10-04 12:38:45 +05:30
Alexander Alekhin
603d623eda
Merge pull request #20800 from SamFC10:fix-int8-conv
2021-10-03 18:52:09 +00:00
SamFC10
87ebf2e50b
fix illegal memory access in int8 convolution
2021-10-03 15:16:01 +05:30
Alexander Alekhin
37c3f0d8a0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-02 17:57:18 +00:00
Alexander Alekhin
48c985e775
Merge pull request #20797 from sturkmen72:restore_LSD
2021-10-02 17:50:38 +00:00
Alexander Alekhin
7358fffb0f
Merge pull request #20796 from JonasVautherin:patch-1
2021-10-02 17:48:23 +00:00
Jonas Vautherin
de5b6386e0
Fix gst_initializer
...
Use the return value of gst_init_check instead of testing the error pointer
2021-10-02 15:42:13 +00:00
Alexander Alekhin
1de2d5c2b6
Merge pull request #20795 from JBamberger:gradle-dynamic-cv-version
2021-10-02 15:35:56 +00:00
Jannik Bamberger
ef53a9229f
Automatically set the correct OpenCV version in build.gradle
...
Automatically sets the correct OpenCV version in the CMAKE example contained in the build.gradle
file of the Android SDK.
2021-10-02 16:06:33 +02:00
Suleyman TURKMEN
259c39a63a
additional changes
2021-10-02 13:34:56 +03:00
shengyu
4d87f6025e
remove redundant semicolons
2021-10-02 09:35:47 +08:00
Alexander Alekhin
327b98eb13
Merge pull request #20794 from alalek:dnn_ocl_fix_conv_dwconv_workgroup
2021-10-01 22:25:47 +00:00
Alexander Alekhin
f977d10a19
dnn(ocl): fix conv DWCONV workgroup
2021-10-01 18:52:07 +00:00
Alexander Alekhin
a0cf8c322d
Merge pull request #20793 from tomoaki0705:fixGaussianOverflow
2021-10-01 15:53:15 +00:00
Alexander Alekhin
627be179c1
Merge pull request #20791 from TolyaTalamanov:at/dangling-media-frames
2021-10-01 14:49:47 +00:00
Tomoaki Teshima
1e74f5850b
suppress GaussianBlur to generate empty images
...
* sharp Gaussian kernel causes over flow and ends up in blank image
2021-10-01 23:17:02 +09:00
Anatoliy Talamanov
6d83a73858
Fix bugs with hanging frames
2021-10-01 16:38:41 +03:00
Suleyman TURKMEN
9b76872708
restore LSD
2021-10-01 16:23:16 +03:00
Alexander Alekhin
9b093c9a12
Merge pull request #20764 from sturkmen72:Update_OpenCVDetectVTK_cmake
2021-09-30 11:58:38 +00:00
Alexander Alekhin
4d587c341b
Merge pull request #20774 from alalek:dnn_ocl_fix_conv_basic_workgroup
2021-09-30 10:16:26 +00:00
Suleyman TURKMEN
f8f6cd6ef5
Update OpenCVDetectVTK.cmake
2021-09-30 12:02:33 +03:00
Alexander Alekhin
cf08eac15e
Merge pull request #20776 from alalek:port_20748_4.x
2021-09-29 15:49:06 +00:00
Suleyman TURKMEN
9a8552e8ae
Update perf_bgfg_mog2.cpp, perf_bgfg_knn.cpp
2021-09-29 14:57:13 +00:00
Alexander Alekhin
846317ef37
dnn(ocl): fix conv BASIC workgroup
2021-09-29 14:55:46 +00:00
Alexander Alekhin
7e62789edf
Merge pull request #20763 from Cavendish-Koo:houghlines_sdiv_bug_fix
2021-09-29 11:04:13 +00:00
Smirnov Alexey
5865af7f6e
Add more parameters to render fixture
2021-09-29 12:13:13 +03:00
Alexander Alekhin
852663f6d2
Merge pull request #20748 from sturkmen72:clean_up_test_data
2021-09-28 20:45:39 +03:00
Sergey Ivanov
c1148c4ea6
Merge pull request #20739 from sivanov-work:merge_base_decode
...
G-API: oneVPL (simplification) Add simple decode pipeline
* Add simple decode pipeline & add onevpl namespace
* Address some review comments
* Add compilation guard
2021-09-28 18:02:21 +03:00
Alexander Alekhin
280dc77f8b
Merge pull request #20761 from komakai:fix_rect2f
2021-09-28 15:01:00 +00:00
Alexander Alekhin
a9b30984a3
Merge pull request #20762 from fishmandev:patch-1
2021-09-28 15:00:13 +00:00
Cavendish-Koo
2f83c3b689
fix the bug of HoughlinesSDIV
2021-09-28 21:18:07 +08:00
Dmitriy Fishman
b25ad12f1a
Update video_input_psnr_ssim.markdown
2021-09-28 15:29:47 +03:00
Alexander Alekhin
d95e43a6a1
Merge pull request #20754 from asmorkalov:as/parser_verbose_print
2021-09-28 11:47:55 +00:00
Giles Payne
27df987211
Fix bug in initializers Rect2f(Point2f,Point2f) and Rect2d(Point2d,Point2d)
2021-09-28 20:31:07 +09:00
Alexander Panov
982745fb83
Merge pull request #20735 from AleksandrPanov:radon_checkerboard
...
generate radon checkerboard
* added _make_round_rect
* added round rect to make_checkerboard_pattern
* added markers
* update docs
* removed links to findChessboardCornersSB() and added checks to markers
2021-09-28 10:30:07 +03:00
WJJ1995
8fa8d471af
Merge pull request #20290 from wjj19950828:add_paddle_humanseg_demo
...
Add paddle humanseg demo
* fixed onnx resize op bug
* add humanseg demo for PaddlePaddle sample
* update README.md and flake8 format
* update func name
* update README.md for enviroment setup
* update README.md in the way install paddle2onnx
* update README.md
* update README.md
* add paddleseg in requirements.txt
* deal with comments
* replace picture
2021-09-27 21:59:09 +00:00
Alexander Smorkalov
2cc14bd0fb
Verbose output for errors found by header parser.
2021-09-27 10:53:23 +03:00
Alexander Alekhin
98ad72b096
Merge pull request #20558 from alalek:python_cv_mat
2021-09-26 17:40:54 +00:00
Suleyman TURKMEN
fdc8ed8d05
Update perf_bgfg_mog2.cpp, perf_bgfg_knn.cpp
2021-09-25 23:06:50 +03:00
Alexander Alekhin
24fcb7f813
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-09-25 17:50:00 +00:00
Nicholas Ho
236c64a17d
Merge pull request #20712 from Nicholas-Ho-arm:3.4_RowVec_8u32f
...
* Add RowVec_8u32f
* Fix build errors in Linux x64 Debug and armeabi-v7a
* Reformat code to make it more clean and conventional
* Optimise with vx_load_expand_q()
2021-09-25 17:43:33 +00:00
thezane
9e835e8edb
Merge pull request #20636 from thezane:recoverPoseFromDifferentCameras
...
Recover pose from different cameras (version 2)
* add recoverPose for two different cameras
* Address review comments from original PR
* Address new review comments
* Rename private api
Co-authored-by: tompollok <tom.pollok@gmail.com >
Co-authored-by: Zane <zane.huang@mail.utoronto.ca >
2021-09-25 17:42:12 +00:00
Alexander Alekhin
f96569da1e
Merge pull request #20746 from easonycwang:easonycwang/inpaint_perf_opt
2021-09-24 17:38:56 +00:00
easonycwang
91ff45fbde
Tile:
...
This submission is used to improve the performance of the inpaint algorithm for 3 channels images(RGB or BGR).
Reason:
The original algorithm implementation did not consider the cache hits.
The loop of channels is outside the core loop, so the perfmance is not very good.
Moving the channel loop inside the core loop can significantly improve cache hits, thereby improving performance.
Performance:
360P, about >= 30% improvement
iphone8P: 5.52ms -> 3.75ms
iphone6s: 14.04ms -> 9.15ms
2021-09-24 21:47:14 +08:00
Alexander Alekhin
1261f250c6
Merge pull request #20747 from rgarnov:rg/desync_rmats_and_media
2021-09-24 13:27:15 +00:00
Ruslan Garnov
3673b45437
Added desync RMats and MediaFrames support
2021-09-24 14:29:27 +03:00
Alexander Alekhin
45aabc5d0d
Merge pull request #20742 from UnaNancyOwen:fix_text_detection
2021-09-24 10:56:22 +00:00
Tsukasa Sugiura
f9bd83c854
fix cast in text detection sample
2021-09-24 15:56:02 +09:00
Anatoliy Talamanov
499d8adb75
Merge pull request #20705 from TolyaTalamanov:at/handle-reshape-in-gexecutor
...
G-API: Handle reshape for generic case in GExecutor
* Handle reshape for generic case for GExecutor
* Add initResources
* Add tests
* Refactor reshape method
2021-09-23 22:59:40 +03:00
Sergey Ivanov
54386c82fd
Merge pull request #20727 from sivanov-work:merge_vpl_accel_impl
...
G-API: oneVPL (simplification) added CPU, DX11(fallback CPU) accels & surface pool
* Add CPU, DX11(fallback CPU) accels & surface pool
* Fix build for surface_pool
* Apply some comments
* Fix indentation
2021-09-23 14:34:30 +03:00
Amir Tulegenov
86a51015b1
Merge pull request #19554 from amirtu:OCV-215_cvtColorTwoPlane_wrong_output_when_Y_Plane_Mat_has_step
...
different paddings in cvtColorTwoPlane() for biplane YUV420
* Different paddings support in cvtColorTwoPlane() for biplane YUV420
* Build fix for dispatch case.
* Resoted old behaviour for y.step==uv.step to exclude perf regressions.
Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai >
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai >
2021-09-22 17:42:32 +03:00
rogday
38b9ec7a18
Merge pull request #20682 from rogday:min
...
* Add Min layer to CPU, OpenCL, Halide, Inference Engine, NGraph and CUDA
* fix indentation
* add min to fusion and halide tests; fix doc
2021-09-22 15:17:37 +03:00
Alexander Alekhin
998406d20e
Merge pull request #20729 from MikaelUrankar:3.4
2021-09-21 22:30:49 +00:00
mikael
f7b4b750d8
Detect FP16 on FreeBSD aarch64
2021-09-21 19:48:58 +02:00
Alexander Alekhin
2558ab3de7
Merge pull request #20716 from komakai:fix_ios_macos_put_get
2021-09-21 15:31:36 +00:00
Alexander Alekhin
a4e2c56317
Merge pull request #20713 from SamFC10:unsqueeze-opset13
2021-09-21 15:27:48 +00:00
Alexander Alekhin
0c10ae1861
python: cv.Mat wrapper over numpy.ndarray
2021-09-21 04:14:15 +00:00
Giles Payne
b3cc828995
Fix put/get functions for non-contiguous Mat on iOS/macOS
2021-09-20 22:44:13 +09:00
Sergey Ivanov
ba8f9d8620
Merge pull request #20601 from sivanov-work:surf_bk_test
...
G-API: oneVPL (simplification) added surface & frame adapter
* added surface & frame adapter
* Add FrameAdapter unut tests
* Fix compilation after rebase
* Fix compilation tests
* Apply some review comments
* Fix compile warning
* Revert back CV_Func usage
* Apply some comments
2021-09-20 16:28:32 +03:00
Vadim Levin
3c89a28a06
Merge pull request #20611 from VadimLevin:dev/vlevin/pure-python-modules
...
* feat: OpenCV extension with pure Python modules
* feat: cv2 is now a Python package instead of extension module
Python package cv2 now can handle both Python and C extension modules
properly without additional "subfolders" like "_extra_py_code".
* feat: can call native function from its reimplementation in Python
2021-09-18 10:02:55 +03:00
SamFC10
9c5d7716e2
fix for unsqueeze opset version 13
2021-09-17 17:40:57 +05:30
Alexander Alekhin
46fd26e366
Merge pull request #20699 from alalek:dnn_perf_update_convolution_tests
2021-09-16 17:11:32 +00:00
Rohit Sutradhar
41a2eb5245
Merge pull request #20361 from r0hit2005:master
...
Tutorial for parallel_for_ and Universal Intrinsic (GSoC '21)
* New parallel_for tutorial
* Universal Intrinsics Draft Tutorial
* Added draft of universal intrinsic tutorial
* * Added final markdown for parallel_for_new
* Added first half of universal intrinsic tutorial
* Fixed warnings in documentation and sample code for parallel_for_new
tutorial
* Restored original parallel_for_ tutorial and table_of_content_core
* Minor changes
* Added demonstration of 1-D vectorized convolution
* * Added 2-D convolution implementation and tutorial
* Minor changes in vectorized implementation of 1-D and 2-D convolution
* Minor changes to univ_intrin tutorial. Added new tutorials to the table of contents
* Minor changes
* Removed variable sized array initializations
* Fixed conversion warnings
* Added doxygen references, minor fixes
* Added jpg image for parallel_for_ doc
2021-09-15 19:50:49 +03:00
rogday
c410d7a97d
Merge pull request #20671 from rogday:yolov4x-mish
...
Add support for YOLOv4x-mish
* backport to 3.4 for supporting yolov4x-mish
* add YOLOv4x-mish test
* address review comments
Co-authored-by: Guo Xu <guoxu@1school.com.cn >
2021-09-14 17:49:49 +00:00
Alexander Alekhin
6fa63dcc0c
Merge pull request #20700 from alalek:cmake_fix_handling_ie_version
2021-09-14 17:17:54 +00:00
Alexander Alekhin
3d7670a6ba
Merge pull request #20695 from YashasSamaga:cuda4dnn-fix-padding-effrank
2021-09-14 11:46:06 +00:00
Alexander Alekhin
96f25332ea
Merge pull request #20692 from sturkmen72:update_convexhull_cpp
2021-09-14 08:59:35 +00:00
Alexander Alekhin
3385d38648
cmake: fix handling of INF_ENGINE_RELEASE
...
- default value should be handled earlier
2021-09-14 08:56:09 +00:00
Alexander Panov
1618c963e4
Merge pull request #20676 from AleksandrPanov:delete_createConvexHull_convertTo
...
* deleted dublicated createConvexHull and convertTo
* replaced checkVector(2) with points.empty()
2021-09-13 19:27:00 +03:00
YashasSamaga
50462dcdc6
fix effrank assert to allow input effrank <= output effrank
2021-09-13 20:44:33 +05:30
Alexander Alekhin
1e3be09b3b
Merge pull request #20693 from alalek:backport_merge34_fix
2021-09-12 11:09:51 +00:00
Alexander Alekhin
6e66a9222a
dnn(onnx): fix format specifier
2021-09-11 22:26:52 +00:00
Alexander Alekhin
c3ac834526
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-09-11 21:27:26 +00:00
Suleyman TURKMEN
9d1e8b1e1d
Update convexhull.cpp
2021-09-11 23:58:14 +03:00
Alexander Alekhin
f605373a2b
Merge pull request #20690 from alalek:build_opencv_winpack_dldt_2021.4.1
2021-09-11 16:26:51 +00:00
Alexander Alekhin
56b7622612
Merge pull request #20687 from alalek:core_ocl_fix_intel_gemm
2021-09-11 16:26:25 +00:00
Alexander Alekhin
696a6ccd57
Merge pull request #20686 from zihaomu:tf_biasadd_bug
...
DNN: BiasAdd tf_importer.cpp could load Const from First Place
2021-09-11 19:25:04 +03:00
Zihao Mu
51b03b87e6
BiasAdd could load Const from second place.
2021-09-11 15:34:41 +00:00
Alexander Alekhin
aa7ba0bc1a
build: winpack_dldt with dldt 2021.4.1
2021-09-11 06:20:53 +03:00
Alexander Alekhin
07e4076585
Merge pull request #20689 from diablodale:fix20613-selectocldevice
2021-09-10 22:26:36 +00:00
Dale Phurrough
de1a459879
fix opencv/opencv#20613
...
* copy 4.x selectOpenCLDevice() -- it is compatible
* filter platforms rather than trying only first matching
* this works on 3.4 and 4.x master
2021-09-10 21:18:01 +02:00
Alexander Alekhin
1aacb9bb15
dnn(perf): update convolution tests
2021-09-10 13:11:02 +00:00
Alexander Alekhin
9b4ecc96f6
core(ocl): buffer bounds in intelblas_gemm_buffer_NT
2021-09-10 12:10:41 +00:00
Alexander Alekhin
e3f4f874c5
Merge pull request #20670 from alalek:core_ocl_fix_intel_gpu_gemm_requirements
...
core(OpenCL): fix intel_gpu_gemm kernel requirements
* core(ocl): fix intel_gpu_gemm integration
- allow bailout to generic OpenCL kernel
* core(ocl): avoid failures of generic OpenCL gemm kernel
* core(ocl): define alignment requirements of intel_gpu_gemm kernels
2021-09-10 12:00:11 +00:00
Alexander Alekhin
6ace801418
Merge pull request #20661 from alalek:dnn_ocl_fix_gemm_like_kernel
2021-09-10 11:58:52 +00:00
rogday
d31b93b513
Merge pull request #20674 from rogday:prelu_slope
...
Fix PReLU negative slope access pattern
* fix prelu negative slope access pattern
* change begin() to ptr()
2021-09-10 11:07:16 +00:00
Alexander Alekhin
ac0fd6aa9a
Merge pull request #20675 from diablodale:fix2-20544
2021-09-09 21:35:03 +00:00
fortemSteve
c7e0888982
Merge pull request #20591 from fortemSteve:ffmpeg_get_stream_open_time
...
Add CAP_PROP_STREAM_OPEN_TIME
* Added CAP_PROP_STREAM_OPEN_TIME to videoio module - can be used to query the time at which the stream was opened, in seconds since Jan 1 1970 (midnight, UTC). Useful for RTSP and other live video where absolute timestamps are needed. Only applicable to ffmpeg backends
* use nanoseconds instead of seconds to mark the stream open time, and change the cap prop name to CAP_PROP_STREAM_OPEN_TIME_NSEC
* use microseconds for CAP_PROP_STREAM_OPEN_TIME (nanoseconds rolls over too soon, and milliseconds/seconds requires a division)
* fix whitespace issue
2021-09-09 21:23:49 +00:00
Dale Phurrough
068f33cfdf
add nodiscard to features2d clone funcs
2021-09-09 15:20:45 +02:00
rogday
4807cd8a6e
Merge pull request #20605 from rogday:split_slice_shenanigans
...
Add Normalize subgraph, fix Slice, Mul and Expand
* Add Normalize subgraph, support for starts<0 and axis<0 in Slice, Mul broadcasting in the middle and fix Expand's unsqueeze
* remove todos
* remove range-based for loop
* address review comments
* change >> to > > in template
* fix indexation
* fix expand that does nothing
2021-09-09 14:41:40 +03:00
Ilya Lavrenov
c703f1eed6
Merge pull request #20673 from ilya-lavrenov:print-openvino-information
...
* Support of OpenVINO interface libraries
* cmake: rename and move ocv_get_imported_target to OpenCVUtils.cmake
2021-09-09 10:56:34 +03:00
Alexander Alekhin
5ac5da3524
Merge pull request #20667 from rgonzalezfluendo:rgonzalezfluendo-patch-1
2021-09-08 07:26:21 +00:00
Ruben Gonzalez
0c13d34ade
imgcodecs(doc): Sync imread_ docuemtation with the implemetation.
...
Documentation was desynchronized in commit 11eafca3e2
2021-09-07 12:51:34 +02:00
Alexander Alekhin
35e824c287
dnn(ocl): fix out of bound access in GEMM-like kernels
...
- dropped usage of CreateSubBuffer() - buffers lifetime management issue
- fixed elementwise offset
- avoid out of bounds read access
2021-09-06 18:17:21 +00:00
Alexander Alekhin
1e0d290f2e
Merge pull request #20655 from alalek:dnn_ocl_fix_globalsize
2021-09-06 17:20:18 +00:00
Alexander Alekhin
0097a8d097
Merge pull request #20657 from zchrissirhcz:upd-doc-for-py_fast
2021-09-06 11:31:35 +00:00
Zhuo Zhang
36cc43170d
docs: fix image path for py_fast doc
2021-09-06 13:05:58 +08:00
Alexander Alekhin
5578ad5e14
dnn(ocl): fix automatic globalsize adjusting
...
- if kernel code doesn't support that
2021-09-06 03:11:29 +00:00
Alexander Alekhin
d11f0a709d
Merge pull request #20652 from alalek:ocl_debug
2021-09-04 18:23:09 +00:00
Alexander Alekhin
0a43b23275
Merge pull request #20651 from alalek:issue_18361
2021-09-04 18:22:12 +00:00
Alexander Alekhin
7967683296
Merge pull request #20648 from alalek:issue_20615
2021-09-04 18:21:58 +00:00
Alexander Alekhin
5b2c016834
dnn(ocl): avoid out of buffer access in copyWeightsSwizzled
2021-09-04 15:45:59 +00:00
Alexander Alekhin
aaff125608
core(ocl): debug capabilities
2021-09-04 15:37:39 +00:00
Alexander Alekhin
407adc7061
dnn(ocl): fix buffer offsets in IDLF kernel
...
- drop CreateSubBuffer
- fix FUSED_CONV_ELTWISE mode
2021-09-04 15:28:35 +00:00
rogday
d0e612dc36
Merge pull request #20647 from rogday:resize_concat_optimization
...
Fix resize+concat optimization
* fix resize+concat optimization
* add comment and fix indentation
2021-09-03 12:32:29 +00:00
Alexander Alekhin
5aa7435d25
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-09-02 15:24:04 +00:00
Alexander Alekhin
7c23ec90a9
Merge pull request #20646 from VadimLevin:dev/vlevin/fix-vector-conversion
2021-09-02 09:30:57 +00:00
Vadim Levin
390957fec4
fix: NumPy array allocation error message in vector conversion
2021-09-02 10:32:17 +03:00
Alexander Alekhin
060a76dc3e
Merge pull request #20573 from rogday:onnx_scale_fix
2021-09-01 14:09:17 +00:00
Alexander Alekhin
6625810d2a
Merge pull request #20618 from VadimLevin:dev/vlevin/fix-vector-conversion
2021-09-01 10:52:37 +00:00
WJJ1995
edc442afdb
Merge pull request #20511 from wjj19950828:add_humanseg_support_0806
...
* support PPSeg model for dnn module
* fixed README for CI
* add test case
* fixed bug
* deal with comments
* rm dnn_model_runner
* update test case
* fixed bug for testcase
* update testcase
2021-09-01 10:10:05 +00:00
Vadim Levin
16b9514543
feat: update conversion logic for std::vector<T> in Python bindings
...
`PyObject*` to `std::vector<T>` conversion logic:
- If user passed Numpy Array
- If array is planar and T is a primitive type (doesn't require
constructor call) that matches with the element type of array, then
copy element one by one with the respect of the step between array
elements. If compiler is lucky (or brave enough) copy loop can be
vectorized.
For classes that require constructor calls this path is not
possible, because we can't begin an object lifetime without hacks.
- Otherwise fall-back to general case
- Otherwise - execute the general case:
If PyObject* corresponds to Sequence protocol - iterate over the
sequence elements and invoke the appropriate `pyopencv_to` function.
`std::vector<T>` to `PyObject*` conversion logic:
- If `std::vector<T>` is empty - return empty tuple.
- If `T` has a corresponding `Mat` `DataType` than return
Numpy array instance of the matching `dtype` e.g.
`std::vector<cv::Rect>` is returned as `np.ndarray` of shape `Nx4` and
`dtype=int`.
This branch helps to optimize further evaluations in user code.
- Otherwise - execute the general case:
Construct a tuple of length N = `std::vector::size` and insert
elements one by one.
Unnecessary functions were removed and code was rearranged to allow
compiler select the appropriate conversion function specialization.
2021-09-01 13:00:21 +03:00
Alexander Alekhin
95c7f4a7f0
Merge pull request #20635 from alalek:issue_20559
2021-08-31 14:42:20 +00:00
Alexander Alekhin
ae6fabc6fe
dnn(ocl): drop CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE check
...
- it is a hint and it should not block kernel execution
2021-08-30 20:40:14 +00:00
Alexander Alekhin
7eaadf616c
Merge pull request #20622 from diablodale:fix20544-nodiscard
2021-08-30 18:09:51 +00:00
Alexander Alekhin
8fed5fc5ae
Merge pull request #20633 from alalek:ocl_dumpValue_handle_null
2021-08-30 13:39:44 +00:00
Alexander Alekhin
f25951c412
core(ocl): handle NULL in dumpValue() debug call
...
- NULL is used for allocation of workgroup local variables
2021-08-30 11:47:51 +00:00
Alexander Alekhin
c11195d5e3
Merge pull request #20628 from alalek:fix_build_warnings_4.x
2021-08-30 08:26:51 +00:00
Alexander Alekhin
2ed5cba110
build: eliminate build warnings
2021-08-29 09:18:21 +00:00
Alexander Alekhin
4c05a697fa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-08-28 21:30:28 +00:00
Alexander Alekhin
1259a474ba
Merge pull request #20625 from alalek:fix_msvc_warnings
2021-08-28 21:24:03 +00:00
Dale Phurrough
3995deaf76
fix opencv/opencv#20544 nodiscard for msvc/gcc
...
- includes workaround for preprocessor non-compliance
- enable attribute syntax checking in msvc
2021-08-28 20:22:47 +02:00
Alexander Alekhin
076587425e
build: eliminate build warnings
2021-08-28 17:11:26 +00:00
Alexander Alekhin
da6aeaca46
Merge pull request #20623 from alalek:fix_java_byte
2021-08-28 13:23:33 +00:00
Alexander Alekhin
8ee33ca551
java(test): avoid deprecation warning
...
- 'new Byte' => 'Byte.valueOf'
2021-08-28 02:10:05 +00:00
Alexander Alekhin
ea7f13922b
Merge pull request #20609 from vrabaud:3.4
2021-08-27 23:42:24 +00:00
Vincent Rabaud
38d0063c36
Do not use deprecated ReleaseCleared in protobuf library.
...
This is to make code work with protobuf arenas for memory
management (ReleaseCleared is incompatible).
The cleaning of the memory is also simpler.
2021-08-26 15:36:22 +02:00
Alexander Alekhin
56d0d5986f
Merge pull request #20598 from hanliutong:rvv-fix
2021-08-26 07:28:55 +00:00
Alexander Alekhin
df83459721
Merge pull request #20602 from diablodale:fix20594-refcounts-wiith-exceptions
2021-08-25 22:13:43 +00:00
Dale Phurrough
54a9e00970
fix opencv/opencv#20594 - exception handling with refcounts
2021-08-25 14:38:02 +02:00
Dale Phurrough
9bda96d39e
add test case
2021-08-25 14:32:40 +02:00
Alexander Alekhin
053470d5a8
Merge pull request #20597 from alalek:issue_20592
2021-08-24 19:30:38 +00:00
Alexander Panov
6f4160c014
Merge pull request #20584 from AleksandrPanov:fix_HoughCircles_ALT_dimensions
...
Fix hough circles alt dimensions
* fix OutputArray _circles dimensions
* add houghcircles_alt test
* fix warnings
* add shape assert
* change asserts
2021-08-24 19:29:40 +00:00
Sergey Ivanov
65ef82a946
Merge pull request #20570 from sivanov-work:vpl_source_data_adapter
...
G-API: oneVPL (simplification) Add data adapter & Cfg params
* Add cfg_param & data_provider
* Fix compilation after rebase
* Apply some comments
* Apply default ctor outside class definition comment
* Apply cfg param in source
* Fix compilation: add virtual dtor
* Move cfg_params in regular gapi src list
* Fix compilation: add export.hpp
* Add errno.h
* Add errno.h
* Apply namespace comment
* Add several Doxygen & rename cfg_param
* Fix build
* Update Doxygen docs for onevpl
* Fix typo
2021-08-24 15:41:57 +03:00
Alexander Alekhin
b509a7060a
Merge pull request #20593 from TolyaTalamanov:at/fix-gexecutor-writeback
2021-08-24 09:41:21 +00:00
Anatoliy Talamanov
5ad6ff239b
Merge pull request #20555 from TolyaTalamanov:at/fix-compileStreaming-bug
...
[G-API] Extend compileStreaming to support different overloads
* Make different overloads
* Order python compileStreaming overloads
* Fix compileStreaming bug
* Replace
gin -> descr_of
* Set error message
* Fix review comments
* Use macros for pyopencv_to GMetaArgs
* Use GAPI_PROP_RW
* Not split Prims python stuff
2021-08-24 12:37:50 +03:00
Nicolai Behmann
fdaa6ff9e3
Merge pull request #20475 from nibeh:patch-1
...
* Added exposure and gain props, maximized pixel clk
* removed pixel clock maximization
pixel clock maximization is not suitable for all use cases, so I removed it from PR.
2021-08-24 12:31:54 +03:00
HAN Liutong
2f31763335
fix v_reduce_sum
2021-08-24 11:42:19 +08:00
Alexander Alekhin
350562919c
highgui(win32): avoid using of stalled iterator
2021-08-23 18:16:14 +00:00
Anatoliy Talamanov
aa5c4945d6
Fix GExecutor WriteBackExec
2021-08-23 16:52:49 +03:00
Alexander Alekhin
6fbfc58602
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-08-21 17:25:18 +00:00
Alexander Alekhin
77a5c43d50
Merge pull request #20586 from alalek:issue_20585
2021-08-21 17:22:58 +00:00
Alexander Alekhin
f28e4b86fb
dnn(ocl): fix top initialization in verifyResult
2021-08-21 16:04:13 +00:00
rogday
6801dd043d
Merge pull request #20494 from rogday:onnx_diagnostic_fix
...
fix ONNXImporter diagnostic mode layer registration issue
* fix layer registration, thread unsafe access and align the behavior of DNN_DIAGNOSTICS_RUN between onnx and tf importers
* move skipModelInput
* print all missing layers
* address TF issue
2021-08-20 14:43:47 +00:00
Alexander Alekhin
b675e6ab77
Merge pull request #20581 from alalek:issue_20571
2021-08-20 11:36:38 +00:00
Alexander Panov
d6306f8ccb
Merge pull request #20564 from AleksandrPanov:update_kalman_sample
...
Update kalman sample
* updated view and comments, fixed dims
* updated view and comments, added statePost
2021-08-20 10:57:05 +00:00
Alexander Alekhin
a9817e9127
Merge pull request #20556 from rogday:onnx_split_sum_fix
2021-08-20 08:10:18 +00:00
Alexander Alekhin
bb5f33d13c
Merge pull request #20572 from TolyaTalamanov:at/check-adapter-in-executor
2021-08-20 07:41:21 +00:00
Alexander Alekhin
c08897cd10
cmake: handle empty CVPY_SUFFIX
2021-08-19 20:06:41 +00:00
Alexander Alekhin
384875f4fc
Merge pull request #20386 from vrabaud:3.4
2021-08-19 14:54:02 +00:00
Vincent Rabaud
9cfa84313c
Use the one argument version of SetTotalBytesLimit.
...
The two argument versions has been deprecated, cf
https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.io.coded_stream
2021-08-19 14:31:29 +02:00
Vadim Pisarevsky
f787c49b53
Merge pull request #20228 from SamFC10:int8
2021-08-19 08:09:01 +00:00
SamFC10
fa90e14b06
int8 layers and 8-bit quantization support
2021-08-19 09:56:47 +05:30
Smirnov Egor
fe625a558e
fix hasDynamicShapes for batch_size and fix axis selection in Scale layer
2021-08-18 19:22:24 +03:00
Anatoliy Talamanov
03b989251d
Check adapter in executor
2021-08-18 18:13:28 +03:00
Anatoliy Talamanov
95919051e0
Merge pull request #20528 from TolyaTalamanov:at/fix-overwrite-blob-precision-bug
...
[G-API] Prohibit setPrecision & preprocessing for importedNetworks
* Prohibit preprocessing for imported networks
* Fix typo
input_names -> output_names
* Move setBlob logic to separate function
* Change comment
2021-08-18 10:42:32 +03:00
Sergey Ivanov
46fb88c76f
Merge pull request #20546 from sivanov-work:initial_vpl_source
...
G-API: oneVPL (simplification) source base commit
* oneVPL source initial
* Fix compilation
* Fix compilation path
* Fix NO VPL compile
* Fix unused vars
* Fix unused vars in example
* Simplify oneVPL search: no custom path & download
* Fix standalone GAPI
* Apply comments
2021-08-17 20:11:22 +03:00
thezane
210bfaf8d6
Merge pull request #20483 from thezane:support-cumsum-layer-for-onnx
...
* Support cumsum layer for onnx
* Add unit tests
* Address review comments
2021-08-17 20:09:25 +03:00
rogday
a50dec88d5
Merge pull request #20547 from rogday:gdb_pretty_printer
...
* add gdb rpetty printer for cv::Mat
* address review comments
2021-08-17 18:23:27 +03:00
zyp
8dcec034ed
Merge pull request #18694 from zyp:gstreamer_gray16
...
* videoio/gstreamer: Add support for GRAY16_LE.
* videoio/gstreamer: added BGRA/BGRx support
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com >
2021-08-16 16:20:10 +00:00
Smirnov Egor
9ef41f68fb
fix Split partial sum
2021-08-16 15:44:54 +03:00
Alexander Alekhin
05d733e707
Merge pull request #20524 from yichenj:dnn_text_recognition_enhance
2021-08-15 12:30:25 +00:00
Alexander Alekhin
4bbe28bdf0
Merge pull request #20460 from cv3d:flannHeapPool
2021-08-15 10:40:00 +00:00
Alexander Alekhin
0c01cf7c85
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-08-14 18:24:00 +00:00
Iyad Ahmed
917cd13ce2
Merge pull request #20549 from iyadahmed:video_capture_timeout_set_get
...
* VideoCapture add open/read timeout params to FFMPEG backend
* Fix wrong enum name
* Fix wrong enum name
2021-08-13 23:12:05 +03:00
Julia Bareeva
cfb36443fb
Merge pull request #20506 from JulieBar:lstm_activations
...
* Support activations(Sigmoid, Tanh) for LSTM
* fix warning
2021-08-13 15:41:00 +03:00
Alexander Alekhin
9d3826c676
Merge pull request #20525 from SamFC10:fix-prior-variances
2021-08-13 10:06:55 +00:00
Iyad Ahmed
4300bb2e1f
Merge pull request #20541 from iyadahmed:video_capture_timeout_prop
...
* VideoCapture timeout set/get
* Common formatting for enum values
* Fix enum values wrongly in videoio.hpp
* Define timeout enum values in public api and align with master
2021-08-12 19:51:02 +03:00
Alexander Alekhin
6edc438789
Merge pull request #20545 from AleksandrPanov:resize_docummentation
2021-08-12 15:13:21 +00:00
JIANG Yichen
955cf35d5f
Implement ctc prefix beam search decode for TextRecognitionModel.
...
The algorithm is based on Hannun's paper: First-Pass Large Vocabulary
Continuous Speech Recognition using Bi-Directional Recurrent DNNs
2021-08-12 20:33:31 +08:00
AleksandrPanov
25cd7c7c50
add note about Python's dsize to doc
2021-08-12 14:40:40 +03:00
Alexander Alekhin
0f8efb07c7
Merge pull request #20529 from saikatnanda:master
2021-08-12 08:14:42 +00:00
Alexander Alekhin
732cb6c45c
Merge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad
2021-08-12 08:12:48 +00:00
Daniel Playfair Cal
4d63a89fa6
Merge pull request #20536 from hedgepigdaniel:fix/ocl-context-create-ownership
...
docs(core/ocl): clarify ownership of arguments passed into OpenCL related functions
* docs(core/ocl): clarify ownership in OpenCLExecutionContext::create
Although it is technically true that OpenCLExecutionContext::create
calls `clRetainContext` on its context argument, it is misleading
because it does not increase the reference count overall. Clarify that
the ownership of one reference of the passed context and device is
taken.
* docs(core/ocl): document ownership transfer in ocl::Device::fromHandle
2021-08-11 20:58:08 +03:00
Alexander Alekhin
266a868ba9
Merge pull request #20533 from AleksandrPanov:minAreaRect_fix_rotatingCalipers
2021-08-11 17:56:34 +00:00
AleksandrPanov
8199967b31
fix choose minimum angle in rotatingCalipers
2021-08-11 19:08:52 +03:00
utibenkei
9d61c18143
fix testSaveLoad
2021-08-11 21:52:39 +09:00
Hamdi Sahloul
7c73e28a6d
Improves FLANN's heap allocations by a memory pool
2021-08-11 17:34:15 +09:00
Alexander Alekhin
221bfa4c67
Merge pull request #20466 from rogday:efficientnet_fix_34
2021-08-10 22:18:17 +00:00
HAN Liutong
aaca4987c9
Merge pull request #20287 from hanliutong:dev-rvv-0.10
...
Optimization of DNN using native RISC-V vector intrinsics.
* Use RVV to optimize fastGEMM (FP32) in DNN.
* Use RVV to optimize fastGEMM1T in DNN.
* Use RVV to optimize fastConv in DNN.
* Use RVV to optimize fastDepthwiseConv in DNN.
* Vectorize tails using vl.
* Use "vl" instead of scalar to handle small block in fastConv.
* Fix memory access out of bound in "fastGEMM1T".
* Remove setvl.
* Remove useless initialization.
* Use loop unrolling to handle tail part instead of switch.
2021-08-11 01:16:03 +03:00
Alexander Alekhin
1a8b7f7513
Merge pull request #20500 from AleksandrPanov:findContours_documentation
2021-08-10 17:21:33 +00:00
AleksandrPanov
992b47b991
add 19769 and 19769_lightweight tests
2021-08-10 18:53:28 +03:00
Saikat Nanda
21d0f40751
Fix YUV indexes + YUV Planner detection condition
2021-08-09 21:41:00 -04:00
Alexander Alekhin
5e7f06397f
Merge pull request #20457 from komakai:ios-macos-mat-quicklook
2021-08-09 17:45:52 +00:00
Alexander Alekhin
adaace4ab8
Merge pull request #20510 from mpashchenkov:mp/python-ge-update
2021-08-09 15:42:27 +00:00
Smirnov Egor
739ff84732
add Max layer to TFImporter
2021-08-09 14:01:51 +03:00
SamFC10
2a177052de
fix bug in prior-box variances
2021-08-09 12:08:55 +05:30
Alexander Alekhin
424eaba4c5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-08-07 17:25:06 +00:00
Julia Bareeva
e1cafa3834
Merge pull request #20442 from JulieBar:gru_layer
...
* Add initialization and inference for GRU layer
* fix issues found on review
2021-08-07 10:07:37 +03:00
Anatoliy Talamanov
ba539eb9aa
Merge pull request #20508 from TolyaTalamanov:at/expand-python-pyparams
...
[G-API] Expand PyParams to support constInput
* Wrap constInputs to python
* Wrap cfgNumRequests
* Fix alignment
* Move macro to the line above
2021-08-06 14:41:56 +03:00
Anatoliy Talamanov
24de676a64
Merge pull request #20476 from TolyaTalamanov:at/support-unet-camvid-0001-segm-sample
...
[G-API] Support postprocessing for not argmaxed outputs
* Support postprocessing for not argmaxed outputs
* Fix typo
* Add assert
* Remove static cast
* CamelCast to snake_case
* Fix windows warning
* Add static_cast to uint8_t
* Add const to variables
2021-08-06 10:26:49 +00:00
Alexander Alekhin
0c2741f7ad
Merge pull request #20503 from asmorkalov:as/riscv_rvv_v_rshr_pack_store
2021-08-06 09:54:05 +00:00
Alexander Alekhin
f7c82baee9
Merge pull request #20505 from AleksandrPanov:contours_tutorial_documentation
2021-08-06 07:09:26 +00:00
Alexander Alekhin
2b34e0abdc
Merge pull request #20502 from ddacw:3.4
2021-08-06 07:06:51 +00:00
Maxim Pashchenkov
6306bc3ddc
Applying of comments
2021-08-06 09:54:40 +03:00
Alexander Alekhin
ea068dcc2c
Merge pull request #20507 from alalek:cmake_fix_crosscompilation
2021-08-05 15:38:02 +00:00
Julia Bareeva
633fedaa96
Merge pull request #20480 from JulieBar:lstm_pytest
...
Add Python's test for LSTM layer
* Add Python's test for LSTM layer
* Set different test threshold for FP16 target
* rename test to test_input_3d
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai >
2021-08-05 18:13:17 +03:00
Alexander Alekhin
4ff76cad2a
cmake: fix cross-compilation problems
...
- unexpected pkg-config module (we should not use host binary)
- bump cmake_minimum_required to 3.5 in toolchain files
2021-08-05 11:42:58 +00:00
AleksandrPanov
65134c793b
add links in python and js contours tutorial
2021-08-05 14:21:34 +03:00
Anatoliy Talamanov
5af09e73f2
Merge pull request #20490 from TolyaTalamanov:at/support-fp16-input-precision
...
[G-API] Support FP16 input precision for IE backend
* Support fp16 input precision IE backend
* Add support to wrapIE
2021-08-05 11:59:24 +03:00
Abhinav Sharma
d5f34cf34c
Merge pull request #20493 from abhi-bhatra:patch-1
...
Fix Broken Link
* Update README.md
Fix broken link
* Update Readme.txt
* Update readme.txt
Add missing link
* Update readme.txt
Fix names
2021-08-04 20:28:59 +03:00
Alexander Smorkalov
6a2e559222
Fixed memory access issue in v_rshr_pack_store intrinsic on RISC-V RVV.
2021-08-04 20:04:03 +03:00
Duong Dac
cefa602601
Avoid adding false UMat/GpuMat declaration
2021-08-04 15:17:25 +02:00
AleksandrPanov
d773691848
add note about hierarchy in python version
2021-08-04 15:37:20 +03:00
Alexander Alekhin
da07ad16c1
Merge pull request #20384 from rogday:find_package_cache
2021-08-03 18:19:28 +00:00
Alexander Alekhin
f40707dc68
Merge pull request #20487 from AleksandrPanov:traincascade_documentation
2021-08-03 12:06:46 +00:00
AleksandrPanov
2d8ce500fa
add note about using version 3.4 to traincascade documentation
2021-08-02 18:41:53 +03:00
Dmitry Budnikov
ba0cea6826
Merge pull request #20474 from dbudniko:dbudniko/mtcnn_graph_without_resizes
...
Remove explicit PNet resizes from MTCNN graph
* remove PNet resizes
* address comment from Ruslan
2021-08-02 10:58:18 +00:00
Alexander Alekhin
ddf1b04cce
Merge pull request #20485 from VadimLevin:dev/vlevin/fix-reserved-python-keyword-arguments
2021-08-02 08:09:55 +00:00
Alexander Alekhin
ad5b3a4753
Merge pull request #20451 from kumar-mahendra:patch-1
2021-08-01 14:22:09 +00:00
Vadim Levin
531ea5b3a2
fix: convert arguments names that are keywords reserved by Python
2021-08-01 12:02:36 +03:00
Mahendra Kumar
b468468e7e
Closing brackets missing
...
In line 94, closing brackets are added which were missing .
2021-08-01 08:41:03 +00:00
Alexander Alekhin
d52e4e5df3
Merge pull request #20446 from alalek:cmake_eliminate_modules_scope
2021-07-31 14:49:03 +00:00
Alexander Alekhin
907743eee7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-30 14:50:36 +00:00
Alexander Alekhin
610e3dccb7
Merge pull request #20478 from rogday:onnx_refactor_master
2021-07-30 14:38:46 +00:00
Smirnov Egor
27392f832d
reimplement onnx refactor for master
2021-07-30 13:00:13 +03:00
Alexander Alekhin
e9db7fea5b
Merge pull request #20472 from zchrissirhcz:fix-typo-in-comment
2021-07-29 13:11:02 +00:00
Zhuo Zhang
bdd3930855
Fix typo in comment, OpenMP => TBB
2021-07-29 09:34:09 +08:00
rogday
cff0168f3a
Merge pull request #20453 from rogday:onnx_importer_fix
...
Split layer dispatch into functions in ONNXImporter
* split layer dispatch into functions
* fixes
* identation and comment fixes
* fix constness
2021-07-28 18:06:24 +03:00
Alexander Alekhin
70d5c88026
Merge pull request #20445 from dbudniko:dbudniko/G-API_mtcnn_demo_single_transpose
2021-07-26 10:09:04 +00:00
Alexander Alekhin
d83901e665
Merge pull request #20459 from xerxesb:bugfix/cuda-cmake-typo
2021-07-26 09:57:44 +00:00
Xerxes Battiwalla
1e1984a586
Fixed typo in error message in OpenCVDetectCUDA.cmake
...
There was a minor typo in the FATAL error message when the specified CUDA generation does not match any known generation
2021-07-26 14:54:27 +10:00
Giles Payne
2f180cea7f
Add Quicklook for Mat on iOS and macOS
2021-07-25 14:23:52 +09:00
Alexander Alekhin
f4d6a3ec4e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-24 15:34:58 +00:00
Parsa
7aa922ceac
Merge pull request #20440 from parsa-ra:patch-1
...
* Update config_reference.markdown
Added description for `WITH_CLP` build option.
* Added extra description
Can't cross-reference with anchors to other sections of the markdown file due to the presence of markdown link extension in the form of
`## Header {#id-of-header}`
* Fixed trailing space issue
2021-07-24 18:29:24 +03:00
Alexander Alekhin
06dcc5a2c6
Merge pull request #20424 from sbajtl:worker-importscript-bugfix
2021-07-24 15:28:01 +00:00
Alexander Alekhin
000f762fb9
Merge pull request #20369 from shreyastaware:master
2021-07-24 13:41:01 +00:00
Alexander Alekhin
3bc3eeb5da
Merge pull request #20447 from snoyes:patch-1
2021-07-23 14:34:57 +00:00
Julia Bareeva
4e5699fa71
Merge pull request #20450 from JulieBar:lstm_inside
...
Support non-zero hidden state for LSTM
* fully support non-zero hidden state for LSTM
* check dims of hidden state for LSTM
* fix failed test Test_Model.TextRecognition
* add new tests for LSTM w/ non-zero hidden params
Co-authored-by: Julie Bareeva <julia.bareeva@xperience.ai >
2021-07-23 17:11:50 +03:00
ZhangYin
acc576658a
Merge pull request #20412 from joy2myself:rvv-0.10
...
bug fixes for universal intrinsics of RISC-V back-end
* Align universal intrinsic comparator behaviour with other platforms
Set all bits to one for return value of int and fp comparators.
* fix v_pack_triplets, v_pack_store and v_pack_u_store
* Remove redundant CV_DECL_ALIGNED statements
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai >
2021-07-23 17:08:43 +03:00
Scott Noyes
a76274b549
minor grammar edits
2021-07-23 08:54:00 -05:00
Shreyas Taware
803ff8ebb9
Update py_canny.markdown
...
Fixed a word that was previously written as third argument but it is instead the fourth argument of cv.Canny() function
2021-07-23 05:01:20 +00:00
Alexander Alekhin
b42152ffeb
Merge pull request #20429 from rogday:tf_importer_asym_pads
2021-07-22 16:44:47 +00:00
Alexander Alekhin
4015a5486c
cmake: process modules in the same CMake scope
2021-07-22 15:22:42 +00:00
Smirnov Egor
024b43ca06
implement asymmetric padding for conv2d, max_pool and conv2d_backprop_input
2021-07-22 16:58:40 +03:00
Dmitry Budnikov
aae48e6fd7
single transpose MTCNN version
2021-07-22 16:52:11 +03:00
Francesco Petrogalli
d29c7e7871
Merge pull request #20392 from fpetrogalli:aarch64-semihosting
...
AArch64 semihosting
* [ts] Disable filesystem support in the TS module.
Because of this change, all the tests loading data will file, but tat
least the core module can be tested with the following line:
opencv_test_core --gtest_filter=-"*Core_InputOutput*:*Core_globbing.accuracy*"
* [aarch64] Build OpenCV for AArch64 semihosting.
This patch provide a toolchain file that allows to build the library
for semihosting applications [1]. Minimal changes have been applied to
the code to be able to compile with a baremetal toolchain.
[1] https://developer.arm.com/documentation/100863/latest
The option `CV_SEMIHOSTING` is used to guard the bits in the code that
are specific to the target.
To build the code:
cmake ../opencv/ \
-DCMAKE_TOOLCHAIN_FILE=../opencv/platforms/semihosting/aarch64-semihosting.toolchain.cmake \
-DSEMIHOSTING_TOOLCHAIN_PATH=/path/to/baremetal-toolchain/bin/ \
-DBUILD_EXAMPLES=ON -GNinja
A barematel toolchain for targeting aarch64 semihosting can be found
at [2], under `aarch64-none-elf`.
[2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
The folder `samples/semihosting` provides two example semihosting
applications.
The two binaries can be executed on the host platform with:
qemu-aarch64 ./bin/example_semihosting_histogram
qemu-aarch64 ./bin/example_semihosting_norm
Similarly, the test and perf executables of the modules can be run
with:
qemu-aarch64 ./bin/opecv_[test|perf]_<module>
Notice that filesystem support is disabled by the toolchain file,
hence some of the test that depend on filesystem support will fail.
* [semihosting] Remove blank like at the end of file. [NFC]
The spurious blankline was reported by
https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31158 .
* [semihosting] Make the raw pixel file generation OS independent.
Use the facilities provided by Cmake to generate the header file
instead of a shell script, so that the build doesn't fail on systems
that do not have a unix shell.
* [semihosting] Rename variable for semihosting compilation.
* [semihosting] Move the cmake configuration to a variable file.
* [semihosting] Make the guard macro private for the core module.
* [semihosting] Remove space. [NFC]
* [semihosting] Improve comment with information about semihosting. [NFC]
* [semihosting] Update license statement on top of sourvce file. [NFC]
* [semihosting] Replace BM_SUFFIX with SEMIHOSTING_SUFFIX. [NFC]
* [semihosting] Remove double space. [NFC]
* [semihosting] Add some text output to the sample applications.
* [semihosting] Remove duplicate entry in cmake configuration. [NFCI]
* [semihosting] Replace `long` with `int` in sample apps. [NFCI]
* [semihosting] Use `configure_file` to create the random pixels. [NFCI]
* [semihosting][bugfix] Fix name of cmakedefine variable.
* [semihosting][samples] Use CV_8UC1 for grayscale images. [NFCI]
* [semihosting] Add readme file.
* [semihosting] Remove blank like at the end of README. [NFC]
This fixes the failure at
https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31272 .
2021-07-21 18:46:05 +03:00
Alexander Alekhin
9448fe3db4
Merge pull request #20437 from pytianxxiao:fix#20430
2021-07-21 09:47:11 +00:00
Xiaoxiao Tian
3817f3a89b
fix: ocv_target_link_libraries could not handle the keyword rightly #20430
2021-07-21 13:32:50 +08:00
Alexander Alekhin
755f4f324b
Merge pull request #20431 from lukasalexanderweber:debug-stitching_detailed.py
2021-07-20 16:25:43 +00:00
Lukas-Alexander Weber
863ab0e72e
fix TypeError when specifying compose_megapix
...
without rounding the composed image sizes (variable "sz") they will be odly fractions of a pixel (e.g. (5300.965, 3772.897)) and therefore cause a "TypeError: integer argument expected, got float" in line
456 roi = warper.warpRoi(sz, K, cameras[i].R)
2021-07-20 10:59:15 +02:00
Alexander Alekhin
4ab0377c6e
Merge pull request #20143 from rogday:base64_encoding
2021-07-19 20:43:19 +00:00
Saša Bajtl
2062a7ca8f
Bugfix on import script with web worker.
2021-07-18 10:12:39 +02:00
Alexander Alekhin
b61a55eebf
Merge pull request #20402 from rogday:tf_diag_dummy
2021-07-16 15:44:29 +00:00
Smirnov Egor
c30078c5a3
add NotImplemented layer
2021-07-16 15:39:54 +03:00
Alexander Alekhin
39b91c97f0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-16 10:35:42 +00:00
Alexander Alekhin
8334ee18e6
Merge pull request #20394 from SamFC10:conv-asymmetric-pads
2021-07-16 10:33:42 +00:00
Alexander Alekhin
cc2592f582
Merge pull request #20200 from rmeertens:update_grabcut
2021-07-16 10:19:25 +00:00
SamFC10
96d35f7c54
Fix convolution asymmetric padding bug in onnx importer
2021-07-16 09:39:41 +05:30
Alexander Alekhin
98c5fc6ae2
Merge pull request #20410 from alalek:fix_dnn_dldt_output_layout
2021-07-15 22:43:42 +00:00
Alexander Alekhin
fbde0c6c96
dnn(ie): fix handling of 1D and non-32F outputs of InferenceEngine
2021-07-15 21:47:05 +00:00
Alexander Alekhin
602e7c83e2
dnn(test): add extra IR models, more checks in IE testing code
2021-07-15 21:47:05 +00:00
Alexander Alekhin
eb9218a86b
Merge pull request #20420 from berak:python_fix_trackbar_warning
2021-07-15 20:06:22 +00:00
berak
9f2dcc3f13
python: fix trackbar warning
2021-07-15 17:42:06 +02:00
Alexander Alekhin
bc210b292b
dnn(test): backport test_ie_models.cpp from 4.5.3
2021-07-15 00:05:02 +00:00
Roland Meertens
2113af9c52
Updated grabcut example to show the background in a transparant way
2021-07-14 22:02:27 +02:00
Pablo Romero
6f417b57c1
Merge pull request #20399 from pablorcum:3.4
...
Improves support for Unix non-Linux systems, including QNX
* Fixes #20395 . Improves support for Unix non-Linux systems. Focus on QNX Neutrino.
Signed-off-by: promero <promero@mathworks.com >
* Update system.cpp
2021-07-13 19:40:15 +00:00
Dmitry Budnikov
a7742d7d63
Merge pull request #20383 from dbudniko:dbudniko/mtcnn_1st_pnet_simplification
...
MTCNN 1st pnet simplification to ensure single graph input
* 1st pnet simplification to ensure single graph input
* address comment from Dmitry M regarding unused variable
2021-07-13 19:33:13 +00:00
Alexey Smirnov
5179e37bd1
Merge pull request #20329 from smirnov-alexey:as/mediaframe_serialization
...
[G-API]: Add serialization mechanism for cv::MediaFrame
* Stub initial interface
* Fix templates for deserialization
* Fix tests
* Disable a warning on windows
* Address review comments
* Change enable_ifs to other template helpers
* Resolve ambiguous template
* Fix warnings in docs
2021-07-13 19:31:46 +00:00
Alexander Alekhin
a7b17bfaf0
Merge pull request #20400 from alalek:cmake_fix_mode_vars
2021-07-13 10:18:43 +00:00
Alexander Alekhin
4af1f31a3f
cmake: use relative path for mode vars
2021-07-13 09:15:03 +00:00
Alexander Alekhin
0acd06d13c
Merge pull request #20397 from alalek:fix_winpack_dldt_stale_sysroot
2021-07-12 21:14:22 +00:00
Alexander Alekhin
fd22e98298
build(winpack_dldt): avoid stale sysroot contents
2021-07-12 19:33:23 +00:00
Alexander Alekhin
9e42e04b4a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-10 13:01:03 +00:00
Alexander Alekhin
9103837228
Merge pull request #20278 from joy2myself:rvv-0.10
2021-07-09 22:42:29 +00:00
Sergey Ivanov
3f3c5de851
Merge pull request #20372 from sivanov-work:serialize
...
GAPI: Implement ConstValue serialize/deserialize
* Implement ConstValue ser/deser
* Fix MacOs compile issue
* Fix Docs compile
* Change uint32 -> uint64 for serialize tag
2021-07-09 18:46:38 +00:00
César Gouveia
167a12028d
Merge pull request #20374 from cesarpgouveia:bugfix/fix_load_onnxModel_debug
...
* Fix bug while loading onnx model in debug
* dnn: fix other .at using
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-07-09 18:21:56 +00:00
Alexander Alekhin
6af2faebd2
Merge pull request #20381 from berak:dnn_samples_fix_colorization_links
2021-07-09 18:15:10 +00:00
Smirnov Egor
34b65be44a
fix find_package cache pollution
2021-07-09 19:15:45 +03:00
berak
fd16222613
dnn: update links for the colorization samples
2021-07-09 13:21:44 +02:00
Alexander Alekhin
1ba6cd8423
Merge pull request #20368 from mightbxg:bugfix_imshowqt
2021-07-08 20:54:09 +00:00
Francesco Petrogalli
b928ebdd53
Merge pull request #19985 from fpetrogalli:disable_threads
...
* [build][option] Introduce `OPENCV_DISABLE_THREAD_SUPPORT` option.
The option forces the library to build without thread support.
* update handling of OPENCV_DISABLE_THREAD_SUPPORT
- reduce amount of #if conditions
* [to squash] cmake: apply mode vars in toolchains too
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-07-08 20:21:21 +00:00
Smirnov Egor
b42623ff9d
port base64 encoding from 3.4
2021-07-08 10:42:44 +03:00
Alexey Smirnov
59ae0e0013
Merge pull request #20163 from smirnov-alexey:as/gapi_serialization_docs
...
G-API: add documentation on serialization functionality
* Add documentation on serialization/deserialization
* Add docs on bind() methods
* Fix typo
* Docs refactoring
* Fix s11n docs
* Fix deserialize() docs
* Change deserialize docs
* Fix warning
* Address review comments
* Fix sample
* Fix warnings and errors
* Fix docs warnings
* Fix warnings
* Address review comments
* Add prefixes to snippets and fix indentation
* Address review comments and move snippets to a single file
2021-07-07 19:07:59 +00:00
Alexander Alekhin
4788de784b
Merge pull request #20373 from kikaxa:mjpeg-VideoInputStream-alignment-fix
2021-07-07 18:21:57 +00:00
kikaxa
926535469d
fix videoio/src/container_avi.cpp VideoInputStream alignment
2021-07-07 18:31:53 +03:00
Sergey Ivanov
c0f63eb21f
Merge pull request #20039 from sivanov-work:gapi_empty_input
...
G-API: Implement variant visit()
* Add variant visitor, use visitor for check compile args
* Fix GAPI UT: variant *compiler
* Aling apply_visior with std, fix indentations
* Fix compilation (included compiler_hints.hpp)
* Fix compilation (due gapi standalone)
* Fix compilation2 (Docs)
* Add Lambdas overload, Refactor visit()
* Add ReturnType auto deduction
* Fix comilation
* Fix compilation
* Fix warnings
* Try to fix MSVC14
* Fix docs
* Try fix Win compile
* Fix Docs again
* Revert GAPI empty input fix
* Apply comment for `tuple_element`
* Add std::decay for std::base_of to work arounf armv7 problem
* Apply review comments
* Apply review comments: added comment & removed unused args
* Fix docs compilation
2021-07-07 12:33:40 +00:00
Xinguang Bian
5627a0cbdf
fix scale problem in DefaultViewPort::controlImagePosition()
2021-07-07 12:35:11 +08:00
Maxim Pashchenkov
ed2a698392
Merge pull request #20359 from mpashchenkov:mp/onnx-tests
...
G-API: ONNX. Skip tests.
* imread for every test
* Changed name for Yolo function
2021-07-06 21:35:41 +03:00
Alexander Alekhin
aaad1791d9
Merge tag '4.5.3'
2021-07-05 21:48:40 +00:00
Alexander Alekhin
ad6e82942b
release: OpenCV 4.5.3
2021-07-05 12:03:22 +00:00
Alexander Alekhin
9a9954a036
Merge tag '3.4.15'
2021-07-04 21:32:19 +00:00
Alexander Alekhin
d60bb57d4b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-04 21:24:40 +00:00
Alexander Alekhin
591708903b
release: OpenCV 3.4.15
2021-07-04 21:10:13 +00:00
Alexander Alekhin
f9d62fba7a
Merge pull request #20350 from alalek:issue_20285
2021-07-04 21:07:02 +00:00
Alexander Alekhin
85dde8a800
Merge pull request #20355 from alalek:issue_20352
2021-07-04 20:54:03 +00:00
Alexander Alekhin
9d039c206b
Merge pull request #20354 from alalek:issue_20353
2021-07-04 18:41:34 +00:00
Alexander Alekhin
cbff19ff1a
highgui: fix win32 backend behavior
2021-07-04 17:37:45 +03:00
Alexander Alekhin
4c3f9b2ef4
cmake: update Halide detection
2021-07-04 13:20:52 +03:00
Alexander Alekhin
167bac23aa
Merge pull request #20351 from alalek:issue_20320
2021-07-03 20:42:17 +00:00
Alexander Alekhin
5d0cfa2527
cmake(highgui): don't allow multiple builtin backends
2021-07-03 11:37:08 +00:00
Alexander Alekhin
0e523618a1
cmake: exclude -pthread from Emscripten default build
2021-07-03 11:13:28 +00:00
Alexander Alekhin
821fae0d94
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-03 00:30:58 +00:00
Alexander Alekhin
3b26105f68
Merge pull request #20346 from alalek:backport_20026
2021-07-03 00:27:55 +00:00
Alexander Alekhin
0f2f966a91
Merge pull request #20345 from mitruska:update_ngraph_normalizel2
2021-07-02 23:37:03 +00:00
Alexander Alekhin
d7d491d445
Merge pull request #20344 from alalek:backport_20343
2021-07-02 23:35:12 +00:00
Alexander Alekhin
41effbe2da
Merge pull request #20343 from alalek:issue_19915
2021-07-02 23:33:49 +00:00
Alexander Alekhin
9b0d6862c4
cmake(IE): extract INF_ENGINE_RELEASE from InferenceEngine package
2021-07-02 23:29:35 +00:00
Alexander Alekhin
890fcdf842
Merge pull request #20337 from alalek:build_opencv_winpack_dldt_2021.4.0
2021-07-02 21:47:14 +00:00
mitruska
18dbac203f
Use explicit version of ngraph NormalizeL2
2021-07-02 21:33:05 +00:00
Alexander Alekhin
8d1f254dcc
java: force using of 'Ptr<>' for OpenCV classes
...
backport of commit: e5841d3126
2021-07-02 21:20:08 +00:00
Alexander Alekhin
e5841d3126
java: force using of 'Ptr<>' for OpenCV classes
2021-07-02 21:13:49 +00:00
Alexander Alekhin
90df3af6cf
build: winpack_dldt with dldt 2021.4.0
2021-07-02 09:58:00 +00:00
Alexander Alekhin
11cc36d770
Merge pull request #20341 from alalek:gapi_replace_ie_deprecated
2021-07-01 19:39:13 +00:00
Maxim Pashchenkov
05f1939b02
Merge pull request #20298 from mpashchenkov:mp/python-desync
...
G-API: Python. Desync.
* Desync. GMat.
* Alignment
2021-07-01 19:06:35 +00:00
Alexander Alekhin
050ea9762f
Merge pull request #20326 from APrigarina:fix_samples
2021-07-01 18:30:19 +00:00
APrigarina
0f24d4d2a1
fix samples
2021-07-01 18:26:17 +03:00
Alexander Alekhin
fc799191f4
gapi(ie): replace deprecated calls
2021-07-01 13:49:29 +00:00
Alexander Alekhin
8fad85edda
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-01 10:52:31 +00:00
Maxim Pashchenkov
d70053aba5
Merge pull request #20144 from mpashchenkov:mp/python-ge
...
G-API: Python. Gaze Estimation sample.
* GE pep8
* Added function description, wrapped copy
* Applying review comments
* One more change
* Added gin
* Rstrt bb
2021-07-01 10:27:28 +00:00
Alexander Alekhin
b699fe7a9d
Merge pull request #20335 from SamFC10:concat-const-input
2021-07-01 10:25:35 +00:00
Alexander Alekhin
94c67faaea
Merge pull request #20336 from JoeHowse:refactor-cl_image-float16-conversions
2021-07-01 09:52:19 +00:00
Alexander Alekhin
b2ed5c3070
Merge pull request #20333 from APrigarina:fix_samples_3.4
2021-07-01 09:41:56 +00:00
Anatoliy Talamanov
9fe49497bb
Merge pull request #20284 from TolyaTalamanov:at/wrap-render
...
G-API: Wrap render functionality to python
* Wrap render Rect prim
* Add all primitives and tests
* Cover mosaic and image
* Handle error in pyopencv_to(Prim)
* Move Mosaic and Rect ctors wrappers to shadow file
* Use GAPI_PROP_RW
* Fix indent
2021-07-01 09:36:19 +00:00
SamFC10
5b8c10f2f8
modified onnx importer to concat const input blobs
2021-07-01 10:58:31 +05:30
Alexander Alekhin
24983f62e2
Merge pull request #20325 from alalek:dnn_openvino_2021.4.0
2021-06-30 23:58:26 +00:00
Alexander Alekhin
f2057ce1ab
dnn(ie): replace deprecated calls
2021-06-30 22:30:15 +00:00
Alexander Alekhin
6797fd65a5
dnn(test): update tests for OpenVINO 2021.4
2021-06-30 22:30:15 +00:00
Rafael H Tibães
bf489feef1
Merge pull request #20327 from tibaes:MSMF-Slow-Webcam-Startup
...
* fixes MSMF slow webcam startup
* add variable to change MF_READWRITE_ENABLE_HARDWARE_TRANSFORMS at runtime
2021-06-30 22:08:24 +00:00
Alexander Alekhin
947e06a860
Merge pull request #20328 from alalek:backport_20321
2021-06-30 20:51:49 +00:00
Joe Howse
6a3d925a47
OpenCL: core support for FP16, more channel orders
...
* Support cl_image conversion for CL_HALF_FLOAT (float16)
* Support cl_image conversion for additional channel orders:
CL_A, CL_INTENSITY, CL_LUMINANCE, CL_RG, CL_RA
* Comment on why cl_image conversion is unsupported for CL_RGB
* Predict optimal vector width for float16
* ocl::kernelToStr: support float16
* ocl::Device::halfFPConfig: drop artificial requirement for OpenCL
version >= 1.2. Even OpenCL 1.0 supports the underlying config
property, CL_DEVICE_HALF_FP_CONFIG.
* dumpOpenCLInformation: provide info on OpenCL half-float support
and preferred half-float vector width
* randu: support default range [-1.0, 1.0] for float16
* TestBase::warmup: support float16
2021-06-30 14:14:37 -03:00
Alexander Alekhin
04d5ba266f
Merge pull request #20330 from Wovchena:fix-arg-for-calcHist-in-demos
2021-06-30 14:59:22 +00:00
Vladimir
90be83ae99
Fix an arg for calcHist() in demos
...
`float* histRange = { range };` doesn't make much sense. `histRange` is
an array of array(s), so it should have a type of ptr to ptr. Strangely
some domos are correct as well as the example for the function
https://docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#ga4b2b5fd75503ff9e6844cc4dcdaed35d
2021-06-30 17:22:56 +03:00
APrigarina
5e80bd3cc9
fix samples 3.4
2021-06-30 12:50:21 +03:00
Anatoliy Talamanov
fb7ef76e74
Merge pull request #20271 from TolyaTalamanov:at/extend-python-bindings
...
G-API: Extend python bindings
* Extend G-API bindings
* Wrap timestamp, seqNo, seq_id
* Wrap copy
* Wrap parseSSD, parseYolo
* Rewrap cv.gapi.networks
* Add test for metabackend in pytnon
* Remove int64 pyopencv_to
2021-06-30 09:04:09 +00:00
Alexander Alekhin
db4b1e613c
core(persistence): fix types format handling
...
partial backport of 4eac198270
2021-06-29 21:54:52 +00:00
Alexander Alekhin
ee39081b11
Merge pull request #20321 from alalek:issue_20279
2021-06-29 21:13:19 +00:00
Alexander Alekhin
7d842f5bcf
dnn: use OpenVINO 2021.4 defines
2021-06-29 18:48:21 +00:00
Alexander Alekhin
4eac198270
core(persistence): fix types format handling, fix 16F support
2021-06-29 11:26:57 +00:00
Alexander Alekhin
faac32418c
Merge pull request #20302 from rogday:tf_import_diag
2021-06-28 20:54:44 +00:00
Alexander Alekhin
42810621df
Merge pull request #20318 from komakai:better-unsigned-type-support
2021-06-28 20:52:32 +00:00
Giles Payne
61a5378aeb
Improvements/fixes for unsigned type handling in Swift/Kotlin
2021-06-27 21:08:25 +09:00
xzvno
42d644ef91
Merge pull request #20293 from endjkv:fix-mem-leak-when-throw
...
* fix memory leak when exception is thrown
2021-06-27 00:01:31 +03:00
Alexey Smirnov
c95a56450d
Merge pull request #20156 from smirnov-alexey:as/gapi_remote_infer
...
G-API: Support remote inference
* Extend MediaFrame to be able to extract additional info besides access
* Add API for remote inference
* Add default implementation for blobParams()
* Add default implementation for blobParams()
* Address review comments
* Fix any_cast usage
* Add comment on the default blobParams()
* Address review comments
* Add missing rctx
* Minor fix
* Fix indentation and comment
* Address review comments
* Add documentation
2021-06-26 00:09:33 +03:00
Smirnov Egor
dc5199feea
skipping missing layers and layer failures
2021-06-25 11:26:37 +03:00
Alexander Alekhin
f88fdf6a1b
Merge pull request #20304 from vrabaud:master
2021-06-24 09:51:36 +00:00
Vincent Rabaud
b68057d927
Do not use = 0 for a cv::Mat.
...
There are several operator= overloads and some compilers can be confused.
2021-06-23 21:30:06 +02:00
Alexander Alekhin
e9a860d9cb
Merge pull request #20295 from diablodale:umat_factory_usageflags
2021-06-23 18:15:14 +00:00
Dale Phurrough
8be86cbdfd
add usageFlags to UMat static factories
...
- add abi compatible overloads
- add test case
2021-06-23 18:50:33 +02:00
Alexander Alekhin
5091e64a42
Merge pull request #20204 from Developer-Ecosystem-Engineering:improve-sift
2021-06-22 22:58:52 +00:00
Alexander Alekhin
828304d587
Merge pull request #20128 from kikaxa:master
2021-06-21 21:52:17 +00:00
Alexander Alekhin
9d584475f6
Merge pull request #20283 from SamFC10:fix-batchnorm
2021-06-21 11:27:12 +00:00
kikaxa
bb60cb0bf9
Reenable filesystem for ios builds
2021-06-20 16:33:25 +00:00
Alexander Alekhin
25f908b320
Merge pull request #20259 from IanMaquignaz:inverseRectification_newUnitTest
2021-06-20 16:27:47 +00:00
Alexander Alekhin
9b7dca2fa1
Merge pull request #20281 from alalek:highgui_win32ui_plugin
2021-06-20 16:25:20 +00:00
SamFC10
55e1dfb778
Fix BatchNorm reinitialization
2021-06-20 13:19:29 +05:30
Alexander Alekhin
735a79ae83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-19 18:44:16 +00:00
Alexander Alekhin
ef2b400c61
highgui: win32ui plugin
2021-06-19 13:15:46 +00:00
Alexander Alekhin
c2263db7bc
Merge pull request #20232 from gasparitiago:drawMatches3.4
2021-06-18 19:47:52 +00:00
Anatoliy Talamanov
53eca2ff5b
Merge pull request #20196 from TolyaTalamanov:at/support-vaargs-compile-args
...
G-API: Support vaargs for cv.compile_args
* Support cv.compile_args to work with variadic number of inputs
* Disable python2.x G-API
* Move compile_args to gapi pkg
2021-06-18 20:16:07 +03:00
Alexander Alekhin
7bbbda71df
Merge pull request #20253 from rogday:gtk_modifiers
2021-06-18 15:46:44 +00:00
Zhang Yin
3a15a3821a
Update RISC-V back-end to RVV 0.10
2021-06-18 15:44:38 +08:00
Developer-Ecosystem-Engineering
9557b9f70f
Improve SIFT for arm64/Apple silicon
...
- Reduce branch density by collapsing compares.
- Fix windows build errors
- Use OpenCV universal intrinsics
- Use v_check_any and v_signmask as requested
2021-06-17 10:14:48 -07:00
Ian Maquignaz
464441d8c3
Added new unit test for initInverseRectificationMap()
...
Function is validated. Included an update to DISABLED_Calib3d_InitInverseRectificationMap.
Includes updates per input from @alalek and unit test regression # to reflect PR #
2021-06-17 12:48:16 -04:00
Alexander Alekhin
f30f1afd47
Merge pull request #20272 from rogday:pollKey_link
2021-06-17 11:01:37 +00:00
Alexander Alekhin
b3db37b99d
Merge pull request #20238 from dmatveev:dm/gframe_docs
2021-06-16 15:06:04 +00:00
Smirnov Egor
7a276f39fb
reorder defined checks according to cmake file
2021-06-16 11:36:13 +03:00
Dmitry Matveev
415668ecf0
G-API: Documentation updates
...
1) Document GFrame/MediaFrame (and also other G-API types)
- Added doxygen comments for GMat, GScalar, GArray<T>, GOpaque classes;
- Documented GFrame and its host-side counterpart MediaFrame;
- Added some more notes to the data type classes.
2) Give @brief descriptions to most of the cv::gapi::* namespaces
3) Make some symbols private
- These structures are mainly internal and shouldn't be used directly
2021-06-16 01:01:55 +03:00
Maxim Pashchenkov
651967b95c
Merge pull request #19341 from mpashchenkov:mp/ocv-gapi-parsessd-fix
...
G-API: Removing ParseSSD overload.
* Removed specialization.
* Removed united
2021-06-15 19:02:17 +00:00
Alexander Alekhin
8e0baf257c
Merge pull request #20263 from vrabaud:3.4
2021-06-15 18:20:21 +00:00
Vincent Rabaud
c8268e65fd
Fix potential NaN in cv::norm.
...
There can be an int overflow.
cv::norm( InputArray _src, int normType, InputArray _mask ) is fine,
not cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask ).
2021-06-15 14:58:11 +02:00
Tiago De Gaspari
3cf4375387
Merge pull request #19842 from gasparitiago:3.4
...
Update rotatedRectangleIntersection function to calculate near to origin
* Change type used in points function from RotatedRect
In the function that sets the points of a RotatedRect, the types
should be double in order to keep the precision when dealing with
RotatedRects that are defined far from the origin.
This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.
* added proper type casts
* Update rotatedRectangleIntersection function to calculate near to origin
This commit changes the rotatedRectangleIntersection function in order
to calculate the intersection of two rectangles considering that they
are shifted near the coordinates origin (0, 0).
This commit solves the problem in some assertions from
rotatedRectangleIntersection when dealing with rectangles far from
origin.
* Revert type changes in types.cpp and adequate code to c++98
* Revert unnecessary casts on types.cpp
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com >
2021-06-12 23:28:54 +03:00
Alexander Alekhin
438e2dc228
Merge pull request #20260 from JoeHowse:DirectX-float16-conversions
2021-06-11 20:13:11 +00:00
Alexander Alekhin
c1adbe3189
Merge pull request #20190 from rogday:tf_importer_ref
2021-06-11 20:06:09 +00:00
rogday
7ee1816612
split if into map of functions
2021-06-11 13:20:45 +03:00
Joe Howse
b4084491e5
DirectX: Support more types, including float16
...
Support the following type conversions:
* CV_16FC4 --> DXGI_FORMAT_R16G16B16A16_FLOAT
* CV_16FC2 --> DXGI_FORMAT_R16G16_FLOAT
* CV_16FC1 --> DXGI_FORMAT_R16_FLOAT
* CV_32FC2 --> DXGI_FORMAT_R32G32_FLOAT
* CV_32FC1 --> DXGI_FORMAT_D32_FLOAT
* CV_32SC2 --> DXGI_FORMAT_R32G32_UINT
* CV_32SC2 --> DXGI_FORMAT_R32G32_SINT
* CV_8UC4 --> DXGI_FORMAT_R8G8_B8G8_UNORM
* CV_8UC4 --> DXGI_FORMAT_G8R8_G8B8_UNORM
2021-06-11 00:55:06 -03:00
Alexander Alekhin
cb97421edf
Merge pull request #20257 from alalek:python_fix_extra_py_code_installation
2021-06-10 13:49:13 +00:00
Sergey Ivanov
e461031d40
Merge pull request #20184 from sivanov-work:fix_gapi_empty_input
...
G-API: Add standalone fix for graph empty input
* Add sandalone fix for graph empty input
* Apply some review comments
* Fix whitespace
* Apply review comment: make Mat check more deeper
* Apply some comments
* Remove tracer apply exception throwing
* Apply comments: move validatio into gproto_priv.hpp
* Apply minor text correction
* Fix alignment, remove try-catch
2021-06-10 14:05:46 +03:00
Alexander Alekhin
c82e4596e4
cmake: fix installation of python extra code
2021-06-10 13:51:30 +03:00
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
2021-06-10 10:57:15 +03:00
Alexander Alekhin
15ba3e123f
Merge pull request #20250 from alalek:highgui_fixes
2021-06-09 13:28:33 +00:00
Ian Maquignaz
2db243b8ed
Merge pull request #20247 from IanMaquignaz:inverseRectification_update
...
Update to initInverseRectificationMap()
* update to initInverseRectificationMap() documentation
* Restructured Calib3d_InitInverseRectificationMap unit test per feedback from alalek
* whitespace
2021-06-09 13:27:43 +00:00
Pinaev Danil
b57b64b7a3
Merge pull request #20129 from aDanPin:dp/improvement_gapi_stereo_documentation
...
G-API: Improvement stereo documentation.
* Documentation improvement
* Set valid default values for gapi stereo
* Small doc fix
* Review response
* Review response
* Review response
* Review response
* Revie response
* Review response
* Review response
* Review response
2021-06-09 13:24:50 +00:00
Maxim Pashchenkov
8e386ac71f
Merge pull request #20112 from mpashchenkov:mp/ocv-gapi-docs-part1
...
G-API: Documentation for Params (IE and ONNX).
* Applying comments
* Removed type of model from PramsDesc
* Added message for onnx ParamDesc
* Whitespaces
* Review
* Fix comments to review
* Fix comments
Co-authored-by: Anatoliy Talamanov <anatoliy.talamanov@intel.com >
2021-06-09 13:23:51 +00:00
Alexander Alekhin
bc1af6227a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-09 10:58:37 +00:00
Alexander Alekhin
2b84c97a78
Merge pull request #20251 from alalek:python_sys_path_0_workaround
2021-06-09 10:58:18 +00:00
Alexander Alekhin
3ddf84534b
Merge pull request #20248 from alalek:issue_20246
2021-06-09 10:52:16 +00:00
Dmitry Budnikov
4c2dff88de
Merge pull request #20245 from dbudniko:dbudniko/mtcnn_roi_size_hotfix
...
Hot fix negative MTCNN PNet ROI coordinates
* fix negative roi start
* some more experiments
* clean up
2021-06-09 10:28:32 +00:00
Alexander Alekhin
bd26104088
python(loader): add workaround to detect and patch sys.path[0]
2021-06-09 09:51:07 +00:00
Alexander Alekhin
80238880e6
highgui(gtk): fix initialization order of global objects
2021-06-09 09:04:29 +00:00
Alexander Alekhin
f4abafb093
highgui: update error messages if no builtin backend
2021-06-09 08:39:50 +00:00
Alexander Alekhin
3e538355e2
highgui: force loading of imgcodecs module
...
- required for plugins on Linux (they use imwrite, but there is no link dependency)
2021-06-09 08:36:28 +00:00
Alexander Alekhin
5f80f43ff5
core: fix nSize initialization in cvIplImage()
2021-06-09 07:31:38 +00:00
Alexander Alekhin
76e9da3fe9
Merge pull request #20244 from alalek:update_ffmpeg_4.x
2021-06-08 19:23:25 +00:00
Alexander Alekhin
cafa04f842
Merge pull request #20221 from komakai:java-at-function
2021-06-08 18:45:38 +00:00
Alexander Alekhin
fef84f69ec
Merge pull request #20220 from komakai:swift-at-function
2021-06-08 18:45:20 +00:00
Alexander Alekhin
ba98cd97e5
videoio(test): skip AV1 HW tests
...
- FFMPEG: "[av1 @ 0000027ac07d1340] Your platform doesn't suppport hardware accelerated AV1 decoding."
2021-06-08 17:25:09 +00:00
Anna Prigarina
81b897c291
Merge pull request #20243 from APrigarina:fix_tracking_api
...
Tracking API: fix incorrect structure
* fix incorrect structure of best score id
* video(DaSiamRPN): specify sizes of scalar arrays
2021-06-08 15:46:57 +00:00
Alexander Alekhin
1c4d70896a
Merge pull request #20138 from YashasSamaga:cuda4dnn-runtime-matmul
2021-06-08 14:47:17 +00:00
Alexander Alekhin
039bcd932a
ffmpeg/4.x: update FFmpeg wrapper 2021.06
...
- FFmpeg 4.4
- libvpx 1.10.0
2021-06-08 14:18:24 +00:00
Alexander Alekhin
eaa9228a4f
Merge pull request #20242 from alalek:update_version_4.5.3-pre
2021-06-08 13:54:50 +00:00
Giles Payne
a8757df963
Make Kotlin plugin version compatible with the Gradle version
2021-06-08 22:51:07 +09:00
Alexander Alekhin
b221143c0f
Merge pull request #20241 from alalek:fixup_20149
2021-06-08 13:44:58 +00:00
Alexander Alekhin
2c796de92b
Merge pull request #20240 from alalek:fixup_20149_4.x
2021-06-08 13:44:24 +00:00
Vadim Pisarevsky
6f2a64a511
Merge pull request #20235 from IanMaquignaz:calib3d_update_hyperlinks
2021-06-08 13:27:12 +00:00
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:57:24 +00:00
Alexander Alekhin
f5f675ef6c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:55:51 +00:00
Anatoliy Talamanov
bdc8e9118b
Merge pull request #20169 from TolyaTalamanov:at/doc-generic-type
...
[G-API] Generic type documentation
* Put doc about generic type
* Fix comments to review
2021-06-08 11:59:57 +03:00
Alexey Smirnov
d9ed9a9a83
Merge pull request #20151 from smirnov-alexey:as/extend_media_frame
...
G-API: Extend MediaFrame to be able to extract additional info besides access
* Extend MediaFrame to be able to extract additional info besides access
* Add default implementation for blobParams()
* Add comment on the default blobParams()
2021-06-08 11:58:51 +03:00
Alexander Alekhin
b57faa41c2
pre: OpenCV 4.5.3 (version++)
2021-06-08 08:52:20 +00:00
Alexander Alekhin
1b5fe91624
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-08 05:04:57 +00:00
Vadim Pisarevsky
1a305cadb3
Merge pull request #20165 from IanMaquignaz:inverseRectification
2021-06-08 01:44:57 +00:00
Alexander Alekhin
bbcd06f42f
Merge pull request #20236 from alalek:update_version_3.4.15-pre
2021-06-07 22:05:29 +00:00
JoeHowse
34183237ce
Merge pull request #20203 from JoeHowse:clMath-patches
...
Fix dynamic loading of clBLAS and clFFT (formerly, clAmdBlas and clAmdFft)
* Fix dynamic loading of clBLAS and clFFT
* Update filenames and function names for clBLAS (formerly, clAmdBlas)
* Update filenames and function names for clFFT (formerly, clAmdFft)
* Uncomment teardown of clFFT; tear down clFFT in same way as clBLAS
* Fix generators for clBLAS and clFFT headers
* Update generators to parse recent clBLAS and clFFT library headers
* Update generators to be compatible with Python 3
* Re-generate OpenCV's clBLAS and clFFT headers
* Update function calls to match names in newly generated headers
* Disable (and comment on) teardown code for clBLAS and clFFT
* Renaming *clamd* files
* Renaming *clamdblas* files to *clblas*
* Renaming *clamdfft* files to *clfft*
* Update generator for CL headers
* Update generator to be compatible with Python 3
2021-06-07 20:24:27 +00:00
Alexander Alekhin
286ec92967
Merge pull request #20027 from diablodale:fix19807-UMat-usageFlags
2021-06-07 20:20:13 +00:00
Alexander Alekhin
43940f7ffc
pre: OpenCV 3.4.15 (version++)
2021-06-07 20:10:34 +00:00
Ian Maquignaz
b05631432b
Added declaration, definition and unit test for initInverseRectificationMap()
...
Fixed trailing whitespace
Update to initInverseRectificationMap documentation for clarity
Added test case for initInverseRectificationMap()
Updated documentation.
Fixed whitespace error in docs
Small update to test function
Now passes success_error_level
final update to inverseRectification documentation
2021-06-07 16:01:11 -04:00
Ian Maquignaz
dc92886ab6
Added markup to enable hyperlinking of functions in calib3d documentation
...
fixed find*, calibrate*, stereo*
fixed decompose*, convert*
Fixed recoverPose, and projectPoints
Fixed typo in docs which resulted in a docs warning
2021-06-07 15:52:22 -04:00
Alexander Alekhin
993416d9cf
Merge pull request #20229 from alalek:fix_highgui_build
2021-06-07 17:36:44 +00:00
jogo-
f4a79b0554
Merge pull request #20223 from jogo-:3.4_wp8_samples_typos
...
* Fix typo in App.xaml.cs
* Fix typo in App.xaml.cs
* Fix typo in App.xaml.cs
2021-06-07 17:32:14 +00:00
Tiago De Gaspari
411fd2b761
Add Thickness parameter in drawMatches function
...
This commit adds the feature of selecting the thickness
of the matches drawn by the drawMatches function.
In larger images, the default thickness of 1 pixel creates images
that are hard to visualize.
2021-06-07 12:52:48 -03:00
Alexander Alekhin
327109f327
highgui: update backends handling, fix WITH_OPENGL=ON build
2021-06-07 11:28:05 +00:00
Giles Payne
f1f9121bc7
Add test for Java Mat.at
2021-06-06 20:09:13 +09:00
Giles Payne
3b42e19505
At-like function for Java/Kotlin
2021-06-06 20:09:13 +09:00
Giles Payne
709156ee65
Add tests for Mat.at function
2021-06-06 19:34:48 +09:00
Giles Payne
472030907b
At-like function for Swift
2021-06-06 19:34:48 +09:00
Alexander Alekhin
61e30c15a9
Merge pull request #20211 from kstuedem:fix_dshow_memory_leak
2021-06-05 16:02:12 +00:00
Alexander Alekhin
d332f33346
Merge pull request #20210 from kstuedem:fix_invalid_media_type
2021-06-05 16:01:51 +00:00
Kai Stüdemann
636db09d73
videoio(dshow) fix incompatible media type left set on video device
2021-06-04 10:45:39 +02:00
Kai Stüdemann
64c018507b
videoio(dshow) fix memory leak
2021-06-04 10:02:48 +02:00
Alexander Alekhin
3e513ee6ab
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-03 16:23:36 +00:00
Alexander Alekhin
c34445a496
Merge pull request #20201 from PolarNick239:3.4
2021-06-03 16:20:24 +00:00
Dale Phurrough
c2ce3d927a
UMat usageFlags fixes opencv/opencv#19807
...
- corrects code to support non- USAGE_DEFAULT settings
- accuracy, regression, perf test cases
- not tested on the 3.x branch
2021-06-03 16:33:03 +02:00
Paul Jurczak
ff60abb575
Merge pull request #20080 from pauljurczak:patch-3
...
* Update dnn.hpp
getPerfProfile is not supported by the CUDA backend, see https://github.com/opencv/opencv/issues/20077
* dnn.hpp: fix doxygen formatting
2021-06-02 19:15:52 +00:00
Alexander Alekhin
7d91dfe339
Merge pull request #20146 from asmorkalov:as/java_test_filter
2021-06-02 17:50:29 +00:00
Alexander Alekhin
15af65d4cf
Merge pull request #20149 from rogday:on_mouse_floor
2021-06-02 17:48:43 +00:00
Alexander Alekhin
0e8431d17b
Merge pull request #20194 from mshabunin:doc-plugins
2021-06-02 16:36:40 +00:00
Alexander Alekhin
81afeda537
Merge pull request #20192 from alalek:update_libjpeg-turbo
2021-06-02 16:30:25 +00:00
Alexander Alekhin
e10de25e86
Merge pull request #20191 from alalek:issue_20032
2021-06-02 16:29:51 +00:00
Dmitry Budnikov
826fdaf06c
Merge pull request #20189 from dbudniko:dbudniko/mtcnn_sample_with_regular_transpose_kernel
...
Remove custom transpose kernel from MTCNN sample
2021-06-02 16:26:22 +00:00
Maksim Shabunin
a4d0a1483a
docs/tutorials: improve plugin sections
2021-06-02 16:18:22 +03:00
Nikolay Polyarniy
746bd47ce5
EXR reading: support Z channel if no Y channel
2021-06-02 15:53:32 +03:00
Alexander Alekhin
dcb4cabb26
3rdparty: libjpeg-turbo 2.0.6 => 2.1.0
...
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.1.0
2021-06-01 20:01:19 +00:00
Alexander Alekhin
59b4baee0c
ts: migrate from cgi.escape to html.escape in .py file
2021-06-01 19:19:05 +00:00
Maxim Pashchenkov
2610724ee0
Merge pull request #20157 from mpashchenkov:mp/ocv-gapi-pnetworks
...
G-API: Python. Wrapper for networks.
* Python networks
* Added pyopencv_to
* Changed work with pyopencv_to
2021-06-01 14:42:44 +00:00
rogday
61359a5bd0
Merge pull request #20175 from rogday:dnn_samples_cuda
...
add cuda and vulkan backends to dnn samples
2021-06-01 14:00:51 +00:00
Alexander Alekhin
bb3bbd192b
Merge pull request #20150 from rogday:svm_detector_test
2021-06-01 13:31:12 +00:00
Alexander Alekhin
de781b306f
Merge pull request #20187 from alalek:highgui_plugins_cleanup
2021-06-01 13:16:23 +00:00
Alexander Smorkalov
1212aef03b
Analog of gtest_filter for java tests.
2021-06-01 11:04:18 +03:00
Developer-Ecosystem-Engineering
814550d2a6
Merge pull request #20011 from Developer-Ecosystem-Engineering:3.4
...
Improve performance on Arm64
* Improve performance on Apple silicon
This patch will
- Enable dot product intrinsics for macOS arm64 builds
- Enable for macOS arm64 builds
- Improve HAL primitives
- reduction (sum, min, max, sad)
- signmask
- mul_expand
- check_any / check_all
Results on a M1 Macbook Pro
* Updates to #20011 based on feedback
- Removes Apple Silicon specific workarounds
- Makes #ifdef sections smaller for v_mul_expand cases
- Moves dot product optimization to compiler optimization check
- Adds 4x4 matrix transpose optimization
* Remove dotprod and fix v_transpose
Based on the latest, we've removed dotprod entirely and will revisit in a future PR.
Added explicit cats with v_transpose4x4()
This should resolve all opens with this PR
* Remove commented out lines
Remove two extraneous comments
2021-06-01 09:39:55 +03:00
Anna Prigarina
478663b08c
Merge pull request #20036 from APrigarina:tracking_api
...
Tracking API: added DaSiamRPN tracker
* added dasiamrpn tracker
* dasiamrpn: add test, rewrite sample
* change python samples
* fix tests
* fix params
2021-05-31 20:23:37 +00:00
Alexander Alekhin
fb9a00c36d
highgui: cleanup and fixes
2021-05-31 17:03:53 +00:00
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
2021-05-31 19:03:50 +03:00
Alexander Alekhin
73ee01a7f4
Merge pull request #20182 from hanliutong:master
2021-05-31 09:21:46 +00:00
Danny
eb9b5fa9a5
Merge pull request #20054 from danielenricocahall:fix-robertson-calibration-bug
...
Fix Robertson Calibration NaN Bug
* add epsilon value for numerical stability in robertson merge
* update test to use range based for loop
* add comment to test
* move the epsilon
* address test comments
fix windows build warnings
fix vector type for tests
update tests
make threshold float
address test comments
fix tests and move epsilon again
* use scalar::all, move epsilon, and remove print
2021-05-30 23:29:39 +03:00
HAN Liutong
8bd5405228
Fix RVV toolchain conflicts.
2021-05-30 16:00:18 +08:00
Alexander Alekhin
cb51a155b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-29 19:00:14 +00:00
yo1990
d3be58b6d7
Merge pull request #20102 from yo1990:master
...
Add missing sqrt to magSpectrum().
* https://github.com/opencv/opencv/issues/20100
* slight optimization + fix for double-precision case
Co-authored-by: Yuma Oyama <yuma.oyama@acuity-inc.co.jp >
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com >
2021-05-29 17:43:21 +03:00
Jonathan Deakin
8ecfbdb4ff
Merge pull request #19883 from jondea:arm-neon-optimised-color-lab-3.4
...
* Add Neon optimised RGB2Lab conversion
* Fix compile errors, change lambda to macro
* Change NEON optimised RGB2Lab to just use HAL
* Change [] to v_extract_n in RGB2Lab
* RGB2LAB Code quality, change to nlane agnostic
* Change RGB2Lab to use function rather than macro
* Remove whitespace
Co-authored-by: Francesco Petrogalli <25690309+fpetrogalli@users.noreply.github.com >
2021-05-28 14:20:26 +00:00
Alexander Alekhin
63256a00ff
Merge pull request #20174 from alalek:issue_20159
2021-05-28 14:10:17 +00:00
Alexander Alekhin
450dc92452
Merge pull request #20172 from alalek:fixup_19334
2021-05-28 14:09:52 +00:00
Alexander Alekhin
9c16408e91
Merge pull request #20173 from alalek:videoio_test_vp9_skip
2021-05-28 09:57:43 +00:00
Alexander Alekhin
d42a2b2d16
videoio(test): bailout from VP9 tests if first frame can't be read
2021-05-28 02:05:45 +00:00
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
2021-05-28 01:58:58 +00:00
Alexander Alekhin
3d394943e6
core(ocl): avoid limit of Image kernel args
2021-05-28 00:43:59 +00:00
Dmitry Budnikov
cf96a9fd27
Merge pull request #20155 from dbudniko:dbudniko/G-API_mtcnn_demo_queue_option
...
Add streaming queue capacity option choice to MTCNN G-API sample
* Add streaming queue capacity option
* trying to fix mac build
* rename face detection sample
2021-05-27 18:50:13 +03:00
Alexander Alekhin
76e81dfbb0
Merge pull request #20164 from mshabunin:fix-gtk-check
2021-05-27 07:10:29 +00:00
Maksim Shabunin
684ba6fe14
highgui: fix config verification for GTK
2021-05-26 19:59:36 +03:00
Alexander Alekhin
830cb5cad7
Merge pull request #20116 from alalek:highgui_backends
2021-05-26 08:32:14 +00:00
Alexander Alekhin
3e25f32c9b
Merge pull request #20158 from hyrodium:fix/latex
2021-05-26 06:31:05 +00:00
hyrodium
81567a9d3e
fix latex script in the docs
2021-05-26 12:46:14 +09:00
Sergey Ivanov
2b06208bbd
Merge pull request #20107 from sivanov-work:gapi_transpose_op
...
G-API: Add transpose operation
* Add kernels decl & def
* Add draft for UT
* Fix UT for Transpose
* Add perf test
* Fix docs
* Apply comments
2021-05-25 20:36:01 +03:00
damonyu1989
5f637e5a02
Merge pull request #19778 from damonyu1989:master-riscv-0.7.1
...
* Add the support for riscv64 vector 0.7.1.
* fixed GCC warnings
* cleaned whitespaces
* Remove the worning by the use of internal API of compiler.
* Update the license header.
* removed trailing whitespaces
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@me.com >
Co-authored-by: yulj <linjie.ylj@alibaba-inc.com >
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com >
2021-05-25 20:15:12 +03:00
Vadim Pisarevsky
cc712a165d
Merge pull request #19689 from andy-held:umeyama
2021-05-25 13:18:21 +00:00
Vadim Pisarevsky
4a2adba8f4
Merge pull request #20135 from mightbxg:bugfix_GaussianBlur
2021-05-25 12:54:56 +00:00
Smirnov Egor
84f78059d3
add reproducer and bugfix
2021-05-25 11:28:23 +03:00
Anatoliy Talamanov
b67c0e5f4a
Merge pull request #20119 from TolyaTalamanov:at/compile-arg-for-queue-capacity
...
* Support queue capacity as graph compilation argument
* Fix comments to review
* Fix comments to review
* Fix comments to review
2021-05-24 18:48:23 +00:00
Ilya Lavrenov
1e1ddd3279
Merge pull request #20026 from ilya-lavrenov:inference-engine-version-from-cmake
...
* Extract IE version from IE cmake config
* Update cmake/OpenCVDetectInferenceEngine.cmake
Co-authored-by: Maksim Shabunin <maksim.shabunin@gmail.com >
2021-05-24 16:19:07 +00:00
Alexander Alekhin
70f69cb265
highgui: backends and plugins
2021-05-24 16:12:02 +00:00
Alexander Alekhin
ae4cc404c1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-23 21:21:48 +00:00
YashasSamaga
32df5faa25
add MatMulOp
2021-05-22 01:01:29 +05:30
Alexander Alekhin
ac8e7d57dc
Merge pull request #20137 from fpetrogalli:move-option
2021-05-21 18:56:23 +00:00
Francesco Petrogalli
da4a531717
[build] Move OPENCV_DISABLE_FILESYSTEM_SUPPORT. [NFC]
...
The option as been moved away from python-related options.
2021-05-21 12:50:08 +00:00
Alexander Alekhin
fea12f7806
Merge pull request #19987 from daksayli:stitching_detailed_branch
2021-05-21 11:01:13 +00:00
Xinguang Bian
7499a15c92
fix data overflow problem in GaussianBlur
2021-05-21 15:17:20 +08:00
HattrickGenerator
115e471515
Merge pull request #19967 from HattrickGenerator:master
...
* Adding functions rbegin() and rend() functions to matrix class.
This is important to be more standard compliant with C++ and an ever increasing number of people using standard algorithms for better code readability- and maintainability.
The functions are copy pated from their counterparts (even though they should probably call the counterparts but this gave me some troube).
They return iterators using std::reverse_iterators
Follow up of an open feature request:
https://github.com/opencv/opencv/issues/4641
* Fix rbegin() and rend() and provide tests for them
* Removing unnecessary whitespaces
* Adding rbegin and rend to Mat_ class with the right parameters so we don't need to repeat the template argument.
An instantiating cv::Mat_<int> for example can call it's rbegin() function and doesn't need rbegin<int>() with this convience addition.
Follows what is done for forward iterators
* static cast the vector size (return size_t) to an int (that is required for opencv mat constructor)
Co-authored-by: Stefan <stefan.gerl@tum.de >
2021-05-20 19:21:34 +00:00
Anatoliy Talamanov
c4df8989e9
Merge pull request #19982 from TolyaTalamanov:at/new-python-operation-api
...
G-API: New python operations API
* Reimplement test using decorators
* Custom python operation API
* Remove wip status
* python: support Python code in bindings (through loader only)
* cleanup, skip tests for Python 2.x (not supported)
* python 2.x can't skip unittest modules
* Clean up
* Clean up
* Fix segfault python3.9
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-05-20 18:59:53 +00:00
Alexander Alekhin
0f11b1fc0d
Merge pull request #20086 from rogday:vtk9_world
2021-05-19 14:25:14 +00:00
Alexander Alekhin
5f4e55bc68
Merge pull request #20123 from catree:fix_tsai_park_bib_render
2021-05-19 14:19:53 +00:00
catree
c621384707
Use correct BibTeX syntax for month field.
2021-05-19 14:24:07 +02:00
thezane
c0162a64d1
Merge pull request #20103 from thezane:make-div-spectrums-public
...
* Make divSpectrums public
* Add unit test
2021-05-19 12:14:11 +03:00
Maksym Ivashechkin
527d86a93d
Merge pull request #20012 from ivashmak:bugfix_solvepnp
...
* fix inliers in solvePnPRansac
* fix inliers in test_usac
* fix inliers in test_usac
2021-05-19 12:09:46 +03:00
Alexander Alekhin
7d66f1e391
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-18 18:06:26 +00:00
Giles Payne
6265155ce4
Merge pull request #20092 from komakai:disable_swift_build
...
Fixes for Swift troubles
* Remove NS_SWIFT_NAME override for Point, Rect, and Size due to Darwin namespace conflict
* Fix swift_type overrides in objc generator
* Add backwards compatibility Swift typealiases for Point, Rect, Size
* Add disable-swift build option to iOS/macOS builds
* Add import directive to swift source when building with disable-swift
Co-authored-by: Chris Ballinger <cballinger@rightpoint.com >
2021-05-18 17:10:51 +03:00
Anatoliy Talamanov
70d1ff7155
Merge pull request #20106 from TolyaTalamanov:at/auto-convert-fp16
...
[G-API] IE backend convert fp32 to fp16
* Support FP16 in IE backend
2021-05-18 13:54:38 +00:00
Dmitry Budnikov
4753206783
Merge pull request #20065 from dbudniko:dbudniko/G-API_mtcnn_demo_PR_hotfix2
...
G-API MTCNN demo hotfix to align overall pipeline accuracy with the reference Python code output.
* MTCNN G-API demo aligned with Python from OMZ
* clean up
* more comments from Maxim are addressed.
* address comment from Dmitry
2021-05-18 10:58:08 +00:00
Smirnov Egor
6376a3aef2
vtk 9.0 autoinit fix
2021-05-18 10:20:54 +03:00
Alexander Alekhin
1ae16beb06
Merge pull request #20097 from komakai:fix_qrcode_test
2021-05-17 17:53:35 +00:00
Giles Payne
e53a4ce64d
Fix for failing QRCodeDetectorTest.testDetectAndDecodeMulti test
2021-05-17 20:09:12 +09:00
Alexander Alekhin
72655a9eea
Merge pull request #20085 from changh95:fix_typo_calib3d_sample_code
2021-05-17 07:26:51 +00:00
Alexander Alekhin
125f890dc3
Merge pull request #20088 from alalek:cmake_module_linker_flags
2021-05-17 07:26:25 +00:00
changh95
101d50703c
fix typo 'undistorsed'->'undistorted'
2021-05-16 15:08:37 +09:00
Alexander Alekhin
901ed5545f
cmake: fix handling of CMAKE_MODULE_LINKER_FLAGS
2021-05-14 17:47:00 +00:00
Mikhail Nikolskii
a604d44d06
Merge pull request #19755 from mikhail-nikolskiy:ffmpeg-umat
...
cv::UMat output/input in VideoCapture/VideoWriter (data stays in GPU memory)
* FFMPEG with UMat input/output
* OpenCL_D3D* context
* fix Linux build
* cosmetic changes
* fix build if USE_AV_HW_CODECS=0
* simplify how child context pointer stored in parent context
* QSV interop with OpenCL on Windows
* detect_msdk.cmake via pkg-config
* fix av_buffer_ref() usage
* revert windows-decode-mfx whitelisting; remove debug msg
* address review comments
* rename property to HW_ACCELERATION_USE_OPENCL
* fix issue with "cl_khr_d3d11_sharing" extension not reported by OpenCL GPU+CPU platform
* core(ocl): add OpenCL stubs for configurations without OpenCL
* videoio(ffmpeg): update #if guards
* Put OpenCL related code under HAVE_OPENCL; simplify reuse of media context from OpenCL context
* videoio(test): skip unsupported tests
- plugins don't support OpenCL/UMat yet
- change handling of *_USE_OPENCL flag
* videoio(ffmpeg): OpenCL dependency
* videoio(ffmpeg): MediaSDK/oneVPL dependency
* cleanup, logging
* cmake: fix handling of 3rdparty interface targets
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-05-14 16:48:50 +00:00
Alexander Alekhin
bb92eb5a93
Merge pull request #20082 from jiangjiajun:master
2021-05-14 10:56:26 +00:00
Alexander Alekhin
699b4b9fc5
Merge pull request #20071 from rogday:depth_fallback_doc
2021-05-14 06:09:09 +00:00
jiangjiajun
1fb3133ec5
Update requirements and README for PaddlePaddle sample
2021-05-14 03:35:44 +00:00
Jason
fea45c6911
Merge pull request #19976 from jiangjiajun:master
...
* Added PaddlePaddle classification model conversion case
* Modify cv2 import as cv
* Modify documents in dnn_conversion/paddlepaddle
* Modify documents in dnn_conversion/paddlepaddle
2021-05-13 21:59:41 +03:00
Smirnov Egor
1d7d18afba
Document imwrite depth fallback
2021-05-12 19:55:58 +03:00
Alexander Alekhin
aadbebf9d8
Merge pull request #20068 from TolyaTalamanov:at/disable-iebackend-autofusing
2021-05-12 11:24:50 +00:00
Anatoliy Talamanov
7e12af2448
Disable auto fusing in ie backend
2021-05-12 09:02:17 +03:00
Alexander Alekhin
b335fe67b0
Merge pull request #20049 from jstaahl:jstaahl-static-inits
2021-05-11 17:06:11 +00:00
Alexander Alekhin
776d92e797
Merge pull request #20045 from blackliner:master
2021-05-11 16:57:03 +00:00
Alexander Alekhin
dde029f105
Merge pull request #20053 from berak:core_mat_ptr_vec
2021-05-11 16:34:03 +00:00
Alexander Alekhin
7ffc02283b
Merge pull request #20010 from fpetrogalli:disable_filesystem
2021-05-11 16:15:56 +00:00
Francesco Petrogalli
7a31a6edee
[build][option] Build option to disable filesystem support.
2021-05-11 12:54:54 +00:00
Alexander Alekhin
df05bc65c5
Merge pull request #19917 from AsyaPronina:asyadev/itt_traces_in_gstreamingexecutor
2021-05-11 14:44:59 +03:00
Anastasiya Pronina
3a49ff9e72
Added ITT traces to GStreamingExecutor
2021-05-11 12:52:47 +03:00
berak
302c2354a3
core: add missing implementation for Mat::ptr(Vec)
2021-05-09 14:15:12 +02:00
Jake Staahl
158b13e0ba
Remove static initializers caused by templated static member.
2021-05-07 12:53:14 -07:00
Florian Berchtold
71e2a17fdb
Update CMakeLists.txt
2021-05-07 15:49:24 +02:00
Alexander Alekhin
b1dc7ed873
Merge pull request #20033 from berak:dnn_openpose_py
2021-05-07 12:42:16 +00:00
berak
1bced43e96
samples/dnn: better errormsg in openpose.py
2021-05-05 10:39:12 +02:00
Alexander Alekhin
7de627c504
Merge pull request #20019 from r2d3:cudaStreamCreate_bug
2021-05-01 18:32:46 +00:00
David Geldreich
6a4bfc0863
Stream default to Stream::Null() when no default in function prototype
...
this corrects bug #16592 where a Stream is created at
each GpuMat::load(arr,stream) call
a correct solution would have been to add a default to GpuMat::load
but due to circular dependence between Stream and GpuMat, this is not possible
add test_cuda_upload_download_stream to test_cuda.py
2021-05-01 10:03:28 +00:00
Alexander Alekhin
170bf6d7af
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-01 09:44:24 +00:00
Alexander Alekhin
8550f7e04d
Merge pull request #20018 from lpea:doc_fixes_calib3d
2021-05-01 09:35:59 +00:00
Guillaume Jacob
9f3e83baf6
calib3d: Update documentation of calibrateCamera
...
- Added missing documentation for the CALIB_FIX_FOCAL_LENGTH flag
- Removed erroneous information about the number of distortion coefficients
returned
- Added some missing @ref tags
2021-04-30 20:34:04 +02:00
Alexander Alekhin
17ab61a40d
Merge pull request #19956 from danielenricocahall:fix-edge-case-matcher-loop
2021-04-30 17:22:16 +00:00
Danny
1b844f8413
Merge pull request #19993 from danielenricocahall:fix-compute-ecc-issue
...
Fix unsigned int bug in computeECC
* address issue with unsigned ints in computeEcc
* remove additional logic checking firstOctave
* use swap instead of same src/dst
* simplify the unsigned check logic
2021-04-30 17:20:52 +00:00
Alexander Alekhin
baa22fa808
Merge pull request #20006 from alalek:dnn_ie_gpu_cache_dir
2021-04-30 17:18:52 +00:00
Alexander Alekhin
f78cebfc98
Merge pull request #20014 from alalek:fix_core_tls_process_termination
2021-04-30 16:06:40 +00:00
Alexander Alekhin
d2a9ca13f1
core(tls): handle process termination / cleanup issues
2021-04-29 23:25:44 +00:00
Alexander Alekhin
71bae7c23f
dnn(ie): implicit usage of IE::GPU OpenCL kernels cache
2021-04-29 12:43:22 +03:00
Alexander Alekhin
1dacea3a20
Merge pull request #19998 from asmorkalov:as/openexr_version_check
2021-04-29 09:13:46 +00:00
Alexander Smorkalov
083a7c8f0a
Fix OpenCV build with OpenEXR before 2.2.0.
2021-04-29 09:50:30 +03:00
Alexander Alekhin
d4f104f17f
Merge pull request #19988 from alexkalmuk:fix-squares-cpp-sample
2021-04-28 22:03:14 +00:00
Alexander Alekhin
fd44ba296d
Merge pull request #19984 from sturkmen72:patch-4
2021-04-28 22:02:02 +00:00
Andreas Franek
4ed91ce7ed
add estimateAffine3D overload that implements Umeyama's algorithm
2021-04-28 11:33:48 +02:00
Alex Kalmuk
b04d6a2d9b
Fix squares sample failure when a single file passed
2021-04-28 09:36:04 +03:00
Alexander Alekhin
15e2f991dd
Merge pull request #19962 from mshabunin:one-vpl-support
2021-04-27 18:40:57 +00:00
Alexander Alekhin
a08eac452e
Merge pull request #19979 from micha137:patch-3
2021-04-27 13:31:05 +00:00
Alexander Alekhin
0c171c0749
Merge pull request #19971 from TolyaTalamanov:at/infer-hangs-fix
2021-04-27 10:58:13 +00:00
micha137
7021ea6748
Fix link
2021-04-27 11:22:07 +02:00
deniz.aksayli
dbd65a3b01
fix seam finder
2021-04-27 11:10:41 +03:00
Alexander Alekhin
55aa1d4852
Merge pull request #19975 from danielenricocahall:fix-template-matcher-sqdiff
2021-04-26 22:52:13 +00:00
Antonio Rojas
971dacaf41
Merge pull request #19970 from antonio-rojas:master
...
Support building with OpenEXR 3.x
* Support OpenEXR 3.0
Try to find OpenEXR 3.0 using the upstream cmake config, and fallback to the previous algorithm if not found
* Add explicit ImfFrameBuffer.h include
This was transitively included with OpenEXR 2.x, but that's no longer the case with OpenEXR 3.x
2021-04-26 22:13:59 +00:00
Suleyman TURKMEN
159534313e
Update CMakeLists.txt
2021-04-26 22:43:04 +03:00
Alexander Alekhin
2f68c43e39
Merge pull request #19983 from hartmannathan:typo-fix-download
2021-04-26 19:25:56 +00:00
Nathan Hartman
e2483aa072
Fix typo: 'DOWNLAOD' to 'DOWNLOAD'
2021-04-26 11:01:13 -04:00
Lukas-Alexander Weber
6c53af8e41
Merge pull request #19931 from lukasalexanderweber:patch-1
...
Stitching Detailed Tutorial Improvements
* Add Vertical Wave Correction
The user has the possibility to pass "vert" as wave_correct parameter. However, in the code "cv.detail.WAVE_CORRECT_HORIZ" ist fixed. This change proposes changes so that the wave correction is done vertically if the user passes "vert" as wave_correct parameter. The variable "do_wave_correct" is replaced by None which is passed to the variable "wave_correct" if the user chooses "no" for wave correction.
* Correct fixed conf_thresh
According to the documentation, [cv.detail.leaveBiggestComponent](https://docs.opencv.org/4.5.1/d7/d74/group__stitching__rotation.html#ga855d2fccbcfc3b3477b34d415be5e786 ) takes features, the pairwise_matches and the conf_threshold as input.
In the tutorial, however, conf_threshold is fixed at 0.3 even though the user can pass conf_thresh as parameter which is 1 by default. Fixing this parameter at 0.3 causes the script to include images into the panorama which are not part of it.
2021-04-26 14:47:50 +00:00
Maksim Shabunin
c4ca9a7bae
Initial oneVPL support
2021-04-26 17:42:20 +03:00
Alexander Alekhin
c69f37343c
Merge pull request #19980 from zchrissirhcz:fix-CV_XADD-missing-return-type
2021-04-26 14:10:51 +00:00
Alexander Alekhin
aec62a7fc5
Merge pull request #19969 from alalek:issue_19850
2021-04-26 13:23:29 +00:00
Zhuo Zhang
bf26050f7e
Fix missing return type for unsafe CV_XADD function
2021-04-26 20:08:45 +08:00
danielenricocahall
402bce1a31
address template matching sqdiff bug
2021-04-25 22:17:07 -04:00
Alexander Alekhin
e68657cdb2
Merge pull request #19934 from alalek:videoio_plugin_query_api
2021-04-24 18:13:05 +00:00
Anatoliy Talamanov
e00cfe067d
Fix infer hanging
2021-04-24 18:02:35 +03:00
Alexander Alekhin
8868350888
doxygen: fix quotes in add_toggle macro
2021-04-23 22:31:04 +00:00
Harald Scheirich
fcaeeac931
Merge pull request #19780 from HarryDC:feature/index-multiimage-tiff
...
Add reading of specific images from multipage tiff
* Add reading of specific images from multipage tiff
* Fix build issues
* Add missing flag for gdal
* Fix unused param warning
* Remove duplicated code
* change public parameter type to int
* Fix warnings
* Fix parameter check
2021-04-23 20:48:32 +00:00
Dmitry Budnikov
a53582d706
Merge pull request #19923 from dbudniko:dbudniko/G-API_mtcnn_demo_PR
...
G-API MTCNN sample
* add face detection demo
* clean up
* enable back accumulate
* additional input
* meta args workaround
* additional arg
* add init
* roll back
* fix shadowing
* roll back
* clean up and PNet copy from debug branch which now works
* try nets operator
* more clean up
* more clean up
* add 6 layers pyramid experimental code
* final clean up and ready for PR
* original image resize
* Remove Pnet declarations. Generic infer is used now.
* scales and sizes calculation added
* fix assert, and add ceil to size calculation
* try doubles for scales
* Address comments from Dmitry.
* use half scale option
* fix half scale
* clean up debug outputs
* try to get input image width and height
* clean up
* trailing spaces and review from Maxim
* more comments from Maxim are addressed
* try to fix warnings
* try to fix warnings and address more comments from Dmitry
* crop fix and clean up
* more warnings fixes
* more warnings fixes
* more comments from Maxim are addressed
* even more consts
* copy_n for regressions
* address more comments from Dmitry
* more comments from Maxim
2021-04-23 10:26:53 +00:00
Alexander Alekhin
e655083e3c
Merge pull request #19937 from Mstrodl:fix/cmake-version-change
2021-04-22 18:21:03 +00:00
Stefano Allegretti
1b64851fa8
Merge pull request #19951 from stal12:3.4
...
* Fix #4363 - wrong hierarchy (CV_RETR_TREE) in findContours
* Add regression test for findContours
* use C++11 => C++98 on 3.4 branch
2021-04-22 18:20:12 +00:00
Alexander Alekhin
40a7c70969
Merge pull request #19959 from QuellaZhang:quella/c++20
2021-04-21 18:45:37 +00:00
Aleksandr Voron
2e143b8799
Merge pull request #19961 from alvoron:dnn_ngraph_int64_fix
...
Explicit usage of int64_t in CropAndResizeLayer (IE backend)
* Update crop_and_resize_layer.cpp
2021-04-21 18:29:19 +00:00
Quella Zhang (Beyondsoft Corporation)
5105a937d1
Add namespace specifier for format()
2021-04-21 14:08:52 +08:00
danielenricocahall
3930c9a492
fix loop boundary condition
2021-04-20 22:08:01 -04:00
Alexander Alekhin
29fb4f98b1
Merge pull request #19942 from berak:calib3d_fix_usac_mask
2021-04-20 19:49:20 +00:00
Alexander Alekhin
f0839d2703
Merge pull request #19944 from berak:patch-1
2021-04-20 17:16:52 +00:00
berak
405e820fe1
Update contrast_preserve.hpp
...
fix a build warning:
```
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(289): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
with
[
_Tp=float
]
C:\Slave\workspace\precommit\windows10\opencv\modules\photo\src\contrast_preserve.hpp(361): warning C4244: '=': conversion from 'double' to '_Tp', possible loss of data
with
[
_Tp=float
]
```
(from https://build.opencv.org.cn/job/precommit/job/windows10/1633/console )
2021-04-20 12:59:36 +02:00
berak
3386efddba
calib3d: fix masks for usac
2021-04-20 11:57:42 +02:00
Mary Strodl
c41650db20
CMakeLists: remove extraneous checks, minimum required version is 3.5.1
2021-04-19 21:01:37 -04:00
Alexander Alekhin
a0ff55db7d
Merge pull request #19928 from alalek:cmake_videoio_fix_handling_of_disabled_plugins
2021-04-19 19:05:31 +00:00
Alexander Alekhin
896bffb543
videoio(plugin): add query API for plugins
2021-04-19 14:25:45 +00:00
Alexander Alekhin
0df6159149
cmake: fix handling of VIDEOIO_ENABLE_PLUGINS=OFF
2021-04-19 02:12:25 +00:00
Alexander Alekhin
cfb77091ca
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-04-15 20:50:26 +00:00
Alexander Alekhin
6598e9d506
Merge pull request #19908 from CSBVision:patch-2
2021-04-15 20:45:30 +00:00
Alexander Alekhin
8c2cf89845
Merge pull request #19913 from mshabunin:fix-san-build
2021-04-15 11:15:37 +00:00
Maksim Shabunin
aeb8dfc52d
Fix header sorting for modules without headers
2021-04-15 12:13:15 +03:00
Alexander Alekhin
0649a2fbdb
Merge pull request #19886 from alalek:issue_19875
2021-04-14 16:14:44 +00:00
CSBVision
ec32061f5f
Update __init__.py to support symbolic links
...
Currently, the LOADER_DIR is set as os.path.dirname(os.path.abspath(__file__)). This does not point to the true library path if the cv2 folder is symlinked into the Python package directory such that importing cv2 under Python fails. The proposed change only resolves symbolic links correctly by calling os.path.realpath(__file__) first and does not change anything if __file__ contains no symbolic link.
2021-04-14 16:13:45 +00:00
Alexander Alekhin
f2da1a0a7a
Merge pull request #19900 from berak:doc_fix_python_retval
2021-04-13 17:38:07 +00:00
Alexander Alekhin
fda1e6f148
Merge pull request #19901 from alalek:ml_update_checks
2021-04-13 15:47:01 +00:00
berak
2a48730166
docs:fix python retvals
2021-04-13 15:48:31 +02:00
Alexander Alekhin
0bdbc745c4
ml: update checks
2021-04-13 11:09:14 +00:00
Alexander Alekhin
6f70b0524a
Merge pull request #19894 from alalek:fix_ml_tree_legacy_import
2021-04-12 20:33:34 +00:00
Alexander Alekhin
b9b19185bc
ml: fix legacy import in DTreesImpl
2021-04-12 19:21:48 +00:00
Alexander Alekhin
63ba9970bd
Merge pull request #19851 from sturkmen72:update_documentation
2021-04-11 21:44:03 +00:00
Alexander Alekhin
1f726e81f9
Merge pull request #19881 from AndreiCostinescu:patch-1
2021-04-09 16:57:13 +00:00
Danny
a9a6801c6d
Merge pull request #19884 from danielenricocahall:fix-prediction-features-bug
...
Fix bug with predictions in RTrees/Boost
* address bug where predict functions with invalid feature count in rtrees/boost models
* compact matrix rep in tests
* check 1..n-1 and n+1 in feature size validation test
2021-04-09 16:56:14 +00:00
Alexander Alekhin
222af8e7e4
core: avoid process cleanup deadlock if TlsStorage is not used
2021-04-09 16:08:08 +00:00
Andrei Costinescu
df71853075
Update text in linux_install.markdown
2021-04-09 07:17:20 +02:00
Alexander Alekhin
bfb10d74eb
Merge pull request #19873 from crackwitz:issue-19870
2021-04-08 21:55:53 +00:00
Suleyman TURKMEN
ec8b7c933a
Update Documentation
2021-04-08 22:29:45 +03:00
Alexander Alekhin
68d15fc62e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-04-08 11:23:24 +00:00
Christoph Rackwitz
f479935cda
fix for #19870
...
HAVE_QT and HAVE_WIN32UI can both be true at the same time
if HAVE_QT, window_w32.cpp is not included in the build, see CMakeLists.txt
2021-04-08 12:59:06 +02:00
Danny
76860933f0
Merge pull request #19859 from danielenricocahall:fix-blob-detector-single-thresh
...
Fix Single ThresholdBug in Simple Blob Detector
* address bug with using min dist between blobs in blob detector
cast type in comparison and remove docs
address bug with using min dist between blobs in blob detector
use scalar instead of int
address bug with using min dist between blobs in blob detector
* fix namespace and formatting
2021-04-08 10:39:26 +00:00
Alexander Alekhin
19a936fc03
Merge pull request #19836 from 103yiran:warpaffine
2021-04-08 10:32:27 +00:00
Alexander Alekhin
be17fce657
Merge pull request #19847 from gasparitiago:expose-max-iters
2021-04-08 10:31:36 +00:00
Alexander Alekhin
9a1d7736f8
Merge pull request #19838 from mshabunin:fix-intel-ipp-link
2021-04-07 09:42:32 +00:00
Tiago De Gaspari
9f295b2c91
Expose maxIters in findEssentialMat
...
Lets the user choose the maximum number of iterations the robust
estimator runs for, similary to findFundamentalMat
and findHomography functions.
2021-04-07 00:07:33 -03:00
Alexander Alekhin
6e8daaec0f
Merge pull request #19855 from komakai:fix-android-ndk-camera-conversions
2021-04-06 21:31:26 +00:00
Alexander Alekhin
3a8154051f
Merge pull request #19810 from aarongreig:aaron/core/relaxClArithmTest
2021-04-06 19:56:46 +00:00
Aaron Greig
f3f46096d6
Relax accuracy requirements in the OpenCL sqrt perf arithmetic test.
...
Also bring perf_imgproc CornerMinEigenVal accuracy requirements in line with
the test_imgproc accuracy requirements on that test and fix indentation on
the latter.
Partially addresses issue #9821
2021-04-06 17:32:48 +01:00
Alexander Alekhin
ace37df941
Merge pull request #19854 from gasparitiago:fundamentalMat-fix
2021-04-06 10:19:57 +00:00
Alexander Alekhin
de7377485b
Merge pull request #19861 from mpashchenkov:mp/ocv-gapi-stream-test
2021-04-05 21:22:07 +00:00
Maxim Pashchenkov
e23578acd9
Added skip for TestTwoVideosDifferentLength
2021-04-05 15:52:48 +03:00
Giles Payne
770445ae2a
Log warning that Exposure/ISO have no effect unless AutoExposure is off
2021-04-04 22:14:40 +09:00
Giles Payne
b9b65e9392
Fix Android NDK camera's color format conversions
2021-04-04 12:39:29 +09:00
Tiago De Gaspari
ac9182f20d
Add maxIters parameter to LMeDS method in findFundamentalMat
...
This commit passes the parameter maxIters that represent
the maximum number of iterations, that can be passed to findFundamentalMat
to the method LMeDS.
This parameter were added to the function findFundamentalMat and
were passed just for the RANSAC method, but should be passed to
both methods to be consistent.
2021-04-03 21:56:05 -03:00
Alexander Alekhin
125b9f6057
Merge tag '4.5.2'
2021-04-02 17:30:52 +00:00
Alexander Alekhin
69357b1e88
release: OpenCV 4.5.2
2021-04-02 11:23:54 +00:00
Alexander Alekhin
e9e9e3898a
Merge remote-tracking branch 'upstream/3.4'
2021-04-02 11:22:33 +00:00
Alexander Alekhin
9ef20ad20e
Merge pull request #19833 from alalek:workaround_19678
2021-04-02 10:37:29 +00:00
Alexander Alekhin
2cf1a13755
Merge tag '3.4.14'
2021-04-02 09:31:32 +00:00
Maksim Shabunin
6465e393b6
IPP: use linker workaround for Intel compiler on Linux
2021-04-02 10:44:32 +03:00
103yiran
6e6c0f31f7
delete unused variable
2021-04-02 10:30:27 +08:00
Anastasia M
1263949e70
Merge pull request #18237 from LupusSanctus:am/pytorch_tf_det_tutorial
...
[GSoC] Added TF and PyTorch detection model conversion cases
* Added object detection convertion pipeline and tutorials
* Added tutorial corrections
2021-04-02 01:50:35 +00:00
Alexander Alekhin
12d80b9e64
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-04-01 21:48:52 +00:00
Alexander Alekhin
d0e3e638c3
release: OpenCV 3.4.14
2021-04-01 21:37:19 +00:00
Anastasia M
ad333e0d22
Merge pull request #17801 from LupusSanctus:am/pytorch_tf_segm
...
[GSoC] Added TF and PyTorch segmentation conversion cases
* WIP: Added conversion of segmentation models
* Added tutorial mds
* remove unused
2021-04-01 20:42:08 +00:00
Orest Chura
34a8a45a6a
Merge pull request #19828 from OrestChura:oc/fix_garray_garray_input
...
[G-API] Fix bug of GArray<GArray> passing through a graph
* Add test to check GArray<GArray> passing through a graph (assertion failed)
* G-API: Flatten GArray<T> to std::vector<T> when capturing VCtr
- Also: Fix formatting in garray.hpp
* Refactored test, added valuable check
* Initialize size_t
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com >
2021-04-01 20:39:31 +00:00
Alexander Alekhin
6a72bf5085
Merge pull request #19823 from alalek:issue_contrib_2895
2021-04-01 20:38:46 +00:00
Alexander Alekhin
1e51f87298
Merge pull request #19817 from alalek:cmake_fix_tracking_headers
2021-04-01 20:38:14 +00:00
Alexander Alekhin
8095f601d1
gapi(test): avoid compilation failure with GCC11
2021-04-01 20:23:29 +00:00
Alexander Alekhin
0ff57e3292
Merge pull request #19830 from alalek:issue_19368
2021-04-01 15:30:18 +00:00
Alexander Alekhin
5db484b6c2
Merge pull request #19831 from alalek:backport_19771
2021-04-01 14:05:09 +00:00
Alexander Alekhin
b40d24ad75
Merge pull request #19829 from alalek:hotfix_19693
2021-04-01 14:04:36 +00:00
Alexander Alekhin
6865787a75
Merge pull request #19827 from alalek:build_videoio_macosx_override_3.4
2021-04-01 12:34:23 +00:00
Alexander Alekhin
7f664850f5
Merge pull request #19825 from alalek:cmake_fix_headers_order_python_3.4
2021-04-01 12:34:10 +00:00
Alexander Alekhin
2907fb88f5
Merge pull request #19822 from alalek:core_wui_backward_compatibility
2021-04-01 12:32:33 +00:00
Alexander Alekhin
f839fa4070
Merge pull request #19820 from alalek:issue_19405
2021-04-01 12:32:09 +00:00
Kun Liang
32d51313d0
Merge pull request #19771 from lionkunonly:opencvjsNodeFix
...
* fix the perf tests of OpenCV.js so that it can run on Node.js successfully
* do not modify the CMakeLists.txt
Co-authored-by: lionkun <871518554@qq.com >
2021-04-01 12:29:48 +00:00
Alexander Alekhin
69341edfe6
Merge pull request #19816 from alalek:python_customize_namespaces
2021-04-01 12:27:04 +00:00
Alexander Alekhin
81f0b0e0dc
cmake: fix tracking detail headers
2021-04-01 12:21:18 +00:00
Alexander Alekhin
d7cb2ea210
videoio(dshow): add NULL ptr check
2021-04-01 11:28:41 +00:00
Alexander Alekhin
28f919d9d2
apps(model_diagnostics): fix invalid callback
2021-04-01 10:26:22 +00:00
Alexander Alekhin
4ae2c11520
videoio(build): eliminate inconsistent 'override' warnings
2021-04-01 09:56:21 +00:00
Alexander Alekhin
3e1673e8b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-04-01 09:54:57 +00:00
Alexander Alekhin
1b3e0b27af
cmake: fix files order in Python bindings
...
- with changes backport from 4.x
2021-04-01 09:48:50 +00:00
Alexander Alekhin
e4b0251e9d
cuda: fix inplace condition in cv::cuda::flip
2021-04-01 02:26:59 +00:00
Alexander Alekhin
b26f5b9468
core: backward compatibility for vx_store/vx_store_aligned calls
2021-04-01 02:17:47 +00:00
Alexander Alekhin
5340dc6686
Merge pull request #19819 from alalek:cmake_fix_headers_order
2021-04-01 01:34:21 +00:00
Alexander Alekhin
174753921d
Merge pull request #19818 from alalek:workaround_python_build_failures
2021-04-01 01:12:07 +00:00
Alexander Alekhin
aa32e3deb1
cmake: fix ADE dependency handling
2021-03-31 23:40:19 +00:00
Alexander Alekhin
2b86de217a
cmake: fix order of headers
...
- cmake uses filesystem's order which may vary
- unpredictable headers order may cause build failures (primary bindings)
2021-03-31 23:16:46 +00:00
Alexander Alekhin
1615afd7f4
Merge pull request #19814 from alalek:pyopencv_to_safe
2021-03-31 22:58:18 +00:00
Alexander Alekhin
908957317f
Merge pull request #19813 from alalek:issue_19506
2021-03-31 22:57:50 +00:00
Alexander Alekhin
6fa2bdd7f2
Merge pull request #19812 from alalek:workaround_19634
2021-03-31 22:57:15 +00:00
Alexander Alekhin
f82303d614
Merge pull request #19811 from alalek:issue_19599
2021-03-31 22:56:48 +00:00
Alexander Alekhin
6773fa03e2
Merge pull request #19808 from alalek:3.4_python_fix_wrap_as
2021-03-31 22:56:14 +00:00
Alexander Alekhin
47fe017a6c
build: workaround sporadic failures of python binding compilation
2021-03-31 22:44:27 +00:00
Alexander Alekhin
7baae20c20
Merge pull request #19815 from OrestChura:oc/fix_garray_garray_input
2021-03-31 22:33:14 +00:00
OrestChura
921c4551d9
Fix conversion of the kernel's input for GArray<GArray<U>> -> vector<vector<U>>
2021-03-31 23:37:44 +03:00
Alexander Alekhin
c20a424e3a
gapi(python): rename cv.gapi_wip_op / cv.gapi_wip_kernels
2021-03-31 20:34:04 +00:00
Alexander Alekhin
2e005f5dc2
python: allow to customize Python namespaces
...
- extra methods through PYOPENCV_EXTRA_METHODS_<NS_UPPER> macros
- extra constants through PYOPENCV_EXTRA_CONSTANTS_<NS_UPPER> macros
2021-03-31 20:33:38 +00:00
Alexander Alekhin
9f13fdb840
Merge pull request #19732 from aDanPin:danpin/gapi/stereo_operation_and_test
...
G-API Stereo operation and tests
2021-03-31 23:22:29 +03:00
aDanPin
e6f52b0996
Adding stereo operation and tests
2021-03-31 20:09:10 +03:00
Alexander Alekhin
d651ff8d6b
python: exception-free pyopencv_to() wrapper
2021-03-31 14:18:32 +00:00
Alexander Alekhin
e11408f6ad
Merge pull request #18903 from mpashchenkov:mp/onnx-disable-output
...
G-API: ONNX. Disable unnecessary outputs
2021-03-31 16:46:22 +03:00
Alexander Alekhin
8069a6b4f8
core(IPP): disable some ippsMagnitude_32f calls
2021-03-31 13:38:57 +00:00
Alexander Alekhin
b697b3162f
videoio(mjpeg): disable parallel encoder
2021-03-31 12:35:12 +00:00
Alexander Alekhin
53a16b1186
Merge pull request #19809 from alalek:issue_19513
2021-03-31 10:50:20 +00:00
Alexander Alekhin
a2a92999be
core(arithm_op): workaround problem with scalars handling
2021-03-31 10:35:52 +00:00
Alexander Alekhin
40c0830b63
videoio(avfoundation): add getCaptureDomain()
2021-03-31 09:35:11 +00:00
eplankin
6f1eefec69
Merge pull request #19681 from eplankin:link_problem
...
* Workaround for IPP linking problem
* Apply -Bsymbolic to all cases when IPP is on
* Tried to hide symbols on MacOS
* Tried on --exclude-libs option
* Fixed macos and win warnings
* Fixed win build
* cmake(IPP): move --exclude-libs,libippcore.a to IPP CMake file
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-31 09:24:37 +00:00
Maxim Pashchenkov
61a4100d0c
Added overload for cfgPostPros
2021-03-31 12:20:04 +03:00
Alexander Alekhin
bb6e15f2c0
python: fix CV_WRAP_AS handling
2021-03-30 22:02:48 +00:00
Alexander Alekhin
0dcb99cf23
Merge pull request #19798 from LupusSanctus:am/reduce_sum_ch
2021-03-30 21:37:13 +00:00
Maxim Pashchenkov
69fc0acd1a
Merge pull request #19752 from mpashchenkov:mp/onnx-int64-to-32
...
G-API: ONNX. Adding INT64-32 conversion for output.
* Added int64 to 32 conversion
* Added warning
* Added type checks for all toCV
* Added type checks for tests
* Small fixes
* Const for fixture in test
* std::tuple if retutn value for toCV
* Mistake
* Changed toCV for tests
* Added Assert
* Fix for comments
* One conversion for ONNX and IE
* Clean up
* One more fix
* Added copyFromONNX
* Removed warning
* Apply review comments
2021-03-30 21:08:43 +00:00
Anatoliy Talamanov
3f14cb073b
Merge pull request #19804 from TolyaTalamanov:at/python-custom-op
...
[G-API] Introduce custom python operator API
* Introduce custom python operator API
* Add wip namespace
2021-03-30 20:59:02 +00:00
Anastasia Murzova
cc6d48959e
Added reduce sum by channel support
2021-03-30 23:01:22 +03:00
Alexander Alekhin
5ffe32439d
Merge pull request #19806 from rgarnov:rg/fix_double_nv12_y_accessor_test_instantiation
2021-03-30 18:25:32 +00:00
Ruslan Garnov
76a9c0ccb0
Fixed Y accessor in BGR accessor test, added more instantiations
2021-03-30 19:51:48 +03:00
Vitaly Tuzov
aab62aa6dd
Merge pull request #18952 from terfendail:wui_doc
...
* Updated UI documentation to address WUI
* Added documentation for vx_ calls
* Removed vx_store operation overload
* Doxyfile updated to enable wide UI
* Enable doxygen documentation for vx_ WUI functions
* Wide intrinsics definition rework
* core: fix SIMD C++ emulator build (supports 128-bit only)
2021-03-30 16:18:03 +00:00
Alexander Alekhin
c89084e6b7
Merge pull request #19223 from YashasSamaga:cuda4dnn-halfpix-linear-resize
2021-03-30 13:19:41 +00:00
Alexander Alekhin
64072e44cc
Merge pull request #19351 from TolyaTalamanov:at/python-backend
2021-03-29 21:54:44 +00:00
Maxim Pashchenkov
e7007668a6
Merge pull request #19792 from mpashchenkov:mp/ie-add-int32
...
G-API: IE. Adding support for INT32 type.
* Added support for int32
* Added sample for semantic-segmentation-adas-0001
* Alignment
* Alignment 2
* Rstrt build
* Removed test for sem seg
2021-03-29 20:59:55 +00:00
Alexander Alekhin
105b57c8d9
Merge pull request #19802 from rgarnov:rg/fix_accessor_tests_valgrind_warnings
2021-03-29 20:57:57 +00:00
Anatoliy Talamanov
79d4a38d87
Implement python backend
2021-03-29 22:51:24 +03:00
Anastasia M
e08de1101d
Merge pull request #19693 from LupusSanctus:onnx_diagnostic
...
ONNX diagnostic tool
* Final
* Add forgotten Normalize layer to the set of supported types
* ONNX diagnostic tool corrections
* Fixed CI test warnings
* Added code minor corrections
Co-authored-by: Sergey Slashchinin <sergei.slashchinin@xperience.ai >
2021-03-29 16:38:28 +00:00
Ruslan Garnov
b5339cc01b
Fixed valgrind warnings in accessors tests
2021-03-29 17:42:53 +03:00
Alexander Alekhin
ac9f3a1242
Merge pull request #19793 from aarongreig:aaron/imgproc/relaxCornerEigenValTest
2021-03-29 13:41:44 +00:00
Aaron Greig
53652a6194
Relax accuracy requirement on OpenCL MinEigenVal corner kernel test.
...
The MinEigenVal path through the corner.cl kernel makes use of native_sqrt,
a math builtin function which has implementation defined accuracy.
Partially addresses issue #9821
2021-03-29 12:06:02 +01:00
lionkun
8d232a63ad
fix the perf tests of OpenCV.js so that it can run on Node.js successfully
2021-03-27 21:52:44 +00:00
Alexander Alekhin
35eaacd1db
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-27 15:35:16 +00:00
Alexander Alekhin
bf03f5fa3a
Merge pull request #19786 from alalek:build_opencv_winpack_dldt_2021.3.0
2021-03-26 22:38:52 +00:00
Alexander Alekhin
6e8022a3af
Merge pull request #19773 from jondea:add-aarch64-specialised-v_expand-3.4
2021-03-26 16:54:51 +00:00
Alexander Alekhin
d27eb79fa6
Merge pull request #19785 from alalek:dnn_ocl_fix_async_kernels
2021-03-26 12:27:58 +00:00
Anastasia M
3e48a91d97
Merge pull request #19546 from LupusSanctus:am/slice_steps
...
* Added Steps support in DNN Slice layer
* Added code corrections
* dnn(slice): fix OCL and OCL_FP16 processing
2021-03-26 11:04:57 +00:00
Orest Chura
ad2f5ccc66
Merge pull request #19712 from OrestChura:oc/Kalm_ptest
...
[G-API]: Performance tests for KalmanFilter
* Kalman perf.tests and some tests refactoring
* Input generation moved to a separate function; Slowest case sneario testing added
* Generating refactored
* Generating refactoring
* Addressing comments
2021-03-26 09:41:54 +00:00
Alexander Alekhin
77bfd9434b
Merge pull request #19782 from TolyaTalamanov:at/rmat-plaidml-backend
2021-03-26 09:36:38 +00:00
Alexander Alekhin
144443d011
build: winpack_dldt with dldt 2021.3.0
2021-03-26 08:58:00 +00:00
Anatoliy Talamanov
6ba99068c9
Support RMat for PlaidML backend
2021-03-26 09:00:18 +03:00
Alexander Alekhin
86d0a86141
dnn(ocl): fix gemm kernel scheduling
2021-03-26 00:35:00 +00:00
Alexander Alekhin
b7f6584dab
Merge pull request #19784 from alalek:gapi_win32_build_warning
2021-03-26 01:57:59 +03:00
Alexander Alekhin
3290a5f370
gapi(build): eliminate Win32 build warning
2021-03-25 22:15:06 +00:00
Mikhail Nikolskii
bf9f67e93f
Merge pull request #19783 from mikhail-nikolskiy:interop-perf
...
Performance optimization in DirectX and VAAPI interop
* optimization in OpenCL NV12<>BGR kernels
* reduce kernel work-size
2021-03-25 21:27:31 +00:00
Alexander Alekhin
26ea4760ad
Merge pull request #19774 from aarongreig:aaron/dnn/oclTestAccuracyThresholds
2021-03-25 16:58:07 +00:00
Anatoliy Talamanov
0753408e10
Merge pull request #19318 from TolyaTalamanov:at/python-generic-infer
...
[G-API] Python ROI generic inference
* Python generic infer overloads
* Move wrappers to appropriate file
2021-03-25 16:55:29 +00:00
Aaron Greig
f59917bea1
Introduce relaxed accuracy thresholds for CL target in some dnn tests.
...
Partially addresses #9821
2021-03-25 10:58:23 +00:00
Alexander Alekhin
b62d015285
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-24 18:58:46 +00:00
Alexander Alekhin
a394c8b10b
Merge pull request #19770 from alalek:dnn_openvino_2021.3.0
2021-03-24 18:50:47 +00:00
Alexander Alekhin
24002a5dfe
Merge pull request #19731 from rgarnov:rg/basic_frame_drop
2021-03-24 15:20:38 +00:00
Lukas-Alexander Weber
7c4b873ba3
Merge pull request #19762 from lukasalexanderweber:master
...
* Error Message for SURF if not implemented
In OpenCV 4.5.1
import cv2 as cv
cv.xfeatures2d_SURF.create
will not create an AttributeError, even if the function is excluded (no nonfree option)
In Line 305 (now 306) however ´finder = FEATURES_FIND_CHOICES[args.features]()´ will raise an
error: OpenCV(4.5.1) ..\opencv_contrib\modules\xfeatures2d\src\surf.cpp:1029: error: (-213:The function/feature is not implemented) This algorithm is patented and is excluded in this configuration; Set OPENCV_ENABLE_NONFREE CMake option and rebuild the library in function 'cv::xfeatures2d::SURF::create'
So we should check with cv.xfeatures2d_SURF.create() correctly if SURF is available
2021-03-24 15:02:20 +00:00
Alexander Alekhin
e56e4876e7
dnn(test): update tests for OpenVINO 2021.3
2021-03-24 14:50:42 +00:00
Alexander Alekhin
7949983c41
Merge pull request #19325 from AsyaPronina:asyadev/extract_y
...
[G-API] Added Y, UV accessors for cv::MediaFrame
2021-03-24 16:37:05 +03:00
Alexander Alekhin
56bdd7db5c
dnn: use OpenVINO 2021.3 defines
...
original commit: 6291503793
2021-03-24 10:26:24 +00:00
Alexander Alekhin
3df6bc58e9
Merge pull request #19765 from LupusSanctus:am/mobilenetv3
2021-03-24 09:43:27 +00:00
Anastasiya Pronina
b0d66e06f4
Added Y, UV accessors to cv::MediaFrame
2021-03-24 12:34:44 +03:00
Anastasia Murzova
e75f1b071b
Added reshape corrections
2021-03-24 10:53:11 +03:00
Anastasia Murzova
7a2b3ed471
Corrected DNN elementwise multiplication
2021-03-24 10:53:11 +03:00
Anastasia M
551d4a8ec1
Merge pull request #19477 from LupusSanctus:am/eltwice_vec
...
* Aligned OpenCV DNN and TF sum op behaviour
Support Mat (shape: [1, m, k, n] ) + Vec (shape: [1, 1, 1, n]) operation
by vec to mat expansion
* Added code corrections: backend, minor refactoring
2021-03-23 22:16:09 +00:00
Jonathan Deakin
29a289dfa1
Add v_expand for AArch64, fuse vmovl+vget_high into vmovl_high
2021-03-23 15:06:41 +00:00
Alexander Alekhin
a00d6b8377
Merge pull request #19763 from TolyaTalamanov:at/blockingdesc-order-fix
2021-03-23 13:39:58 +00:00
Alexander Alekhin
ca8c3dd9b5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-22 12:05:23 +00:00
Anatoliy Talamanov
c434ca74a2
Blocking dims order fix
2021-03-22 13:57:57 +03:00
Alexander Alekhin
bdd2b57e5d
Merge pull request #19757 from alalek:js_setLogLevel
2021-03-21 17:37:05 +00:00
Alexander Alekhin
a97f6f8058
js: support setLogLevel() / getLogLevel() calls
2021-03-20 18:14:10 +00:00
Liubov Batanina
c0dd82fb53
Merge pull request #19632 from l-bat:lb/ie_arm_target
...
Added OpenVINO ARM target
* Added IE ARM target
* Added OpenVINO ARM target
* Delete ARM target
* Detect ARM platform
* Changed device name in ArmPlugin
* Change ARM detection
2021-03-20 11:20:02 +00:00
Alexander Alekhin
94f00cf096
Merge pull request #19747 from alalek:issue_19733
2021-03-19 12:53:32 +00:00
Alexander Alekhin
1211a8b9cd
Merge pull request #19745 from alalek:issue_19729
2021-03-19 12:52:34 +00:00
Anatoliy Talamanov
50a264d832
Merge pull request #19310 from TolyaTalamanov:at/generic-infer-overloads
...
[G-API] Support generic infer overloads
* Overloads for generic infer
* Fix build
* Refactoring
* Fix docs
* Put extra stuff to detail namespace
* Add doc for usings
* Remove uneccessary template in Priv
2021-03-19 12:50:45 +00:00
Alexander Alekhin
3f52d0e46c
Merge pull request #19738 from TolyaTalamanov:at/giebackend-blockingdesc-fix
2021-03-19 11:54:43 +00:00
Ruslan Garnov
716bdd5ee5
Implemented basic frame drop functionality
2021-03-19 14:26:14 +03:00
Anatoliy Talamanov
bad08d26da
Fix blocking desc usage
2021-03-19 12:47:17 +03:00
Alexander Alekhin
a41394c885
core(parallel): fix plugins handling if no filesystem available
2021-03-18 23:05:12 +00:00
Alexander Alekhin
f680505086
features2d(mser): chi_table.h notes
2021-03-18 21:30:12 +00:00
Alexander Alekhin
ae60bbc7e4
Merge pull request #19741 from alalek:ml_logistic_regression_use_opencv_license_header
2021-03-18 20:47:44 +00:00
Anatoliy Talamanov
dc31e20925
Merge pull request #19709 from TolyaTalamanov:at/async-inferlist-infer2
...
G-API: Implement async version for InferList & Infer2
* Implement async version for InferList & Infer2
* Fix warning
* Fix bug with roi ordering
* Post input meta instead of empty
* Fix comments to review
2021-03-18 23:33:19 +03:00
Alexander Alekhin
7664e6d090
ml: use OpenCV license header for logistic regression
2021-03-17 20:29:52 +00:00
Alexander Alekhin
af63fffb63
Merge pull request #19739 from alalek:fix_valgrind_run
2021-03-17 13:59:52 +00:00
Alexander Alekhin
0a6adedaf1
valgrind: filter out hardware-accelerated videoio tests
2021-03-17 08:59:56 +00:00
Alexander Alekhin
b19f860384
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-13 13:02:18 +00:00
Ziachnix
960f501cc1
Merge pull request #19284 from Ziachnix:feature/js-qr-code-detector
...
Add QRCodeDetector to JavaScript Build
* ADD: js support for qrCodeDetector
- cherry picked commit to solve rebase error
* CHG. Revert haarcascade path
* FIX: Tests without images
* ADD: decodeCurved
* js(docs): don't require OPENCV_TEST_DATA_PATH
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-13 12:52:44 +00:00
Alexander Alekhin
7a8e171691
Merge pull request #19720 from alalek:ocl_test_skip_spir_amd
2021-03-13 12:48:20 +00:00
Alexander Alekhin
7ca9740da5
Merge pull request #19718 from alalek:backport_19683
2021-03-13 12:46:24 +00:00
Alexander Alekhin
68fae94cbb
Merge pull request #19717 from danbey:bad_value_param_should_be_passed_by_reference
2021-03-13 12:45:55 +00:00
Alexander Alekhin
6da5c7c1d0
Merge pull request #19716 from l-bat:lb/fix_resize
2021-03-13 12:45:07 +00:00
Alexander Alekhin
87e607a19b
core(ocl): skip SPIR test on AMD devices if problem detected
2021-03-13 06:12:52 +00:00
Dale Phurrough
cbe236652b
noexcept def construct Mat, UMat, Mat_, MatSize, MatStep
...
original commit: 1b0f781b7c
2021-03-12 20:26:32 +00:00
Dan Ben Yosef
d4d805cb3e
Avoiding copy by passing param by reference
...
It is best to pass bad_value_ param by reference to avoid copy.
2021-03-12 14:17:11 -05:00
Liubov Batanina
8d29a902e4
Added ngraph::op::v6::MVN
2021-03-12 21:02:03 +03:00
Alexander Alekhin
4c1d5840bb
Merge pull request #19707 from AsyaPronina:asyadev/upstream_fixes_from_release
2021-03-12 14:27:41 +00:00
Alexander Alekhin
f136adcad5
Merge pull request #19715 from seiko2plus:issue_19698
2021-03-12 09:45:19 +00:00
Liubov Batanina
95ab9468c1
Added ngraph::op::v4::Interpolation
2021-03-12 12:00:59 +03:00
Sayed Adel
f8181fbef8
core:ppc64 fix detecting CPU features when optimization is off
2021-03-12 02:02:31 +00:00
Alexander Alekhin
c5c2b6f9bf
Merge pull request #19683 from diablodale:add_defconstruct_noexcept_matumat
2021-03-11 22:02:06 +00:00
Xinguang Bian
b995de4ff3
Merge pull request #19253 from mightbxg:bugfix_PnPRansac
...
* fix unexpected Exception in solvePnPRansac caused by input points
* calib3d: solvePnPRansac - keep minimal changes to handle DLT 6 points requirement
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-12 00:53:06 +03:00
Alexander Alekhin
825dadfbdd
Merge pull request #19703 from danbey:setting_StereoSGBMParams_in_init_list
2021-03-11 21:33:19 +00:00
Anastasiya Pronina
0f4b27c300
Upstream fixes from release
2021-03-11 23:27:23 +03:00
Dan Ben Yosef
63048812c7
Init params (StereoSGBMParams) in StereoSGBMImpl constructor initialization list
...
To improve preformence it is better to init the params (StereoSGBMParams) in the
initialization list.
2021-03-10 13:05:35 -05:00
Alexander Alekhin
fbb38cc245
Merge pull request #19222 from YashasSamaga:cuda4dnn-fix-build-diagnostics
2021-03-10 17:40:36 +00:00
Orest Chura
c1a57a10a4
Merge pull request #19542 from OrestChura:oc/BGSub_ptest
...
[G-API]: Performance tests for BackgroundSubtractor
* Perf.Tests for BackgroundSubtractor kernel
* Fix CI
* Addressing comments
* Addressing a comment
* Test cycle and validation changes
* Addressing comment
* Added assert
2021-03-10 17:37:55 +00:00
Alexander Alekhin
e4692ac079
Merge pull request #19613 from WeiChungChang:NMS_refine
2021-03-10 17:36:57 +00:00
Maxim Pashchenkov
12fa8d8444
Merge pull request #18240 from mpashchenkov:mp/ocv-gapi-input-cnn-reshape
...
[G-API]: Adding reshape for CNN input.
* Added CNN input IE reshape
* rbs
* Added unordered_set instead vector
* Alignment
2021-03-10 16:06:46 +00:00
Qoo
47337e2196
boost NMS performance
2021-03-10 15:59:26 +00:00
Alexey Smirnov
ddd2447192
Merge pull request #19617 from smirnov-alexey:as/extend_kernel_package_api
...
G-API: Extend GKernelPackage and serialization API
* Extend GKernelPackage API
* Adding tests
* Extend serialization API
* Address review comments
2021-03-10 15:58:34 +00:00
Alexander Alekhin
1d6a1e5f9c
Merge pull request #19692 from seiko2plus:issue_19647
2021-03-09 18:14:41 +00:00
Amir Tulegenov
04d907fb97
Merge pull request #19619 from amirtu:OCV-221_get_and_set_cameras_on_stitcher
...
* Get and set cameras for sticher.
* Code review fixes.
Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai >
Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai >
2021-03-09 17:51:40 +00:00
Sayed Adel
84fcc4ab9b
core:ppc64 fix the build with the newer versions of Eigen on IBM/Power
...
It also fixes the build when universal intrinsics is disabled
via `-DDCV_ENABLE_INTRINSICS=OFF`.
2021-03-09 19:20:18 +02:00
Daniel Playfair Cal
65b51e1538
Merge pull request #19690 from hedgepigdaniel:fix/calibration_fisheye
...
* fix(samples/camera_calibration): set new camera matrix for fisheye
* fix(camera_calibration): ignore inapplicable flags for fisheye
2021-03-09 15:09:08 +00:00
Alexander Alekhin
e2610df073
Merge pull request #19688 from alalek:videoio_docs_hwaccel
2021-03-09 15:06:43 +00:00
Alexander Alekhin
6c9be1bc1d
Merge pull request #19675 from asmorkalov:as/pylint_warnings
2021-03-09 09:43:52 +00:00
Alexander Smorkalov
4c48f1eed2
Removed unused variables found by pylint.
2021-03-09 10:56:45 +03:00
Dan Ben-Yosef
31f66766b7
Merge pull request #19685 from danbey:setting_stereoBMImpl_in_init_list
...
Init params (StereoBMParams) in StereoBMImpl constructor initialization list
* Init StereoBMImpl in initialization list
To improve preformence it is better to init the params (StereoBMImpl) in the
initialization list.
* coding style
* drop useless copy/move ctor
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-07 20:06:08 +03:00
Alexander Alekhin
601690695e
Merge pull request #19687 from alalek:videoio_docs_fixes_3.4
2021-03-07 16:23:24 +00:00
Alexander Alekhin
4287961aed
videoio(doc): add 'videoio_hwaccel' group, fix typos
2021-03-07 04:47:22 +00:00
Alexander Alekhin
85009800b3
videoio(docs): fixes
2021-03-07 04:26:49 +00:00
Alexander Alekhin
d643a90efa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-06 17:31:08 +00:00
Vitaly Tuzov
04a9ff88d8
Merge pull request #19622 from terfendail:ref_doc
...
* Updated cpp reference implementations for a few intrinsics to address wide universal intrinsics as well
* Updated cpp reference implementations for a few more universal intrinsics
2021-03-06 17:22:21 +00:00
Alexander Alekhin
dc24663e8d
Merge pull request #19641 from LupusSanctus:am/tf_reshape
2021-03-06 17:21:34 +00:00
Alexander Alekhin
d2cc63e779
Merge pull request #19680 from alalek:cmake_update_python_linters
2021-03-06 17:20:02 +00:00
YashasSamaga
d0fe6ad109
fix checkVersions()
2021-03-06 19:03:03 +05:30
Alexander Alekhin
358878caf7
Merge pull request #19671 from SamFC10:sam-darknet
2021-03-05 15:12:21 +00:00
cyy
b450dd7a87
Merge pull request #19565 from cyyever:minor_fix
...
Local objects optimization in calibration init
* use emplace_back
* use {} initilization
* remove a tailing white space
2021-03-05 15:04:51 +00:00
Mradul Agrawal
640f188ca2
Merge pull request #19583 from theroyalpekka:patch-1
...
* Update polynom_solver.cpp
This pull request is in the response to Issue #19526 . I have fixed the problem with the cube root calculation of 2*R. The Issue was in the usage of pow function with negative values of R, but if it is calculated for only positive values of R then changing x0 according to the parity of R, the Issue is resolved. Kindly consider it, Thanks!
* add cv::cubeRoot(double)
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-05 13:55:52 +00:00
Alexander Alekhin
a1e2c4f338
Merge pull request #19655 from raaldrid:EXR_rw_alpha_support_16115
2021-03-05 16:54:31 +03:00
Alexander Alekhin
625d4fc884
cmake: update Python linters handling
...
- exclude from getBuildInformation()
- fix pylint version
2021-03-05 12:54:51 +00:00
Alexander Alekhin
f821530eb0
Merge pull request #19677 from APrigarina:detection_fix
2021-03-05 08:40:27 +00:00
Anastasia Murzova
7894cd3c73
Aligned TF Reshape layer behaviour
2021-03-05 01:01:37 +03:00
APrigarina
125cc79c17
fix false positive detection
2021-03-04 19:20:31 +03:00
Alexander Smorkalov
2e429268ff
Merge pull request #19668 from asmorkalov:as/filesystem_py
...
* Add Python Bindings for getCacheDirectory function
* Added getCacheDirectory interop test with image codecs.
Co-authored-by: Sergey Slashchinin <sergei.slashchinin@xperience.ai >
2021-03-04 16:17:57 +00:00
Alexander Alekhin
2a808aeec0
Merge pull request #19674 from l-bat:lb/fix_ie_tests
2021-03-04 14:52:20 +00:00
Liubov Batanina
94533e12eb
Determine layout
2021-03-04 13:05:01 +03:00
Alexander Alekhin
a0008de281
Merge pull request #19607 from alalek:backport_19606
2021-03-03 21:10:57 +00:00
SamFC10
a42d4da003
Added Spatial Attention Module in Darknet Importer
2021-03-03 22:42:47 +05:30
Alexander Smorkalov
e2ca50f1cb
Merge pull request #19539 from asmorkalov:as/calib_fix_focal_length
...
* Added CALIB_FIX_FOCAL_LENGTH to fisheye calibration #13450
Sometimes you want to calibrate just the principal point of a camera, or just the distortion coefficients. In this case, you can pass the CALIB_FIX_FOCAL_LENGTH flag to keep Fx and Fy
* Added test for CALIB_FIX_FOCAL_LENGTH option in fisheye callinration.
2021-03-03 14:06:59 +00:00
Alexander Alekhin
be24659c03
Merge pull request #19666 from alalek:update_ffmpeg_4.x
2021-03-03 13:06:44 +00:00
Alexander Alekhin
2dc157246b
Merge pull request #19669 from alalek:fix_static_analyzer_issues_4.x
2021-03-03 12:26:54 +00:00
Alexander Alekhin
b6670f3ac3
ffmpeg/4.x: update FFmpeg wrapper 2021.03
...
- FFmpeg 4.3.2
2021-03-03 11:41:36 +00:00
Alexander Alekhin
0689c70dba
Merge pull request #19665 from alalek:update_ffmpeg_3.4
2021-03-03 11:22:56 +00:00
Alexander Alekhin
d2ac304ade
Merge pull request #19667 from alalek:hotfix_ffmpeg_hw_accel
2021-03-03 11:08:55 +00:00
Alexander Alekhin
16c3522f4e
static analyzer issues
2021-03-03 09:18:40 +00:00
Alexander Alekhin
7ac6abe02a
videoio(ffmpeg): fix VIDEO_ACCELERATION_ANY handling
...
- default is VIDEO_ACCELERATION_NONE
2021-03-03 08:44:46 +00:00
Alexander Alekhin
6af20d3907
Merge pull request #19657 from alalek:update_version_4.5.2-pre
2021-03-03 00:26:37 +00:00
Alexander Alekhin
75ad74c893
ffmpeg/3.4: update FFmpeg wrapper 2021.03
...
- FFmpeg 3.4.8
2021-03-02 23:59:38 +00:00
Alexander Alekhin
cbfd38bd41
core: rework code locality
...
- to reduce binaries size of FFmpeg Windows wrapper
- MinGW linker doesn't support -ffunction-sections (used for FFmpeg Windows wrapper)
- move code to improve locality with its used dependencies
- move UMat::dot() to matmul.dispatch.cpp (Mat::dot() is already there)
- move UMat::inv() to lapack.cpp
- move UMat::mul() to arithm.cpp
- move UMat:eye() to matrix_operations.cpp (near setIdentity() implementation)
- move normalize(): convert_scale.cpp => norm.cpp
- move convertAndUnrollScalar(): arithm.cpp => copy.cpp
- move scalarToRawData(): array.cpp => copy.cpp
- move transpose(): matrix_operations.cpp => matrix_transform.cpp
- move flip(), rotate(): copy.cpp => matrix_transform.cpp (rotate90 uses flip and transpose)
- add 'OPENCV_CORE_EXCLUDE_C_API' CMake variable to exclude compilation of C-API functions from the core module
- matrix_wrap.cpp: add compile-time checks for CUDA/OpenGL calls
- the steps above allow to reduce FFmpeg wrapper size for ~1.5Mb (initial size of OpenCV part is about 3Mb)
backport is done to improve merge experience (less conflicts)
backport of commit: 65eb946756
2021-03-02 23:24:28 +00:00
Alexander Alekhin
a823b06fa5
pre: OpenCV 4.5.2 (version++)
2021-03-02 23:20:59 +00:00
Alexander Alekhin
cbb0151303
Merge pull request #19606 from alalek:reduce_ffmpeg_wrapper_size_4.x
2021-03-02 23:20:44 +00:00
Alexander Alekhin
ec4baf337a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-03-02 21:47:19 +00:00
Alexander Alekhin
2ab1f3f166
Merge pull request #19656 from alalek:update_version_3.4.14-pre
2021-03-02 21:44:19 +00:00
Alexander Alekhin
a123c48d4d
pre: OpenCV 3.4.14 (version++)
2021-03-02 20:47:29 +00:00
Alexander Alekhin
1c88e1fd19
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4
...
* videoio(ffmpeg): eliminate MSVC build warnings
* videoio(ffmpeg): update initialization code
- repair FFmpeg logger settings on each .open() call
2021-03-02 20:41:05 +00:00
Rachel A
cc22a73d0f
EXR alpha support for 4 channel reading and writing. Issue https://github.com/opencv/opencv/issues/16115 .
2021-03-02 11:49:56 -08:00
Alexander Alekhin
325bdf952c
Merge pull request #19663 from mshabunin:fix-ffmpeg-1x
2021-03-02 12:19:00 +00:00
Alexander Alekhin
6fbf93750b
Merge pull request #19660 from alalek:update_openjpeg
2021-03-02 12:16:43 +00:00
Alexander Alekhin
ba7d0c5b23
Merge pull request #19659 from alalek:update_libtiff
2021-03-02 12:15:33 +00:00
Alexander Alekhin
5d499a185b
Merge pull request #19658 from alalek:update_libwebp
...
* 3rdparty: update libwebp 1.1.0 => 1.2.0
- https://github.com/webmproject/libwebp/releases/tag/v1.2.0
* 3rdparty(libwebp): re-apply OpenCV patches
2021-03-02 12:14:56 +00:00
Alexander Alekhin
65eb946756
core: rework code locality
...
- to reduce binaries size of FFmpeg Windows wrapper
- MinGW linker doesn't support -ffunction-sections (used for FFmpeg Windows wrapper)
- move code to improve locality with its used dependencies
- move UMat::dot() to matmul.dispatch.cpp (Mat::dot() is already there)
- move UMat::inv() to lapack.cpp
- move UMat::mul() to arithm.cpp
- move UMat:eye() to matrix_operations.cpp (near setIdentity() implementation)
- move normalize(): convert_scale.cpp => norm.cpp
- move convertAndUnrollScalar(): arithm.cpp => copy.cpp
- move scalarToRawData(): array.cpp => copy.cpp
- move transpose(): matrix_operations.cpp => matrix_transform.cpp
- move flip(), rotate(): copy.cpp => matrix_transform.cpp (rotate90 uses flip and transpose)
- add 'OPENCV_CORE_EXCLUDE_C_API' CMake variable to exclude compilation of C-API functions from the core module
- matrix_wrap.cpp: add compile-time checks for CUDA/OpenGL calls
- the steps above allow to reduce FFmpeg wrapper size for ~1.5Mb (initial size of OpenCV part is about 3Mb)
2021-03-02 11:27:58 +00:00
Maksim Shabunin
137ec1c846
videoio: av_frame_unref compilation fix
2021-03-02 14:20:24 +03:00
Alexander Alekhin
b0afb4d63c
Merge pull request #19651 from LaurentBerger:py_finTransformECC
2021-03-02 10:12:07 +00:00
Alexander Alekhin
51fd26b19b
3rdparty: update openjpeg 2.3.1 => 2.4.0
...
- https://github.com/uclouvain/openjpeg/releases/tag/v2.4.0
2021-03-01 23:56:13 +00:00
Alexander Alekhin
eab8ac9a71
3rdparty: update libtiff 4.1.0 => 4.2.0
...
- https://gitlab.com/libtiff/libtiff/-/tags/v4.2.0
2021-03-01 23:19:00 +00:00
Dale Phurrough
1b0f781b7c
noexcept def construct Mat, UMat, Mat_, MatSize, MatStep
2021-03-01 22:42:13 +01:00
LaurentBerger
d1c04af603
relative to https://forum.opencv.org/t/cv2-findtransformecc-sometimes-missing-defaults/1870
2021-03-01 17:32:56 +01:00
Anatoliy Talamanov
eb82ba36a3
Merge pull request #19322 from TolyaTalamanov:at/python-callbacks
...
[G-API] Introduce cv.gin/cv.descr_of for python
* Implement cv.gin/cv.descr_of
* Fix macos build
* Fix gcomputation tests
* Add test
* Add using to a void exceeded length for windows build
* Add using to a void exceeded length for windows build
* Fix comments to review
* Fix comments to review
* Update from latest master
* Avoid graph compilation to obtain in/out info
* Fix indentation
* Fix comments to review
* Avoid using default in switches
* Post output meta for giebackend
2021-03-01 15:52:11 +00:00
Mikhail Nikolskii
7bcb51eded
Merge pull request #19460 from mikhail-nikolskiy:videoio-hw
...
videoio: HW decode/encode in FFMPEG backend; new properties with support in FFMPEG/GST/MSMF
* HW acceleration in FFMPEG backend
* fixes on Windows, remove D3D9
* HW acceleration in FFMPEG backend
* fixes on Windows, remove D3D9
* improve va test
* Copyright
* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
* CAP_MSMF test on .mp4
* .mp4 in test
* improve va test
* Copyright
* check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
* CAP_MSMF test on .mp4
* .mp4 in test
* .avi for GStreamer test
* revert changes around seek()
* cv_writer_open_with_params
* params.warnUnusedParameters
* VideoCaptureParameters in GStreamer
* open_with_params
* params->getUnused
* Reduce PSNR threshold 33->32 (other tests use 30)
* require FFMPEG 4.0+; PSNR 30 as in other tests
* GStreamer AVI-demux plugin not installed in Ubuntu test environment?
* fix build on very old ffmpeg
* fix build on very old ffmpeg
* fix build issues
* fix build issues (static_cast)
* FFMPEG built on Windows without H264 encoder?
* fix for write_nothing test on VAAPI
* fix warnings
* fix cv_writer_get_prop in plugins
* use avcodec_get_hw_frames_parameters; more robust fallback to SW codecs
* internal function hw_check_device() for device check/logging
* two separate tests for HW read and write
* image size 640x480 in encode test
* WITH_VA=ON (only .h headers used in OpenCV, no linkage dependency)
* exception on VP9 SW encoder?
* rebase master; refine info message
* videoio: fix FFmpeg standalone plugin build
* videoio(ffmpeg): eliminate MSVC build warnings
* address review comments
* videoio(hw): update videocapture_acceleration.read test
- remove parallel decoding by SW code path
- check PSNR against the original generated image
* videoio: minor fixes
* videoio(test): disable unsupported MSMF cases (SW and HW)
* videoio(test): update PSNR thresholds for HW acceleration read
* videoio(test): update debug messages
* "hw_acceleration" whitelisting parameter
* little optimization in test
* D3D11VA supports decoders, doesn't support encoders
* videoio(test): adjust PSNR threshold in write_read_position tests
* videoio(ffmpeg): fix rejecting on acceleration device name mismatch
* videoio(ffmpeg): fix compilation USE_AV_HW_CODECS=0, add more debug logging
* videoio: rework VideoAccelerationType behavior
- enum is not a bitset
- default value is backend specific
- only '_NONE' and '_ANY' may fallback on software processing
- specific H/W acceleration doesn't fallback on software processing. It fails if there is no support for specified H/W acceleration.
* videoio(test): fix for current FFmpeg wrapper
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-03-01 15:51:04 +00:00
Alexander Alekhin
f70e80a6ba
Merge pull request #19640 from alalek:issue_19639
...
calib3d(usac): do not crash on empty models
* calib3d(test): regression test for issue 19639
* calib3d(usac): do not crash in setModelParameters()
* calib3d(usac): handle empty models in isModelGood()
2021-02-28 21:39:30 +00:00
Alexander Alekhin
19865a26e5
Merge pull request #19642 from alalek:backport_19545
2021-02-28 21:37:30 +00:00
SamFC10
96947c30c0
Added exp layer
...
backport of commit: 6111935835
partial backport of commit: dd5976162b
2021-02-28 19:59:40 +00:00
Alexander Alekhin
e0265c67c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-27 17:41:57 +00:00
Alexander Alekhin
19f1bac18c
Merge pull request #19603 from federicohml:fix-ub-copy-make-const-border-8u
2021-02-27 17:32:42 +00:00
Alexander Alekhin
b3b80f85fe
Merge pull request #19636 from LaurentBerger:blendlinear_py
2021-02-27 17:31:59 +00:00
Federico Bolelli
9695165877
Merge pull request #19631 from prittt:sota-ccl
...
* Add Spaghetti algorithm for CCL
* Add stat tests for new and old algorithms
* Switch license header to short version
2021-02-27 17:27:24 +00:00
LaurentBerger
84080c12fd
python binding blendLinear
2021-02-27 16:47:35 +00:00
Alexander Alekhin
1a855fed8f
Merge pull request #19628 from alalek:fix_19566
2021-02-26 21:43:37 +00:00
Federico Martinez
773262bc09
Fix UB in CopyMakeConstBoder_8u
...
Caused by overflow of arithmetic operators conversion rank
2021-02-26 19:15:50 +00:00
Anatoliy Talamanov
28c064f345
Merge pull request #19487 from TolyaTalamanov:at/support-nireq-option
...
[G-API] Support multiple asynchronous requests
* Support nireq option
* Disable tests to check CI
* Fix bug with hanging
* WA to green CI
* Snapshot
* Simplify RequestPool
* Add default values to id
* Fix win warning
2021-02-26 12:53:30 +00:00
Alexander Alekhin
c7f03814ea
Merge pull request #19633 from mshabunin:add-gstreamer-video
2021-02-26 11:45:53 +00:00
Maksim Shabunin
90623498a2
gstreamer: add video module
2021-02-26 12:51:03 +03:00
Orest Chura
21b2e33ebb
Merge pull request #19497 from OrestChura:oc/kmeans_ptest
...
[G-API]: Performance tests for kmeans
* - Perf.Tests for kmeans(2D, 3D (Point2f/3f), ND (Mat))
- New file for common parts of acc. and perf. tests for core kernels added
- Some typos corrections
* Applying comments
2021-02-25 21:58:52 +00:00
Alexander Alekhin
fadb25baf8
imgproc(warpAffine): avoid buffer indexes overflow in SIMD code
2021-02-25 20:16:50 +00:00
Giles Payne
0553543e6e
Merge pull request #19597 from komakai:android-ndk-camera
...
Android NDK camera support
* Add native camera video backend for Android
* In the event of a "No buffer available error" wait for the appropriate callback and retry
* Fix stale context when creating a new AndroidCameraCapture
* Add property handling
2021-02-25 19:14:11 +00:00
Alexander Alekhin
543379d343
Merge pull request #19627 from mshabunin:plugin-default-suffix
2021-02-25 16:33:55 +00:00
Alexander Alekhin
20a46b31cd
Merge pull request #19625 from mshabunin:static-analysis-issues-34
2021-02-25 16:31:47 +00:00
Alexander Alekhin
37eba84056
Merge pull request #19620 from mshabunin:static-analysis-issues
2021-02-25 16:30:17 +00:00
Maksim Shabunin
293e777fce
plugins: add suffix to default OUTPUT_NAME
2021-02-25 18:00:29 +03:00
Maksim Shabunin
b2321576bc
Fixed several issues found by static analysis
2021-02-25 15:44:15 +03:00
Maksim Shabunin
dd5976162b
Fixed several issues found by static analysis
2021-02-25 15:08:39 +03:00
Alexander Alekhin
7328600a7a
Merge pull request #19609 from alalek:videoio_fix_gstreamer_alignment_bug
2021-02-25 07:55:38 +00:00
Alexander Alekhin
67b6ef4c2a
Merge pull request #19503 from komakai:fix-android-putget
2021-02-24 21:07:13 +00:00
Alexander Alekhin
3d0a421ab4
Merge pull request #19618 from alalek:videoio_plugin_exception_messages
2021-02-24 21:03:01 +00:00
Alexander Alekhin
831d48d971
videoio: dump exception's messages in plugins
2021-02-24 17:48:04 +00:00
Alexander Alekhin
3a062eed5b
Merge pull request #19610 from mshabunin:plugin-va-compile
2021-02-24 10:08:11 +00:00
Alexander Alekhin
52a6a823ad
Merge pull request #19568 from alalek:cmake_plugin_fix_osx_standalone
2021-02-24 09:28:47 +00:00
Alexander Alekhin
9d61b1e754
videoio(gstreamer): rework retrieveFrame() to handle strides
2021-02-24 09:07:57 +00:00
Maksim Shabunin
b89410a266
Fix standalone plugin compilation for Windows
2021-02-24 12:05:33 +03:00
Maksim Shabunin
317db39a5e
Enable VA only on selected x86/64 platforms
2021-02-24 12:04:58 +03:00
Alexander Alekhin
7ffc4b57aa
Merge pull request #19535 from alalek:issue_18897
2021-02-23 22:42:51 +00:00
WeiChungChang
d4d12164aa
Merge pull request #19529 from WeiChungChang:3.4
...
* improve map allocation check
* fix accoring to CR
2021-02-23 21:09:55 +00:00
Alexander Alekhin
34d5746553
Merge pull request #19601 from alalek:hotfix_19536
2021-02-23 06:44:04 +03:00
Alexander Alekhin
86cb435adf
dnn: fix build (nullptr issue)
2021-02-23 03:31:29 +00:00
Alexander Alekhin
513f5a8869
Merge pull request #19536 from WeiChungChang:ReduceMemory
2021-02-22 20:04:11 +00:00
Alexander Alekhin
1de02b9c57
Merge pull request #19564 from sturkmen72:patch-4
2021-02-22 20:02:40 +00:00
WeiChungChang
f6bc4fd4c6
Merge pull request #19552 from WeiChungChang:partialSort
...
apply partial sort to save computations
* apply partial sort
* fix typo
* fix accroding to CR
2021-02-22 19:44:00 +03:00
Alexander Alekhin
9d89edff2f
Merge pull request #19594 from alalek:hotfix_19470
2021-02-22 08:29:10 +00:00
Alexander Alekhin
599d64a405
core(parallel): fix JS build, fix OpenMP version dump
2021-02-21 22:55:01 +00:00
Alexander Alekhin
0a6f216f83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-21 20:14:09 +00:00
Suleyman TURKMEN
9b399f3960
Update python samples
2021-02-21 23:02:16 +03:00
Larry Wei
98c2ccfaa3
Merge pull request #19586 from larryw3i:patch-2
...
* Update py_setup_in_ubuntu.markdown
2021-02-21 19:22:43 +00:00
Alexander Alekhin
1d0334fc07
Merge pull request #19584 from diablodale:fix19573_ocl_move
2021-02-21 19:20:03 +00:00
Alexander Alekhin
309e1e2b1d
core(InputArray): replace STD_ARRAY to MATX
...
- remove duplication kind
2021-02-21 19:12:21 +00:00
Sergey Krivohatskiy
af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
...
* Fixed OCL implementation of pyrlk
If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.
* fixed compilation warning (size_t to int)
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com >
2021-02-21 15:57:18 +00:00
Alexander Alekhin
6c57428742
Merge pull request #19585 from alalek:hotfix_19540
2021-02-20 22:54:55 +00:00
Alexander Alekhin
0f35412dcd
Merge pull request #19545 from SamFC10:exp
2021-02-20 22:47:35 +00:00
Alexander Alekhin
d093ac6a0f
Merge pull request #19582 from alalek:backport_19572
2021-02-20 22:46:55 +00:00
Alexander Alekhin
6d81a88288
build warning (windows 32-bit)
2021-02-20 18:30:49 +00:00
Dale Phurrough
96a15434a2
add move construct/assigns to cv::ocl main classes
...
- enables inline construct and assigns with r-values
- enables compiler-created default move
construct/assigns
- includes test cases
2021-02-20 18:56:04 +01:00
SamFC10
6111935835
Added exp layer
2021-02-20 22:16:00 +05:30
Alexander Smorkalov
c131c12fd7
Merge pull request #19540 from asmorkalov:as/openexr_comression_options
...
OpenEXR compression options
* Adding possibility to select the compression type for the OpenEXR format.
There are compression modes other than the default that are more suited for certain data. Mainly grainy/noisy data.
* Code review fixes.
Co-authored-by: Daniel Rydstrom <daniel.rydstrom@sick.se >
2021-02-20 16:28:08 +00:00
Dale Phurrough
4badf640bf
add noexcept to default constructors of cv::ocl
...
- follows iso c++ guideline C.44
- enables default compiler-created constructors to
also be noexcept
original commit: 77e26a7db3
- handled KernelArg, Image2D
2021-02-20 16:20:25 +00:00
Alexander Alekhin
ca7518c13b
Merge pull request #19572 from diablodale:fix19571_ocl_noexcept
2021-02-20 15:59:38 +00:00
Dale Phurrough
77e26a7db3
add noexcept to default constructors of cv::ocl
...
- follows iso c++ guideline C.44
- enables default compiler-created constructors to
also be noexcept
2021-02-20 14:16:47 +01:00
Alexander Alekhin
a7c1838c69
cmake(plugins): build without opencv_*.so on OSX
2021-02-19 16:40:15 +00:00
Alexander Alekhin
54d80d9168
Merge pull request #19561 from mshabunin:plugin-load-now
2021-02-19 11:53:04 +00:00
Alexander Alekhin
db2cefd12b
Merge pull request #19562 from alalek:libva_dynamic
2021-02-19 11:45:00 +00:00
Alexander Alekhin
8f6ba5a089
Merge pull request #19541 from alalek:core_includes
2021-02-19 11:03:31 +00:00
Alexander Alekhin
a40d308d6a
samples(va): fix build warnings, use cv::format()
2021-02-19 10:36:26 +00:00
Alexander Alekhin
3dd55d284d
core(libva): use dynamic loader
2021-02-19 10:32:59 +00:00
Giles Payne
5cf08b0722
Fix/optimize Android put/get functions
2021-02-19 17:10:11 +09:00
Alexander Alekhin
504ff978c5
Merge pull request #19560 from mshabunin:va-sample-fix
2021-02-18 19:42:08 +00:00
Alexander Alekhin
0421c3991d
Merge pull request #19534 from tomoaki0705:fixCudaFiltersRace
2021-02-18 19:41:21 +00:00
Alexander Alekhin
50a1a33d07
Merge pull request #19559 from APrigarina:calib3d_fix
2021-02-18 15:33:02 +00:00
Maksim Shabunin
9a7df7a85d
VA sample: device autodetection changed
2021-02-18 17:19:47 +03:00
APrigarina
96570820ef
handle empty cameraMatrix
2021-02-18 16:18:19 +03:00
Maksim Shabunin
b5a4bd22fb
plugins: use RTLD_NOW instead of RTLD_LAZY
2021-02-18 14:45:08 +03:00
Anastasia M
eb90186614
Merge pull request #19417 from LupusSanctus:am/text_graph_identity
...
* Corrected SSD text graph generation for Identity nodes
* Added minor code corrections
2021-02-17 18:01:41 +00:00
Alexander Alekhin
8d21c84e7d
Merge pull request #19474 from aryanshomray:darknet_tanh
2021-02-17 17:10:44 +00:00
Liangqian
0aca3fb5af
Merge pull request #19026 from chargerKong:dualquat
...
Dual quaternion
* create dual quaternion;
basic operations, functions(exp,log,norm,inv), to/from mat, sclerp.
* add dqb, dqs, gdqb, to/from affine3;
change algorithm of norm, inv, getTranslation, createFromPitch, normalize;
change type translation to Vec3;
comment improve;
* try fix warning: unreferenced local function
* change exp calculation;
add func(obj) operations;
* Change the algorithm of log function;
add assumeUnit in getRotation;
remove dqs;
change std::vector to InputArray
* fix warning: doxygen and Vec<double, 0>
* fix warning: doxygen and Vec<double, 0>
* add inputarray param for gdqb
* change int to size_t
* win cl warning fix
* replace size_t by int at using Mat.at() function
* replace double by float
* interpolation fix
* replace (i, 0) to (i)
* core(quat): exclude ABI, test_dualquaternion=>test_quaternion.cpp
Co-authored-by: arsaratovtsev <arsaratovtsev@intel.com >
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-02-17 17:05:08 +00:00
Andrey Golubev
b50c1ba9e6
Merge pull request #19496 from andrey-golubev:master
...
[G-API] Change memory measurement statistic in Fluid tests
* Change memory measurement statistic in Fluid tests
* Delete irrelevant comment
2021-02-17 15:23:29 +00:00
Aryansh Omray
601851cc7e
TanH darknet and test
2021-02-17 18:49:52 +05:30
Anatoliy Talamanov
413c056504
Merge pull request #19533 from TolyaTalamanov:at/async-requests-hotfix
...
[G-API] Async infer request hotfix
* Fix hanging on empty roi list
* Prevent possible data race
* Clean up
2021-02-17 14:43:18 +03:00
Alexander Alekhin
29f55810cf
Merge pull request #19550 from Nico769:patch-1
2021-02-17 10:19:20 +00:00
Nicola Landolfi
f76ba285c9
Fix single-word typo
2021-02-17 10:03:16 +01:00
Matt Alvarado
0a7a54f312
Merge pull request #19498 from mattalvarado:fix_findcirclesgrid
...
* Properly handle empty centers in findCirclesGrid
* Address alalek comments. Add unit test to validate bugfix
* fix build warnings, remove unrelated comment
2021-02-16 16:18:43 +00:00
Alexander Alekhin
5b16b190c1
Merge pull request #19543 from alalek:hotfix_19439
2021-02-16 16:05:09 +00:00
Alexander Alekhin
0885a79c28
imgcodecs(test): don't include png.h
2021-02-16 13:26:51 +00:00
Alexander Alekhin
20d5d1c4c2
Merge pull request #19470 from alalek:core_parallel_plugins
2021-02-16 11:12:05 +00:00
Alexander Alekhin
6d3502833f
core: include version.hpp in cvdef.h, fix precomp.hpp usage
2021-02-16 11:10:45 +00:00
Qoo
bc8727786b
save allocation of memory for fake image
2021-02-15 20:14:07 -05:00
Alexander Alekhin
928d5ae315
Merge pull request #19528 from smirnov-alexey:as/gapi_optional_fix
2021-02-15 23:00:11 +03:00
Dan Ben-Yosef
f0445295bd
Merge pull request #19525 from danbey:Fix-cppcheck-error-in-carotete-lib
...
* Reduce if statement as it has the same expression on both sides of '&&'
If statement has the same expression on both sides so this can be reduce
Signed-off-by: Dan Ben Yosef <danbey@gmail.com >
* The if statement is to check width and height
2021-02-15 19:58:37 +00:00
Dmitry Budnikov
0cdbdfdf9f
Merge pull request #19516 from dbudniko:dbudniko/gapi_render_frame_cpu
...
Render Frame NV12 on CPU
* render frame on CPU
* doxygen fix
* address review from Alexey
* comment fixes
* Address comments from Ruslan
* remove NV12 specific
* mat clone and more renaming
* misprint fix
2021-02-15 19:57:22 +00:00
Amir Tulegenov
47426a8ae5
Merge pull request #19392 from amirtu:OCV-165_finalize_goodFeaturesToTrack_returns_also_corner_value_PR
...
* goodFeaturesToTrack returns also corner value
(cherry picked from commit 4a8f06755c )
* Added response to GFTT Detector keypoints
(cherry picked from commit b88fb40c6e )
* Moved corner values to another optional variable to preserve backward compatibility
(cherry picked from commit 6137383d32 )
* Removed corners valus from perf tests and better unit tests for corners values
(cherry picked from commit f3d0ef21a7 )
* Fixed detector gftt call
(cherry picked from commit be2975553b )
* Restored test_cornerEigenValsVecs
(cherry picked from commit ea3e11811f )
* scaling fixed;
mineigen calculation rolled back;
gftt function overload added (with quality parameter);
perf tests were added for the new api function;
external bindings were added for the function (with different alias);
fixed issues with composition of the output array of the new function (e.g. as requested in comments) ;
added sanity checks in the perf tests;
removed C API changes.
* minor change to GFTTDetector::detect
* substitute ts->printf with EXPECT_LE
* avoid re-allocations
Co-authored-by: Anas <anas.el.amraoui@live.com >
Co-authored-by: amir.tulegenov <amir.tulegenov@xperience.ai >
2021-02-15 19:55:57 +00:00
Alexander Alekhin
cc73c36e32
core(parallel): plugins support
2021-02-15 17:07:36 +00:00
Alexander Alekhin
5a06d679cf
Merge pull request #19532 from amirtu:OCV-166_getDefaultName_overload
2021-02-15 15:33:54 +00:00
Alexander Alekhin
76cc034df2
Merge pull request #19519 from alalek:issue_19485
2021-02-15 15:15:27 +00:00
amir.tulegenov
cbb230fdfc
fix getDefaultName()
2021-02-15 19:21:53 +06:00
Tomoaki Teshima
5d1540f4fc
remove danger race condition
2021-02-15 21:01:41 +09:00
Smirnov Alexey
fdd5c26eb8
Fix optional move constructor
2021-02-15 00:20:08 +03:00
Zhuo Zhang
a5a421a9f1
Merge pull request #19522 from zchrissirhcz:3.4-fix-android-find-zlib-shared-since-ndk19
...
* fix find zlib.so instead of zlib.a when NDK >= 19
On Android platform, `libopencv_imgcodecs.a` is built, expected to
depend on `libz.so`. However, since Android NDK r19, NDK's `libz.a`
is found instead of `libz.so`, leading to link error
(not found libz.a) on machines without same NDK version & direcotry.
Since Android NDK-r19, toolchain pieces are installed to
`$NDK/toolchains/llvm/prebuilt/<host-tag>/...`, including `libz.so`.
Also installed to old paths (`<NDK>/platforms` and `<NDK>/sysroot`)
in NDK r19, r20, r21, but since NDK 22, old paths are removed.
- https://github.com/android/ndk/wiki/Changelog-r19
- https://github.com/android/ndk/wiki/Changelog-r22
With this commit, `libz.so` can be correctly found in NDK<19 and NDK>=19.
`ZLIB_LIBRARIES` is also simplified as `z`, by appending match (regex)
patterns for new toolchain installation directory's libz.so's paths.
* simplify libz.so match pattern for abbreviation
2021-02-14 21:38:53 +03:00
Zhuo Zhang
743099f9f9
Merge pull request #19521 from zchrissirhcz:3.4-fix-core-module-android-arm64-build
...
* fix core module android arm64 build
* fix core module android build when neon is off
When building for Android ARM platform, cmake with
`-D CV_DISABLE_OPTIMIZATION=ON`, the expected behavior is
not using ARM NEON, using naive computation instead.
This commit fix the un-expected compile error for neon intrinsincs.
2021-02-14 21:37:11 +03:00
Alexander Alekhin
ad66b070a7
Merge pull request #19501 from komakai:android-ndk22
2021-02-14 12:41:33 +00:00
Alexander Alekhin
6f6dd227f8
Merge pull request #19523 from the-sparrow:master
2021-02-13 22:44:32 +00:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Alexander Alekhin
cceec84139
Merge pull request #19520 from WeiChungChang:refine
2021-02-13 18:18:12 +00:00
the-sparrow
3d5f9e8b14
fix the spell error
2021-02-13 17:08:56 +08:00
Giles Payne
2cb48e034e
Build for NDK 22
2021-02-13 13:00:19 +09:00
Qoo
c909693d45
refine
2021-02-12 20:53:09 -05:00
Alexander Alekhin
e5d78960c6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-12 21:34:49 +00:00
Alexander Alekhin
fba70f7991
Merge pull request #19515 from zchrissirhcz:3.4-fix-mislinked-zlib-in-vcpkg-by-adjust-link-order
2021-02-12 20:28:52 +00:00
Zhuo Zhang
84a290097b
fix link order: put zlib after png/tiff/openexr
...
Previous link dependency: imgcodecs --> zlib --> libpng
this can generate imgcodecs shared lib, until Visual Studio integrated
with vcpkg, which will additionally specify LIBPATH, pointing to vcpkg
installed zlib (if any), which links the wrong zlib.
Fixed link dependency: imgcodecs --> libpng --> zlib
in this fixed case, symbols in zlib referenced in libpng will be found
in the build-from-source static zlib, instead of the vcpkg one.
related discussion:
- https://github.com/microsoft/vcpkg/issues/16165
- https://github.com/opencv/opencv/issues/17051
- https://github.com/opencv/opencv/issues/10576
MSVC linking order reference pages:
- https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?view=msvc-160
for link order
- https://docs.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-160
LIB environment variable, for library file searching
- https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-160
LIBPATH option, for library file searching
2021-02-12 22:19:35 +08:00
Anatoliy Talamanov
ba8d20e9ae
Merge pull request #19425 from TolyaTalamanov:at/async-infer
...
[G-API] Implement async infer
* Implement async infer
* Fix typo
2021-02-12 12:28:37 +00:00
Alexander Alekhin
767127c92e
Merge pull request #19505 from alalek:hotfix_19456
2021-02-11 18:52:56 +00:00
Alexander Alekhin
65b5d34aee
cmake: use INTERFACE_COMPILE_DEFINITIONS with definition
2021-02-11 14:06:54 +00:00
Francesco Petrogalli
6ee23c9b85
Merge pull request #19486 from fpetrogalli:dotprod_fast-3.4
...
* [hal][neon] Optimize the v_dotprod_fast intrinsics for aarch64.
On Armv8 in AArch64 execution mode, we can skip the sequence
v<op>_<ty>(vget_high_<ty>(x), vget_high_<ty>(y))
in favour of
v<op>_high_<ty>(x, y)
This has better changes for recent compilers to use less data movement
operations and better register allocation. See for example:
https://godbolt.org/z/bPq7vd
* [hal][neon] Fix build failure on armv7.
* [hal][neon] Address review comments in PR.
PR: https://github.com/opencv/opencv/pull/19486
* [hal][neon] Define macro to check for the AArch64 execution state of Armv8.
* [hal][neon] Fix macro definition for AArch64.
The fix is needed to prevent warnings when building for Armv7.
2021-02-11 13:24:09 +00:00
Alexander Alekhin
cac5b0fe5a
Merge pull request #19494 from derbosper:js-build-config-fix
2021-02-10 19:43:16 +00:00
Tsukasa Sugiura
107f233626
Merge pull request #19484 from UnaNancyOwen:fix_highlevelapi
...
* [dnn] fix high level api for python
* [dnn] add test_textdetection_model_db
* [dnn] fix textdetection test only check type and shape
2021-02-10 19:42:00 +00:00
Cuntian Liu
0677f3e21c
Merge pull request #19452 from ctuu:patch-1
...
* fix: findCUDNN script
* Update FindCUDNN.cmake
2021-02-10 19:38:34 +00:00
Alexander Alekhin
93783df42a
Merge pull request #19439 from raaldrid:Exif_support_for_PNG_issue_16579
2021-02-10 19:35:31 +00:00
Dmitry Budnikov
1162cef978
Merge pull request #19495 from dbudniko:gapi_media_frame_size
...
Add Media Frame size function and corresponding tests
* add media frame size and tests
* Address comments from Ruslan and Asya
2021-02-10 19:23:54 +00:00
Mieszko Boczkowski
a3fb64d1cd
Pass custom config file path as absolute
2021-02-10 12:45:35 +01:00
Alexander Alekhin
7079e7ea5e
Merge pull request #19480 from vrabaud:3.4
2021-02-09 22:48:59 +00:00
Alexander Alekhin
4f39f8a8d0
Merge pull request #19488 from asmorkalov:as/nonfree_check
2021-02-09 20:38:30 +00:00
Alexander Alekhin
27bada6737
Merge pull request #19471 from sturkmen72:patch-5
2021-02-09 18:57:43 +00:00
Rachel A
650836d700
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
2021-02-09 10:35:27 -08:00
Anatoliy Talamanov
c527b3cefd
Merge pull request #19319 from TolyaTalamanov:at/introduce-gopaque-garray-for-python
...
[G-API] Introduce GOpaque and GArray for python
* Introduce GOpaque and GArray for python
* Fix ctor
* Avoid code duplication by using macros
* gapi: move Python-specific files to misc/python
* Fix windows build
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-02-09 13:55:16 +00:00
Alexander Smorkalov
3b9aebee11
Not not test stitiching with SURF, if NONFREE is disabled
2021-02-09 16:54:06 +03:00
Vincent Rabaud
847b16fb76
Disable thread sanitization when CV_USE_GLOBAL_WORKERS_COND_VAR is not set.
...
This fixes #19463
2021-02-09 14:12:39 +01:00
Ilya Churaev
8fa013309e
Merge pull request #19479 from ilyachur:remove_v0_multiply
...
* Switched to v1 Multiply
* Apply changes only for new OV
2021-02-09 09:46:28 +00:00
Anna Khakimova
7ab3a80d0a
Merge pull request #19233 from anna-khakimova:ak/simd_absdiffc
...
GAPI: SIMD optimization for AbsDiffC kernel
* SIMD optimization for AbsDiffC kernel
* Applied comments
* Applying comments and refactoring: Remove new univ intrinsics.
* Performance experiment
* Applied comments.Step2
* Applied comments. Step3
2021-02-08 13:02:35 +00:00
Alexander Alekhin
e5518ee657
Merge pull request #19422 from alalek:js_tutorial_intelligent_scissors_note
2021-02-07 20:07:19 +00:00
Suleyman TURKMEN
2387813428
Update imageSegmentation.cpp, imageSegmentation.py
2021-02-07 17:42:52 +03:00
Alexander Alekhin
0c31c0756c
Merge pull request #19468 from hmaarrfk:fix_apple_check
2021-02-06 14:54:49 +00:00
Mark Harfouche
7405075ede
CHange import order to avoid apple check error
2021-02-05 23:24:56 -05:00
Alexander Alekhin
6b474c4051
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-06 00:44:11 +00:00
Alexander Alekhin
a9c954e821
Merge pull request #19467 from alalek:hotfix_19411
2021-02-06 00:42:26 +00:00
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
2021-02-05 23:51:52 +00:00
Alexander Alekhin
f46b1252c4
Merge pull request #19466 from alalek:hotfix_19259
2021-02-05 23:46:24 +00:00
Alexander Alekhin
e6959055b5
core(cuda.hpp): fix GpuMatND compilation with GCC < 5
2021-02-05 22:42:56 +00:00
Polina Smolnikova
0be18f5cb0
Merge pull request #19407 from rayonnant14:issue_19363
...
QRCodeDetector::decodeMulti() fixed invalid usage fixedType()
* fixed invalid usage fixedType()
changed default barcode type to CV_8UC1
added tests
added assert in case multi channel straight barcode input
* deleted extra wrap into OutputArray
* fix warnings
* objdetect(qr): remove unnecessary checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-02-05 21:24:27 +00:00
Namgoo Lee
7ea21c4b3c
Merge pull request #19259 from nglee:dev_gpumatnd1
...
Minimal implementation of GpuMatND
* GpuMatND - minimal implementation
* GpuMatND - createGpuMatHeader
* GpuMatND - GpuData, offset, getDevicePtr(), license
* reviews
* reviews
2021-02-05 20:30:37 +00:00
Alexander Alekhin
9d227641c9
Merge pull request #19411 from crackwitz:highgui-pollkey
2021-02-05 20:18:53 +00:00
Alexander Alekhin
2a2e4e78bf
Merge pull request #19451 from alalek:cmake_mkl_tbb_oneapi_workaround
2021-02-05 14:22:43 +00:00
Anna Khakimova
fb3b297369
Merge pull request #18466 from anna-khakimova:ak/simd_addw_bitwise
...
GAPI: SIMD optimization for AddWeighted kernel.
* Add, sub, absdiff kernels optimization
* AddW kernel
* And, or kernels
* AddWeighted refactoring and SIMD opt for AbsDiffC kernel
* Remove simd opt of AbsDiffC kernel
* Refactoring
* Applied comments
* Refactoring.Step2
* Applied comments.Step2
2021-02-05 14:21:42 +00:00
Alexander Alekhin
050327a1e2
Merge pull request #19456 from alalek:fixup_19447
2021-02-04 16:03:24 +00:00
Alexander Alekhin
4f08bb5046
Merge pull request #19428 from alalek:dnn_drop_misbehaved_clamp
2021-02-04 11:57:19 +00:00
Jebastin Nadar
09d2ca17cf
Merge pull request #19449 from SamFC10:tf-leakyrelu
...
* add LeakyRelu to tf-importer
* fix whitespace error
* added test for leakyrelu
2021-02-04 08:50:08 +00:00
Alexander Alekhin
83aa711346
dnn: rename clamp() => normalize_axis()
2021-02-04 08:13:55 +00:00
Alexander Alekhin
fcff767a7f
cmake(tbb): fix target_compile_definitions() with "UNKNOWN" target
...
- https://gitlab.kitware.com/cmake/cmake/-/issues/19434
2021-02-03 22:18:39 +00:00
Alexander Alekhin
7a282a8892
cmake: workaround oneAPI problem with -DMKL_WITH_TBB=ON
2021-02-03 19:41:54 +00:00
Alexander Alekhin
863ecded30
Merge pull request #19440 from paroj:pyexcept
2021-02-03 11:08:24 +00:00
Alexander Alekhin
3e34cec96b
Merge pull request #19408 from crackwitz:ogl-wndprop-vsync
2021-02-03 09:56:57 +00:00
Alexander Alekhin
6ca46afa63
Merge pull request #19286 from diablodale:add-cuda-stream-constructor
2021-02-03 09:55:02 +00:00
Alexander Alekhin
0a86ddc36c
Merge pull request #19435 from l-bat:lb/onnx_normalize
2021-02-03 09:16:06 +00:00
Christoph Rackwitz
ab0e1c573a
highgui: expose VSYNC window property for OpenGL on W32
...
property getter/setter code conditional on HAVE_OPENGL
getter: return -1 upon specific OpenGL errors
2021-02-03 09:53:13 +01:00
Christoph Rackwitz
26da491053
implementation of pollKey, companion to waitKey
...
w32 backend: implemented
other backends: stubbed or fallback to waitKey
documentation: cross-linked and more precise in some places
2021-02-02 22:24:54 +01:00
Alexander Alekhin
674ecc5581
Merge pull request #19447 from alalek:cmake_tbb_workaround_msvc
2021-02-02 20:33:26 +00:00
Pavel Rojtberg
6c1a433c4c
python: also catch general c++ exceptions
...
they might be thrown from third-party code (notably Ogre in the ovis
module).
While Linux is kind enough to print them, they cause instant termination
on Windows.
Arguably, they do not origin from OpenCV itself, but still this helps
understanding what went wrong when calling an OpenCV function.
2021-02-02 21:16:01 +01:00
Alexander Alekhin
eced4dd023
cmake: workaround oneTBB build issues with MSVC
2021-02-02 15:03:27 +00:00
Alexander Alekhin
23734aff74
Merge pull request #19443 from asmorkalov:as/guard_nonfree
2021-02-02 11:12:14 +00:00
Alexander Smorkalov
0016c25b58
Guard non-free usage in stitching as contrib can be built without it.
2021-02-02 13:24:59 +03:00
LaurentBerger
94e1126678
Merge pull request #19423 from LaurentBerger:houg_acc
...
Return accumulator value in HoughLines algorithm
* try to solve #17050
use cv_wrap_as
add python test
parameters
* review
* move wrapper to imgproc/bindings.hpp
2021-02-01 21:22:10 +00:00
Liubov Batanina
68eb54dc13
Added ONNX NormalizeL2 subgraph
2021-02-01 12:44:48 +03:00
Liangda-w
b08d67c4e1
Merge pull request #19419 from Liangda-w:patch-1
...
* Fix error in documentation for RGB->HSV convertion
* Update colors.markdown
2021-02-01 09:17:54 +00:00
Alexander Alekhin
2b787eb4b8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-31 17:44:15 +00:00
Alexander Alekhin
5ab4623c2a
Merge pull request #19430 from alalek:fixup_19216
2021-01-31 17:41:24 +00:00
Alexander Alekhin
cdf73f2e05
Merge pull request #19427 from alalek:issue_19426
2021-01-31 14:24:37 +00:00
Alexander Alekhin
30bef20e22
js: fix SIMD build
2021-01-31 00:12:51 +00:00
Alexander Alekhin
4be077163f
Merge pull request #19424 from alalek:cmake_linters_update
2021-01-30 12:37:57 +00:00
Alexander Alekhin
b9dfffc237
Merge pull request #19057 from sl-sergei:changes_for_cuda_1d
2021-01-30 11:39:43 +00:00
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
2021-01-30 11:32:27 +00:00
Sergey Slashchinin
e2949c7d0a
Align 3.4 branch with master
2021-01-29 23:48:08 +03:00
Alexander Alekhin
e448f4f6ef
cmake: fix pylint/flake8 detection, update flake8 exclude
2021-01-29 17:06:54 +00:00
Maxim Pashchenkov
e250bae356
Merge pull request #18943 from mpashchenkov:mp/onnx-padding
...
G-API: ONNX. Support for networks with three dimensional input.
* Padding without tests
* Removed padding
* Some small fixes
* Added wstring_convert
* Alignment fix, m b
* Small fixes
* Moved include from onnx.hpp
2021-01-29 14:53:42 +00:00
Alexander Alekhin
ebd91459f2
Merge pull request #19395 from Ixarias:patch-1
2021-01-29 12:34:00 +00:00
Alexander Alekhin
1a5b411ae4
js(tutorial): add note about CVAT integration
2021-01-29 10:27:47 +00:00
Olivier Le Doeuff
4c7f56263e
Merge pull request #19370 from OlivierLDff:patch-dshow-convertrgb
...
VideoCapture/DSHOW : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL/WIDTH/HEIGHT.
* 🐛 cap_dshow : Allow to set CAP_PROP_CONVERT_RGB before FOURCC/FPS/CHANNEL
* 🐛 cap_dshow : fix g_VI.setConvertRGB not being called with correct boolean value on first property set.
* ✅ cap_dshow : Test CAP_PROP_CONVERT_RGB persistence
* 🚨 Fix cast from bool to double
* 🚨 Fix trailing whitespace
2021-01-29 10:18:09 +00:00
Alexander Alekhin
6be9496d73
Merge pull request #19384 from mshabunin:support-onetbb
2021-01-29 06:44:36 +00:00
Maksim Shabunin
46b2da409b
MKL-TBB: removed tbb from dependencies list
2021-01-29 02:38:05 +03:00
Maksim Shabunin
694fe3e7d2
core, gapi: supported build with oneTBB 2021
2021-01-29 02:38:05 +03:00
Alexander Alekhin
900051cd04
Merge pull request #19413 from alalek:videoio_plugins_capture_params
2021-01-28 15:17:36 +00:00
Dale Phurrough
34c3f0f495
add cuda::Stream constructor with cuda flags
2021-01-28 16:14:01 +01:00
Alexander Alekhin
e705414bea
videoio(plugins): support VideoCaptureParameters, CAPTURE_API_VERSION=1
...
- example: ffmpeg
2021-01-28 06:09:23 +00:00
MaximMilashchenko
467870415b
Merge pull request #19394 from MaximMilashchenko:params
...
add video capture parameters
* add parameters
* videoio: revert unnecessary massive changes
* videoio: support capture parameters in backends API
- add tests
- FFmpeg backend sample code
- StaticBackend API is done
- support through PluginBackend API will be added later
Co-authored-by: Milashchenko <maksim.milashchenko@intel.com >
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2021-01-27 22:07:43 +00:00
Alexander Alekhin
ff8a624189
Merge pull request #19404 from LupusSanctus:am/text_graph_preproc
2021-01-27 18:32:33 +00:00
Alexander Alekhin
37c12db366
Merge pull request #19365 from alalek:parallel_api
2021-01-27 18:12:15 +00:00
Anastasia Murzova
449ebc1b70
Corrected SSD text graph generation
2021-01-27 19:53:52 +03:00
Alexander Alekhin
b73bf03bfc
core: parallel backends API
...
- allow to replace parallel_for() backend
2021-01-27 14:15:33 +00:00
Ixarias
3f14341629
Change Keymap wording for gray image in curve mode
...
Instead of being a copy of line 76, line 79 instead correctly indicates that it will show a histogram for a gray image in curve mode, as given by the code block at line 103 referencing image "gray" instead of image "im".
2021-01-26 16:30:50 -06:00
Alexander Alekhin
ca9cbab532
Merge pull request #19403 from diablodale:fix_19402_python_test_filter_34
2021-01-26 19:23:12 +00:00
Dale Phurrough
5c70a2015f
fix python test runner wildcard handling
...
* fix opencv/opencv#19402
2021-01-26 19:05:40 +01:00
Anastasia M
8c221981bf
Merge pull request #17604 from LupusSanctus:am/pytorch_tf_cls_tutorial
...
[GSoC] Added TF and PyTorch classification conversion cases
* Added TF and PyTorch classification conversion cases
* Modified structure, some processing scripts. Added evaluation pipeline
* Minor structure change
* Removed extra functions, minor structure change
* Modified structure, code corrections
* Updated classification code block, added classification tutorials
* Added minor modifications of paths
* Classification block corrections in accordance with comments
2021-01-26 11:06:15 +00:00
Alexander Alekhin
e85b41f9be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-25 22:42:13 +00:00
Alexander Alekhin
573812d0ff
Merge pull request #19373 from l-bat:lb/tf_matmul_shared
2021-01-25 22:08:24 +00:00
Liubov Batanina
c12930cdde
Merge pull request #19372 from l-bat:lb/onnx_pads_calc
...
* Fixed bug with constant Div
* Supported constant mul and div for inputs with different shapes
2021-01-25 22:07:50 +00:00
Alexander Alekhin
857f339914
Merge pull request #19385 from alalek:ocl_isOpenCLActivated_update
2021-01-25 13:54:00 +00:00
Alexander Alekhin
b1ffe7a153
Merge pull request #19390 from tomoaki0705:fixCudaLegacyCalib3d
2021-01-25 13:32:43 +00:00
Alexander Alekhin
f54f6627c3
Merge pull request #19388 from GArik:orbbec
2021-01-25 13:29:28 +00:00
Alexander Alekhin
62b60b11bb
Merge pull request #19344 from VadimLevin:dev/vlevin/generic-sequence-conversion
2021-01-25 08:22:57 +00:00
Tomoaki Teshima
96e0902f39
fix peaky test failure
...
* follow the review comment
2021-01-25 17:14:37 +09:00
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
2021-01-25 08:08:38 +03:00
ZhM
13a1105318
Merge pull request #19078 from zihaomu:dasiamrpn_tracker_c_plus_plus
...
Add DaSiamRPN tracker sample of c++ version
* add sample dasiamrpn_tracker of c++ version.
* samples(dasiamrpn_tracker.cpp): apply clang-format
- exclude "keys" variable
* samples(dasiamrpn_tracker.cpp): coding style and UX fixes
2021-01-24 22:22:25 +00:00
Alexander Alekhin
8e5e1b62aa
Merge pull request #19380 from alalek:python_fix_rect_conversion
2021-01-24 22:19:28 +00:00
Igor Murzov
19ef9505e8
Small corrections to Orbbec Astra cameras tutorial
2021-01-24 19:13:36 +03:00
Orest Chura
e982ad2284
Merge pull request #19337 from OrestChura:oc/fLine_fCont_perftests
...
[G-API]: Performance tests for fitLine and findContours
* Perf.Test for findContours(H)
* Perf.Test for fitLine(2D.3D;Mat,vector<Point2i/2f/2d/3i/3f/3d>)
* Reducing the template specializations number
* Applying comments
2021-01-24 15:41:04 +00:00
Alexander Alekhin
fb0abdeb4f
Merge pull request #19383 from tomoaki0705:fixWrongIndex
2021-01-24 15:23:34 +00:00
Alexander Alekhin
331f1b9961
Merge pull request #19382 from crackwitz:highgui-w32-remove-gutter
2021-01-24 15:23:04 +00:00
Tomoaki Teshima
3cfe7b9af9
fix wrong index
2021-01-24 20:29:52 +09:00
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
2021-01-24 01:25:17 +00:00
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
2021-01-23 16:01:07 +01:00
Alexander Alekhin
7825abd540
python: handle errors in Rect conversions
2021-01-23 03:07:38 +00:00
Alexander Alekhin
cd59516433
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-22 21:29:21 +00:00
Alexander Alekhin
bbad38b2c5
Merge pull request #19376 from alalek:fixup_19105
2021-01-22 20:22:36 +00:00
Alexander Alekhin
413febf657
Merge pull request #19334 from alalek:fix_19134
2021-01-22 20:05:58 +00:00
Alexander Alekhin
d5447d859f
js(doc): fix path
2021-01-22 19:50:25 +00:00
Alexander Alekhin
1a3a25f825
Merge pull request #19364 from asmorkalov:as/capture_buffer_safety_test
2021-01-22 19:18:14 +00:00
Liubov Batanina
38a49f92ab
Added shared weights for MatMul
2021-01-22 16:47:02 +03:00
Alexander Smorkalov
b4e941d431
VideoCapture test to ensure that cv::VideoCapture does not share output buffers between frames.
2021-01-22 16:42:48 +03:00
Sergei Slashchinin
ea41f89b40
Merge pull request #19058 from sl-sergei:cuda_1d
...
Conv1D and Pool1D for CUDA backend
* CUDA-independent changes
* Add Conv1D and Pool1D for CUDA backend
* CUDA-independent changes
* Fix typo
* fix comment
* Update fix
* make changes more correct for pooling layer
* Minor fixes for review
* Split skip blocks
2021-01-21 22:16:56 +00:00
Alexander Alekhin
7a790d0d35
Merge pull request #19355 from alalek:fixup_19050
2021-01-20 22:46:05 +00:00
Alexander Alekhin
995c308a49
Merge pull request #19353 from mshabunin:new-forum-links-master
2021-01-19 22:29:36 +00:00
Alexander Alekhin
1d5589296e
gapi: fix build warning
2021-01-19 22:10:05 +00:00
Alexander Alekhin
0f968e3b6d
Merge pull request #19352 from mshabunin:new-forum-links
2021-01-19 21:56:42 +00:00
Alexander Alekhin
8a44e712f8
Merge pull request #19345 from Ryyyc:patch-1
2021-01-19 21:52:14 +00:00
Maksim Shabunin
e4e10e54df
Updated more links to forum.opencv.org
2021-01-19 22:03:22 +03:00
Maksim Shabunin
f65d75f5c8
Updated more links to forum.opencv.org
2021-01-19 21:55:45 +03:00
Alexander Alekhin
d93790717d
Merge pull request #19340 from tomoaki0705:fixStitchingExposure
2021-01-18 20:35:41 +00:00
Alexander Alekhin
291dbdfbe6
Merge pull request #19336 from kyshel:patch-1
2021-01-18 20:16:04 +00:00
Alexander Alekhin
5e5f47321b
Merge pull request #19320 from alalek:videoio_plugins_api_split_capture_write
...
videoio(plugins): split capture and writer APIs
2021-01-18 23:14:57 +03:00
Alexander Alekhin
6ce9bb6f7a
Merge pull request #19312 from VadimLevin:dev/vlevin/clear-msg-for-failed-overload-resolution
2021-01-18 20:14:10 +00:00
Ruan
109637e213
Update essential_mat_reconstr.cpp
...
A small clerical error of an author. The correct expression should be "xy += x_*y_;".
2021-01-18 23:56:34 +08:00
Vadim Levin
a0bdb78a99
feat: add overload resolution exception for Python bindings
2021-01-18 16:29:17 +03:00
kyshel
321f26f450
update xrange() to range()
...
update xrange() to range() as Python 2 has been deprecate, more info:
1. Python 2 has been no longer supported officially since January 1, 2020. Check https://www.python.org/doc/sunset-python-2/
2. xrange() was renamed to range() in Python 3. Check https://stackoverflow.com/questions/17192158/nameerror-global-name-xrange-is-not-defined-in-python-3/17192181#17192181
update xrange() to range()
Update py_fourier_transform.markdown
update xrange() to range()
2021-01-18 19:52:37 +08:00
Alexander Alekhin
212815a10d
core(ocl): fix lifetime handling of Image kernel args
2021-01-18 06:24:36 +00:00
Alexander Alekhin
104e64dd0f
Merge pull request #19339 from ichisadashioko:modules_highgui_src_window_w32_typo
2021-01-17 22:00:00 +00:00
Tomoaki Teshima
e49ae68524
workaround the test failure
2021-01-18 06:03:43 +09:00
Alexander Alekhin
49127b6a26
Merge pull request #19331 from alalek:gapi_lazy_initialization_kernel_intrinsics
2021-01-17 19:20:18 +00:00
Alexander Alekhin
255853a819
Merge pull request #19326 from alalek:gapi_async_service_lazy_initialization
2021-01-17 19:19:48 +00:00
shioko
5967acc9ca
fix typo of the word storage
2021-01-17 18:59:20 +00:00
Alexander Alekhin
28c0cd8460
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-16 19:03:42 +00:00
Alexander Alekhin
eea4397b12
Merge pull request #19332 from alalek:xcode_ccache
2021-01-16 18:58:02 +00:00
Alexander Alekhin
a122a53e72
Merge pull request #19330 from l-bat:lb/onnx_mish_subgraph
2021-01-16 18:42:19 +00:00
Alexander Alekhin
8215380336
cmake: support ccache with Xcode generator
2021-01-15 19:58:01 +00:00
Alexander Alekhin
10ef76905c
gapi: avoid global static initializers
...
- use lazy on-demand initialization
2021-01-15 17:22:03 +00:00
Liubov Batanina
af9597f454
Added Mish ONNX subgraph
2021-01-15 14:01:48 +03:00
Alexander Alekhin
e43375cc68
gapi(async): use lazy-initialization of async_service singleton
2021-01-15 04:47:54 +00:00
Alexander Alekhin
63bb2abada
Merge pull request #19321 from alalek:fixup_19027
2021-01-14 12:08:10 +00:00
Francesco Petrogalli
235e648bf5
Merge pull request #19268 from fpetrogalli:tabs-summary-output
...
* [ts][summary.py] Extend `-o` to support tabs separated output.
* [ts][summary.py] Improve TABS sepatated output.
There is no need to print TAB at the beginning and at the end of each
row in the table.
Cosmetic change: using python list comprehension instead of for loop
to process a single row.
2021-01-14 12:01:36 +00:00
Alexander Alekhin
5202186681
Merge pull request #19050 from anton-potapov:fix_range_var_clang_warnings
2021-01-14 10:44:42 +00:00
Alexander Alekhin
98889e41b0
videoio: fix API/ABI_VERSION macros before plugin_api.hpp
2021-01-14 10:36:10 +00:00
Alexander Alekhin
962cdc2d98
videoio: split capture/writer plugin APIs
...
- migrate GStreamer backed
- migrate FFmpeg backend (with switch on legacy API)
- cv_videoio_capture_retrieve_cb_t uses Mat type instead of number of channels
2021-01-14 06:19:23 +00:00
Alexander Alekhin
71acf078ba
videoio: preserve git history in plugin_*.hpp files
2021-01-13 22:37:46 +00:00
Alexander Alekhin
b3233de1c2
videoio: mv plugin_api.hpp (preserve git history)
2021-01-13 22:36:53 +00:00
Alexander Alekhin
63982d6771
videoio: preserve git history in backend_plugin_legacy.impl.hpp
2021-01-13 22:26:18 +00:00
Alexander Alekhin
2cd540b9c4
videoio: backup backend_plugin_legacy.impl.hpp
2021-01-13 22:25:19 +00:00
Alexander Alekhin
bbdae291ed
Merge pull request #19108 from ReID-Team:sample_person_reid
2021-01-13 14:22:41 +00:00
mznw
f9f33a7bb5
sample of person ReIDentification.
2021-01-13 11:21:00 +08:00
Orest Chura
d34a34f328
Merge pull request #19215 from OrestChura:oc/bRect_perftests
...
[G-API]: Performance tests for boundingRect
* Update boundingRect() tests with the changes from fitLine() PR
* Add performance tests for boundingRect
* Applying comment about g_type_of_t
* Addressing comments
* Addressing comment: replace cmp_f by CompareF in perf.tests + add the default constructor for CompareF
* Fix typo
2021-01-12 21:33:05 +00:00
Maxim Pashchenkov
3eaeca58da
Merge pull request #18902 from mpashchenkov:mp/onnx-const-input
...
G-API: ONNX. Const input
* Added const input for ONNX backend
* Returned initMatrixRandu, added some comments, rebase
2021-01-12 21:31:15 +00:00
Alexander Alekhin
d3bc563c6e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-12 18:34:33 +00:00
Alexander Alekhin
fbcc532de5
Merge pull request #19300 from alkasm:patch-2
2021-01-12 18:28:58 +00:00
Alexander Alekhin
72894a1a90
Merge pull request #19216 from terfendail:wasm_fall
2021-01-12 17:57:24 +00:00
Alexander Reynolds
e3856dfe5d
hotfix: call isOpened() in python bg sub tutorial
...
https://github.com/opencv/opencv/issues/19299
2021-01-11 14:04:56 -08:00
Alexander Alekhin
62420b900e
Merge pull request #19301 from krush11:3.4
2021-01-11 20:58:33 +00:00
Alexander Alekhin
89ef676613
Merge pull request #19297 from raaldrid:Template_Match_Tutorial_fix_17739
2021-01-11 20:54:54 +00:00
Alexander Alekhin
83e14f602f
Merge pull request #19296 from raaldrid:Doc_issue_fix_18836_FULL
2021-01-11 20:04:49 +00:00
Alexander Alekhin
5389309d40
Merge pull request #19291 from gpiffault:docs-js_usage-fix_imshow
2021-01-11 20:03:29 +00:00
Alexander Alekhin
058460ddf4
Merge pull request #19248 from LaurentBerger:forum
2021-01-11 20:02:51 +00:00
Rachel A
380009ac58
Template Matching Tutorial issue fix https://github.com/opencv/opencv/issues/17739
2021-01-11 11:19:59 -08:00
Alexander Alekhin
2775099a32
Merge pull request #19220 from alalek:dnn_tf_importer_error_reporting
2021-01-11 19:12:41 +00:00
Rachel A
f98e567f49
Solution to documentation issue https://github.com/opencv/opencv/issues/18836
2021-01-11 10:43:26 -08:00
LaurentBerger
9fb48d5f44
update forum link
2021-01-11 18:39:46 +00:00
Vitaly Tuzov
8f653ba8de
Inlined WASM fallback intrinsics to avoid using of V_TypeTraits
2021-01-11 18:12:21 +03:00
krush11
87b3b48fe0
added multi-config to regexp
2021-01-10 11:11:23 +05:30
Grégoire Piffault
0043d9bf13
docs(tutorial_js_usage): fix imshow usage
2021-01-09 14:53:35 +01:00
notmatthancock
2d2d72afbb
Merge pull request #19258 from notmatthancock:doc/update-sift-patent-blurb
...
* Remove sentences about SIFT patent and code location
* Add note about patent in opencv-specific section
2021-01-05 11:33:57 +00:00
Alexander Alekhin
941a9792f7
Merge pull request #19247 from kloczek:master
2021-01-03 13:33:49 +00:00
Your Name
646a023ff4
Fix building opencv using gcc 11.x #19244
...
Add missing `#include <thread>` in modules/gapi/test/test_precomp.hpp
2021-01-02 17:43:11 +00:00
Alexander Alekhin
4f9cb3871a
copyright: 2021
2021-01-01 13:40:32 +00:00
Alexander Alekhin
005508a07b
copyright: 2021
2021-01-01 13:40:01 +00:00
Alexander Alekhin
5b598c1812
Merge pull request #19239 from justinchuby:justinchuby-doc-typo-hough-lines
2020-12-31 10:33:59 +00:00
Alexander Alekhin
701744c621
Merge pull request #19191 from OrestChura:oc/morphEx_perftest
2020-12-31 10:32:51 +00:00
Liangqian
e4c7fca755
Merge pull request #19098 from chargerKong:EulerAngle
...
* add to/from Euler Angles
* restruct codes
* quat: optimize implementation
* cleanup debug code
* correct spelling errors
* create QuatEnum for enum EulerAnglesType
* use for loop for test_quaternion
* drop template from isIntAngleType & add minimal error information in test_quaternion.cpp
Co-authored-by: ShanChenqi <shanchenqi@huawei.com >
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com >
2020-12-31 10:32:12 +00:00
Justin Chu
8f66dad65b
Fix typo in hough_lines tutorial
...
Argument `minLinLength` -> `minLineLength`
2020-12-30 16:20:27 -05:00
Alexander Alekhin
bec7b297ed
Merge pull request #19235 from alalek:fix_test_swift_minAreaRect
2020-12-30 15:24:55 +00:00
Alexander Alekhin
ee17b5de6e
swift(test): fix minAreaRect test
2020-12-29 22:56:19 +00:00
Alexander Alekhin
a0041125c6
Merge pull request #19230 from IanMaquignaz:quickFix_calib3d_parameters
2020-12-29 20:02:26 +00:00
Ian Maquignaz
378a634de8
Updated Calib3d documentation to fix missing @ref in master
2020-12-28 10:57:19 -05:00
Alexander Alekhin
8a05850302
Merge pull request #19213 from alalek:ocl_execution_context_tests_param
2020-12-27 22:02:33 +00:00
YashasSamaga
8c74d7e4fa
add half pixel centers and align corners param
2020-12-27 15:05:39 +05:30
Alexander Alekhin
55f06b76f9
dnn: improve debugging of TensorFlow parsing errors
2020-12-26 15:31:30 +00:00
Alexander Alekhin
ba3f150b14
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-25 16:25:14 +00:00
Alexander Alekhin
2f8c62999f
Merge pull request #19194 from alalek:intelligent_scissors
2020-12-25 13:16:19 +00:00
Alexander Alekhin
3eea3dd46b
imgproc: add IntelligentScissors
2020-12-25 10:57:11 +00:00
Alexander Alekhin
ba2b331461
core(ocl): parametrize OpenCLExecutionContext tests
2020-12-24 19:33:43 +00:00
Alexander Alekhin
a6f7dca685
Merge pull request #19027 from alalek:videoio_plugins_api_versioning
2020-12-24 17:08:36 +00:00
Alexander Alekhin
282605ea76
Merge pull request #19209 from alalek:fix_docs_build_options_parallel
2020-12-24 17:02:19 +00:00
Zhuo Zhang
6e1da2ef91
Merge pull request #19203 from zchrissirhcz:fix-cvSaveImage
...
Fix cvSaveImage( ) function bug
* fix cvSaveImage crash
* replace emplace_back with {}, no C++11 required
* fix MacOSX build with vector's push_back
2020-12-24 16:58:16 +00:00
Anatoliy Talamanov
244511e434
Merge pull request #19205 from TolyaTalamanov:at/remove-streamingbackend-export
...
[G-API] Fix streaming kernels in standalone
* Move streaming kernels from public header
* Add streaming backend to standalone
2020-12-24 16:46:10 +00:00
Maxim Pashchenkov
656b20a169
Merge pull request #19070 from mpashchenkov:mp/onnx-gframe
...
G-API: Support GFrame for ONNX infer
* Added GFrame for ONNX
* Cut test
* Removed IE from assert
* Review comments
* Added const/bbot rstrt
* View instead unique_ptr in func. sig.
* Added extractMat function, ONNXCompiled contains exMat - cv::Mat with non processed input data
* Added meta check for inferList2
2020-12-24 13:55:33 +00:00
Alexander Alekhin
50bb344a9d
Merge pull request #19206 from OrestChura:oc/fix_plugconfparams_n_align
2020-12-24 13:54:02 +00:00
Alexander Alekhin
1ec2ade65b
Merge pull request #19210 from alalek:backport_19199
2020-12-24 10:01:37 +00:00
Alexander Alekhin
13148df9f2
Merge pull request #19208 from alalek:js_build_reuse_python
2020-12-24 10:01:17 +00:00
Alexander Alekhin
5a10261111
Merge pull request #19207 from alalek:issue_19198
2020-12-24 10:00:56 +00:00
Ilya Lavrenov
064d48771d
Find only shared IE libraries, not plugins
...
original commit: 3ed376d103
2020-12-24 06:48:54 +00:00
Alexander Alekhin
1c078c59e3
docs: fix table cells
2020-12-24 05:49:49 +00:00
Alexander Alekhin
7eeba4d485
js(build): reuse Python executable used to run main script
...
- don't switch between Python versions in the middle of the build
2020-12-24 05:25:38 +00:00
Alexander Alekhin
cd68cc1f46
Merge pull request #19195 from diablodale:win32AlignAlloc
2020-12-23 17:33:58 +00:00
Alexander Alekhin
0681deb3c9
js: fix Python 3 support in make_umd.py
2020-12-23 15:07:12 +00:00
OrestChura
e80f6624ed
- Replace plugin config parameters with the working ones
...
- refactor for consistency
2020-12-23 17:06:45 +03:00
Dale Phurrough
109255a730
add windows native aligned malloc + unit test case
...
* implements https://github.com/opencv/opencv/issues/19147
* CAUTION: this PR will only functions safely in the
4+ branches that already include PR 19029
* CAUTION: this PR requires thread-safe startup of the alloc.cpp
translation unit as implemented in PR 19029
2020-12-23 14:59:28 +01:00
Stefan Dragnev
b13b5d86f6
Merge pull request #19109 from tailsu:sd/imdecode-jp2k-codestream
...
* OpenJPEG: decoder for J2K codestreams
* code review fixes
* exclude .j2c from GDAL tests
2020-12-23 12:33:33 +00:00
Alexander Alekhin
0ffa78b66a
Merge pull request #19193 from alalek:samples_python_3.9
2020-12-23 12:09:07 +00:00
Alexander Alekhin
15265918a7
Merge pull request #19133 from diablodale:fix19132-opencvactivated
2020-12-23 12:08:38 +00:00
Alexander Alekhin
ed00088f17
Merge pull request #19199 from ilya-lavrenov:find-shared-libraries-only
2020-12-23 08:33:49 +00:00
Ilya Lavrenov
3ed376d103
Find only shared IE libraries, not plugins
2020-12-23 09:51:23 +03:00
OrestChura
e2930c7898
Perf test for morphologyEx
2020-12-22 00:03:06 +03:00
Alexander Alekhin
84676fefe3
Merge tag '4.5.1'
2020-12-21 20:35:51 +00:00
Alexander Alekhin
1363496c11
release: OpenCV 4.5.1
2020-12-21 20:01:38 +00:00
Alexander Alekhin
a029f03edc
Merge pull request #19187 from alalek:samples_python_3.9
2020-12-21 18:16:00 +00:00
Alexander Alekhin
03df48899c
Merge pull request #19186 from AsyaPronina:asyadev/fix_gframe_as_internal_data_for_gexecutor
2020-12-21 18:15:24 +00:00
Alexander Alekhin
b51ae87828
samples: check for Python 3.9
2020-12-21 14:59:34 +00:00
Alexander Alekhin
68fb8dd873
Merge tag '3.4.13'
2020-12-21 14:55:54 +00:00
Anastasiya Pronina
cdbea6f0a0
GFrame as internal node in GExecutor
2020-12-21 14:06:47 +03:00
Alexander Alekhin
8869dc7762
release: OpenCV 3.4.13
2020-12-20 22:15:49 +00:00
Alexander Alekhin
6659d55a9d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-20 18:40:22 +00:00
Alexander Alekhin
e6c9291e32
Merge pull request #19180 from alalek:fixup_19161
2020-12-20 18:39:01 +00:00
Alexander Alekhin
a6f14ca97c
js(build): fix generator with Python3
...
- class_info.props is a 'list'
2020-12-20 17:42:47 +00:00
Alexander Alekhin
c555a6747d
Merge pull request #19177 from alalek:doxygen_drop_TCL_SUBST
2020-12-20 16:40:58 +00:00
Alexander Alekhin
dd276dbb59
Merge pull request #19176 from alalek:issue_19131
2020-12-20 16:40:28 +00:00
Alexander Alekhin
70d82017fe
Merge pull request #19175 from alalek:issue_18520
2020-12-20 16:39:56 +00:00
Alexander Alekhin
663bd73518
Merge pull request #19164 from fpetrogalli:tranform_16u
2020-12-20 16:38:59 +00:00
Francesco Petrogalli
c526705f4f
[cv::transform] Enable CV_SIMD for the 16U case on AArch64.
2020-12-20 15:58:21 +00:00
Alexander Alekhin
c84d2cb32a
Merge pull request #18604 from vrabaud:master
2020-12-20 15:50:33 +00:00
Vincent Rabaud
ff211371bc
Replace FLANNException by CV_Error.
2020-12-20 14:17:28 +01:00
Alexander Alekhin
e9a4734a57
doxygen: drop deprecated TCL_SUBST
2020-12-20 05:05:48 +00:00
Alexander Alekhin
3359bdc464
docs(core): fix process_video_frame() code snippet
2020-12-20 02:27:46 +00:00
Alexander Alekhin
17faee5d81
imgproc: add rotatedRectangleIntersection empty input handling
2020-12-20 02:06:50 +00:00
Alexander Alekhin
b4795086fe
Merge pull request #19168 from alalek:abi_experimental_quaternion
2020-12-19 19:22:52 +00:00
Alexander Alekhin
5cd852f9bd
Merge pull request #19170 from vrabaud:3.4
2020-12-19 19:22:30 +00:00
Vincent Rabaud
4c75b1c102
Fix comment typos.
2020-12-19 08:22:37 +01:00
Alexander Alekhin
a6b5771297
ABI: exclude quaternion header from ABI/API check
...
- this API is experimental for now
2020-12-18 21:45:08 +00:00
Alexander Alekhin
dac298ef41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-18 20:47:56 +00:00
Alexander Alekhin
ef27c11d50
Merge pull request #19162 from alalek:backport_18985
2020-12-18 20:29:49 +00:00
Alexander Alekhin
cd3939a153
Merge pull request #19158 from alalek:build_opencv_winpack_dldt_2021.2.0
2020-12-18 20:29:33 +00:00
Alexander Alekhin
9f5463ce42
Merge pull request #19152 from LupusSanctus:am/color_issue
2020-12-18 20:28:12 +00:00
Anastasia Murzova
3bc1b53962
Added YUV conversion fix
...
Fixed OpenCV issue #18878
2020-12-18 21:40:32 +03:00
Alexander Alekhin
de1b919641
Merge pull request #19161 from alalek:js_robust_code_generation
2020-12-18 15:12:17 +00:00
Alexander Alekhin
3e9158acd6
Merge pull request #19128 from asmorkalov:as/gapi_phase_tolerance
2020-12-18 13:43:07 +00:00
Alexander Alekhin
03e224ee83
Merge pull request #19127 from asmorkalov:as/photo_fix_arm64
2020-12-18 13:42:26 +00:00
Steffen Urban
c2bc171ef6
js: backport PR18985
...
original commit: b82700ae41
2020-12-18 12:12:10 +00:00
Alexander Alekhin
f8740e124c
js: robust code generation
...
- avoid randomized output due to unpredictable dict/set order
2020-12-18 12:02:48 +00:00
Steffen Urban
b82700ae41
Merge pull request #18985 from ZEISS:feature/aruco_js_fix
...
Aruco javascript fix and added functionality
* whitespace
* updated docu. updated regexp.
* update docu
* embindgen regex
* removed parser arg
* remove whitespace
* removed aruco hint
* remove whitespace
* removed aruco hint
* new docu string
* removed extra line
* remove whitespace
* removed aruco hint
* new docu string
* removed extra line
2020-12-18 12:01:48 +00:00
Alexander Smorkalov
009860e98a
arm64 fix: Replaced float value strong equal checks with check with tolerance.
2020-12-18 14:57:51 +03:00
Alexander Smorkalov
57da381ae3
Increased Photo_CalibrateDebevec.regression test tolerance to pass on arm64 with gcc 9.3.
2020-12-18 14:46:40 +03:00
Alexander Alekhin
935cb4076b
Merge pull request #19154 from alalek:fixup_19089
2020-12-18 11:23:02 +00:00
Alexander Alekhin
b2ea15da35
Merge pull request #19137 from VadimLevin:dev/vlevin/safe-string-conversion
2020-12-18 11:20:50 +00:00
Alexander Alekhin
9733177083
Merge pull request #19105 from alalek:js_build_update
2020-12-18 11:12:30 +00:00
Alexander Alekhin
fa665141bb
Merge pull request #19104 from alalek:docs_cmake_msvs2019
2020-12-18 11:10:52 +00:00
Alexander Alekhin
64720f15a2
doc(windows): update how to handle MSVS 2019
2020-12-18 08:24:26 +00:00
Alexander Alekhin
8df0f13230
build: winpack_dldt with dldt 2021.2.0
2020-12-18 06:54:51 +00:00
Alexander Alekhin
624d532000
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-17 21:05:34 +00:00
Alexander Alekhin
94e7be3714
docs(calib3d): avoid reference on legacy C API constants
2020-12-17 21:03:27 +00:00
Alexander Alekhin
9b4adc9acb
Merge pull request #19146 from alalek:dnn_openvino_2021.2.0
2020-12-17 19:50:36 +00:00
Alexander Alekhin
e27162397a
Merge pull request #19143 from vrabaud:stack
2020-12-17 19:47:43 +00:00
Alexander Alekhin
99d750d597
Merge pull request #19139 from vrabaud:find1
2020-12-17 19:40:22 +00:00
Vadim Pisarevsky
c51f5e8d76
Merge pull request #19082 from vpisarev:rvv_copyright
2020-12-17 17:10:17 +00:00
Vadim Pisarevsky
ba7dbca018
added information about the contribution & ISCAS copyright
2020-12-17 18:28:17 +08:00
Vincent Rabaud
8391a23600
Optimize calls to std::string::find() and friends for a single char.
...
The character literal overload is more efficient. More info at:
http://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html
2020-12-17 09:39:23 +01:00
Vincent Rabaud
ec3ef520e6
Move big objects (>20k) from stack to heap.
2020-12-17 09:36:51 +01:00
Alexander Alekhin
28aab134db
dnn(test): update tests for OpenVINO 2021.2
2020-12-17 07:53:35 +00:00
Alexander Alekhin
752cc26ad6
dnn: use OpenVINO 2021.2 defines
...
original commit: 4699d2ba0c
2020-12-16 22:22:17 +00:00
Alexander Alekhin
d159417474
Merge pull request #19101 from alalek:issue_5209
2020-12-16 22:13:18 +00:00
Alexander Alekhin
7d7ab462d6
Merge pull request #19130 from dmatveev:dm/fix_docs_ocv451
2020-12-16 20:26:41 +00:00
Alexander Alekhin
c4c21c2fa7
Merge pull request #19142 from rgarnov:rg/include_format_in_core
2020-12-16 20:26:05 +00:00
Ruslan Garnov
e06a497c7c
Added format.hpp include to core.hpp
2020-12-16 19:29:06 +03:00
Vadim Levin
7b0d7d0c9a
fix: conversion to string in python bindings
...
If provided `PyObject` can't be converted to string `TypeError` is
reported instead of `SytemError` without any message.
2020-12-16 15:11:58 +03:00
Ruslan Garnov
f7cab121fe
Merge pull request #19112 from rgarnov:rg/generic_copy_kernel
...
Generic copy kernel
* Moved RMat wrapping of cv::Mats to StreamingInput
* Generalized GCopy kernel
* Generic GCopy kernel: applied review comments
2020-12-16 11:18:08 +00:00
Dale Phurrough
bb59b81d82
remove g_isOpenCVActivated assign and clarify
2020-12-16 00:27:32 +01:00
Alexander Alekhin
7631056b8a
Merge pull request #19114 from alalek:issue_18937
2020-12-15 20:47:05 +00:00
Alexander Alekhin
4107dc7355
Merge pull request #19089 from IanMaquignaz:fix_34_calib3d_parameterReferences
2020-12-15 20:46:09 +00:00
Dmitry Matveev
b74804f61f
G-API: Fix various Doxygen isses for the 4.5.1 release
2020-12-15 23:21:46 +03:00
Anatoliy Talamanov
50baf76cc2
Merge pull request #19107 from TolyaTalamanov:at/hotfix-gstreamingbackend
...
[G-API] GStreamingBackend hotfix
* GStreamingBackend hotfix
* Fix comments to review
* Add strides
* Removew while loop inside actor
2020-12-15 18:05:26 +00:00
Ian Maquignaz
085a131801
Applied '@ref' linking for 3.4 Calib3D parameters and added enum cv::fisheye::CALIB_ZERO_DISPARITY == cv::CALIB_ZERO_DISPARITY == 0x400 == 1 << 10.
...
Fisheye test has been updated to use new enum cv::fisheye::CALIB_ZERO_DISPARITY and included CV_StaticAssert(...) to ensure cv::CALIB_ZERO_DISPARITY == cv::fisheye::CALIB_ZERO_DISPARITY.
2020-12-15 12:33:43 -05:00
Alexander Alekhin
50fed1d774
Merge pull request #19115 from alalek:dnn_ocl_conv_fp16_consistency
2020-12-15 16:09:15 +00:00
Alexander Alekhin
c240355cc6
dnn(ocl): avoid mess FP16/FP32 in convolution layer
2020-12-15 08:51:24 +00:00
Alexander Alekhin
a9edcc1705
Merge pull request #19110 from alalek:test_videoio_require_ffmpeg
2020-12-15 08:48:23 +00:00
Alexander Alekhin
4b3d2c8834
dnn(ocl): fix gemm kernels with beta=0
...
- dst is not initialized, may include NaN values
- 0*NaN produces NaN
2020-12-15 00:58:43 +00:00
Orest Chura
fcdd69fd97
Merge pull request #19103 from OrestChura:oc/cvtI420_perftests
...
[G-API]: Performance tests for color conversion kernels
* Performance tests for 5 new color conversion kernels:
- BGR2RGB
- BGR2I420
- RGB2I420
- I4202BGR
- I4202RGB
* Addressing comment
2020-12-14 22:45:41 +00:00
Alexander Alekhin
48d9031efb
videoio(test): add FFmpeg backend check
...
- configure through OPENCV_TEST_VIDEOIO_BACKEND_REQUIRE_FFMPEG environment variable
2020-12-14 18:29:52 +00:00
Alexander Alekhin
a8adb99e94
Merge pull request #19106 from xerus:fix_typo
2020-12-14 16:27:53 +00:00
Pavel Grunt
b01ae2de05
Fix a typo s/VERISON/VERSION/
2020-12-14 12:02:25 +01:00
Anna Khakimova
46e275dfe4
Merge pull request #18869 from anna-khakimova:ak/kalman
...
* GAPI: Kalman filter stateful kernel
* Applied comments
* Applied comments. Second iteration
* Add overload without control vector
* Remove structure constructor and dimension fields.
* Add sample as test
* Remove visualization from test-sample + correct doxygen comments
* Applied comments.
2020-12-14 08:56:37 +00:00
Alexander Alekhin
af71b03000
js: update documentation and builds scripts
...
- support modern Emscripten build process
- replaced Docker image
- replaced Emscripten's web URLs
2020-12-14 04:42:15 +00:00
Alexander Alekhin
392991fa0b
core(opencl): add version check before clCreateFromGLTexture() call
2020-12-13 20:57:26 +00:00
Jonathan Cole
743f1810c7
Merge pull request #19088 from Rightpoint:task/colejd/make-xcframework-output-path-explicit
...
Make xcframework output path argument explicit and required
* Make output path argument explicit and required
* Improve xcframework documentation
* Add TODOs for future breaking changes on build_framework.py scripts
2020-12-12 17:35:25 +00:00
Alexander Alekhin
dd1494eebf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-11 19:27:20 +00:00
Alexander Alekhin
1bfc75ac23
Merge pull request #19079 from alalek:issue_18713
2020-12-11 19:15:26 +00:00
Alexander Alekhin
5bb45baa6c
Merge pull request #19085 from OrestChura:oc/fix_new_streaming_tests
2020-12-11 19:14:29 +00:00
Alexander Alekhin
def679554f
Merge pull request #19084 from alalek:issue_16197
2020-12-11 19:13:40 +00:00
Alexander Alekhin
08b6abd711
Merge pull request #19068 from alalek:issue_18157
2020-12-11 19:11:04 +00:00
Alexander Alekhin
33761ee06b
Merge pull request #19064 from alalek:cmake_update_mkl
2020-12-11 19:10:16 +00:00
Alexander Alekhin
a04479746a
Merge pull request #19045 from alalek:issue_17553
...
* flann: avoid dangling pointers on lost features data
* flann: fix Index::load()
2020-12-11 19:09:35 +00:00
Alexander Alekhin
d2b8fd6401
Merge pull request #19062 from alalek:3.4_issue_17553
2020-12-11 19:08:46 +00:00
Alexander Alekhin
8ac304517e
Merge pull request #19055 from alalek:4.x_issue_18244
2020-12-11 19:07:57 +00:00
Alexander Alekhin
4f236d1c50
Merge pull request #19054 from alalek:3.4_issue_18244
2020-12-11 19:07:34 +00:00
Alexander Alekhin
f9f9e2ad4a
Merge pull request #19049 from alalek:issue_17282
2020-12-11 19:06:47 +00:00
Alexander Alekhin
e52291cbcc
Merge pull request #19048 from alalek:android_gradle_5.6.4
2020-12-11 19:06:13 +00:00
Alexander Alekhin
23c246882e
Merge pull request #19071 from LupusSanctus:am/dnn_nearest_resize_3.4
2020-12-11 18:25:55 +00:00
Alexander Alekhin
f290ff215e
features2d: fix ORB::setFirstScale() handling
2020-12-11 18:05:24 +00:00
OrestChura
79b4dc14a3
Fix new streaming tests for CI
2020-12-11 20:26:39 +03:00
Anatoliy Talamanov
8ed0fc6f0c
Merge pull request #19009 from TolyaTalamanov:at/media-frame-copy
...
[G-API] GStreamingBackend
* Snapshot
* Implement StreamingBackend
* Refactoring
* Refactoring 2
* Clean up
* Add missing functionality to support MediaFrame as output
* Partially address review comments
* Fix build
* Implement reshape for gstreamingbackend and add a test on it
* Address more comments
* Add format.hpp to gapi.hpp
* Fix debug build
* Address review comments
Co-authored-by: Smirnov Alexey <alexey.smirnov@intel.com >
2020-12-11 16:29:34 +00:00
Alexander Alekhin
9f01b97e14
Merge pull request #19024 from komakai:cmake319-proposal2
2020-12-11 15:14:43 +00:00
Sergei Slashchinin
1f3255d76b
Merge pull request #18591 from sl-sergei:download_utilities
...
Scripts for downloading models in DNN samples
* Initial commit. Utility classes and functions for downloading files
* updated download script
* Support YAML parsing, update download script and configs
* Fix problem with archived files
* fix models.yml
* Move download utilities to more appropriate place
* Fix script description
* Update README
* update utilities for broader range of files
* fix loading with no hashsum provided
* remove unnecessary import
* fix for Python2
* Add usage examples for downloadFile function
* Add more secure cache folder selection
* Remove trailing whitespaces
* Fix indentation
* Update function interface
* Change function for temp dir, change entry name in models.yml
* Update getCacheDirectory function call
* Return python implementation for cache directory selection, use more specific env variable
* Fix whitespace
2020-12-11 10:15:32 +00:00
Yosshi999
fdeac73a59
Merge pull request #18983 from Yosshi999:bitexact-gaussian-16U-faster
...
support SIMD for larger symmetric Bit-exact 16U gaussian blur
* support SIMD for bit-exact 16U symmetric gaussian blur
* use tighter SIMD registers
2020-12-11 10:14:15 +00:00
Alexander Alekhin
175cd03ff2
calib3d: fix findCirclesGrid hang
...
- detect case with infinite loop and raise NoConv exception
- handle such exception
- add support for case with missing `blobDetector` (image contains Point2f array of candidates)
- add regression test
- undone rectification for "failed" detections too
- drop redirectError() usage
2020-12-11 07:31:50 +00:00
Jonathan Cole
9f52244574
Merge pull request #19076 from Rightpoint:bugfix/colejd/fix-path-resolution-bugs
...
Fix path resolution bugs for XCFramework builds
* Fix incorrect paths for intermediate frameworks
* Remove unnecessary `./` prepend preventing use of absolute paths
2020-12-11 07:14:28 +00:00
Alexander Alekhin
d6a7f5e1e0
Merge pull request #19075 from alalek:dnn_fix_halide_build
2020-12-10 20:37:37 +00:00
Alexander Alekhin
fce8d8e090
Merge pull request #19074 from alalek:dnn_test_tolerance_east
2020-12-10 20:29:36 +00:00
Alexander Alekhin
8ce08dedfe
Merge pull request #19072 from mshabunin:sink-sync-off
2020-12-10 20:05:47 +00:00
Alexander Alekhin
32377ce57d
android: add -llog for libprotobuf
2020-12-10 20:00:58 +00:00
Alexander Alekhin
d84a9484b7
dnn: fix build with Halide, skip tests with crashes
2020-12-10 18:23:24 +00:00
Alexander Alekhin
8ff27a07bb
dnn(test): adjust EAST test tolerance
2020-12-10 16:39:20 +00:00
Maksim Shabunin
55a2bcbe15
videoio: turn off syncronized sink in GStreamer
2020-12-10 16:07:28 +03:00
Anastasia Murzova
f2422ace7d
Added TF nearest neighbour resize behaviour alignment
...
Relates to OpenCV issue #18721
2020-12-10 15:53:24 +03:00
Giles Payne
d1ea2ad143
CMake version checks for iOS and macOS builds
2020-12-10 21:43:26 +09:00
Alexander Alekhin
3e5d7e1718
imgproc: fix minAreaRect()
2020-12-10 08:57:58 +00:00
Alexander Alekhin
de385009ae
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-09 18:09:00 +00:00
Alexander Alekhin
114848d313
Merge pull request #18712 from mshabunin:doc-update-2
2020-12-09 21:05:17 +03:00
Alexander Alekhin
8286d84fb1
Merge pull request #19061 from alalek:dnn_load_face_detector_with_external_protobuf
2020-12-09 18:03:52 +00:00
Alexander Alekhin
c42d0c8374
Merge pull request #19060 from alalek:issue_18097
2020-12-09 18:02:41 +00:00
Alexander Alekhin
37bfb3c48d
Merge pull request #19059 from alalek:fixup_19000
2020-12-09 18:01:04 +00:00
Alexander Alekhin
b3937288e5
cmake: update MKL library searching
...
- allow to specify MKL_LIBRARIES through command-line
2020-12-09 16:36:15 +00:00
Anatoliy Talamanov
a55150b1bc
Merge pull request #19002 from TolyaTalamanov:at/infer_gframe
...
[G-API] Support GFrame for infer
* GInfer(GFrame), currently broken
* Fixed (API only)
* Support GFrame in GIEBackend
* Fix comments to review
* Fix comments to review
* Fix doxygen
* Fix building with different IE versions
* Fix warning on MacOS
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com >
Co-authored-by: Smirnov Alexey <alexey.smirnov@intel.com >
2020-12-09 14:00:56 +00:00
Alexander Alekhin
7eaa548b6d
flann: drop wrapping of Index class
...
- due to lifetime restrictions on passed 'features' parameter and its dangling pointers
- dangling pointer issue is fixed for OpenCV 4.5.1+
2020-12-09 05:39:35 +00:00
Alexander Alekhin
d7e936de5c
dnn(caffe): add DetectionOutputParameter.clip to .proto file
...
- allow to load opencv_face_detector with external unpatched protobuf
2020-12-09 05:21:07 +00:00
Alexander Alekhin
d2bc0e5fe0
js(wasm): use fallback on missing intrinsics in Emscripten 2.0.0+
2020-12-09 04:19:53 +00:00
Alexander Alekhin
d8107a5125
Merge pull request #18996 from LupusSanctus:am/dnn_bilinear_resize
2020-12-08 21:09:41 +00:00
Anastasia Murzova
a82c50eac2
Added TF resize_bilinear behaviour alignment
...
Fixes OpenCV issue #18721
2020-12-08 22:51:38 +03:00
Alexander Alekhin
7fa9efbfd8
cmake: fix handling of wrappers dependencies
2020-12-08 19:10:04 +00:00
Alexander Alekhin
b5a9ef6b7b
Merge pull request #19052 from diablodale:fix18888-opencl-doc
2020-12-08 18:03:19 +00:00
Alexander Alekhin
8ebe320270
cmake: don't define ENABLE_NEON flags in non-cross-compiling mode
...
- NEON / ANDROID_ARM_NEON are toolchain-specific flags
- they are usually not defined for native builds
- let work CPU_BASELINE=DETECT properly
2020-12-08 18:01:03 +00:00
Alexander Alekhin
fe3893ff01
cmake: don't define ENABLE_NEON flags in non-cross-compiling mode
...
- NEON / ANDROID_ARM_NEON are toolchain-specific flags
- they are usually not defined for native builds
- let work CPU_BASELINE=DETECT properly
2020-12-08 18:00:40 +00:00
Orest Chura
f41327df0c
Merge pull request #18969 from OrestChura:oc/fix_notes_returns
...
[G-API] Multiple return/note fix
* Fix doxygen:
- multiple return
- multiple notes
* Addressing comments
- divide description of split(merge)3/4
2020-12-08 15:44:33 +00:00
Dale Phurrough
f77276311d
clarify opencl execution context doc
...
- fix opencv/opencv#18888
2020-12-08 16:08:53 +01:00
Alexander Alekhin
e8348e5f64
Merge pull request #19046 from alalek:issue_16861
2020-12-08 11:34:20 +00:00
Anton Potapov
da5bfefc78
GAPI: fix Clang warning for dangling references in for loop variable
2020-12-08 14:18:46 +03:00
Alexander Alekhin
619cc01ca1
Merge pull request #19044 from OrestChura:oc/fix_coverity_warn_kmeans
2020-12-08 10:31:31 +00:00
Dale Phurrough
ad94d8cc4f
Merge pull request #19029 from diablodale:fix19004-memthreadstart
...
add thread-safe startup of fastMalloc and fastFree
* add perf test core memory allocation
* fix threading in isAlignedAllocationEnabled()
* tweaks requested by maintainer
2020-12-08 10:05:14 +00:00
Alexander Alekhin
c3cebc3ac5
android: use gradle 5.6.4
2020-12-08 07:18:30 +00:00
Alexander Alekhin
fb85974d01
android: use protected fields in JavaCamera2View
2020-12-08 05:18:21 +00:00
OrestChura
02488c5cbb
Moved G-API output to the first place of arguments in comparison functions
2020-12-08 02:44:01 +03:00
Alexander Alekhin
3377ddaf09
Merge pull request #19041 from alalek:issue_19025
2020-12-07 22:31:53 +00:00
Alexander Alekhin
40ca8f4695
Merge pull request #19035 from berak:fix_dnn_net_dump_colors
2020-12-07 22:11:49 +00:00
Alexander Alekhin
962f5c9b82
videoio(test): skip GStreamer in 'frame_timestamp' tests
...
- CAP_PROP_POS_MSEC is not reliable
2020-12-07 21:35:01 +00:00
Alexander Alekhin
2c634eeef2
Merge pull request #19023 from alalek:core_update_allocator_stats_type
2020-12-07 20:41:37 +00:00
Alexander Alekhin
c6e60f06eb
Merge pull request #19019 from alalek:cmake_avoid_excessive_trace_dump
2020-12-07 20:40:56 +00:00
Alexander Alekhin
e5d2642780
Merge pull request #19015 from alalek:dnn_use_fma
2020-12-07 20:40:21 +00:00
berak
cf28b5e5be
dnn: add another color to Net::Impl::dump()
2020-12-07 17:58:40 +01:00
Maksim Shabunin
c79a1528ad
Added TOC to most of tutorials
2020-12-07 19:13:54 +03:00
Alexander Alekhin
31619faa70
Merge pull request #19021 from alalek:4.x_build_warnings_gcc_4.8.5
2020-12-06 17:22:45 +00:00
Alexander Alekhin
9e6b7f5dc1
videoio: plugins API versioning
2020-12-06 16:19:13 +00:00
Alexander Alekhin
a9f4f8ded4
Merge pull request #19022 from alalek:cmake_avoid_duplication_of_winit_self
2020-12-06 16:14:25 +00:00
joshdoe
541a09b7ac
Merge pull request #18535 from joshdoe:gray16_gstreamer_writing
...
Add CV_16UC1/GRAY16_LE support to GStreamer backend for VideoWriter
* videoio(backend): add Writer_open_with_params to plugin API
This will allow arbitrary parameters to be passed to plugin backends
* videoio(gstreamer): add GRAY16_LE/CV_16UC1 writing support to GStreamer
This introduces a new property VIDEOWRITER_PROP_DEPTH, which defaults to
CV_8U, but for GStreamer can be set to CV_16U.
Also, fix another test to not fail if plugin isn't found, copying logic
from the read_write test.
* videoio(plugin): fix handling plugins with previous API level
* videoio: coding style
* fix warning
2020-12-05 21:28:07 +00:00
Alexander Alekhin
26e8048a0a
core: update handling of allocator stats type
...
- don't use OPENCV_ALLOCATOR_STATS_COUNTER_TYPE definition in non C++11 builds
- don't use with MinGW
2020-12-05 20:54:47 +00:00
Alexander Alekhin
6bfb0dda85
cmake: avoid duplication of -Winit-self flag
2020-12-05 20:18:02 +00:00
Alexander Alekhin
d1b5a78171
build warnings
...
- GCC 4.8.5 / CentOS 7
2020-12-05 20:08:29 +00:00
Alexander Alekhin
753ccd6b17
Merge pull request #19018 from alalek:issue_19016
2020-12-05 19:59:22 +00:00
Alexander Alekhin
8ae1552a5b
cmake: avoid excessive output from cmake --trace/--trace-expand
...
- `cmake . --trace-expand -DCMAKE_TRACE_MODE=1`
2020-12-05 13:29:43 +00:00
Alexander Alekhin
08bee40fa2
samples: replace regex
...
- GCC 4.8.5 doesn't support regex
2020-12-05 12:50:37 +00:00
Alexander Alekhin
00f36a3149
dnn: prefer to use v_fma() instead of v_c += v_a * v_b
2020-12-05 11:51:03 +00:00
Maksim Shabunin
461e26b60b
doc: tutorial refactor
2020-12-05 01:57:36 +03:00
Alexander Alekhin
6fdb7aee84
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-12-04 18:26:58 +00:00
Alexander Alekhin
12a36b5a94
Merge pull request #18955 from alalek:test_debug_flag
2020-12-04 18:10:00 +00:00
Wenqing Zhang
22d64ae08f
Merge pull request #17570 from HannibalAPE:text_det_recog_demo
...
[GSoC] High Level API and Samples for Scene Text Detection and Recognition
* APIs and samples for scene text detection and recognition
* update APIs and tutorial for Text Detection and Recognition
* API updates:
(1) put decodeType into struct Voc
(2) optimize the post-processing of DB
* sample update:
(1) add transformation into scene_text_spotting.cpp
(2) modify text_detection.cpp with API update
* update tutorial
* simplify text recognition API
update tutorial
* update impl usage in recognize() and detect()
* dnn: refactoring public API of TextRecognitionModel/TextDetectionModel
* update provided models
update opencv.bib
* dnn: adjust text rectangle angle
* remove points ordering operation in model.cpp
* update gts of DB test in test_model.cpp
* dnn: ensure to keep text rectangle angle
- avoid 90/180 degree turns
* dnn(text): use quadrangle result in TextDetectionModel API
* dnn: update Text Detection API
(1) keep points' order consistent with (bl, tl, tr, br) in unclip
(2) update contourScore with boundingRect
2020-12-03 18:47:40 +00:00
Alexander Alekhin
e371592f75
Merge pull request #18965 from alalek:cmake_gen_js_code
2020-12-03 18:10:30 +00:00
Alexander Alekhin
84a3654371
Merge pull request #19000 from alalek:cmake_fix_order_of_bindings_generators
2020-12-03 18:08:40 +00:00
Alexander Alekhin
7e5c4fe1cd
cmake(js): update js targets
...
- unconditional js bindings source code generation
- use common name for tests: opencv_test_js
2020-12-03 14:18:54 +00:00
Alexander Alekhin
5ecf693774
Merge pull request #18997 from alalek:disable_github_action_workflow
2020-12-03 16:55:35 +03:00
Alexander Alekhin
773ccc4bf8
Merge pull request #18993 from alalek:issue_18984
2020-12-03 13:55:07 +00:00
Alexander Alekhin
b31ce408ae
cmake: fix processing order of <wrapper>_bindings_generator
...
- ensure that wrapped modules are already processed
2020-12-03 13:01:46 +00:00
Alexander Alekhin
7983c484b2
Merge pull request #18998 from upupming:patch-1
2020-12-03 10:59:59 +00:00
Alexander Alekhin
6502737bd5
Merge pull request #18992 from vertexcite:patch-1
2020-12-03 10:58:47 +00:00
Alexander Alekhin
b98dd728ca
Merge pull request #18966 from Staticity:add_live_timestamps_to_msmf
2020-12-03 10:57:25 +00:00
Randall Britten
7f3ba5963d
Fixed minor typo "poins" in documentation page
2020-12-03 12:46:23 +03:00
Yiming Li
43e58de918
fix: typo
2020-12-03 17:06:41 +08:00
Alexander Alekhin
b7a70fda79
github(actions): manual trigger for arm64-build-checks.yml
2020-12-03 02:21:35 +00:00
Alexander Alekhin
e309ad8465
Merge pull request #18994 from alalek:umat_drop_unavailable_methods
2020-12-02 22:54:47 +00:00
Jaime Rivera
2fa624aef0
Add Timestamps to MSMF Video Capture by index
...
Enable frame timestamp tests for MSMF
Add functional test for camera live timestamps
Remove trailing whitespace
Add timestamp test to all functional tests. Protect div by 0
Add Timestamps to MSMF Video Capture by index
2020-12-02 16:36:09 -05:00
Vadim Pisarevsky
b023fcd264
Merge pull request #18911 from chargerKong:quat
2020-12-02 19:14:47 +00:00
Alexander Alekhin
e958600f32
Merge pull request #18986 from alalek:fix_ipp_17453_2
2020-12-02 19:09:24 +00:00
Alexander Alekhin
484251c52b
Merge pull request #18831 from rjiejie:master-opt@pipeline
2020-12-02 19:07:38 +00:00
Alexander Alekhin
e98c845f0b
Merge pull request #18977 from Rightpoint:objc-collision-fix
2020-12-02 19:06:57 +00:00
Vadim Pisarevsky
e4ed1d08f4
Merge pull request #18462 from joy2myself:riscv_toolchian
2020-12-02 18:38:17 +00:00
Kong Liangqian
8e32566583
Add adding and subtraction operations between a number and a quaternion;
...
fix a typo;
Add documentation of quaternion operators;
Restrict the type of scalar: the same as quaternion;
2020-12-03 01:38:15 +08:00
Alexander Alekhin
512be4ab65
Merge pull request #18991 from alalek:workaround_12959
2020-12-02 17:34:22 +00:00
Alexander Alekhin
6f8120cb3a
core(UMat): drop unavailable methods
2020-12-02 15:02:43 +00:00
Vadim Pisarevsky
a3de45741e
Merge pull request #18971 from GArik:orbbec
2020-12-02 13:33:32 +00:00
Vadim Pisarevsky
7d7d907de7
Merge pull request #18228 from joy2myself:rvv
2020-12-02 13:27:35 +00:00
Alexander Alekhin
c42d47d94a
cmake: clean cached INTERNAL variable used for 3rdparty deps
2020-12-02 12:34:24 +00:00
Alexander Alekhin
d35e2f5339
core(ipp): workaround getIppTopFeatures() value mismatch
2020-12-02 11:33:55 +00:00
Zhangyin
673e4e20f0
Added RISC-V backend of universal intrinsics
2020-12-02 14:25:03 +08:00
Igor Murzov
38a4eaf8a3
Orbbec tutorial: Sync frames from two streams and process depth & color simultaneously
2020-12-02 00:07:28 +03:00
Giles Payne
29b453eb86
Objective-C name clash avoidance
2020-12-01 11:22:57 -08:00
Alexander Alekhin
ef0eed8d3c
Merge pull request #18981 from anton-potapov:fix_gnet_package_compilation_std_17
2020-12-01 17:42:12 +00:00
Alexander Alekhin
91ce6ef190
core(ipp): disable SSE4.2 code path in countNonZero()
2020-12-01 14:01:42 +00:00
Daniel Cauchi
9d37cdaa66
Merge pull request #18891 from CowKeyMan:NMS_boxes_with_different_labels
...
Add option for NMS for boxes with different labels
* DetectionModel impl
* Add option for NMS for boxes with different labels
In the detect function in modules/dnn/include/opencv2/dnn/dnn.hpp, whose implementation can be found at modules/dnn/src/model.cpp, the Non Max Suppression (NMS) is applied only for objects of the same label. Thus, a flag
was added with the purpose to allow developers to choose if they want to keep the default implementation or wether they would like NMS to be applied to all the boxes, regardless of label.
The flag is called nmsDifferentLabels, and is given a default value of false, which applies the current default implementation, thus allowing existing projects to update opencv without disruption
Solves issue opencv#18832
* Change return type of set & Add default constr
* Add assertions due to default constructor
2020-12-01 13:50:24 +00:00
Alexander Alekhin
3f686a6ab8
Merge pull request #18967 from anton-potapov:reuse_move_through_copy
2020-12-01 12:57:06 +00:00
Alexander Alekhin
db3e3a766a
Merge pull request #18978 from Rightpoint:testing-ios-deployment-target
2020-12-01 12:53:53 +00:00
Sergei Slashchinin
9cef41000a
Merge pull request #18973 from sl-sergei:fix_vulkan_build
...
* Fix build when HAVE_VULKAN is ON
* Fix warnings
2020-12-01 12:52:09 +00:00
Alexander Alekhin
fc54853d44
Merge pull request #18972 from Rightpoint:task/colejd/prevent-existing-xcframework-error
2020-12-01 12:36:29 +00:00
Alexander Alekhin
6f5af6eb42
Merge pull request #18982 from anton-potapov:sole_tbb_executor_async_test
2020-12-01 12:34:12 +00:00
Anton Potapov
eb6d8e6af2
TBB executor for GAPI: fix race consition in Async test
...
The test has race condition, which is addressed by the patch.
The race is next:
Master thread is calling execute (effectively blocked, waiting for
callback to be called)
"Async" thread picks up the callback
Call the callback
Then sets the variables in test
After call back is called, master thread is unblocked and may check
the variables (set in point 4 by the "async" thread) earlier then they
actually changed
Changes:
callback should be called as the last step (after flag variables are
set), as it effectively unblock the master thread
fixes #18974
2020-12-01 11:12:36 +03:00
Anton Potapov
446f344818
GAPI: fix C++17 compilation errors in GNetPackage ( fixes #17385 )
...
- explicitly declared default constructor
- made initilizer_list constructor to accept the list by copy
-- as it is more canonical (and as copying the initializer_list does
not force copy of the list items)
-- current version anyway does not do what it is intended to
2020-12-01 09:34:53 +03:00
Chris Ballinger
3c40f87af3
Bump default IPHONEOS_DEPLOYMENT_TARGET to 9.0
2020-11-30 17:34:34 -08:00
Alexander Alekhin
aac30e772f
Merge pull request #18968 from asmorkalov:as/cap_prop_frame_msec_test
2020-11-30 22:49:54 +00:00
Jonathan Cole
69e1167882
Delete xcframework if it already exists before building a new one
2020-11-30 16:51:48 -05:00
Alexander Alekhin
acc142d4ba
Merge pull request #18930 from alalek:issue_18502
2020-11-30 18:22:59 +00:00
Alexander Alekhin
e726ff3296
Merge pull request #18948 from alalek:python_syntax
2020-11-30 18:11:43 +00:00
Anna Khakimova
56568dae31
Merge pull request #18674 from anna-khakimova:ak/backgroundSubtractor
...
GAPI: New BackgroundSubtractor stateful kernel
* New BackgroundSubtractorMOG2 kernel
* Add BS parameters
2020-11-30 18:09:42 +00:00
Alexander Smorkalov
24fac5f56d
Added test for VideoCapture CAP_PROP_FRAME_MSEC option.
...
- Suppressed FFMPEG + h264, h265 as it does not pass tests with CI configuration.
- Suppressed MediaFoundation backend as it always returns zero for now.
2020-11-30 20:08:21 +03:00
Anton Potapov
74b6646737
GAPI: reuse copy_through_move_t in the gasync.cpp file
2020-11-30 16:26:54 +03:00
Orest Chura
986ad4ff06
Merge pull request #18857 from OrestChura:oc/kmeans
...
[G-API]: kmeans() Standard Kernel Implementation
* cv::gapi::kmeans kernel implementation
- 4 overloads:
- standard GMat - for any dimensionality
- GMat without bestLabels initialization
- GArray<Point2f> - for 2D
- GArray<Point3f> - for 3D
- Accuracy tests:
- for every input - 2 tests
1) without initializing. In this case, no comparison with cv::kmeans is done as kmeans uses random auto-initialization
2) with initialization
- in both cases, only 1 attempt is done as after first attempt kmeans initializes bestLabels randomly
* Addressing comments
- bestLabels is returned to its original place among parameters
- checkVector and isPointsVector functions are merged into one, shared between core.hpp & imgproc.hpp by placing it into gmat.hpp (and implementation - to gmat.cpp)
- typos corrected
* addressing comments
- unified names in tests
- const added
- typos
* Addressing comments
- fixed the doc note
- ddepth -> expectedDepth, `< 0 ` -> `== -1`
* Fix unsupported cases of input Mat
- supported: multiple channels, reversed width
- added test cases for those
- added notes in docs
- refactored checkVector to return dimentionality along with quantity
* Addressing comments
- makes chackVector smaller and (maybe) clearer
* Addressing comments
* Addressing comments
- cv::checkVector -> cv::gapi::detail
* Addressing comments
- Changed checkVector: returns bool, quantity & dimensionality as references
* Addressing comments
- Polishing checkVector
- FIXME added
* Addressing discussion
- checkVector: added overload, separate two different functionalities
- depth assert - out of the function
* Addressing comments
- quantity -> amount, dimensionality -> dim
- Fix typos
* Addressing comments
- fix docs
- use 2 variable's definitions instead of one (for all non-trivial variables)
2020-11-30 13:18:43 +00:00
Anton Potapov
95ce8f45ea
Merge pull request #17851 from anton-potapov:sole_tbb_executor
...
* TBB executor for GAPI
- the sole executor
- unit tests for it
- no usage in the GAPI at the momnet
* TBB executor for GAPI
- introduced new overload of execute to explicitly accept tbb::arena
argument
- added more basic tests
- moved arena creation code into tests
-
* TBB executor for GAPI
- fixed compie errors & warnings
* TBB executor for GAPI
- split all-in-one execute() function into logicaly independant parts
* TBB executor for GAPI
- used util::variant in in the tile_node
* TBB executor for GAPI
- moved copy_through_move to separate header
- rearranged details staff in proper namespaces
- moved all implementation into detail namespace
* TBB executor for GAPI
- fixed build error with TBB 4.4.
- fixed build warnings
* TBB executor for GAPI
- aligned strings width
- fixed spaces in expressions
- fixed english grammar
- minor improvements
* TBB executor for GAPI
- added more comments
- minor improvements
* TBB executor for GAPI
- changed ITT_ prefix for macroses to GAPI_ITT
* TBB executor for GAPI
- no more "unused" warning for GAPI_DbgAssert
- changed local assert macro to man onto GAPI_DbgAssert
* TBB executor for GAPI
- file renamings
- changed local assert macro to man onto GAPI_DbgAsse
* TBB executor for GAPI
- test file renamed
- add more comments
* TBB executor for GAPI
- minor clenups and cosmetic changes
* TBB executor for GAPI
- minor clenups and cosmetic changes
* TBB executor for GAPI
- changed spaces and curly braces alignment
* TBB executor for GAPI
- minor cleanups
* TBB executor for GAPI
- minor cleanups
2020-11-30 13:15:13 +00:00
Zhiming-Zeng
4e4458416d
Merge pull request #18064 from akineeic:gsoc_2020_dnn
...
[GSoC] Develop OpenCV.js DNN modules for promising web use cases together with their tutorials
* [Opencv.js doc] Init commit to add image classification example in opencv.js tutorial
* [Opencv.js doc] Make the code snippet interactive and put the functions into code snippet.
* Fix the utils.loadOpenCv for promise module
* [Opencv.js doc] Code modify and fixed layout issue.
* [Opencv.js doc] Add a JSON file to store parameters for models and show in the web page.
* [Opencv.js doc] Change let to const.
* [Opencv.js doc] Init commit to add image classification example with camera in opencv.js tutorial
* [Opencv.js doc] Init commit to add semantic segmentation example in opencv.js tutorial
* [Opencv.js doc] Add object detection example, supprot YOLOv2
* [Opencv.js doc] Support SSD model for object detection example
* [Opencv.js doc] Add fast neural style transfer example with opencv.js
* [Opencv.js doc] Add pose estimation example in opencv.js tutorial
* Delete whitespace for code check
* [Opencv.js doc] Add object detection example with camera
* [Opencv.js doc] Add json files containing model information to each example
* [Opencv.js doc] Add a js file for common function in dnn example
* [Opencv.js doc] Create single function getBlobFromImage
* [Opencv.js doc] Add url of model into webpage
* [OpenCV.js doc] Update UI for running
* [Opencv.js doc] Load dnn model by input button
* [Opencv.js doc] Fix some UI issues
* [Opencv.js doc] Change code format
Co-authored-by: Ningxin Hu <ningxin.hu@intel.com >
2020-11-29 10:09:42 +00:00
Alexander Alekhin
da2978f607
ts: cvtest::debugLevel / --test_debug=<N> option
2020-11-28 13:13:28 +00:00
Anatoliy Talamanov
7521f207b1
Merge pull request #18762 from TolyaTalamanov:at/support-garray
...
[G-API] Wrap GArray
* Wrap GArray for output
* Collect in/out info in graph
* Add imgproc tests
* Add cv::Point2f
* Update test_gapi_imgproc.py
* Fix comments to review
2020-11-27 17:39:46 +00:00
Alexander Alekhin
2155296a13
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-27 14:08:06 +00:00
Alexander Alekhin
23be514886
Merge pull request #18935 from rgarnov:rg/remove_double_handle_new_stream_call
2020-11-27 14:05:01 +00:00
Alexander Alekhin
77b986c7a1
apple/build_xcframework.py: python syntax
...
- make happy old Python linters
2020-11-27 13:54:14 +00:00
Alexander Alekhin
f90673ef4c
Merge pull request #18938 from alalek:issue_18865
2020-11-27 08:55:49 +00:00
Alexander Alekhin
df18431b45
Merge pull request #18285 from YashasSamaga:cuda4dnn-update-tests
2020-11-27 08:26:45 +00:00
Alexander Alekhin
7c78c59e64
Merge pull request #18939 from alalek:unstable_test_18937
2020-11-27 08:21:25 +00:00
Alexander Alekhin
5c987e4c75
Merge pull request #18924 from alalek:4.x-xcode12
...
(4.x) build: Xcode 12 support
* build: xcode 12 support, cmake fixes
* ts: eliminate clang 11 warnigns
* 3rdparty: clang 11 warnings
* features2d: eliminate build warnings
* test: warnings
* gapi: warnings from 18928
2020-11-26 22:56:59 +00:00
Alexander Alekhin
0cc92bd67c
Merge pull request #18922 from alalek:3.4-xcode12
2020-11-26 22:14:55 +00:00
Alexander Alekhin
7efc0011fd
gapi(test): avoid anonymous namespace types as template parameters
2020-11-26 21:37:54 +00:00
Alexander Alekhin
2cf2456f4c
dnn(test): skip unstable GatherMultiOutput OCL_FP16 test
2020-11-26 21:30:21 +00:00
Ruslan Garnov
ece14eae24
Removed redundant call of handleNewStream in streaming executor
2020-11-26 22:46:26 +03:00
Alexander Alekhin
3c9d03c36f
Merge pull request #18929 from alalek:gapi_test_eliminate_rand
2020-11-26 16:03:35 +00:00
Alexander Alekhin
8c5b3c4150
Merge pull request #17077 from i386x:check-negative-values
2020-11-26 15:07:58 +00:00
Alexander Alekhin
36d771affc
python: restore sys.path in bootstrap()
...
- multiprocessing need to start from bootstrap code
- loading may fail due to missing os.add_dll_directory() calls
2020-11-26 13:10:25 +00:00
Alexander Alekhin
7afd48658c
gapi: eliminate std::rand() and RAND_MAX from tests
2020-11-26 10:20:02 +00:00
Alexander Alekhin
387a76ba59
build: xcode 12 support, cmake fixes
2020-11-26 07:54:03 +00:00
Alexander Alekhin
f601e817fe
Merge pull request #18914 from alalek:videoio_fix_missing_get_capture_domain
2020-11-25 13:46:57 +00:00
Alexander Alekhin
3fd0d0dafb
Merge pull request #18918 from gabrielnhn:patch-2
2020-11-25 13:46:37 +00:00
Gabriel Nascarella Hishida
f28895cd6b
doc: Fix example code using deprecated xrange
...
xrange was abandoned and doesn't exist in Python 3. range() works just the same
2020-11-25 09:34:38 -03:00
Alexander Alekhin
d65c6af3a5
Merge pull request #18907 from diablodale:exec_context_create_addref
2020-11-25 09:25:57 +00:00
Dale Phurrough
c08e38acd0
fix missing addref() in ocl::Context::create(str)
...
- fix https://github.com/opencv/opencv/issues/18906
- unable to add related test cases as there is
no public access to Context:Impl refcounts
2020-11-25 01:53:41 +01:00
Alexander Alekhin
0800f6f91b
videoio: add missing getCaptureDomain() methods
2020-11-24 22:26:10 +00:00
Jonathan Cole
85b0fb2a9c
Merge pull request #18826 from Rightpoint:feature/colejd/build-catalyst-xcframework
...
Support XCFramework builds, Catalyst
* Early work on xcframework support
* Improve legibility
* Somehow this works
* Specify ABIs in a place where they won't get erased
If you pass in the C/CXX flags from the Python script, they won't be respected. By doing it in the actual toolchain, the options are respected and Catalyst successfully links.
* Clean up and push updates
* Actually use Catalyst ABI
Needed to specify EXE linker flags to get compiler tests to link to the Catalyst ABIs.
* Clean up
* Revert changes to common toolchain that don't matter
* Try some things
* Support Catalyst build in OSX scripts
* Remove unnecessary iOS reference to AssetsLibrary framework
* Getting closer
* Try some things, port to Python 3
* Some additional fixes
* Point Cmake Plist gen to osx directory for Catalyst targets
* Remove dynamic lib references for Catalyst, copy iOS instead of macos
* Add flag for building only specified archs, remove iOS catalyst refs
* Add build-xcframework.sh
* Update build-xcframework.sh
* Add presumptive Apple Silicon support
* Add arm64 iphonesimulator target
* Fix xcframework build
* Working on arm64 iOS simulator
* Support 2.7 (replace run with check_output)
* Correctly check output of uname_m against arch
* Clean up
* Use lipo for intermediate frameworks, add python script
Remove unneeded __init__.py
* Simplify python xcframework build script
* Add --only-64-bit flag
* Add --framework-name flag
* Document
* Commit to f-strings, improve console output
* Add i386 to iphonesimulator platform in xcframework generator
* Enable objc for non-Catalyst frameworks
* Fix xcframework builder for paths with spaces
* Use arch when specifying Catalyst build platform in build command
* Fix incorrect settings for framework_name argparse configuration
* Prefer underscores instead of hyphens in new flags
* Move Catalyst flags to where they'll actually get used
* Use --without=objc on Catalyst target for now
* Remove get_or_create_folder and simplify logic
* Remove unused import
* Tighten up help text
* Document
* Move common functions into cv_build_utils
* Improve documentation
* Remove old build script
* Add readme
* Check for required CMake and Xcode versions
* Clean up TODOs and re-enable `copy_samples()`
Remove TODO
Fixup
* Add missing print_function import
* Clarify CMake dependency documentation
* Revert python2 change in gen_objc
* Remove unnecessary builtins imports
* Remove trailing whitespace
* Avoid building Catalyst unless specified
This makes Catalyst support a non-breaking change, though defaults should be specified when a breaking change is possible.
* Prevent lipoing for the same archs on different platforms before build
* Rename build-xcframework.py to build_xcframework.py
* Check for duplicate archs more carefully
* Prevent sample copying error when directory already exists
This can happen when building multiple architectures for the same platform.
* Simplify code for checking for default archs
* Improve build_xcframework.py header text
* Correctly resolve Python script paths
* Parse only known args in ios/osx build_framework.py
* Pass through uncaptured args in build_xcframework to osx/ios build
* Fix typo
* Fix typo
* Fix unparameterized build path for intermediate frameworks
* Fix dyanmic info.plist path for catalyst
* Fix utf-8 Python 3 issue
* Add dynamic flag to osx script
* Rename platform to platforms, remove armv7s and i386
* Fix creation of dynamic framework on maccatalyst and macos
* Update platforms/apple/readme.md
* Add `macos_archs` flag and deprecate `archs` flag
* Allow specification of archs when generating xcframework from terminal
* Change xcframework platform argument names to match archs flag names
* Remove platforms as a concept and shadow archs flags from ios/osx .py
* Improve documentation
* Fix building of objc module on Catalyst, excluding Swift
* Clean up build folder logic a bit
* Fix framework_name flag
* Drop passthrough_args, use unknown_args instead
* minor: coding style changes
Co-authored-by: Chris Ballinger <cballinger@rightpoint.com >
2020-11-24 21:54:54 +00:00
Maxim Pashchenkov
19d825aa16
Merge pull request #18904 from mpashchenkov:mp/ocv-gapi-skip-gm-tests
...
G-API: Adding skip for GraphMeta tests
* Added skip for GraphMeta tests
* Removed false
2020-11-24 17:51:02 +00:00
Sergei Slashchinin
f4f462c50b
Merge pull request #18862 from sl-sergei:support_pool1d
...
Support for Pool1d layer for OpenCV and OpenCL targets
* Initial version of Pool1d support
* Fix variable naming
* Fix 1d pooling for OpenCL
* Change support logic, remove unnecessary variable, split the tests
* Remove other depricated variables
* Fix warning. Check tests
* Change support check logic
* Change support check logic, 2
2020-11-24 16:52:45 +00:00
Alexander Alekhin
e1a8fc0417
Merge pull request #18905 from alalek:objc_fix_return_type_handling
2020-11-24 11:39:01 +00:00
Alexander Alekhin
eafe6ccdbe
objc: fix handling of std::vector<std::vector<T>> return type
2020-11-23 19:16:23 +00:00
Alexander Alekhin
359ecda4fc
Merge pull request #18896 from alalek:cmake_fix_eigen_detection
2020-11-23 17:19:18 +00:00
Alexander Alekhin
bf0846f0ea
Merge pull request #18895 from oravital7:flip-module
2020-11-23 17:18:59 +00:00
Alexander Alekhin
0401d5920c
Merge pull request #18845 from joegeisbauer:fix_reduce_mean_index_error
2020-11-23 17:03:47 +00:00
Alexander Alekhin
ac418e999d
cmake: update condition for find_package(Eigen3 CONFIG)
2020-11-22 16:28:53 +00:00
Alexander Alekhin
ae42815b7d
Merge pull request #18887 from HollowMan6:patch-1
2020-11-22 14:40:30 +00:00
Or Avital
5a3a915a9b
Remove unnecessary condition (will never reach)
2020-11-22 14:19:20 +02:00
Hollow Man
632a08ff40
Fix typo in docs
...
adatapted -> adapted
2020-11-22 00:38:37 +08:00
YashasSamaga
0f8ab0557e
enable fusion tests, update thresholds and fix missed eltwise fusions
2020-11-21 17:35:20 +05:30
Alexander Alekhin
1b3dd8f38b
Merge pull request #18882 from alalek:build_warning_calib3d_drop_register
2020-11-20 22:46:31 +00:00
Jiri Kucera
ce31c9c448
core(matrix): Negative values checks
...
Add checks that prevents indexing an array by negative values.
2020-11-20 22:51:06 +01:00
Alexander Alekhin
bc434e8f67
calib3d: eliminate 'register' build warning
2020-11-20 20:32:59 +00:00
Alexander Alekhin
0105f8fa38
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-20 20:32:00 +00:00
Joe
e05c2e0f1d
Fix Reduce Mean error for MobileNets DNN
...
Fix for index error for Reduce Mean
Correct Reduce Mean indexing error
2020-11-20 11:17:02 -06:00
Nathan Godwin
2255973b0f
Merge pull request #18371 from nathanrgodwin:sqpnp_dev
...
Added SQPnP algorithm to SolvePnP
* Added sqpnp
* Fixed test case
* Added fix for duplicate point checking and inverse func reuse
* Changes for 3x speedup
Changed norm method (significant speed increase), changed nearest rotation computation to FOAM
* Added symmetric 3x3 inverse and unrolled loops
* Fixed error with SVD
* Fixed error from with indices
Indices were initialized negative. When nullspace is large, points coplanar, and rotation near 0, indices not changed.
2020-11-20 11:25:17 +00:00
Julien
ac24a72e66
Merge pull request #18841 from JulienMaille:patch-2
...
Fixing dnn Resize layer for variable input size
* Fix onnx loading of resize/upsample layers for different opset
* group all DynamicResize tests
* cleaned up scales checks
* Simplify branching
2020-11-20 11:14:00 +00:00
Alexander Alekhin
049b50d9c0
Merge pull request #18858 from fegorsch:improve-persistence-doc
2020-11-20 11:12:25 +00:00
Alexander Alekhin
12fd382fec
Merge pull request #18868 from mpashchenkov:mp/onnx-small-cmake-fix
2020-11-20 08:37:21 +00:00
Felix Gorschlüter
c996fd1c06
Small improvements to persistence-API doc
2020-11-20 10:49:51 +03:00
Jonathan Cole
c4c9cdd2b1
Merge pull request #18855 from Rightpoint:feature/colejd/add-apple-conversions-to-framework-builds
...
Expose CGImage <-> Mat conversion for iOS platforms
* Add apple_conversions to framework builds
This exposes CGImage <-> Mat conversion.
* Export Mat <-> CGImage methods on iOS targets
* Add CGImage converters to iOS objc helper class
* Add CF_RETURNS_RETAINED annotations to methods returning CGImageRef
2020-11-19 21:20:32 +00:00
Maxim Pashchenkov
34c4e454c5
Added small cmake fix
2020-11-19 21:22:19 +03:00
chargerKong
11cfa64a10
Merge pull request #18335 from chargerKong:master
...
Ordinary quaternion
* version 1.0
* add assumeUnit;
add UnitTest;
check boundary value;
fix the func using method: func(obj);
fix 4x4;
add rodrigues vector transformation;
fix mat to quat;
* fix blank and tab
* fix blank and tab
modify test;cpp to hpp
* mainly improve comment;
add rvec2Quat;fix toRodrigues;
fix throw to CV_Error
* fix bug of quatd * int;
combine hpp and cpp;
fix << overload error in win system;
modify include in test file;
* move implementation to quaternion.ini.hpp;
change some constructor to createFrom* function;
change Rodrigues vector to rotation vector;
change the matexpr to mat of 3x3 return type;
improve comments;
* try fix log function error in win
* add enums for assumeUnit;
improve docs;
add using std::cos funcs
* remove using std::* from header;
add std::* in affine.hpp,warpers_inl.hpp;
* quat: coding style
* quat: AssumeType => QuatAssumeType
2020-11-19 16:59:33 +00:00
Alexander Alekhin
adafb20d1e
Merge pull request #18854 from GArik:orbbec
2020-11-19 12:00:59 +00:00
Ian Maquignaz
bb067c7ebf
Merge pull request #18849 from IanMaquignaz:fix_findFundamentalMat_parameters
...
Minimum change to address issue #18837
2020-11-19 11:20:20 +00:00
Alexander Alekhin
599bb9c457
Merge pull request #18848 from IanMaquignaz:fixEpipolarGeometryTutorial
2020-11-19 11:18:03 +00:00
Alexander Alekhin
dbfa1bfba4
Merge pull request #18863 from l-bat:lb/fix_test
2020-11-19 11:01:14 +00:00
Igor Murzov
f8c7862f69
Add tutorial on how to use Orbbec Astra 3D cameras
2020-11-19 13:31:22 +03:00
Liubov Batanina
b86f129393
Fixed Test_Model.DetectionOutput
2020-11-19 12:11:52 +03:00
Jojo R
12b8d542b7
norm.cpp(normL2Sqr_): improve performance of pipeline
...
The most of target machine use one type cpu unit resource
to execute some one type of instruction, e.g.
all vx_load API use load/store cpu unit,
and v_muladd API use mul/mula cpu unit, we interleave
vx_load and v_muladd to improve performance on most targets like
RISCV or ARM.
2020-11-19 09:49:49 +08:00
Ian Maquignaz
fef23768fe
Fixed issue with Epipolar Geometry Tutorial
2020-11-18 12:34:27 -05:00
Alexander Alekhin
328883b6ea
Merge pull request #18675 from sturkmen72:update-documentation
2020-11-18 16:50:35 +00:00
Alexander Alekhin
87ed750510
Merge pull request #17839 from malliaridis:master
2020-11-18 16:48:36 +00:00
Suleyman TURKMEN
cc7f17f011
update documentation
2020-11-18 17:07:04 +03:00
Christos Malliaridis
3c25fd1ba5
Update and expand erosion / dilation tutorial
...
- Add python explanation for erosion and dilation
- Add java explanation for erosion and dilation
- Restructure and reword specific sections
2020-11-18 13:32:24 +01:00
Alexander Alekhin
e8536c4a0e
Merge pull request #18825 from alalek:update_version_4.5.1-pre
2020-11-18 14:20:22 +03:00
Alexander Alekhin
2687a2b6dc
pre: OpenCV 4.5.1 (version++)
2020-11-18 11:04:54 +00:00
Alexander Alekhin
aab6362705
Merge pull request #18838 from alalek:video_tracking_api
...
Tracking API: move to video/tracking.hpp
* video(tracking): moved code from opencv_contrib/tracking module
- Tracker API
- MIL, GOTURN trackers
- applied clang-format
* video(tracking): cleanup unused code
* samples: add tracker.py sample
* video(tracking): avoid div by zero
* static analyzer
2020-11-18 11:04:15 +00:00
Maxim Pashchenkov
94e8a08d1d
Merge pull request #18819 from mpashchenkov:mp/ocv-gapi-skip-centos-tests
...
G-API: Adding a skip for failed streaming tests
* Skip tests
* Pathfinding
* Pathfinding part 2
* Pathfinding part 3
* Fix review comments
2020-11-17 22:57:57 +00:00
Alexander Alekhin
ce8027c6fb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-17 21:56:26 +00:00
Alexander Alekhin
301c078d19
Merge pull request #18824 from alalek:update_version_3.4.13-pre
2020-11-18 00:51:21 +03:00
Alexander Alekhin
9485113923
pre: OpenCV 3.4.13 (version++)
2020-11-17 21:50:30 +00:00
Alexander Alekhin
9acbfc6e05
Merge pull request #18711 from alalek:dnn_fix_model_public_api
2020-11-17 21:47:59 +00:00
Alexander Alekhin
4f3130f562
Merge pull request #18145 from sl-sergei:fix_17914
2020-11-17 21:46:08 +00:00
Alexander Alekhin
a783bf4a93
Merge pull request #18839 from alalek:update_libjpeg-turbo
...
3rdparty: libjpeg-turbo 2.0.5 => 2.0.6
2020-11-18 00:14:55 +03:00
Alexander Alekhin
f7e8dc770a
Merge pull request #18834 from l-bat:update_reducemax
2020-11-17 21:14:10 +00:00
Alexander Alekhin
34909d97b4
Merge pull request #18840 from alalek:dnn_test_skip_myriad_gather_multi_output
2020-11-17 23:45:37 +03:00
Alexander Alekhin
474a67231c
dnn(test): skip gather_multi_output test on Myriad
2020-11-17 19:52:07 +00:00
Omar Alzaibaq
a316b11aaa
Merge pull request #18220 from Omar-AE:hddl-supported
...
* added HDDL VPU support
* changed to return True in one line if any device connected
* dnn: use releaseHDDLPlugin()
* dnn(hddl): fix conditions
2020-11-17 19:47:24 +00:00
Alexander Alekhin
b645fc10a3
Merge pull request #18782 from alalek:issue_18779
2020-11-17 19:13:15 +00:00
Alexander Alekhin
8e1e08ee38
Merge pull request #18833 from sl-sergei:disable_conv1d_wb_test
2020-11-17 19:11:38 +00:00
Alexander Alekhin
d266fee8bb
3rdparty: libjpeg-turbo 2.0.5 => 2.0.6
...
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.6
2020-11-17 18:28:52 +00:00
Alexander Alekhin
8357e865bc
Merge pull request #18828 from ichisadashioko:fix-calibration-sample-typo
2020-11-17 17:13:43 +00:00
Orest Chura
2c6a2f0381
Merge pull request #18790 from OrestChura:oc/fitLine
...
[G-API]: fitLine() Standard Kernel Implementation
* fitLine API (Mat, 32S, 32F) (2D, 3D)
* Complete fitLine kernel & accuracy tests
- initialization for vectors of cv::Point and Mats via vectors added
- comparison functions for Vec<T, n> added:
- straight average difference comparison
- comparison by equasion for 2d line
- stream overload for cv::DistanceTypes added
* Fix precommit warnings
* Fix docs
* Address comments
Try to fix warning
* Disable warning in tests
2020-11-17 15:59:59 +00:00
shioko
fe9a8ebea2
Fix typo 'Applicatioin'
2020-11-17 15:02:55 +00:00
Dmitry Matveev
b866d0dc38
Merge pull request #18793 from dmatveev:dm/in_graph_metadata
...
G-API: Introduce runtime in-graph metadata
* G-API: In-graph metadata -- initial implementation
* G-API: Finish the in-graph metadata implementation for Streaming
* G-API: Fix standalone build & warnings for in-graph metadata
* G-API: In-graph meta -- fixed review comments
* G-API: Fix issues with desync causing failing tests
2020-11-17 14:04:19 +00:00
Alexander Alekhin
2b558a3787
core: fix F16C compilation check
2020-11-17 12:22:49 +00:00
Liubov Batanina
72d06080c6
[ONNX] Added Reduce ops for batch and channel
2020-11-17 14:45:36 +03:00
Sergey Slashchinin
3cdf926454
disable Conv1d test on NGRAPH/MYRIAD
2020-11-17 14:33:39 +03:00
Alexander Alekhin
23baf1a75e
dnn: fix High-Level public API (cv::dnn::Model class)
...
- proxy selected Net methods only (don't derive from Net directly)
- default Model ctor is protected
2020-11-17 11:01:31 +00:00
Alexander Alekhin
025a9647af
Merge pull request #18830 from l-bat:issue_18785
2020-11-17 10:40:53 +00:00
Sergey Slashchinin
32e7ef8a3d
Add fixes and tests for different layers
2020-11-17 13:39:32 +03:00
Sergei Slashchinin
2b82f8f12c
Merge pull request #18296 from sl-sergei:fix_16783
...
Fix loading issue for Faster RCNN model from #16783
* Add a reproducer with multi-output Gather
* Fix an issue with ONNX graph simplifier
* fix build
* Move checks to correct class
* Minor changes for better code appearence
2020-11-17 09:52:08 +00:00
Alexander Alekhin
b5c162175b
Merge pull request #18823 from alalek:issue_contrib_2750
2020-11-17 09:47:39 +00:00
Alexander Alekhin
60c76cc289
Merge pull request #18822 from alalek:java_workaround_base_class_issue
2020-11-17 09:47:04 +00:00
Alexander Alekhin
efd556b1a9
Merge pull request #18818 from alalek:objc_skip_nested_classes_namespaces
2020-11-17 09:44:46 +00:00
Liubov Batanina
3a184ae677
[ONNX] Added handler for int32 tensors
2020-11-17 10:17:06 +03:00
Alexander Alekhin
b4b2a276c8
Merge pull request #18756 from andy-held:add_ueye_capture
2020-11-16 22:28:54 +00:00
Alexander Alekhin
464d53bb16
python: emit "string" => "std::string"
2020-11-16 21:34:42 +00:00
Alexander Alekhin
4c9e3723e8
objc: skip unsupported inner namespaces
2020-11-16 19:52:16 +00:00
Maxim Pashchenkov
06477743ab
Merge pull request #18744 from mpashchenkov:mp/onnx-dynamic-input-tensor
...
G-API: ONNX. Support tensor input for CNN with dynamic input
* Added support for dynamic input tensor, refactored one input/output tests
* Added multiple input/output fixture, test for mobilenet
* Removed whitespace
* Removed mistake in inferROI
* Small fixes
* One more fix
* Code cleanup
* Code cleanup X2
* bb rstrt
* Fix review comments
* One more fix review comments
* Mistake
2020-11-16 19:24:55 +00:00
Alexander Alekhin
e4a9ad1730
Merge pull request #18688 from rgarnov:rg/add_gmatdesc_s11n_nd_test
2020-11-16 19:18:38 +00:00
Alexander Alekhin
d0b6637c1d
Merge pull request #18720 from rgarnov:rg/nd_rmat_view
2020-11-16 12:05:08 +00:00
Ruslan Garnov
58268b6eef
Added ND GMatDesc serialization test
2020-11-16 13:03:18 +03:00
Alexander Alekhin
14aa8affe5
Merge pull request #18811 from alalek:objc_headers_import
2020-11-16 09:52:26 +00:00
Alexander Alekhin
56074c2eb3
Merge pull request #18763 from GArik:orbbec
2020-11-16 09:12:25 +00:00
Alexander Alekhin
3da1e8b2f8
Merge pull request #18805 from alalek:cmake_objc_generator
2020-11-16 08:44:14 +00:00
Alexander Alekhin
786cecfe66
Merge pull request #18817 from alalek:fixup_objc_tests
2020-11-16 07:58:48 +00:00
Alexander Alekhin
dde3cb3b99
java: workaround handling of base class
2020-11-16 06:03:30 +00:00
Alexander Alekhin
24f2b7dd3f
objc(test): repair binary resource files
2020-11-16 05:22:45 +00:00
Alexander Alekhin
936530f795
Merge pull request #18808 from alalek:objc_robust_binding_code
2020-11-15 21:36:14 +00:00
Alexander Alekhin
cfbdbffcad
objc: rework headers import
...
- 'AdditionalImports' can be removed from misc/objc/gen_dict.json
- avoid using of legacy 'opencv.hpp'
2020-11-15 05:24:01 +00:00
Alexander Alekhin
71db9d3b57
Merge pull request #18801 from alalek:java_improve_nested_classes_namespaces
2020-11-14 22:55:33 +00:00
Alexander Alekhin
b455e1cf52
Merge pull request #18810 from AntonVeselskyi:bugfix-18807
2020-11-14 22:48:49 +00:00
Alexander Alekhin
564d1a0f79
Merge pull request #18802 from aitikgupta:typo
2020-11-14 22:46:48 +00:00
Alexander Alekhin
90bea15e35
objc: robust code generation
...
- the same generated code from Python2/3
- avoid randomized output due to unpredictable dict/set order
2020-11-14 22:31:47 +00:00
Alexander Alekhin
892cac9e1b
Merge pull request #18809 from alalek:objc_string
2020-11-14 22:13:27 +00:00
Anton Veselskyi
f58f36dc88
Changed sample code, fixes #18807
2020-11-14 23:29:51 +02:00
Alexander Alekhin
9e84b860f2
cmake: update objc generator scripts
...
- allow to run generator without strong requirement of building 'objc' module
2020-11-14 20:59:55 +00:00
Alexander Alekhin
2e7ef6f4e8
objc: fix std::string handling
...
- arg types may be passed as string instead of std::string
2020-11-14 20:01:58 +00:00
Alexander Alekhin
cea137f313
Merge pull request #18806 from quaresmajose:cmake
2020-11-14 18:17:31 +00:00
Jose Quaresma
79a82013ad
samples: cmake: digits needs opencv_dnn module to build
...
Intrudeced in commit 397ba2d9aa :
add OpenCV sample for digit and text recongnition, and provide multiple OCR models.
https://github.com/opencv/opencv/commit/397ba2d9aafb5312e777ce2f886d7b568109e931
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com >
2020-11-14 09:36:43 +00:00
Aitik Gupta
05c011e842
Small typo-fix
2020-11-14 10:54:15 +05:30
Alexander Alekhin
3826158547
java: 'namespace_' class prefix, support inner classes
...
- support multi-level namespaces
- support inner classes (Params)
- reduce scope of 'using namespace' in JNI C++ code
2020-11-13 23:21:03 +00:00
Alexander Alekhin
a7c150ec66
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-13 22:29:14 +00:00
Sergei Slashchinin
61144f935e
Merge pull request #18783 from sl-sergei:fix_conv1d
...
Add support for Conv1D on OpenCV backend
* Add support for Conv1D on OpenCV backend
* disable tests on other targets/backends
* Fix formatting
* Restore comment
* Remove unnecessary flag and fix test logic
* Fix perf test
* fix braces
* Fix indentation, assert check and remove unnecessary condition
* Remove unnecessary changes
* Add test cases for variable weights and bias
* dnn(conv): fallback on OpenCV+CPU instead of failures
* coding style
2020-11-13 22:22:10 +00:00
Alexander Alekhin
d23435baac
Merge pull request #18798 from alalek:java_robust_binding_code
2020-11-13 21:26:23 +00:00
Alexander Alekhin
389495f76a
Merge pull request #18499 from RidgeRun:optional-gstreamer-mainloop
2020-11-13 21:07:30 +00:00
Andreas Franek
a3f3fbe05d
add rudimentary support for uEye cameras
...
uEye are cameras from IDS, c.f. https://en.ids-imaging.com/
Supports driver version 4.94 and up currently, since the event system was overhauled there.
Supports setting/getting the properties: fps,width,height
2020-11-13 18:38:51 +01:00
Chris Ballinger
4d00ed8df7
Merge pull request #18771 from chrisballinger:xcode-12-fixes
...
Xcode 12 and Python 2/3 fixes
* Fix compilation issues using Xcode 12 on macOS Catalina
* Fix macOS scripts to work on Python 2 or 3
* Fix additional issues with Python 3
* Fix additional Python 2/3 issue
* Fix another Python 2/3 issue
* Remove dependency on builtins module
2020-11-13 15:30:53 +00:00
Alexander Alekhin
41e906d1a4
Merge pull request #18729 from rgarnov:rg/extend_parse_yolo
2020-11-13 15:18:55 +00:00
Alexander Alekhin
41c2669476
java: robust code generation
...
- the same generated code from Python2/3
- avoid randomized output due to unpredictable dict/set order
2020-11-13 13:42:26 +00:00
Ruslan Garnov
0e4b5b88dc
Added support of 1x1x1xN input for parseYolo
2020-11-13 16:20:45 +03:00
Igor Murzov
011d8e80d8
videoio: Support Orbbec Astra 3D cameras using OpenNI2 API
...
Only depth sensor is supported. Color sensor is accessible as a
regular UVC camera.
2020-11-13 16:08:06 +03:00
Alexander Alekhin
1f8f0abe92
Merge pull request #18795 from aitikgupta:stiching-bug
2020-11-13 11:20:37 +00:00
Aitik Gupta
d9c5b85671
Use in-place sort
2020-11-13 09:00:54 +05:30
Alexander Alekhin
76cf31bee7
Merge pull request #18786 from mshabunin:fix-kw-2
2020-11-12 15:41:18 +00:00
Alexander Alekhin
ed3591ed1f
Merge pull request #18774 from alalek:bindings_namespace_inline
2020-11-12 12:23:37 +00:00
Maksim Shabunin
d986cc4861
calib3d: uninitialzed fields in usac
2020-11-12 13:38:26 +03:00
Ruslan Garnov
724001aa0f
Added multidimensional RMat::View steps
2020-11-12 13:15:02 +03:00
Alexander Alekhin
5564d73071
Merge pull request #18770 from mshabunin:fix-kw-1
2020-11-11 16:14:15 +00:00
Orest Chura
3fc1c73064
Merge pull request #18510 from OrestChura:oc/boundingRect
...
[G-API]: findContours() and boundingRect() Standard Kernels Implementation
* Add findContours() standard kernel
- API and documentation provided:
- as OpenCV provides two overloads whether to calculate hierarchy or not, but they differ by only the output in sight of G-API, two different G-API functions and kernels implemented
- G-API Imgproc documentation divided into more parts according to imgproc module parts
- some typos connected with division into parts corrected
- `GArray<GArray<U>>` overload for `get_out` function provided to coonvert correctly into `vector<vector<U>>`
- OCV backend supported
- accuracy tests provided
* Add boundingRect() standard kernel
- API and documentation provided:
- GOpaque<Rect> used as an output
- as OpenCV provides two possibilities whether to take a gray-scale image or a set of 2D points (`Point2i` or `Point2f` supported), three different overloads of a single G-API function and three kernels implemented
- for a gray-scale image the overload via `GMat`
- for a set of `Point2i` - the one via GArray<`Point2i`>
- set of `Point2f` -> GArray<`Point2f`>
- OCV backend supported
- accuracy tests provided
- comparison function for Rects provided
- some typos in `gapi_tests_common` corrected
* Fix precommit windows warnings
* - Addressing comments:
- split tests
- Fix Windows warnings
* Static_cast for warnings
* - Remove randomness
- Fix unnecessary precision losses
* - Forgot reference for RNG
* addressing comments
* equalizeHist -> no group
* `const` addedin new functions
* Address suggestions:
- Hierarchical -> H
- added cv::GMatDesc::isVectorPoins()
- added support of giving a set of points to boundingRect()
* Addressing comments
- IoU comparison function added for Rects
- isPointsVector moved from a GMatDesc method to a separate function in imgproc.hpp
- enums instead of int
- typos corrected
* Addressing comments
- findContours: Point offset -> GOpaque<Point>
- removed "straight" comparison for Rects, IoU available only
- changed vectors initialization -> fix Debug test run
- Some typos
* added comment for later upgrades
* Fix not to corrupt docs by FIXME
* Addressing commens
- overload without offset added (as a temporary workaround)
- checkMetaForFindingContours -> validateFindingContoursMeta
- added ostream overload for enums used in tests
2020-11-11 12:13:10 +00:00
Maksim Shabunin
1b0dca9c2c
Fix issues found by static analysis
2020-11-11 13:59:01 +03:00
Alexander Alekhin
5dae278652
bindings: "inline namespace"
2020-11-11 10:38:15 +00:00
Alexander Alekhin
ef32d7fd16
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-10 20:09:18 +00:00
Alexander Alekhin
30d91e8ed6
Merge pull request #18765 from GArik:tutorials
2020-11-10 20:08:29 +00:00
Orest Chura
5f1ca33c6f
Merge pull request #18652 from OrestChura:oc/morphologyEx
...
[G-API]: morphologyEx() Standard Kernel Implementation
* cv::gapi::morphologyEx() kernel
- implemented (without separate 3x3 version)
- tests added: check only different operations, not kernels/borders
* Address comments: add `const` where needed
* Replaced fundamental tyeps -> enums where needed
- added operator<< overload for cv::MorphTypes for tests output
2020-11-10 18:57:52 +00:00
Alexander Alekhin
c69417149d
Merge pull request #18764 from alalek:doxygen_image_path
2020-11-10 18:55:10 +00:00
Igor Murzov
08271e5591
Fix code snippets inclusion into video tutorials
...
Code snippets need a section marked with ### above to render properly
2020-11-10 21:54:23 +03:00
Alexander Alekhin
a104e7c593
doxygen: adjust IMAGE_PATH, allow custom OPENCV_DOCS_EXTRA_IMAGE_PATH
...
- add opencv/modules
- add opencv_contrib/modules
2020-11-10 12:43:46 +00:00
Alexander Alekhin
c3e7a23da5
Merge pull request #18752 from alalek:dnn_defines_openvino_2021.1.0
2020-11-08 18:09:52 +00:00
Alexander Alekhin
083edb201c
Merge pull request #18753 from catree:fix_FindOpenBLAS_typo
2020-11-08 18:09:27 +00:00
catree
df7bf9a048
Fix typo in OpenCVFindOpenBLAS.cmake file.
2020-11-08 14:42:47 +01:00
Alexander Alekhin
bed5debca6
dnn: use OpenVINO 2021.1 defines
2020-11-07 17:27:33 +00:00
Alexander Alekhin
caa1658a4c
Merge pull request #18746 from alalek:backport_18741
2020-11-07 15:47:15 +00:00
Roman Kazantsev
bb5b628cce
Use explicit opset of Unsqueeze from nGraph
...
backporting commit eb24575e2c
2020-11-06 22:29:35 +00:00
Alexander Alekhin
e12adcdf08
Merge pull request #18742 from AsyaPronina:asyadev/fix_preprocessing_for_import_network
2020-11-06 16:39:03 +00:00
Alexander Alekhin
127a44f2b9
Merge pull request #18732 from junxnone:master
2020-11-06 16:36:58 +00:00
Alexander Alekhin
527cedd848
Merge pull request #18741 from rkazants:fix/rkazants/39665_unsqueeze
2020-11-06 13:26:25 +00:00
Anastasiya Pronina
ec5065eb53
Fixed Inputs/OutputsDataMap conversion
2020-11-06 15:43:56 +03:00
Alexander Alekhin
90524a8528
Merge pull request #18740 from rgarnov:rg/fix_rmat_media_missing_in_standalone
2020-11-06 10:11:17 +00:00
junxnone
ad71a1633c
fix truncate threshold example display issue in py_tutorials
...
Signed-off-by: junxnone <junchen0102@gmail.com >
2020-11-06 16:38:03 +08:00
Roman Kazantsev
eb24575e2c
Use explicit opset of Unsqueeze from nGraph
...
The change is needed due to removing default opset namespace for Unsqueeze
in the scope of this refactoring activity: https://github.com/openvinotoolkit/openvino/pull/2767
Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com >
2020-11-06 09:51:40 +03:00
Ruslan Garnov
d9877efe1d
Added rmat.cpp and media.cpp to files being built in standalone
2020-11-06 01:59:09 +03:00
Alexander Alekhin
7459613623
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-05 18:59:10 +00:00
Alexander Alekhin
fb69620a27
Merge pull request #18699 from alalek:support_ceres_2.0.0
2020-11-05 18:55:57 +00:00
Alexander Alekhin
a6e15b2f57
cmake: prefer using Eigen configuration files
...
- for better compatibility with Ceres 2.0.0 CMake scripts
2020-11-05 17:01:23 +00:00
Alexander Alekhin
39ecd96b09
Merge pull request #18736 from mshabunin:mfx-frame-size-34
2020-11-05 17:00:35 +00:00
Maksim Shabunin
21a8d9569d
videoio: added frameSize to MFX capture
2020-11-05 17:40:48 +03:00
Alexander Alekhin
07736c912f
Merge pull request #18719 from dmatveev:dm/upstream_desync_fix
2020-11-05 11:20:08 +00:00
Alexander Alekhin
24d60da553
Merge pull request #18724 from S-o-T:fix_confusing_naming_for_keypoints_comparator
2020-11-03 20:20:12 +00:00
Mark Shachkov
039795b405
Change naming of keypoints comparator
2020-11-03 21:54:56 +03:00
Dmitry Matveev
a110ede0a2
Merge pull request #18716 from dmatveev:dm/upstream_onnx
...
* G-API: Introduce ONNX backend for Inference
- Basic operations are implemented (Infer, -ROI, -List, -List2);
- Implemented automatic preprocessing for ONNX models;
- Test suite is extended with `OPENCV_GAPI_ONNX_MODEL_PATH` env for test data
(test data is an ONNX Model Zoo repo snapshot);
- Fixed kernel lookup logic in core G-API:
- Lookup NN kernels not in the default package, but in the associated
backend's aux package. Now two NN backends can work in the same graph.
- Added Infer SSD demo and a combined ONNX/IE demo;
* G-API/ONNX: Fix some of CMake issues
Co-authored-by: Pashchenkov, Maxim <maxim.pashchenkov@intel.com >
2020-11-03 18:39:16 +00:00
Anatoliy Talamanov
2a3cdba724
Merge pull request #18701 from TolyaTalamanov:at/introduce-config-for-ie-params
...
Expand ie::Params to support config
* Add config to IE params
* Add test
* Remove comments from tests
* Rename to pluginConfig
* Add one more overloads for pluginConfig
* Add more tests
2020-11-03 17:47:05 +00:00
Dmitry Matveev
099ad1a259
G-API: Desync -- fix the queue saturation problem
...
Set queue size = 1 to Copy island right after the desync.
In this case, Copy won't read more data from a "last_written"
container than required, while feeding the desynchronized path.
Sometimes Copy don't get fused into an island and behaves
on its own -- in this case, it reads more data in advance
so the slow (desync) part actually processes some data in-sync
(more than actually required)
2020-11-03 14:26:32 +03:00
Alexander Alekhin
6df92b3bca
Merge pull request #18651 from AsyaPronina:asyadev/add_possibility_to_check_that_gcompilearg_has_serialize
2020-11-02 17:58:50 +00:00
AsyaPronina
48ccbe39b4
Changed behaviour of cv::gapi::serialize, cv::gapi::deserialize for GCompileArgs
...
- cv::gapi::serialize bypasses compile arguments which have no S11N specialization with serialize/deserialize callbacks for underlying types
- cv::gapi::deserialize can accept arbitraty number of serialized compile args in a stream but will return only those which are requested by user via template parameter pack if they are presented in the stream. If some or all of them are not presented cv::gapi::deserialize will ignore and return only those which are presented
- cv::gapi::deserialize can accept only types which can be deserialized (have S11N<T> specialization with the user callbacks)
- Added cv::gapi::s11n::detail::has_S11N_spec<T> trait to separate compile arguments which have S11N<T> specialization with the user callbacks
2020-11-02 18:55:54 +03:00
Alexander Alekhin
716450ceb5
Merge pull request #18158 from legrosbuffle:3.4-vectorize-dft-radix
2020-10-30 22:05:50 +00:00
Alexander Alekhin
691c3d1e3c
Merge pull request #18673 from dmatveev:dm/upstream_desync
2020-10-29 18:55:24 +00:00
Dmitry Matveev
ca8bb8d053
G-API: Introduce streaming::desync and infer(ROI)
...
- desync() is a new (and for now, the only one) intrinsic
which splits the graph execution into asynchronous parts
when running in Streaming mode;
- desync() makes no effect when compiling in Traditional mode;
- Added tests on desync() working in various scenarios;
- Extended GStreamingExecutor to support desync(); also extended
GStreamingCompiled() with a new version of pull() returning a
vector of optional values;
- Fixed various issues with storing the type information & proper
construction callbacks for GArray<> and GOpaque;
- Introduced a new infer(Roi,GMat) overload with a sample;
- Introduced an internal API for Islands to control fusion
procedure (to fuse or not to fuse);
- Introduced handleStopStream() callback for island executables;
- Added GCompileArgs to metadata of the graph (required for other
features).
2020-10-29 20:19:15 +03:00
Jack·Boos·Yu
56d2b7137c
Merge pull request #18658 from JackBoosY:master
...
* Fix cmake configure error
* judge the cmake version
* Add comments
2020-10-29 13:50:25 +00:00
Alexander Alekhin
d9a62c42e5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-28 14:41:08 +00:00
Alexander Alekhin
97eaddd93b
Merge pull request #18672 from alalek:cmake_3rdparty_exclude_from_all
2020-10-28 14:40:47 +00:00
Alexander Alekhin
e3ce0fbee3
Merge pull request #18685 from APrigarina:fix_curved_qrcodes
2020-10-28 14:02:08 +00:00
Alexander Alekhin
364702b1c9
cmake(3rdparty): use EXCLUDE_FROM_ALL
2020-10-28 11:56:12 +00:00
Alexander Alekhin
978f387961
Merge pull request #18663 from alalek:core_cleanup_inline_code_4.x
2020-10-28 11:40:50 +00:00
Alexander Alekhin
209f6cdcc7
Merge pull request #18671 from rgarnov:rg/rmat_and_s11n_fixes
2020-10-28 10:38:56 +00:00
APrigarina
0f7b2eb79f
fix curved qrcodes decoding
2020-10-28 12:54:54 +03:00
Alexander Alekhin
4a0760719e
Merge pull request #18664 from ackbar345:mikkel/fix-manual-page-size
2020-10-27 17:49:22 +00:00
Mikkel Green
d011383a3d
Bugfix: Manual page sizes now overwrite the default page size if they are both specified. Remove redudant .upper() call, 1 to 1 key matching enforced
...
by argparse choices.
2020-10-26 18:21:06 -07:00
Alexander Alekhin
1fe276d041
core: move inline code from mat.inl.hpp (OpenCV 4.x additions)
...
base commit: aac7c5465b
2020-10-26 22:58:30 +00:00
Alexander Alekhin
f345ed564a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-26 20:07:47 +00:00
Anatoliy Talamanov
3d4563913d
Merge pull request #18600 from TolyaTalamanov:at/implement-render-using-stateful
...
[G-API] Implement render using stateful kernel
* Implement render using stateful kernel
* Move freetype to backends folder
* Fix freetype compilation
* Fix freetype smoke test
* Fix comments
* Refactoring
2020-10-26 19:55:43 +00:00
Anatoliy Talamanov
93c3775927
Merge pull request #18491 from TolyaTalamanov:at/wrap-inference
...
[G-API] Wrap cv::gapi::infer<Generic> into python
* Introduce generic infer
* Move Generic to infer.hpp
* Removew num_outs
* Fix windows warnings
* Fix comments to review
* Fix doxygen
* Add comment
* Fix comments to review
* Wrap inference to python
* Add default ctor to Params
* Add test
* Fix clang build
* Implement GInferInputs/GInferOutputs as Pimpl
* Add checkIEtarget to infer test
* Fix path
* Supress warning
* Use getAvailableDevices insted of checkIETarget
* Move PyParams to bindings_ie
* Add namespace
* Update CMakeLists.txt
2020-10-26 19:02:03 +00:00
Ruslan Garnov
afbf383ba3
Minor s11n and RMat improvements:
...
- Changed descr_of(RMat) to use canDescribeHelper to correctly handle planar case
- Added export of createMat
- Added setting of Storage::INPUT and Storage::OUTPUT in deserialization routine of GComputation
2020-10-26 15:48:27 +03:00
Quentin Chateau
36598677cf
Merge pull request #18646 from qchateau:wave-auto
...
* stitching: add WAVE_CORRECT_AUTO
* stitching: use CV_EXPORTS
2020-10-25 15:58:27 +00:00
Alexander Alekhin
0ec94630d4
Merge pull request #18640 from alalek:core_cleanup_inline_code
2020-10-24 17:06:08 +00:00
ann
c71f2714c6
Merge pull request #18003 from APrigarina:curved_qrcodes_decoding
...
Detection and decoding of curved QR-codes
* temp changes for curved qrcodes
* added api for curved qr code decoding
* fixed prototypes
* refactored curved qr code decoding
* refactored curved qr code decoding 2nd part
* refactored curved qr code decoding 3rd part
* refactored curved qr code decoding 4th part
* added tests for curved qr code decoding
* refactored curved qr code decoding 5th part
2020-10-23 18:42:45 +00:00
Alexander Alekhin
71462d9f99
Merge pull request #18633 from laelath:master
2020-10-23 16:47:38 +00:00
Giles Payne
72dfd4846e
Merge pull request #18637 from komakai:build-for-distribution
...
Add support for Swift version independence
* Build for distribution (Swift version independence) when new Xcode build system is available
* Add module map and set "Defines Modules" flag
2020-10-23 11:19:36 +00:00
Justin Frank
61a8cf8ba7
Fix TypeError when building for WebAssembly with Python 3
2020-10-22 12:38:28 -07:00
Alexander Alekhin
bd40952097
Merge pull request #18622 from TolyaTalamanov:at/fix-namespace
2020-10-22 17:43:23 +00:00
Alexander Alekhin
8869d3212f
Merge pull request #18641 from rtimpe:fix_cuda_stubs
2020-10-22 12:25:56 +00:00
Quentin Chateau
ea1e3fb90d
Merge pull request #18624 from qchateau:similarity-mask
...
* support similarity masks
* add test for similarity threshold
* short license in test
* use UMat in buildSimilarityMask
* fix win32 warnings
* fix test indentation
* fix umat/mat sync
* no in-place argument for erode/dilate
2020-10-22 12:24:58 +00:00
Alexander Alekhin
3a99fb9d34
Merge pull request #18607 from zteffi:warp-point-backward
2020-10-22 12:22:26 +00:00
Alexander Alekhin
e1b56e376e
Merge pull request #18476 from dmatveev:dm/gapi_text_detection
2020-10-22 12:21:55 +00:00
Alexander Alekhin
aac7c5465b
core: move inline code from mat.inl.hpp
2020-10-21 23:06:09 +00:00
Rob Timpe
22ee5c0c4d
Fix errors when building with cuda stubs
...
Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.
In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.
In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).
2020-10-21 15:51:46 -07:00
Alexander Alekhin
e8058b9fdb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-21 15:55:23 +00:00
Martin Štefaňák
d31b6c3480
stitching: add warpPointBackward to warpers
...
test by projecting and reprojecting back random points
2020-10-21 17:26:52 +02:00
Dmitry Matveev
95ff928228
G-API: Introduced a Text Detection sample
...
This sample models the Text Detection demo from OMZ:
https://github.com/openvinotoolkit/open_model_zoo/tree/2020.4/demos/text_detection_demo
Also: renamed cv::gapi::size() to cv::gapi::streaming::size()
2020-10-21 17:25:56 +03:00
Anna Khakimova
510dc17c2e
Merge pull request #18338 from anna-khakimova:ak/opt_arithm_kernel
...
Univ Intrinsics implementation of Add, Sub, Absdiff kernels
* Add, sub, absdiff kernels optimization
* avoid unused conditions
* add conditions for tail processing
2020-10-21 10:52:03 +00:00
Alexey Smirnov
2669d8ce73
Merge pull request #18584 from smirnov-alexey:as/rmat_s11n
...
[G-API]: Introduce RMat serialization API
* Introduce RMat serialization API
* Fix RunArgs deserialization
* Address review comments
* Export operators for GRunArg serialization
* Fix warning and add handling for RMat in bind()
* Update CMakeLists.txt
* G-API: RMat S11N -- probably fix the Windows warning
2020-10-20 20:58:54 +00:00
Alexander Alekhin
7f3d8de26f
Merge pull request #18628 from innerlee:patch-1
2020-10-20 20:03:50 +00:00
lizz
331b73c8e4
Typo in docstring of distanceTransform
2020-10-20 17:57:10 +08:00
Alexander Alekhin
1729297ef3
Merge pull request #18588 from damonmo:fix-issue-18553
2020-10-19 22:53:05 +00:00
Alexander Alekhin
9138c98b25
Merge pull request #18614 from ZhiyuanChen:patch-1
2020-10-19 22:42:48 +00:00
Zhiyuan Chen
456af21d8b
fixes #18613
2020-10-19 21:42:04 +00:00
Nikolai
b87f7a625e
Merge pull request #18426 from Varvrar:add-HEVC-codec-iOS-Mac
...
* add HEVC(H.265) codec to iOS,Mac VideoWriter
* Update cap_avfoundation_mac.mm
add CV_FOURCC('h','v','c','1') for HEVC codec
* Update cap_avfoundation.mm
add CV_FOURCC('h','v','c','1') for HEVC codec
* feat: add availability check for HEVC codec on iOS and OS X
Co-authored-by: Vadim Levin <vadim.levin@xperience.ai >
2020-10-19 17:39:19 +00:00
Alexander Alekhin
c3e8790dfd
Merge pull request #18621 from dbudniko:gapi_ww43_2020_KW_fixes
2020-10-19 17:16:12 +00:00
Daniel Motilla
bf49149c97
Enable imshow to take GpuMat inputs in Python
2020-10-19 14:35:03 +02:00
Anatoliy Talamanov
49d5960a32
Fix namespace for OCVCallHelper
2020-10-19 14:19:17 +03:00
Dmitry Budnikov
dcfa23d5d2
KW fixes
2020-10-19 13:46:23 +03:00
masa-iwm
5ac0712cf1
Merge pull request #18593 from masa-iwm:master
...
Add support thread-local directx (OpenCL interop) initialization
* support thread-local directx (OpenCL interop) initialization
* reflect reviews
* Remove verbose function prototype declarations
* Countermeasures for VC warnings. (declaration of 'platform' hides class member)
* core(directx): remove internal stuff from public headers
2020-10-18 21:22:06 +00:00
Kun Liang
c82417697a
Merge pull request #18068 from lionkunonly:gsoc_2020_simd
...
[GSoC] OpenCV.js: WASM SIMD optimization 2.0
* gsoc_2020_simd Add perf test for filter2d
* add perf test for kernel scharr and kernel gaussianBlur
* add perf test for blur, medianBlur, erode, dilate
* fix the errors for the opencv PR robot
fix the trailing whitespace.
* add perf tests for kernel remap, warpAffine, warpPersepective, pyrDown
* fix a bug in modules/js/perf/perf_imgproc/perf_remap.js
* add function smoothBorder in helpfun.js and remove replicated function in perf test of warpAffine and warpPrespective
* fix the trailing white space issues
* add OpenCV.js loader
* Implement the Loader with help of WebAssembly Feature Detection, remove trailing whitespaces
* modify the explantion for loader in js_setup.markdown and fix bug in loader.js
2020-10-18 20:30:36 +00:00
Alexander Alekhin
adac1da64e
Merge pull request #18598 from aleromar:Issue18595_UsacParams_PythonBinding
2020-10-18 19:28:46 +00:00
Alexander Alekhin
9c8626bf3c
Merge pull request #18605 from komakai:fix-swift-binding
2020-10-17 16:57:04 +00:00
Giles Payne
ef21fd3cf8
Fix handling of properties with enum type
2020-10-17 14:31:24 +09:00
Alexander Alekhin
bd19f991a5
Merge pull request #18602 from alalek:issue_18597
2020-10-16 20:22:58 +00:00
Alexander Alekhin
e87ba1d317
Merge pull request #18590 from krush11:master
2020-10-16 19:47:03 +00:00
Alexander Alekhin
f9d1f5196a
Merge pull request #18533 from paroj:imwritemulti
2020-10-16 19:46:24 +00:00
Alexander Alekhin
b5717f82a0
core: fix __clang_major__ typo regression
2020-10-16 15:35:51 +00:00
arodrigu
aa51382dbc
Fix: UsacParams Python bindings
2020-10-16 14:41:41 +02:00
Pavel Rojtberg
bc6a70c689
imwrite: multi-image overload for bindings
2020-10-16 11:27:09 +00:00
Krushnal Patel
1fb6c6e6e5
Update demosaicing.cpp
2020-10-16 11:15:42 +00:00
Alexander Alekhin
d2dbc9d7a0
Merge pull request #18589 from alalek:issue_13328
2020-10-15 18:43:48 +00:00
Anatoliy Talamanov
8bf451a3e0
Merge pull request #18542 from TolyaTalamanov:at/import-network
...
[G-API] Support ImportNetwork for cv::gapi::infer
* wip
* Refactoring
* Fix comments to review
* Fix warning
Co-authored-by: Ruslan Garnov <ruslan.garnov@intel.com >
2020-10-15 13:59:02 +00:00
Anatoliy Talamanov
0d3e05f9b3
Merge pull request #18493 from TolyaTalamanov:at/wrap-streaming
...
[G-API Wrap streaming
* Wrap streaming
* Fix build
* Add comments
* Remove comment
* Fix comments to review
* Add test for python pull overload
2020-10-14 22:21:09 +00:00
Alexander Alekhin
8c4d415412
Merge pull request #18582 from weltonrodrigo:remap_inter_doc
2020-10-14 21:13:54 +00:00
Alexander Alekhin
06a09d5991
Merge pull request #18583 from weltonrodrigo:remap_inter_doc_4
2020-10-14 18:06:59 +00:00
Alexander Alekhin
57c894f44d
Merge pull request #18566 from mtfrctl:mat-objc-swift-data-pointer
2020-10-14 16:59:44 +00:00
mtfrctl
7de189114b
Merge pull request #18547 from mtfrctl:objc-conversions-macosx
...
Mat conversions for macOS/AppKit
* Extract CoreGraphics conversion logics from ios_conversions.mm to apple_conversions.h, apple_conversions. Add macosx_conversions.mm
* Add macosx.h
* Add Mat+Conversions.h and Mat+Conversions.mm
* Delete duplicated declaration from apple_conversion.mm
* Use short license header
* Add compile guard
* Delete unused imports
* Move precomp.hpp import from header to implementation
* Add macosx.h to skip headers
* Fix compile guard condition
* Use short license header
* Remove commented out unused code
2020-10-14 16:58:06 +00:00
Anna Khakimova
4c048a487e
Merge pull request #18516 from anna-khakimova:ak/bgr2rgb
...
GAPI: Addition new Color conversion kernels to CPU backend.
* Add BGR2RGB kernel to CPU backend
* Add BGR2I420 and RGB2I420 kernels to CPU backend
* Add I4202BGR and I4202RGB kernels to CPU backend
2020-10-14 16:51:35 +00:00
Welton Rodrigo Torres Nascimento
09a62012b2
Doc update. INTER_LINEAR_EXACT unsupported in remap
2020-10-14 11:09:12 -03:00
Alexander Alekhin
b494de6a01
Merge pull request #18559 from maxint:fix-rang-loop-construct-warnings
2020-10-14 10:17:16 +00:00
Alexander Alekhin
dbeec7715d
Merge pull request #18581 from alalek:winpack_dldt_videoio_plugins
2020-10-13 20:28:09 +00:00
Welton Rodrigo Torres Nascimento
25163eb008
Doc: INTER_LINEAR_EXACT unsupported in remap
...
Update documentation to reflect INTER_LINEAR_EXACT being
unsupported in remap
2020-10-13 11:51:23 -03:00
Alexander Alekhin
1048feac3b
build: winpack_dldt with videoio plugins
2020-10-13 13:41:07 +00:00
Alexander Alekhin
96e8b83d41
Merge pull request #18568 from catree:fix_deepgreen_colormap_fig
2020-10-13 10:02:39 +00:00
Alexander Alekhin
78476a0fe2
Merge tag '4.5.0'
2020-10-11 21:29:42 +00:00
Alexander Alekhin
d5fd2f0155
release: OpenCV 4.5.0
2020-10-11 21:26:07 +00:00
Alexander Alekhin
c8ebe0eb86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-11 17:19:22 +00:00
catree
de93782fab
Move colorscale_deepgreen.jpg to the correct folder.
2020-10-11 17:18:05 +02:00
mtfrctl
16561ed71e
Add data pointer bridge method to Mat for Objective-C/Swift
2020-10-11 19:16:03 +09:00
Alexander Alekhin
4bfdf7cf2a
Merge pull request #18564 from alalek:dnn_test_openvino_4.x
2020-10-11 08:08:20 +00:00
Alexander Alekhin
e58da86efc
dnn(test): update tests for OpenVINO 2021.1 (OpenCV 4.x)
2020-10-10 21:34:15 +00:00
Alexander Alekhin
7ed82aea38
Merge tag '3.4.12'
2020-10-10 20:18:09 +00:00
Alexander Alekhin
dc15187f1b
release: OpenCV 3.4.12
2020-10-10 20:14:29 +00:00
Alexander Alekhin
ae1a249a0a
Merge pull request #18557 from alalek:cuda_cmake_fix_auto
2020-10-10 20:02:03 +00:00
maxint
2dd2d60955
Fix warnings: "-Wrange-loop-construct" in gapi
2020-10-10 07:13:23 +00:00
Alexander Alekhin
171fbf879f
cmake: fix typo in CUDA_GENERATION=Auto cache
2020-10-09 22:00:02 +00:00
Alexander Alekhin
1b443219ed
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-09 20:09:26 +00:00
Alexander Alekhin
8a1caa0d16
Merge pull request #18554 from alalek:issue_17945
2020-10-09 19:54:17 +00:00
Alexander Alekhin
cdcf7e62f3
dnn(opencl): bypass unsupported fusion cases 2
2020-10-09 18:59:08 +00:00
Alexander Alekhin
083727b0a6
Merge pull request #18551 from alalek:issue_17964
2020-10-09 16:08:12 +00:00
Alexander Alekhin
718dd9f170
dnn(opencl): bypass unsupported fusion cases
2020-10-09 12:33:06 +00:00
Anatoliy Talamanov
76be3529f4
Merge pull request #18419 from TolyaTalamanov:at/generic-inference
...
[G-API] Introduce generic version for cv::gapi::infer
* Introduce generic infer
* Move Generic to infer.hpp
* Removew num_outs
* Fix windows warnings
* Fix comments to review
* Fix doxygen
* Add comment
* Fix comments to review
* standoalone ifdef in ginfer.cpp
* Fix test
2020-10-08 22:12:25 +00:00
Alexander Alekhin
6c218c7b0f
Merge pull request #18545 from alalek:enable_tests_17953
2020-10-08 21:39:48 +00:00
Alexander Alekhin
e87a0baa4b
dnn(test): enable tests from issue 17953
2020-10-08 20:27:03 +00:00
Alexander Alekhin
8ee5f2ad89
Merge pull request #18534 from alalek:build_opencv_winpack_dldt_2021.1.0
2020-10-08 15:32:03 +00:00
Alexander Alekhin
ee76cef1ff
Merge pull request #18527 from alalek:dnn_test_openvino
2020-10-08 15:27:50 +00:00
Alexander Alekhin
6a51e3b39a
Merge pull request #18539 from mshabunin:fix-doc-warnings
2020-10-08 15:22:40 +00:00
Alexander Alekhin
6da05f7086
dnn(test): update tests for OpenVINO 2021.1
2020-10-08 10:22:31 +00:00
Maksim Shabunin
ae265a48c7
Doc: fixed warnings when CUDA modules are missing
2020-10-08 11:50:07 +03:00
Anastasiya(Asya) Pronina
af2f8c69f0
Merge pull request #18496 from AsyaPronina:comp_args_serialization
...
Serialization && deserialization for compile arguments
* Initial stub
* Add test on serialization of a custom type
* Namespaces rework
* Fix isSupported in test struct
* Fix clang lookup issue
* Initial implementation
* Drop the isSupported flag
* Initial implementation
* Removed internal header inclusion
* Switched to public API
* Implemented serialization
* Adding desirialize: WIP
* Fixed merge errors
* Implemented
* Final polishing
* Addressed review comments and added debug throw
* Added FluidROI test
* Polishing
* Polishing
* Polishing
* Polishing
* Polishing
* Updated CMakeLists.txt
* Fixed comments
* Addressed review comments
* Removed decay from deserialize_arg
* Addressed review comments
* Removed extra inclusion
* Fixed Win64 warning
* Update gcommon.hpp
* Update serialization.cpp
* Update gcommon.hpp
* gapi: drop GAPI_EXPORTS_W_SIMPLE from GCompileArg
Co-authored-by: Smirnov Alexey <alexey.smirnov@intel.com >
Co-authored-by: AsyaPronina <155jj@mail.ru >
2020-10-07 21:48:49 +00:00
Alexander Alekhin
e24b1629a0
Merge pull request #18536 from alalek:backport_doxygen_style_18195
2020-10-07 21:35:58 +00:00
Maksim Shabunin
46ccde82cf
Merge pull request #18195 from mshabunin:linux-tutorial
...
Installation tutorials rework
* Doc: general installation, config reference, linux installation
* Doc: addressed review comments
* Minor fixes
2020-10-07 21:35:06 +00:00
Anatoliy Talamanov
537494f4dd
Merge pull request #18512 from TolyaTalamanov:at/fix-untyped-np-array-for-gapi-python
...
[G-API] Numpy array with int64 failed in cv.gin
* Fix bug with numpy array precision in G-API python
* Fix comments to review
2020-10-07 20:38:59 +00:00
Alexander Alekhin
d9ea9bedb2
doxygen: backport style changes
2020-10-07 20:16:40 +00:00
Alexander Alekhin
1546b9bf99
build: winpack_dldt with dldt 2021.1.0
2020-10-07 16:16:53 +00:00
Alexander Alekhin
39d5e14c1f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-07 09:09:37 +00:00
Alexander Alekhin
62b5d37b6b
Merge pull request #18526 from alalek:fix_uninitialized_warnings
2020-10-06 22:49:55 +00:00
Alexander Alekhin
d78d9bf151
Merge pull request #18519 from alalek:fix_javadoc
2020-10-06 22:48:21 +00:00
Alexander Alekhin
a5f0fb6008
Merge pull request #18518 from alalek:backport_17993
2020-10-06 22:47:45 +00:00
Alexander Alekhin
f2bb3d0d80
videoio(dc1394_v2): ensure variable initialization
2020-10-06 21:00:36 +00:00
Maksym Ivashechkin
d5dce63254
Merge pull request #18356 from ivashmak:update_ransac
...
* update new RANSAC
* fix warning
* change gamma values table
* resolve conflict
* resolve conflict
* GammaValues as singleton
2020-10-06 20:37:49 +00:00
Alexander Alekhin
01981ed290
Merge pull request #18522 from alalek:fix_18152
2020-10-06 20:33:37 +00:00
Alexander Alekhin
037a72debd
Merge pull request #18517 from alalek:backport_18031
2020-10-06 19:56:49 +00:00
Alexander Alekhin
1ef4b7ae5a
Merge pull request #18515 from alalek:test_18473
2020-10-06 19:39:28 +00:00
Alexander Alekhin
b314cc4c23
Merge pull request #18506 from alalek:issue_18472
2020-10-06 19:37:40 +00:00
Alexander Alekhin
6f5d56d994
core(logger): avoid destruction of GlobalLoggingInitStruct object
...
- keep logger available until the program termination
2020-10-06 12:50:32 +00:00
Alexander Alekhin
644de8f22a
java: fix javadoc generation
2020-10-06 04:28:25 +00:00
Maksim Doronin
36f61f3879
[IE][VPU]: Refactor vpu configs
...
backported commit: 7fe87d9a5b
2020-10-05 20:27:52 +00:00
Ilya Churaev
aa11f7d8a3
Removed get_output_as_single_output_node method
...
backported commit: 5fd3d36fe8
2020-10-05 20:24:21 +00:00
Alexander Alekhin
793b2b9ad9
Merge pull request #18494 from dmatveev:dm/gframe_02_integration
2020-10-05 19:23:49 +00:00
Dmitry Matveev
050c960dfc
G-API: Integrated cv::MediaFrame as I/O type + CPU backend
2020-10-05 20:21:15 +03:00
Alexander Alekhin
f30aafc3cc
core(test): regression test for 18473
2020-10-05 17:14:22 +00:00
Alexander Alekhin
2f065b8b4c
Merge pull request #18509 from alalek:issue_18392
2020-10-05 17:03:27 +00:00
Alexander Alekhin
aece3e732e
Merge pull request #18507 from sizeofvoid:openbsd
2020-10-05 17:02:38 +00:00
Alexander Alekhin
aabeb8a18e
Merge pull request #18505 from alalek:fix_python_test
2020-10-05 17:01:46 +00:00
Alexander Alekhin
ebe9327a92
Merge pull request #18473 from BioDataAnalysis:bda_fix_cv_mat_steps
2020-10-05 16:59:05 +00:00
Alexander Alekhin
d7d51e4cc7
python: replace numpy.full() to support numpy<1.13
2020-10-05 15:15:49 +00:00
Mario Emmenlauer
102d8f67cd
matrix.cpp::setSize(): fixed out-of-bounds access on cv::Mat steps
2020-10-05 10:19:53 +02:00
Alexander Alekhin
a00fe15abd
dnn: check for empty Net in .forward()
2020-10-05 06:23:47 +00:00
Rafael Sadowski
3acf8cfd63
Add an OpenBSD check
2020-10-05 08:23:23 +02:00
Ruslan Garnov
5224d016e9
Merge pull request #18339 from rgarnov:rg/rmat_integration
...
[GAPI] RMat integration into the framework
* RMat integration
* Added initialization of input mat in GArray initialization tests
* Fixed klocwork warnings in RMat tests, changed argument order in EXPECT_EQ
2020-10-04 18:57:41 +00:00
Alexander Alekhin
d34717d8c9
core: allow to disable including of unsupported/Eigen/CXX11/Tensor
...
- define OPENCV_DISABLE_EIGEN_TENSOR_SUPPORT
2020-10-04 15:14:46 +00:00
Alexander Alekhin
199687a1c5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-10-02 15:58:45 +00:00
Alessandro de Oliveira Faria (A.K.A.CABELO)
b5a6c8e2b2
Merge pull request #18399 from cabelo:realsense
...
* Modified for Intel Realsense webcam
* Fix whitespace
* Update page title
* Uppercase
2020-10-02 15:05:46 +00:00
Alexander Alekhin
a5b8f163d7
Merge pull request #18488 from alalek:maxflow_missing_check
2020-10-02 15:04:28 +00:00
Alexander Alekhin
6add3b9161
Merge pull request #18487 from aitikgupta:unnecessary-variable
2020-10-02 15:03:59 +00:00
Alexander Alekhin
955909bdb5
Merge pull request #18483 from ivashmak:bugfix_graph
2020-10-02 15:02:57 +00:00
Alexander Alekhin
1ddd61f98a
Merge pull request #18458 from sturkmen72:Update_window_w32_cpp
2020-10-02 15:00:44 +00:00
Alexander Alekhin
3503a36e5e
Merge pull request #18444 from aitikgupta:check-minimum-points
2020-10-02 14:59:07 +00:00
Alexander Alekhin
2ea7269450
Merge pull request #18431 from zhuqiang00099:fix-darknet_relu
2020-10-02 14:58:48 +00:00
zhuqiang00099
a968eadbf1
fix darknet-relu bug in darknet_io.cpp
2020-10-02 06:16:38 +00:00
Alexander Alekhin
c6b63e0e28
calib3d/imgproc: add GCGraph::maxFlow() missing empty checks
2020-10-02 05:15:20 +00:00
Aitik Gupta
7bd8ddc8fa
removed no-affect variable
2020-10-02 09:27:16 +05:30
Michael Gruner
e3da18121f
Enable a GMainLoop when capturing using GStreamer
...
A running GMainLoop processes many events on the GLib/GStreamer
world. While some things may work without it, many others wont.
Examples of these are signals, timers and many other source
events. The problem becomes more concerning by the fact that
some GStreamer elements rely on signals to work.
This commit allows the user to specify an OpenCV option to
start a main loop, if needed. Since the loop blocks, this is
done in a separate thread.
2020-10-01 19:48:15 -06:00
Maksym Ivashechkin
0c4a8e2ca8
change flags and bugfix graph
2020-10-01 20:52:28 +02:00
Alexey Smirnov
a3e7c2d8e3
Merge pull request #18452 from smirnov-alexey:as/export_serialization_api
...
[G-API] Export a part of serialization interface
* Initial stub
* Add test on serialization of a custom type
* Namespaces rework
* Fix isSupported in test struct
* Fix clang build and rework namespaces
* Remove redundant header
2020-10-01 18:11:23 +00:00
Orest Chura
40b8b58bc6
Merge pull request #18451 from OrestChura:oc/count_non_zero
...
[G-API]: countNonZero() Standard Kernel Implementation
* Add countNonZero() standard kernel
- API and documentation provided
- OCV backend supported
- accuracy and performance tests provided
- some refactoring of related documentation done
* Fix GOpaque functionality for OCL Backend
- test for OCL Opaque usage providied
* countNonZero for GPU
- OCL Backend implementation for countNonZero() added
- tests provided
* Addressing comments
2020-09-30 16:07:35 +00:00
Alexander Alekhin
fc1a156262
Merge pull request #18460 from alalek:build_warnings
2020-09-30 13:23:05 +00:00
Alexander Alekhin
8cbd20b380
eliminate build warnings
2020-09-29 21:32:16 +00:00
Dmitry Matveev
43d306fc2d
Merge pull request #18415 from dmatveev:dm/gframe_01_new_host_type
...
* G-API: Introduce cv::MediaFrame, a host type for cv::GFrame
* G-API: RMat -- address review comments
2020-09-29 19:19:54 +00:00
Suleyman TURKMEN
14e264f646
Update window_w32.cpp
2020-09-29 21:50:06 +03:00
Alexander Alekhin
01e23a2222
Merge pull request #18439 from komakai:opencl
2020-09-29 15:07:28 +00:00
Alexander Alekhin
f88d89ad82
Merge pull request #18341 from TolyaTalamanov:at/wrap-gin-gout-for-grunargs
2020-09-29 14:23:22 +00:00
Alexander Alekhin
969b55036f
Merge pull request #18438 from alalek:dnn_onnx_importer_error_reporting
2020-09-29 13:49:02 +00:00
Giles Payne
b29f73d5e0
Android OpenCL support
2020-09-29 21:55:31 +09:00
Anatoliy Talamanov
e998d89e88
Implement cv.gin and multiple output for python
2020-09-29 13:45:40 +03:00
ZhangYin
b91e701f35
modified rvv option for clang to match LLVM upstream
2020-09-29 14:15:11 +08:00
Alexander Alekhin
295afd5882
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-28 21:33:29 +00:00
Aitik Gupta
cbf978d1f7
added minPoints Homography test
2020-09-29 01:04:15 +05:30
Aitik Gupta
94e0ac7d9f
need atleast 4 corresponding points to calculate homography
2020-09-29 01:04:01 +05:30
Alexander Alekhin
08b36e4f48
Merge pull request #18449 from alalek:ios_dont_disable_world_automatically
2020-09-28 18:46:28 +00:00
Alexander Alekhin
d62d880316
Merge pull request #18447 from alalek:fix_17953
2020-09-28 18:45:31 +00:00
Alexander Alekhin
361b5e0ebf
Merge pull request #18430 from alalek:ippicv_tpp
2020-09-28 18:45:00 +00:00
Alexey Smirnov
8da1b9aafa
Merge pull request #18401 from smirnov-alexey:as/serialization_more_types
...
[G-API] Add support for more types serialization
* Support more types
* Add std::string support
* Fix GOpaque and gin interaction
* Fix tests on kind
* Make map serialization support templates and add tests on kind
2020-09-28 18:20:04 +00:00
Alexander Alekhin
c16e2e6234
ios: don't force BUILD_opencv_world=OFF in case of excluded modules
2020-09-28 01:11:15 +00:00
Alexander Alekhin
19f4cc57c1
Merge pull request #18436 from komakai:fix-install-name
2020-09-28 01:09:40 +00:00
Alexander Alekhin
c08f29c803
dnn(opencl): fix convolution kernel w/o bias with activation
2020-09-27 23:42:30 +00:00
Alexander Alekhin
ecb6d03ccd
Merge pull request #18445 from alalek:fix_test_python_ml
2020-09-27 23:12:02 +00:00
Alexander Alekhin
e59793cc75
dnn: improve debugging of ONNX parsing errors
2020-09-27 23:04:48 +00:00
Alexander Alekhin
236ad4aeda
Merge pull request #18441 from alalek:core_check_force_string_literals
2020-09-27 23:03:18 +00:00
Alexander Alekhin
97bb91d5fa
ml: fix python test
2020-09-27 21:14:55 +00:00
Giles Payne
80d4d4d92c
Update tests and samples to work with changes to dynamic build
2020-09-27 21:12:28 +09:00
Giles Payne
6a7df4e973
Modify install_name
2020-09-27 21:12:27 +09:00
Giles Payne
098f07664d
Fix support for --without build flag on iOS/macOS build
2020-09-27 21:12:18 +09:00
Alexander Alekhin
233030e417
core: force check for string literals are used in the message
2020-09-27 06:37:44 +00:00
Alexander Alekhin
6256e425f3
Merge pull request #18434 from tomoaki0705:loosenDNNEps
2020-09-26 21:08:13 +00:00
Dmitry Matveev
4dbb8ac4b2
Merge pull request #18387 from dmatveev:dm/slides_upd_44
...
Update G-API slides to OpenCV 4.4
* G-API: Updated slides to v4.4 (+ sample)
* Slight formatting changes + Python API page
* Some more updates to slides:
- Added more info on 4.2 and 4.4 versions
- Added explanation on Operations and their functional wrappers
2020-09-26 20:59:26 +00:00
Tomoaki Teshima
48368dc9a1
loosen threshold for Mali
2020-09-27 00:37:52 +09:00
Alexander Alekhin
691c655630
ippicv: install third-party-programs.txt file
2020-09-25 22:09:25 +00:00
Alexander Alekhin
e7f2af5fdb
Merge pull request #18429 from alalek:ocl_fix_platforminfo
2020-09-25 20:28:19 +00:00
Alexander Alekhin
4419f4093e
Merge pull request #18423 from alalek:fix_build_videoio_plugins_with_enabled_eigen
2020-09-25 19:51:04 +00:00
Alexander Alekhin
b88ad7f2d9
Merge pull request #18427 from tomoaki0705:improveFlipTest
2020-09-25 19:49:26 +00:00
Alexander Alekhin
b300b6b3bd
Merge pull request #18424 from tomoaki0705:addRTX3080s
2020-09-25 19:48:04 +00:00
Alexander Alekhin
c945ea125a
ocl: fix PlatformInfo usage
2020-09-25 19:22:12 +00:00
Alexander Alekhin
c32e349332
Merge pull request #18410 from mshabunin:fix-va-build
2020-09-25 15:29:26 +00:00
Alexander Alekhin
118218754b
Merge pull request #18408 from rgarnov:rg/fix_standalone_windows_build
2020-09-25 15:28:51 +00:00
Tomoaki Teshima
234117800f
brush up by following the comments
2020-09-25 23:57:15 +09:00
Alexander Alekhin
00c61cf197
Merge pull request #18422 from mshabunin:fix-python-limited
2020-09-25 13:43:28 +00:00
Alexander Alekhin
f6901ab877
videoio: fix plugins build with enabled Eigen
2020-09-25 13:37:07 +00:00
Tomoaki Teshima
ac58b2f857
compute capability 8.6
...
- CC for RTX3090, RTX3080 and RTX3070
2020-09-25 22:33:55 +09:00
Odianosen Ejale
862fc06b6f
Fixed and updated OpenCL-VA interoperability
2020-09-25 16:11:50 +03:00
Maksim Shabunin
89ed813585
python: fixed limited API build
2020-09-25 14:16:46 +03:00
Alexander Alekhin
0dc28d3446
Merge pull request #18397 from mshabunin:fix-gapi-test
2020-09-24 22:36:53 +00:00
Ruslan Garnov
50657e2324
Added linkage of s11n required libs in standalone
2020-09-24 17:44:58 +03:00
Alexander Alekhin
7c22cd49a7
Merge pull request #18400 from mshabunin:videoio-mfx-test-name
2020-09-23 18:28:08 +00:00
Alexander Alekhin
220b37144b
Merge pull request #18395 from tomoaki0705:fixNativePow
2020-09-23 18:27:45 +00:00
Maksim Shabunin
c012490399
Merge pull request #18393 from mshabunin:fix-dnn-test
...
* dnn: fixed HighLevelApi tests
2020-09-23 18:26:46 +00:00
Dmitry Matveev
e937d9b559
Merge pull request #18391 from dmatveev:dm/gframe_00_new_type
...
* G-API: Make GFrame a new (distinct) G-type, not an alias to GMat
- The underlying host type is still cv::Mat, a new cv::MediaFrame
type is to be added as a separate PR
* Fix warnings and review comments
- Somewhow there was a switch() without a default: clause in Fluid
2020-09-23 18:25:14 +00:00
Maksim Shabunin
688aea6bec
videoio: naming MFX tests
2020-09-23 17:36:43 +03:00
Maksim Shabunin
7186c46377
gapi: fix building wihout video module, fix infer test
2020-09-23 16:51:36 +03:00
Tomoaki Teshima
74c8ccb45b
fix build error of kernel on Mali
2020-09-23 21:38:12 +09:00
NesQl
3fc1487cc9
Merge pull request #18323 from liqi-c:tengine-lite-update
...
Tengine lite update
* update tengine
* Modify for arm32 build.
* format optimization
* add teng_ befor some tengine api
* update graph_t to teng_graph_t
* update graph_t to teng_graph_t
* Code structure optimization
* optimization
* optimization
* remove space
* update tengine url
Co-authored-by: liqi <qli@openailab.com >
2020-09-23 09:34:29 +00:00
Julien
48ddb53332
Merge pull request #18386 from JulienMaille:patch-1
...
* Make sure there is a cuda device before getting it
* Update init.hpp
2020-09-23 09:15:02 +00:00
Alexander Alekhin
9cfe981e1f
Merge pull request #18378 from nathanrgodwin:ippe_fix
2020-09-23 09:13:49 +00:00
Alexander Alekhin
f584c6d723
Merge pull request #18384 from AsyaPronina:asyadev/18373_quick_workaround
2020-09-22 17:36:07 +00:00
AsyaPronina
3ea9022c5f
Disabled failed test instantiations
2020-09-22 15:45:31 +03:00
Alexander Alekhin
45ee8e2532
Merge pull request #18365 from dervon:master
2020-09-22 08:46:28 +00:00
Nathan Godwin
2f9072efdc
Fixed assertions on ippe solver
2020-09-21 21:56:28 -05:00
Alexander Alekhin
f7b8f522ff
Merge pull request #18374 from alalek:openjpeg_extra_checks
2020-09-21 20:33:30 +00:00
Alexey Smirnov
f6aa9ac304
Merge pull request #18292 from smirnov-alexey:as/osd_serialization
...
[G-API]: Support render primitives serialization
* Add GOpaque and GArray serialization support
* Address review comments
* Remove holds() method
* Add serialization mechanism for render primitives
* Fix standalone mode
* Fix wchar_t error on win64
* Fix assert on windows
* Address review comments
* Fix GArray and GOpaque reset() method to store proper kind
* Reset wchar before deserializing it
* Fix wchar_t cross-platform issue
* Address review comments
* Fix wchar_t serialization and tests
* Remove FText serialization
2020-09-21 19:08:58 +00:00
Alexander Alekhin
6c575e8826
imgcodecs(openjpeg): add checks for input
2020-09-21 18:10:51 +00:00
Alexander Alekhin
f52a2cf5e1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-19 17:03:08 +00:00
Alexander Alekhin
5e90802b1a
Merge pull request #18363 from alalek:issue_18349
2020-09-19 16:53:34 +00:00
Alexander Alekhin
45fee13f3d
Merge pull request #18362 from alalek:ocl_async_kernel_reschedule_bug
2020-09-19 16:53:16 +00:00
Dervon
5bfb779d82
typo error
2020-09-19 16:11:12 +08:00
Alexander Alekhin
261ad78122
core: emit more clear messages in OutputArray::create()
2020-09-18 15:25:29 +00:00
Alexander Alekhin
4fa82809df
ocl: avoid rescheduling of async kernels
2020-09-18 14:53:50 +00:00
Orest Chura
95fd61c9b4
Merge pull request #18261 from OrestChura:oc/fluid_convert_mask
...
[G-API]: Fluid: add mask, extend convertTo for CV_16S
* Add Fluid `mask` kernel + Acc. and Perf. tests
- simple cycle implementation with restrictions on mask type and input/output type like in OCV/GPU kernels (mask - CV_8UC1 only, input/output - CV_8UC1, CV_16UC1, CV_16SC1)
* Added convertions from/to 16S
* `convertTo()` perf tests refactoring
- add testing of `alpha` and `beta` parameters
- fixed unreliable comparison
- added instances to OCV, Fluid and GPU tests according to the changes
* Addressing comments
- fixed multiple-channel mistake - prohibited multiple-channeling
* Reduced perf tests
2020-09-18 14:24:34 +00:00
Orest Chura
d1cdef596c
Merge pull request #18257 from OrestChura:oc/fluid_operator_bitwise_and_scalar
...
[G-API]: Add Fluid bitwise operations implementation for (GMat, GScalar)
* Added Fluid `bitwise` with `Scalar` + acc.tests
- simple loop implementation for Fluid used (no `hal`);
- `Scalar` is casted to `int` in the beginning
- tests just modified to work with `Scalar`
- expected output in operators' tests fixed (operators can't change Mat's depth)
- `float` `Scalar` `RNG` added, `RNG` reworked (`time` is used now), initialization of test fixtures reworked
- if input or output is `float` Scalar is initialized by `float`
- some problems with Fluid/OCV floating-point comparison difference stashed by `AbsSimilarPoints()` usage, FIXME added
- divide-by-zero is now fixed differently and everywhere
* - Added perf_tests for bitwise_Scalar operations
- due to errors of Fluid floating-point comparison operations, added support of different validation in Cmp perf_tests; added FIXME
- reworked integral initialization of Scalar
* Addressing comments
- NULL -> nullptr
- Scalar convertion moved to the function
- avoid -> avoiding
* Addressing comments
* CV_assert -> GAPI_assert
* Addressed DM comments
- refactored convertScalarForBitwise()
- removed unnecessary braces for switch
* Changed the operators tests
- switch via `enum` implemented
- infrastructure for that refactored
2020-09-18 13:44:47 +00:00
Alexander Alekhin
7163781639
Merge pull request #18343 from TolyaTalamanov:at/support-return-tuple
...
[G-API] Support std::tuple for return type
2020-09-18 16:38:37 +03:00
Maxim Pashchenkov
a63cee2139
Merge pull request #18287 from mpashchenkov:mp/ocv-gapi-blue-branch
...
[G-API]: Add four kernels to parse NN outputs & provide information in Streaming scenarios
* Kernels from GL "blue" branch, acc and perf tests
* Code cleanup
* Output fix
* Comment fix
* Added new file for parsers, stylistic corrections
* Added end line
* Namespace fix
* Code cleanup
* nnparsers.hpp moved to gapi/infer/, nnparsers -> parsers
* Removed cv:: from parsers.hpp
2020-09-18 13:31:16 +00:00
Alexander Alekhin
3e3787ecb6
Merge pull request #18360 from tomoaki0705:fixClampFailure
2020-09-18 13:10:36 +00:00
Alexander Alekhin
a723aaedd8
Merge pull request #18354 from takehirokj:fix_typo_in_doc
2020-09-18 13:10:10 +00:00
Maxim Pashchenkov
830d8d6b75
Merge pull request #18196 from mpashchenkov:mp/garray-initialization
...
[G-API]: Add GArray initialization support
* Added GArray initialization (CONST_VALUE, GScalar analog) and test for this
* Whitespaces
* And one more space
* Trailing whitespace
* Test name changed. Build with magic commands.
* GArray works with rvalue initialization
* Code cleanup
* Ternary operator in the initialization list.
2020-09-18 13:06:23 +00:00
Liubov Batanina
ebb528976f
Merge pull request #18353 from l-bat:issue_18350
...
* Fixed bug in ONNX Mul op
* Replaced node
2020-09-18 13:01:14 +00:00
Tomoaki Teshima
f77c2d700f
add explicit cast for half
2020-09-18 21:04:24 +09:00
Takehiro Kajihara
8c44b8306b
Fix typo in videoio doc
2020-09-18 07:34:10 +09:00
Anatoliy Talamanov
a07f064e50
Merge pull request #18332 from TolyaTalamanov:at/wrap-GIn-GOut
...
[G-API] Wrap GIn & GOut
* Wrap GIn & GOut into python
* Remove extra brackets
* Use reinterpret_cast
2020-09-17 19:00:03 +00:00
Alexander Alekhin
e668cff573
Merge pull request #18348 from tomoaki0705:fixNppFlipInplace
2020-09-17 13:56:17 +00:00
Ruslan Garnov
ea4b491a73
Merge pull request #18213 from rgarnov:rg/rmat_api
...
Basic RMat implementation
* Added basic RMat implementation
* Fix typos in basic RMat implementation
Co-authored-by: Anton Potapov <anton.potapov@intel.com >
2020-09-17 12:39:10 +00:00
Sergei Slashchinin
fa953e4205
Merge pull request #18316 from sl-sergei:fix_18253
...
Fix loading of ONNX models with Resize operation with Opset 11 for newer versions of Pytorch
* Add reproducer for Resize operation from newer versions of Pytorch
* Fix loading of scales parameter for Resize layer
* Change check type for better diagnostic messages
2020-09-17 11:05:22 +00:00
Anatoliy Talamanov
986bc65e1f
Change imports order for copytomask
2020-09-17 11:09:41 +03:00
Maksim Shabunin
540982cc9d
Merge pull request #18331 from or-toledano:3.4
2020-09-16 21:00:05 +00:00
Anatoliy Talamanov
5218443784
Support tuple for python bindings
2020-09-16 16:22:46 +03:00
Tomoaki Teshima
a61546680b
use only even number for inplace flip
2020-09-16 15:45:03 +09:00
Alexander Alekhin
8cb7eae5c9
Merge pull request #18294 from mshabunin:install-bin-samples
2020-09-15 19:38:02 +00:00
Alexander Alekhin
18440c1faf
Merge pull request #18314 from gilsho:components
2020-09-14 20:15:38 +00:00
Alexander Alekhin
9f69ca503a
Merge pull request #18325 from alalek:issue_18166
2020-09-14 18:17:58 +00:00
or-toledano
49ba744130
Fix np row,column to cv y,x
...
This explanation was created to avoid confusion, but it seems like the author was confused :D
2020-09-14 14:23:38 +03:00
Alexander Alekhin
3b00ee2afb
Merge pull request #18320 from choffmann:master
2020-09-13 13:30:57 +00:00
Alexander Alekhin
4b24ddd70d
Merge pull request #18317 from sl-sergei:restored_pr_17629
2020-09-13 12:51:41 +00:00
Gil Shotan
1612db5f91
Fix signed integer overflow in connected components
2020-09-13 11:20:42 +00:00
Alexander Alekhin
7dfe68cac6
imgcodecs: lazy on-demand codecs initialization
2020-09-13 11:14:56 +00:00
Alexander Alekhin
7d832337ae
Merge pull request #18310 from ShadyD45:patch-1
2020-09-12 22:03:12 +00:00
Anatoliy Talamanov
a258404a58
Merge pull request #18309 from TolyaTalamanov:at/wrap-apply-overloads
...
[G-API] Wrap cv::gapi::mean kernel into python
* Wrap cv::gapi::mean kernel into python
* Fix test
2020-09-12 22:02:21 +00:00
Alexander Alekhin
83807811cd
Merge pull request #18299 from l-bat:onnx_reduce_max
2020-09-12 22:01:09 +00:00
Christoph Gringmuth
a3048239b3
Fix implicitly-deleted default constructor
2020-09-12 22:28:11 +02:00
Shubham Singh
23e71d1aa2
fixes #17187 probably
...
Added Eltwise Layer Support
2020-09-11 18:53:42 +03:00
Shubham Dhumal
f787c73841
Typo fix: CV.rabCutClasses to CV.grabCutClasses
2020-09-10 17:58:34 +05:30
Liubov Batanina
b542a1804c
Support global reduce ops
2020-09-09 11:56:20 +03:00
Maksim Shabunin
2dff2f36bf
Install: added prebuilt samples installation
2020-09-08 20:22:26 +03:00
Alexander Alekhin
1604ea3b27
Merge pull request #18290 from alalek:update_ffmpeg_4.x
2020-09-08 11:30:10 +00:00
Alexander Alekhin
6b674709b8
Merge pull request #18284 from alalek:update_ffmpeg_3.4
2020-09-08 11:26:48 +00:00
Alexander Alekhin
b23d377567
ffmpeg/4.x: update FFmpeg wrapper
...
- FFmpeg 4.3.1
2020-09-08 10:18:37 +00:00
Alexander Alekhin
f445b826d0
Merge pull request #18288 from alalek:update_version_4.5.0-pre
2020-09-08 09:07:23 +00:00
Alexander Alekhin
a12ceb04bb
pre: OpenCV 4.5.0 (version++)
2020-09-08 06:08:58 +00:00
Alexander Alekhin
623aaaccd4
Merge pull request #18286 from extrowerk:patch-1
2020-09-08 06:03:23 +00:00
extrowerk
da0fd62c23
Haiku: build fix
...
Haiku is POSIX compatible
2020-09-07 21:07:38 +02:00
Alexander Alekhin
f56445d7ca
ffmpeg/3.4: update FFmpeg wrapper
...
- FFmpeg 3.4.8
2020-09-07 17:55:22 +00:00
Alexander Alekhin
a10d289997
Merge pull request #18281 from dtrodrigues:issue-template-typo
2020-09-07 17:11:46 +00:00
Alexander Alekhin
750b1aba8d
Merge pull request #18280 from dtrodrigues:vtk-9
2020-09-07 17:11:09 +00:00
Alexey Smirnov
a3e8c6e866
Merge pull request #18127 from smirnov-alexey:as/gapi_serialization
...
[G-API]: Add GOpaque and GArray serialization support
* Add GOpaque and GArray serialization support
* Address review comments
* Remove holds() method
* Address review comments
* Remove comments
* Align streaming with kind changes
* Fix kind in kernel
* Address review comments
2020-09-07 17:10:03 +00:00
Alexander Alekhin
03bee14372
Merge pull request #18282 from alalek:update_version_3.4.12-pre
2020-09-07 16:57:21 +00:00
Alexander Alekhin
50ff40d684
pre: OpenCV 3.4.12 (version++)
2020-09-06 22:26:32 +00:00
Dustin Rodrigues
bfd056ceb1
ISSUE_TEMPLATE: fix typo
2020-09-06 16:53:25 -04:00
Alexander Alekhin
620629593b
Merge pull request #18270 from komakai:swift-inout-arrays
2020-09-06 20:12:16 +00:00
Dustin Rodrigues
05ad3a535f
don't use VTK_USE_FILE for VTK >= 8.90
2020-09-06 15:47:43 -04:00
Alexander Alekhin
5c76f99fdd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-05 19:37:38 +00:00
Danny
c31164bf1e
Merge pull request #18126 from danielenricocahall:add-oob-error-sample-weighting
...
Account for sample weights in calculating OOB Error
* account for sample weights in oob error calculation
* redefine oob error functions
* fix ABI compatibility
2020-09-05 18:52:10 +00:00
Alexander Alekhin
3835ab394e
Merge pull request #18265 from alalek:fixup_17489
2020-09-04 17:02:08 +00:00
Danny
20b23da8e2
Merge pull request #18061 from danielenricocahall:fix-kd-tree
...
Fix KD Tree kNN Implementation
* Make KDTree mode in kNN functional
remove docs and revert change
Make KDTree mode in kNN functional
spacing
Make KDTree mode in kNN functional
fix window compilations warnings
Make KDTree mode in kNN functional
fix window compilations warnings
Make KDTree mode in kNN functional
casting
Make KDTree mode in kNN functional
formatting
Make KDTree mode in kNN functional
* test coding style
2020-09-04 17:01:05 +00:00
Alexander Alekhin
f6795d75a6
videoio: repair build of FFmpeg windows wrapper
2020-09-04 15:36:10 +00:00
Alexander Alekhin
36915db699
Merge pull request #18260 from alalek:static_code_fixes_2
2020-09-03 21:25:38 +00:00
Alexander Alekhin
17640d6008
Merge pull request #18258 from alalek:opencl_multiple_execution_contexts_fixup
2020-09-03 21:25:20 +00:00
Alexander Alekhin
8711653530
ocl: fixes for OpenCL multiple contexts support
2020-09-03 20:34:49 +00:00
Alexander Alekhin
7e019af50d
checks and fixes from static code analyzers results (2)
2020-09-03 18:28:27 +00:00
Giles Payne
8b61719a9d
Swift native in/out array handling
2020-09-03 21:31:11 +09:00
Alexander Alekhin
fa11b98800
Merge pull request #18255 from alalek:backport_18243
2020-09-02 22:50:21 +00:00
Alexander Alekhin
5ae9892170
Merge pull request #18243 from alalek:static_code_fixes
2020-09-02 22:50:00 +00:00
Alexander Alekhin
6426101433
Merge pull request #18186 from alalek:opencl_multiple_execution_contexts
2020-09-02 22:49:13 +00:00
Alexander Alekhin
cf8322c0d3
Merge pull request #18194 from VadimLevin:dev/vlevin/openjpeg-source-intergration
2020-09-02 22:48:09 +00:00
Alexander Alekhin
64c67a93d3
Merge pull request #18246 from YashasSamaga:dnn-permute-fix-unwanted-ocl-init
2020-09-02 21:15:19 +00:00
Vadim Levin
0384eb7d8c
3rdparty: integrate OpenJPEG build to the OpenCV CMake
...
- adopted build scripts
- OpenJPEG build warnings are suppressed
2020-09-02 20:45:35 +00:00
Vadim Levin
0c84b91dde
3rdparty: add OpenJPEG library source code (tag v2.3.1)
...
- https://github.com/uclouvain/openjpeg/releases/tag/v2.3.1
- src/lib/openjp2
- readme files
2020-09-02 20:17:01 +00:00
Alexander Alekhin
154380ccf5
Merge pull request #18234 from l-bat:onnx_reshape
2020-09-02 19:31:22 +00:00
Orest Chura
7a796b20ea
Merge pull request #18182 from OrestChura:oc/operators_to_cv
...
[G-API]: Relocation of operators' overloads
* Relocates overloaded operators for `cv::GMat` and `cv::GScalar` to `cv::` namespace
- adds test to check usage of operators compilation
* Add tests for all the operators
* Address comments
2020-09-02 19:28:10 +00:00
Alexander Alekhin
1f2c83845d
backport: checks and fixes from static code analyzers results
...
original commit: 71f665bd8c
2020-09-02 19:05:47 +00:00
Alexander Alekhin
71f665bd8c
checks and fixes from static code analyzers results
2020-09-02 21:59:34 +03:00
Liubov Batanina
2349a09736
Support Reshape with zero dim
2020-09-02 11:58:43 +03:00
YashasSamaga
1df533c914
fix typo in fusion tests
2020-09-02 14:25:36 +05:30
YashasSamaga
44bf748479
do not allocate UMat in non-OpenCL targets
2020-09-02 12:18:41 +05:30
Alexander Alekhin
2129c72bc0
core(OpenCL): thread-local OpenCL execution context
2020-09-02 05:04:20 +00:00
Alexander Alekhin
0428dce27d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-01 20:59:00 +00:00
Alexander Alekhin
f9fbd29c14
Merge pull request #18225 from dmici:fix_missing_0.5_factor_in_anisotropic_segmentation_tutorial
2020-09-01 20:49:59 +00:00
pemmanuelviel
31dc3e9256
Merge pull request #18211 from pemmanuelviel:pev--handle-dna-vectors
...
* DNA-mode: update miniflann to handle DNA
* DNA-mode: update hierarchical kmeans to handle DNA sequences
2020-09-01 20:38:21 +00:00
Yosshi999
698b2bf729
Merge pull request #18167 from Yosshi999:bit-exact-gaussian
...
Bit exact gaussian blur for 16bit unsigned int
* bit-exact gaussian kernel for CV_16U
* SIMD optimization
* template GaussianBlurFixedPoint
* remove template specialization
* simd support for h3N121 uint16
* test for u16 gaussian blur
* remove unnecessary comments
* fix return type of raw()
* add typedef of native internal type in fixedpoint
* update return type of raw()
2020-09-01 10:28:25 +00:00
Alexander Alekhin
1d42560018
Merge pull request #18235 from alalek:ocl_off_cleanup
2020-08-31 20:37:41 +00:00
Alexander Alekhin
efcf307b4c
ocl: cleanup dead code in case of disabled OpenCL
2020-08-31 11:30:42 +00:00
dmici
6876f3b91d
fix missing 0.5 factor in anisotropic segmentation tutorial
2020-08-30 10:17:50 +02:00
Giles Payne
60354e3901
Merge pull request #18094 from komakai:macos-universal-binary
...
* Universal Build for Big Sur
* Refactor MacOS/iOS build to only ever build one architecture at a time + improve code readability
* Workaround for CMake issue 20989
2020-08-30 01:41:54 +03:00
Alexander Alekhin
2e6e9c14b5
Merge pull request #18210 from VadimLevin:dev/vlevin/openjpeg-reduce-filesize
2020-08-28 18:29:44 +00:00
Yosshi999
7495a4722f
Merge pull request #18053 from Yosshi999:bit-exact-resizeNN
...
Bit-exact Nearest Neighbor Resizing
* bit exact resizeNN
* change the value of method enum
* add bitexact-nn to ResizeExactTest
* test to compare with non-exact version
* add perf for bit-exact resizenn
* use cvFloor-equivalent
* 1/3 scaling is not stable for floating calculation
* stricter test
* bugfix: broken data in case of 6 or 12bytes elements
* bugfix: broken data in default pix_size
* stricter threshold
* use raw() for floor
* use double instead of int
* follow code reviews
* fewer cases in perf test
* center pixel convention
2020-08-28 21:20:05 +03:00
Alexander Alekhin
721ab68bec
Merge pull request #18208 from mshabunin:lower-ffmpeg-version
2020-08-27 17:15:42 +00:00
Alexander Alekhin
192e5c8166
Merge pull request #18203 from catree:feat_robot_world_hand_eye_calib
2020-08-27 17:14:32 +00:00
Alexander Alekhin
7ce56b3a47
Merge pull request #18207 from pemmanuelviel:pev--fix-memset
2020-08-27 17:10:23 +00:00
Vadim Levin
bce5d364df
feat: change OpenJPEG encoder to lossy with default parameters
2020-08-27 15:11:45 +03:00
Maksim Shabunin
2dfb163281
videoio: reduce min libavcodec version
2020-08-27 13:25:04 +03:00
Pierre-Emmanuel Viel
5376863c0c
bugfix
2020-08-27 12:21:02 +02:00
catree
417d7a38de
Add Robot-World/Hand-Eye calibration function.
2020-08-27 07:24:07 +02:00
Alessandro de Oliveira Faria (A.K.A.CABELO)
a86e036594
Merge pull request #18184 from cabelo:yolov4-in-model
...
ADD yolov4 in models.yml
2020-08-26 22:30:12 +00:00
Alexander Alekhin
ba147d2be2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-26 15:51:25 +00:00
Alexander Alekhin
01324b02e7
Merge pull request #18136 from nglee:dev_cudaEqualizeHistBitExact
2020-08-26 12:11:43 +00:00
Alexander Alekhin
792722865f
Merge pull request #17919 from zhaoyue-zephyrus:flownet2_with_anysize
2020-08-26 11:43:17 +00:00
Sergei Slashchinin
9aa401a7d0
Merge pull request #17978 from sl-sergei:fix_17516_17531
...
* Fix ONNX loading in issues opencv#17516, opencv#17531
* Add tests for Linear and Matmul layers
* Disable tests for IE versions lower than 20.4
* Skip unstable tests with OpenCL FP16 on Intel GPU
* Add correct test filtering for OpenCL FP16 tests
2020-08-26 10:15:59 +00:00
jinyup100
a160e4fb6b
Merge pull request #17647 from jinyup100:add-siamrpnpp
...
[GSoC] Add siamrpnpp.py
* Updated base branch with siamrpnpp.py
* Addition of Parsers
* Merged to using few ONNX files, Changes to Parsers, Links to Repo
* Deleted whitespace
* Adjusting flake8 error
* Fixes according to review
* Fix according to review
* Addition of OpenVINO backends and Computation target devices
* Fix on backend after review
* Fixes after review
* Remove extra white space
* Removed Repeated Varaibles
2020-08-25 20:01:16 +00:00
Alexander Alekhin
c7422e4d90
Merge pull request #18171 from catree:fix_pnp_doc
2020-08-25 18:24:30 +00:00
Anastasiya(Asya) Pronina
1192cbe4ab
Merge pull request #17163 from AsyaPronina:gcompound_kernel_gmatp_coop
...
* Fixed cooperation of Compound kernel and GMatP type
* Added test for GCompound kernel + GMatP type cooperation
2020-08-25 13:51:43 +00:00
Alexander Alekhin
485d2b593c
Merge pull request #18178 from catree:improve_camera_matrix_doc
2020-08-25 13:33:39 +00:00
Alexander Alekhin
1bea537731
Merge pull request #18165 from catree:fix_hand_eye_calibration_Andreff_NaN_3.4
2020-08-25 13:28:21 +00:00
Alexander Alekhin
75e88d613f
Merge pull request #18185 from VadimLevin:dev/vlevin/ffmpeg-versions-guard-fix
2020-08-25 07:29:42 +00:00
catree
379b83e946
Fix cubic root computation to be able to handle negative values. Improve doc. Add regression test.
2020-08-25 03:37:56 +02:00
catree
dda1bf1887
Add broken implementation note for DLS and UPnP.
...
Add CV_LOG_DEBUG.
2020-08-25 03:07:00 +02:00
Vadim Levin
f7e524cbe6
fix: libavcodec version check for AVDISCARD_NONINTRA
...
- AVDISCARD_NONINTRA flag is supported only for FFMPEG libraries pack
2020-08-24 23:12:49 +03:00
Vadim Levin
e503ac508e
fix: libavcodec version check for AV_CODEC_FLAG_GLOBAL_HEADER
2020-08-24 23:07:25 +03:00
Vadim Levin
458bd1652d
Merge pull request #18146 from VadimLevin:dev/vlevin/ffmpeg-remove-obsolte-versions-support
...
Remove obsolete FFMPEG versions support
* refactor: removed obsolete FFMPEG version support
- Oldest available version via official FFMPEG repository mirror has tag v.0.5
LIBAVFORMAT version for this tag is 52.31.0
* refactor: prefer std::min function to MIN macro
* refactor: use appropriate macro instead of manual version calculation
* refactor: remove macros for versions prior 0.5.15 release
* refactor: remove libavcodec macros for versions < 54.35.1 (default to Ubuntu 14.04)
* refactor: remove libavformat macro for versions < 54.20.4 (default ubuntu 14.04)
* refactor: remove libavutil macro for versions < 52.3.0 (default ubuntu 14.04)
* refactor: remove missed macros for libavcodec and libavformat
* refactor: remove unused _opencv_ffmpeg_free function
* build: add FFMPEG libraries versions checks
- Add verbose message about what FFMPEG libraries are missing.
- Add minimal versions check set to libav 9.20 release (default ubuntu 14.04) and FFMPEG 1.1.16 release.
If the check is failed CMake produces user-friendly message instead of build error.
* fix: libavcodec version guard for AVDISCARD_NONINTRA
* fix: libav check of libavcodec version guard for AVDISCARD_NONINTRA
* fix: version check for AV_CODEC_FLAG_GLOBAL_HEADER
* fix: missing FFMPEG libraries output
2020-08-24 18:39:05 +00:00
Alexander Alekhin
f5ba3f51ce
Merge pull request #18181 from l-bat:onnx_pow
2020-08-24 14:18:08 +00:00
Orest Chura
e5e08ec523
Merge pull request #18148 from OrestChura:oc/fluid_core_perf
...
[G-API]: Fluid Core kernels performance tests
* Add performance tests for a list of Fluid Core kernels
* Update gapi_core_perf_tests_fluid.cpp
Addressing a comment
2020-08-24 11:46:32 +00:00
Liubov Batanina
d392b11dfb
Supported ONNX Pow op
2020-08-24 11:20:18 +03:00
catree
cd01ee9a54
Use camera intrinsic matrix everywhere. Add cameramatrix, distcoeffs and distcoeffsfisheye macros to avoid copy/paste errors.
2020-08-24 05:39:23 +02:00
Ian Maquignaz
8c1af09989
Merge pull request #18083 from IanMaquignaz:fix_gen_pattern_centering
...
* Fixed centering issue with make_cicle_pattern and make_acircle_pattern()
* Fixed issue where asymmetric circles were not at 45 degree angles. Also fixed support for inch measurement by converting parsing to usage of floating points for page size
* Fixed copy-paste error from experimental workspace
2020-08-23 22:32:58 +00:00
Alexander Alekhin
3547ac4b49
Merge pull request #17675 from zihaomu:GSoC_digit_text_detect_and_recog
2020-08-22 20:21:49 +03:00
Alexander Alekhin
f6c2bf21c8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-21 19:57:34 +00:00
Alexander Alekhin
f53ff0d01c
Merge pull request #18151 from alalek:core_trace_fix_location
2020-08-21 18:54:40 +00:00
Alexander Alekhin
4f48dab023
Merge pull request #18150 from alalek:ocl_async_cleanup_no_warning
2020-08-21 18:54:08 +00:00
Zihao Mu
397ba2d9aa
add OpenCV sample for digit and text recongnition, and provide multiple OCR models.
2020-08-22 01:02:13 +08:00
Namgoo Lee
a7ffcaab28
Remove compiler warnings
2020-08-21 23:52:30 +09:00
Namgoo Lee
f617f18e46
bit-exact cuda::equalizeHist
2020-08-21 22:53:40 +09:00
Alexander Alekhin
4372d75b26
Merge pull request #18135 from AnnaPetrovicheva:logo_text
2020-08-21 13:07:26 +00:00
Clement Courbet
da555a2c9b
Optimize opencv dft by vectorizing radix2 and radix3.
...
This is useful for non power-of-two sizes when WITH_IPP is not an option.
This shows consistent improvement over openCV benchmarks, and we measure
even larger improvements on our internal workloads.
For example, for 320x480, `32FC*`, we can see a ~5% improvement}, as
`320=2^6*5` and `480=2^5*3*5`, so the improved radix3 version is used.
`64FC*` is flat as expected, as we do not specialize the functors for `double`
in this change.
```
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, 0, false) 1.239 1.153 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, 0, true) 0.991 0.926 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_COMPLEX_OUTPUT, false) 1.367 1.281 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_COMPLEX_OUTPUT, true) 1.114 1.049 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE, false) 1.313 1.254 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE, true) 1.027 0.977 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 1.296 1.217 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.039 0.963 1.08
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_ROWS, false) 0.542 0.524 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_ROWS, true) 0.293 0.277 1.06
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_SCALE, false) 1.265 1.175 1.08
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC1, DFT_SCALE, true) 1.004 0.942 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, 0, false) 1.292 1.280 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, 0, true) 1.038 1.030 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_COMPLEX_OUTPUT, false) 1.484 1.488 1.00
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_COMPLEX_OUTPUT, true) 1.222 1.224 1.00
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE, false) 1.380 1.355 1.02
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE, true) 1.117 1.133 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 1.372 1.383 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.117 1.127 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_ROWS, false) 0.546 0.539 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_ROWS, true) 0.293 0.299 0.98
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_SCALE, false) 1.351 1.339 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 64FC1, DFT_SCALE, true) 1.099 1.092 1.01
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, 0, false) 2.235 2.123 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, 0, true) 1.843 1.727 1.07
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_COMPLEX_OUTPUT, false) 2.189 2.109 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_COMPLEX_OUTPUT, true) 1.827 1.754 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE, false) 2.392 2.309 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE, true) 1.951 1.865 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 2.391 2.293 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 1.954 1.882 1.04
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_ROWS, false) 0.811 0.815 0.99
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_ROWS, true) 0.426 0.437 0.98
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_SCALE, false) 2.268 2.152 1.05
dft::Size_MatType_FlagsType_NzeroRows::(320x480, 32FC2, DFT_SCALE, true) 1.893 1.788 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, 0, false) 4.546 4.395 1.03
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, 0, true) 3.616 3.426 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_COMPLEX_OUTPUT, false) 4.843 4.668 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_COMPLEX_OUTPUT, true) 3.825 3.748 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE, false) 4.720 4.525 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE, true) 3.743 3.601 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 4.755 4.527 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 3.744 3.586 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_ROWS, false) 1.992 2.012 0.99
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_ROWS, true) 1.048 1.048 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_SCALE, false) 4.625 4.451 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC1, DFT_SCALE, true) 3.643 3.491 1.04
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, 0, false) 4.499 4.488 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, 0, true) 3.559 3.555 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_COMPLEX_OUTPUT, false) 5.155 5.165 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_COMPLEX_OUTPUT, true) 4.103 4.101 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE, false) 5.484 5.474 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE, true) 4.617 4.518 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 5.547 5.509 1.01
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 4.553 4.554 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_ROWS, false) 2.067 2.018 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_ROWS, true) 1.104 1.079 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_SCALE, false) 4.665 4.619 1.01
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 64FC1, DFT_SCALE, true) 3.698 3.681 1.00
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, 0, false) 8.774 8.275 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, 0, true) 6.975 6.527 1.07
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_COMPLEX_OUTPUT, false) 8.720 8.270 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_COMPLEX_OUTPUT, true) 6.928 6.532 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE, false) 9.272 8.862 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE, true) 7.323 6.946 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 9.262 8.768 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 7.298 6.871 1.06
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_ROWS, false) 3.766 3.639 1.03
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_ROWS, true) 1.932 1.889 1.02
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_SCALE, false) 8.865 8.417 1.05
dft::Size_MatType_FlagsType_NzeroRows::(800x600, 32FC2, DFT_SCALE, true) 7.067 6.643 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, 0, false) 10.014 10.141 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, 0, true) 7.600 7.632 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_COMPLEX_OUTPUT, false) 11.059 11.283 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_COMPLEX_OUTPUT, true) 8.475 8.552 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE, false) 12.678 12.789 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE, true) 10.445 10.359 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 12.626 12.925 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 10.538 10.553 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_ROWS, false) 5.041 5.084 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_ROWS, true) 2.595 2.607 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_SCALE, false) 10.231 10.330 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC1, DFT_SCALE, true) 7.786 7.815 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, 0, false) 13.597 13.302 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, 0, true) 10.377 10.207 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_COMPLEX_OUTPUT, false) 15.940 15.545 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_COMPLEX_OUTPUT, true) 12.299 12.230 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE, false) 15.270 15.181 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE, true) 12.757 12.339 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 15.512 15.157 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 12.505 12.635 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_ROWS, false) 6.359 6.255 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_ROWS, true) 3.314 3.248 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_SCALE, false) 13.937 13.733 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 64FC1, DFT_SCALE, true) 10.782 10.495 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, 0, false) 18.985 18.926 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, 0, true) 14.256 14.509 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_COMPLEX_OUTPUT, false) 18.696 19.021 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_COMPLEX_OUTPUT, true) 14.290 14.429 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE, false) 20.135 20.296 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE, true) 15.390 15.512 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 20.121 20.354 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 15.341 15.605 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_ROWS, false) 8.932 9.084 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_ROWS, true) 4.539 4.649 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_SCALE, false) 19.137 19.303 0.99
dft::Size_MatType_FlagsType_NzeroRows::(1280x1024, 32FC2, DFT_SCALE, true) 14.565 14.808 0.98
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, 0, false) 22.553 21.171 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, 0, true) 17.850 16.390 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_COMPLEX_OUTPUT, false) 24.062 22.634 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_COMPLEX_OUTPUT, true) 19.342 17.932 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE, false) 28.609 27.326 1.05
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE, true) 24.591 23.289 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 28.667 27.467 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 24.671 23.309 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_ROWS, false) 9.458 9.077 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_ROWS, true) 4.709 4.566 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_SCALE, false) 22.791 21.583 1.06
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC1, DFT_SCALE, true) 18.029 16.691 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, 0, false) 25.238 24.427 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, 0, true) 19.636 19.270 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_COMPLEX_OUTPUT, false) 28.342 27.957 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_COMPLEX_OUTPUT, true) 22.413 22.477 1.00
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE, false) 26.465 26.085 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE, true) 21.972 21.704 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 26.497 26.127 1.01
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 22.010 21.523 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_ROWS, false) 11.188 10.774 1.04
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_ROWS, true) 6.094 5.916 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_SCALE, false) 25.728 24.934 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 64FC1, DFT_SCALE, true) 20.077 19.653 1.02
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, 0, false) 43.834 40.726 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, 0, true) 35.198 32.218 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_COMPLEX_OUTPUT, false) 43.743 40.897 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_COMPLEX_OUTPUT, true) 35.240 32.226 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE, false) 46.022 42.612 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE, true) 36.779 33.961 1.08
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 46.396 42.723 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 37.025 33.874 1.09
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_ROWS, false) 17.334 16.832 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_ROWS, true) 9.212 8.970 1.03
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_SCALE, false) 44.190 41.211 1.07
dft::Size_MatType_FlagsType_NzeroRows::(1920x1080, 32FC2, DFT_SCALE, true) 35.900 32.888 1.09
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, 0, false) 40.948 38.256 1.07
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, 0, true) 33.825 30.759 1.10
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_COMPLEX_OUTPUT, false) 53.210 53.584 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_COMPLEX_OUTPUT, true) 46.356 46.712 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE, false) 47.471 47.213 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE, true) 40.491 41.363 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 46.724 47.049 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 40.834 41.381 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_ROWS, false) 14.508 14.490 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_ROWS, true) 7.832 7.828 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_SCALE, false) 41.491 38.341 1.08
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC1, DFT_SCALE, true) 34.587 31.208 1.11
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, 0, false) 65.155 63.173 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, 0, true) 56.091 54.752 1.02
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_COMPLEX_OUTPUT, false) 71.549 70.626 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_COMPLEX_OUTPUT, true) 62.319 61.437 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE, false) 61.480 59.540 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE, true) 54.047 52.650 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 61.752 61.366 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 54.400 53.665 1.01
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_ROWS, false) 20.219 19.704 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_ROWS, true) 11.145 10.868 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_SCALE, false) 66.220 64.525 1.03
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 64FC1, DFT_SCALE, true) 57.389 56.114 1.02
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, 0, false) 86.761 88.128 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, 0, true) 75.528 76.725 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_COMPLEX_OUTPUT, false) 86.750 88.223 0.98
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_COMPLEX_OUTPUT, true) 75.830 76.809 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE, false) 91.728 92.161 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE, true) 78.797 79.876 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, false) 92.163 92.177 1.00
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_INVERSE|DFT_COMPLEX_OUTPUT, true) 78.957 79.863 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_ROWS, false) 24.781 25.576 0.97
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_ROWS, true) 13.226 13.695 0.97
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_SCALE, false) 87.990 89.324 0.99
dft::Size_MatType_FlagsType_NzeroRows::(2048x2048, 32FC2, DFT_SCALE, true) 76.732 77.869 0.99
```
2020-08-21 14:06:09 +02:00
Anna Petrovicheva
885fb703cf
Added a note about OpenCV logo
2020-08-21 11:18:40 +03:00
Alexander Alekhin
cd00d8f3f0
core(trace): lazy quering for OPENCV_TRACE_LOCATION
...
- fixes proper initialization of non-trivial variable
2020-08-20 21:48:05 +00:00
Alexander Alekhin
b3755e617c
ocl: silence warning in case of async cleanup
...
- OpenCL kernel cleanup processing is asynchronous and can be called even after forced clFinish()
- buffers are released later in asynchronous mode
- silence these false positive cases for asynchronous cleanup
2020-08-20 19:33:37 +00:00
Alexander Alekhin
fc0f9da7a7
Merge pull request #18084 from pemmanuelviel:pev--add-DNA-distances
2020-08-20 13:26:02 +00:00
Alexander Alekhin
277961fa25
Merge pull request #18085 from pemmanuelviel:pev--add-DbgAssert-checks
2020-08-20 13:25:02 +00:00
Alexander Alekhin
8cc2cbf1c4
Merge pull request #18121 from ivashmak:fixing_usac
2020-08-20 13:23:12 +00:00
Alexander Alekhin
14a9103fc0
Merge pull request #18129 from pemmanuelviel:pev--update-stereo-sample
2020-08-20 13:21:58 +00:00
Pierre-Emmanuel Viel
6d1f7c2b1b
Update the stereo sample:
...
* add the HH4 mode
* option to display disparity with a color map
* display current settings in the title bar
* don't close app when wanting to take screenshots
2020-08-20 12:20:25 +02:00
Alexander Alekhin
2c1f3487a4
Merge pull request #18037 from danielenricocahall:improve-brisk-init-perf
2020-08-18 20:06:17 +00:00
Alexander Alekhin
acc6189da0
Merge pull request #18022 from SoheibKadi:Update_CornerSubPix_Documentation
2020-08-18 13:19:18 +00:00
danielenricocahall
ac177b849c
Improve initialization performance of Brisk
...
reformatting
Improve initialization performance of Brisk
fix formatting
Improve initialization performance of Brisk
formatting
Improve initialization performance of Brisk
make a lookup table for ring
use cosine/sine lookup table for theta in brisk and utilize trig identity
fix ring lookup table
use cosine/sine lookup table for theta in brisk and utilize trig identity
formatting
use cosine/sine lookup table for theta in brisk and utilize trig identity
move scale radius product to ring loop to ensure it's not recomputed for each rot
revert change
move scale radius product to ring loop to ensure it's not recomputed for each rot
remove rings lookup table
move scale radius product to ring loop to ensure it's not recomputed for each rot
fix formatting of for loop
move scale radius product to ring loop to ensure it's not recomputed for each rot
use sine/cosine approximations for brisk lookup table.
add documentation for sine/cosine lookup tables
Improve initialization performance of BRISK
2020-08-18 07:11:21 -04:00
Alexander Alekhin
d696d7f9ea
Merge pull request #17989 from Yikun:arm64-check-action
2020-08-18 13:22:25 +03:00
Alexander Alekhin
29aeebf5bc
Merge pull request #18119 from tomoaki0705:fixFfmpegBuildFailure
2020-08-17 19:25:55 +00:00
Alexander Alekhin
41548a091b
Merge pull request #17993 from Maxim-Doronin:vpu/mdoronin/refactor_vpu_configs
2020-08-17 19:20:04 +00:00
Maksym Ivashechkin
c9e1386e44
fix CV_Check warnings
2020-08-17 21:15:19 +02:00
Tomoaki Teshima
cc769ff19d
fix build error on odroid-n2-plus
2020-08-17 21:24:54 +09:00
Vadim Pisarevsky
5108e3ced6
Merge pull request #18073 from vpisarev:apache2_license
...
changed OpenCV license from BSD to Apache 2 license
* as discussed and announced earlier, changed OpenCV license from BSD to Apache 2. Many files still contain old-style copyrights though
* changed wording a bit; preserve the original OpenCV BSD license
2020-08-17 11:49:11 +00:00
Alexander Alekhin
8753203df0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-17 10:29:12 +00:00
Yosshi999
1834eed809
Merge pull request #18001 from Yosshi999:sift-8bit-descr
...
* 8-bit SIFT descriptors
* use clearer parameter
* update docs
* propagate type info
* overload function for avoiding ABI-break
* bugfix: some values are undefined when CV_SIMD is absent
2020-08-17 10:28:44 +00:00
Alexander Alekhin
b34234ac14
Merge pull request #18105 from alalek:highgui_gtk_dont_terminate
2020-08-17 08:52:01 +00:00
Alexander Alekhin
7ec9f52509
highgui: don't terminate if we can't initialize GTK backend
...
- allow Users to handle such case
- exception will be thrown instead
2020-08-16 09:30:09 +00:00
Maksym Ivashechkin
a66f61748f
Merge pull request #17683 from ivashmak:homography
...
[GSoC] New RANSAC. Homography part
* change enum and squash commits
* add small improvements
* change function to static, update magsac
* remove path from samples, remove license, small updates
* update pnp solver, small improvements
* fix warnings
* add tutorial, comments
* fix markdown warnings
* fix markdown warnings
* fix markdown warnings
2020-08-14 22:42:26 +00:00
Alexander Alekhin
b45273eccb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-14 19:45:45 +00:00
nhlsm
68f527267b
Merge pull request #18080 from nhlsm:improve-mat-operator-assign-scalar
...
* improve Mat::operator=(Scalar)
* touch
* remove trailing whitespace
* TEST: check if old code pass test or not
* remove CV_Error
* remove warning
* fix: is -> Scalar
* 1) Mat *mat -> Mat &mat 2) return bool, add output param
* add comment
2020-08-14 17:21:23 +00:00
Alexander Alekhin
7f22b34c78
Merge pull request #18092 from alalek:ocl_fix_image_format
2020-08-14 17:10:36 +00:00
Liubov Batanina
ad63d24dba
Merge pull request #18096 from l-bat:update_onnx_importer
...
* Added ReduceSum to ONNX importer
* Fix comments
* Fix Mul
2020-08-14 16:49:42 +00:00
Alexander Alekhin
3b5813c035
Merge pull request #18078 from l-bat:fix_matmul
2020-08-14 13:46:46 +00:00
Liubov Batanina
339b963e6b
Fix MatMul and Add axes
2020-08-14 11:18:58 +03:00
Alexander Alekhin
00890aecdf
core(ocl): fix ocl::Image2d::isFormatSupported()
...
in case of OPENCV_OPENCL_DEVICE=disabled
2020-08-13 18:33:18 +00:00
Maksim Doronin
7fe87d9a5b
[IE][VPU]: Refactor vpu configs
2020-08-13 15:25:01 +03:00
Yashas Samaga B L
2171cae8ff
Merge pull request #17976 from YashasSamaga:dnn-fusion-tests-fix-ocl
...
dnn: add exhaustive fusion tests, enable more eltwise fusions
* add eltwise fusion tests, enable more eltwise fusions
* merge weighted eltwise tests with eltwise tests
2020-08-13 10:55:41 +00:00
Pierre-Emmanuel Viel
3f55152ca0
Add debug assert to check in FLANN the vectors size is multiple of the architecture word size
2020-08-12 23:07:35 +02:00
Liubov Batanina
f3cebb3e1b
Merge pull request #18077 from l-bat:reduce_sum
...
* Supported ReduceSum op
* Skip test
2020-08-12 14:32:16 +00:00
Alexander Alekhin
2b227f00f2
Merge pull request #18074 from pemmanuelviel:pev--kmeans-refactoring
2020-08-12 13:18:20 +00:00
Pierre-Emmanuel Viel
98de57c6c4
Refactoring to prepare for other vector types while mutualizing some methods
2020-08-12 00:57:37 +02:00
zhaoyue-zephyrus
e231be86b7
support flownet2 with arbitary input size
...
revise default proto to match the filename in documentations
fix a bug
beautify python codes
fix bug
beautify codes
add test samples with larger/smaller size
remove unless code
using bytearray without creating tmp file
remove useless codes
2020-08-12 00:50:58 +08:00
Yikun Jiang
a37f7cce52
Add arm64-build-checks github action
2020-08-11 18:06:33 +08:00
Elizarov Ilya
7ec221e734
Merge pull request #18033 from ieliz:dasiamrpn
...
Improving DaSiamRPN tracker sample
* changed layerBlobs in dnn.cpp and added DaSiamRPN tracker
* Improving DaSiamRPN tracker sample
* Docs fix
* Removed outdated changes
* Trying to reinitialize tracker without reloading models. Worked with LaSOT-based benchmark with reinit rate=250 frames
* Trying to reverse changes
* Moving the model in the constructor
* Fixing some issues with names
* Variable name changed
* Reverse parser arguments changes
2020-08-11 11:46:47 +03:00
Alexander Alekhin
949fe93d5a
Merge pull request #18059 from komakai:improve-swift-docs
2020-08-10 20:28:41 +00:00
Alexander Alekhin
b4e9b4fe7d
Merge pull request #18060 from YashasSamaga:cuda4dnn-fix-detection-output-cterr
2020-08-10 20:26:50 +00:00
Alexander Alekhin
c3ced6db4e
Merge pull request #18062 from pemmanuelviel:pev-multiple-kmeans-trees
2020-08-10 20:25:49 +00:00
Alexander Alekhin
0b38571920
Merge pull request #18065 from komakai:fix-converter
2020-08-10 20:24:54 +00:00
Alexander Alekhin
2ffe15f22f
Merge pull request #18031 from ilyachur:feature/ichuraev/remove_goe
2020-08-10 17:36:58 +00:00
pemmanuelviel
fe9ff64d64
Merge pull request #17643 from pemmanuelviel:pev--new-flann-demo
...
* Add a FLANN example showing how to search a query image in a dataset
* Clean: remove warning
* Replace dependency to boost::filesystem by calls to core/utils/filesystem
* Wait for escape key to exit
* Add an example of binary descriptors support
* Add program options for saving and loading the flann structure
* Fix warnings on Win64
* Fix warnings on 3.4 branch still relying on C++03
* Add ctor to img_info structure
* Comments modification
* * Demo file of FLANN moved and renamed
* Fix distances type when using binary vectors in the FLANN example
* Rename FLANN example file
* Remove dependency of the flann example to opencv_contrib's SURF.
* Remove mention of FLANN and other descriptors that aimed at giving hint on the other options
* Cleaner program options management
* Make waitKey usage minimal in FLANN example
* Fix the conditions order
* Use cv::Ptr
2020-08-10 13:26:40 +00:00
Giles Payne
31ddd98c8e
Fix Objective-C declaration of Mat_to_vector_Point2d
2020-08-10 20:32:42 +09:00
Alexander Alekhin
3f65c12d0c
Merge pull request #17982 from nglee:dev_cudaGpuMatConvertToInplaceFix
2020-08-09 20:21:17 +00:00
Pierre-Emmanuel Viel
759c9522fd
Merge the two KMeansIndexParams ctor on master
2020-08-09 21:56:21 +02:00
YashasSamaga
f0149cdae2
fix compile-time errors, disable unsupported tests
2020-08-09 14:43:20 +05:30
Giles Payne
bedabc15ae
Obj-C/Swift docs improvements
2020-08-09 16:53:10 +09:00
Alexander Alekhin
565f14655c
Merge pull request #18039 from peters:master
2020-08-07 10:34:22 +00:00
Peter Rekdal Sunde
760e7e8efa
Add support for using new ffmpeg encoding API when writing a video.
2020-08-06 23:43:47 +02:00
Alexander Alekhin
336627a776
Merge pull request #18048 from l-bat:onnx_torchvision
2020-08-06 20:21:47 +00:00
Alexander Alekhin
fa25faa2d2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-08-06 14:15:52 +00:00
Liubov Batanina
6226ea0085
Fix bug in ONNX Gather op
2020-08-06 15:47:34 +03:00
Alexander Alekhin
dbab8d8c38
Merge pull request #18043 from opencv:garybradski-patch-1
2020-08-06 08:34:04 +03:00
Gary Bradski
9f02b8742e
Update README.md
...
I think there should be something under ### Resources for example:
* Additional OpenCV functionality: <https://github.com/opencv/opencv_contrib >
2020-08-05 17:00:56 -07:00
Alexander Alekhin
1067cd0649
Merge pull request #18036 from alalek:backport_17858
2020-08-04 20:16:22 +00:00
Vadim Pisarevsky
1537ecd931
* added depth-wise convolution; gives ~20-30% performance improvement in MobileSSD networks
...
* hopefully, eliminated compile warnings, errors, as well as failure in one test
* * fixed a few typos
* decreased buffer size in some cases
* added more optimal im2row branch in the case of 1x1 convolutions
* tuned fastConv to reduce the number of passes over arrays
backport of commit 77b01deb80
2020-08-04 17:34:48 +00:00
Alexander Alekhin
5b5c42d2c7
Merge pull request #18027 from dkurt:dnn_backport_ngraph
2020-08-04 16:24:11 +00:00
Alexander Alekhin
161890dad4
Merge pull request #18017 from danielenricocahall:add-relu-to-darknet
2020-08-04 16:17:07 +00:00
Alexander Alekhin
35846fe735
Merge pull request #18008 from gsmatos:document-patchnans
2020-08-04 16:15:53 +00:00
Alexander Alekhin
422f802ec9
Merge pull request #17922 from joy2myself:build_riscv_with_c++_intrin
2020-08-04 09:45:32 +00:00
Ilya Churaev
5fd3d36fe8
Removed get_output_as_single_output_node method
2020-08-04 08:18:38 +03:00
Gabriel
96ce65f021
Document PatchNANs input type
2020-08-03 22:57:18 -03:00
danielenricocahall
8457e471fd
add relu as activation option in darknet
...
add relu option
add relu as activation option in darknet
simplify the setParams if-else ladder
add relu as activation option in darknet
correct activation_param type
format
format
add relu as activation option in darknet
spacing
spacing
add relu as activation option in darknet
2020-08-03 19:19:35 -04:00
Ilya Churaev
246de2b7f5
Replaced copy_with_new_args to clone_with_new_inputs
2020-08-03 23:08:29 +03:00
Ilya Churaev
e8c26963e9
Fixed removing is_parameter, is_constant, is_output
2020-08-03 23:08:22 +03:00
pemmanuelviel
793e7c0d9f
Merge pull request #18019 from pemmanuelviel:pev--multiple-kmeans-trees
...
* Possibility to set more than one tree for the hierarchical KMeans (default is still 1 tree).
This particularly improves NN retrieval results with binary vectors, allowing better quality
compared to LSH for similar processing time when speed is the criterium.
* Add explanations on the FLANN's hierarchical KMeans for binary data.
2020-08-03 18:29:57 +00:00
Alexander Alekhin
3b337a12c9
Merge pull request #18018 from danielenricocahall:add-compose-panorama-python-binding
2020-08-03 18:28:18 +00:00
Alexander Alekhin
2c32cb743c
Merge pull request #18016 from pemmanuelviel:pev--cleaner-hierarchical-clustering
2020-08-03 18:27:11 +00:00
Alexander Alekhin
11eff8bae0
Merge pull request #18014 from lpea:fix_build_with_aravis
2020-08-03 18:26:53 +00:00
Alexander Alekhin
883b995fd6
Merge pull request #18012 from sturkmen72:update_doc_and_sample
2020-08-03 18:26:12 +00:00
Alexander Alekhin
27b2059662
Merge pull request #18011 from YashasSamaga:cuda4dnn-feature-mvn
2020-08-03 18:25:14 +00:00
Alexander Alekhin
a28533933f
Merge pull request #17998 from dkurt:dnn_fix_ngraph
2020-08-03 18:23:11 +00:00
Liubov Batanina
d695208727
Merge pull request #17967 from l-bat:non_const_weights_for_conv
...
* Supported convolution with non-const weights
* Fix opencl blobs
* Update tests
2020-08-03 18:02:49 +00:00
pemmanuelviel
e6ec42d462
Merge pull request #17735 from pemmanuelviel:pev-fix-trees-descent
...
* Fix trees parsing behavior in hierarchical_clustering_index:
Before, when maxCheck was reached in the first descent of a tree, time was still wasted parsing
the next trees till their best leaf, just to skip the points stored there.
Now we can choose either to keep this behavior, and so we skip parsing other trees after reaching
maxCheck, or we choose to do one descent in each tree, even if in one tree we reach maxCheck.
* Apply the same change to kdtree.
As each leaf contains only 1 point (unlike hierarchical_clustering), difference is visible if trees > maxCheck
* Add the new explore_all_trees parameters to miniflann
* Adapt the FlannBasedMatcher read_write test to the additional search parameter
* Adapt java tests to the additional parameter in SearchParams
* Fix the ABI dumps failure on SearchParams interface change
* Support of ctor calling another ctor of the class is only fully supported from C+11
2020-08-03 18:00:59 +00:00
kadi soheib
613ff61de7
Added reference to paper.
2020-08-03 18:07:36 +03:00
Alexander Alekhin
65b02cc8f2
Merge pull request #17742 from SoheibKadi/DetectionOutput_layer_doc
...
Adding comment from source code to DetectionOutputLayer class documentation
2020-08-03 17:17:04 +03:00
Alexander Alekhin
1c8ee3f957
Merge pull request #17885 from alalek:dnn_ocl_slice_update
...
DNN: OpenCL/slice update
* dnn(ocl/slice): make slice kernel VTune friendly
- more unique names
- inline code of copy functions
* dnn(ocl/slice): prefer to spawn more work groups
- even in case with 1D copy
- perf improvement up to 2x of kernel time (due to changed configuration 128x1x1 => 128x32x1)
* dnn(ocl/slice): cache kernel exec info
2020-08-03 14:13:34 +00:00
Yosshi999
922108060d
Merge pull request #17907 from Yosshi999:gsoc_asift-py2cpp
...
* Implement ASIFT in C++
* '>>' should be '> >' within a nested template
* add a sample for asift usage
* bugfix empty keypoints cause crash
* simpler initialization for mask
* suppress the number of lines
* correct tex document
* type casting
* add descriptorsize for asift
* smaller testdata for asift
* more smaller test data
* add OpenCV short license header
2020-08-03 14:11:55 +00:00
Alexander Alekhin
ce74285c5e
Merge pull request #17478 from tomoaki0705:dropOldCC
2020-08-03 13:00:41 +00:00
Zhangyin
ff4c3873f2
Added cmake toolchain for RISC-V with clang.
...
- Added cross compile cmake file for target riscv64-clang
- Extended cmake for RISC-V and added instruction checks
- Created intrin_rvv.hpp with C++ version universal intrinsics
2020-08-03 20:18:56 +08:00
Alexander Alekhin
1192734131
Merge pull request #17882 from komakai:objc-contrib-wrappers
2020-08-03 11:10:37 +00:00
Suleyman TURKMEN
c262eea84a
Update warpPerspective_demo.cpp
2020-08-03 12:14:01 +03:00
danielenricocahall
f2ca7e664a
add python binding and tests for composePanorama
...
fix tests
pick 54039c2afd add python binding and tests for composePanorama
2020-08-02 19:29:16 -04:00
Dmitry Kurtaev
cf8f65d806
Do not use size_t for nGraph layers
2020-08-02 20:50:44 +03:00
Pierre-Emmanuel Viel
bc221bdb90
Cleaner code for hierarchical_clustering
2020-08-02 18:05:54 +02:00
lpea
29976a04c5
videoio: fix compilation with Aravis enabled
2020-08-02 14:27:44 +02:00
YashasSamaga
a3106d424b
add MVNOp
2020-08-02 12:44:35 +05:30
Vadim Pisarevsky
77b01deb80
Merge pull request #17858 from vpisarev:dnn_depthwise_conv
...
* added depth-wise convolution; gives ~20-30% performance improvement in MobileSSD networks
* hopefully, eliminated compile warnings, errors, as well as failure in one test
* * fixed a few typos
* decreased buffer size in some cases
* added more optimal im2row branch in the case of 1x1 convolutions
* tuned fastConv to reduce the number of passes over arrays
2020-08-01 15:05:05 +03:00
Yashas Samaga B L
f53f491cd2
Merge pull request #17939 from YashasSamaga:cuda4dnn-fix-eltwise-fusion
...
* fix eltwise fusion segfault, more eltwise fusions, fix power fusion
* add assertion
2020-08-01 15:03:07 +03:00
kadi soheib
6bed5c181b
Corrected Comment as requested by reviewer.
2020-07-31 23:43:38 +03:00
Maksim Shabunin
e421233a1d
Merge pull request #17301 from YashasSamaga:cuda4dnn-detection-output
2020-07-31 15:21:23 +00:00
Maksim Shabunin
f162c08cda
Merge pull request #17987 from mshabunin:fix-xcode-carotene
2020-07-31 09:08:10 +00:00
Maksim Shabunin
0d1d452b79
Merge pull request #17983 from Windfisch:Windfisch-patch-jpeg2000
2020-07-31 09:07:35 +00:00
Pavel Rojtberg
3c3e131c38
Merge pull request #17977 from paroj:hervec
...
* calib3d: calibrateHandEye - allow using Rodrigues vectors for rotation
* calib3d: calibrateHandEye - test rvec representation
2020-07-30 22:59:15 +03:00
Maksim Shabunin
a218cf3c61
Merge pull request #17957 from AnnaPetrovicheva:ap/update-logo
2020-07-30 19:56:32 +00:00
Maksim Shabunin
866468cc3e
Fix Carotene compilation with XCode
2020-07-30 22:52:29 +03:00
Florian Jung
f66fc199a2
Fix build of grfmt_jpeg2000.cpp
...
libjasper has recently changed `jas_matrix_get` from a macro to an inline function
(389951d071 in https://github.com/jasper-software/jasper ), causing the build to fail.
2020-07-30 19:23:52 +02:00
Namgoo Lee
11ac26bfb4
test code
2020-07-30 01:42:44 +09:00
Namgoo Lee
2241bfb0df
Use "src" not "*this" for source GpuMat
2020-07-30 01:03:34 +09:00
Vadim Pisarevsky
a2f7ef9d21
Merge pull request #17816 from vpisarev:essential_2cameras
...
* add findEssentialMat for two different cameras
* added smoke test for the newly added variant of findEssentialMatrix
Co-authored-by: tompollok <tom.pollok@gmail.com >
2020-07-29 16:28:01 +03:00
Anatoliy Talamanov
c708f506a4
Merge pull request #17493 from TolyaTalamanov:at/python-bindings-gapi
...
* Implement G-API python bindings
* Fix hdr_parser
* Drop initlization with brackets using regexp
* Handle bracket initilization another way
* Add test for core operations
* Declaration and definition of View constructor now in different files
* Refactor tests
* Remove combine decorator from tests
* Fix comment to review
* Fix test
* Fix comments to review
* Remove GCompilerArgs implementation from python
Co-authored-by: Pinaev <danil.pinaev@intel.com >
2020-07-29 16:18:52 +03:00
Tomoaki Teshima
d92af2aa85
* stop showing old generations
...
* keep it possible to build for old CC
* make sure old generations don't come up for the choice
* remove related version check of old one
2020-07-29 17:31:39 +09:00
YashasSamaga
ae293f27cf
add DetectionOutputOp
2020-07-29 12:28:00 +05:30
Alexander Alekhin
afe9993376
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-28 17:25:20 +00:00
Alexander Alekhin
e4d573a080
Merge pull request #17916 from SinM9:mish_functor_sin
2020-07-28 17:05:59 +00:00
Anna Petrovicheva
f86c8656a3
Updated the OpenCV logo
2020-07-28 18:31:21 +03:00
Maksim Shabunin
6697f0ea86
Merge pull request #17925 from sturkmen72:patch-2
2020-07-28 13:18:16 +00:00
Orest Chura
a9f5c19239
Merge pull request #17871 from OrestChura:oc/typed_GArray_GMat
...
* Added overload for `GArray<GMat>` ProtoParam in `gtyped.hpp`
* Tests+compile_args
- added tests for GArray<GMat> as an input and an output of GComputationT
- added possibility to give the compile_args to GComputationT.apply()
* Fix win errors
2020-07-28 14:20:36 +03:00
Orest Chura
53bfdc318a
Merge pull request #17896 from OrestChura:oc/fix_kw_videotests
...
* - fix numeric overflow due to incorrect type casting
- remove unnecessary default constructor
* Drop the cast
2020-07-28 13:25:56 +03:00
Maksim Shabunin
e935f06f16
Merge pull request #17928 from sturkmen72:update_samples
2020-07-27 08:32:25 +00:00
Maksim Shabunin
1e18004bdd
Merge pull request #17943 from tomoaki0705:fixPolarToCartRounding
2020-07-27 08:32:03 +00:00
Tomoaki Teshima
19646ad049
let the test pass on Jetson
2020-07-25 23:45:51 +09:00
Suleyman TURKMEN
7e943808b6
Update train_HOG.cpp
2020-07-23 20:23:31 +03:00
Suleyman TURKMEN
88dbee3589
Update samples
2020-07-23 20:09:37 +03:00
Maksim Shabunin
5bfa43f7d5
Merge pull request #17489 from Lapshin:ffmpeg_cap_consider_rotation_metadata_3.4
2020-07-23 08:35:51 +00:00
Alexander Smorkalov
7ed37b3fa5
MP4 autorotation tests and various fixes for Windows
...
- Added test for automated rotation for MP4 videos with metadata
- Fix 180 degrees rotation bug
- Moved rotation logic to cv::VideoCapture implementation for FFmpeg and restore binary compatibility with FFmpeg wrapper.
2020-07-23 09:30:18 +03:00
Alexey Lapshin
f0271e54d9
Autorotation for mp4 streams with metadata
...
- Add VideoCapture camera orientation property for mp4 videos with camera orientation meta.
- Add auto rotation for 90, 180, 270 degrees using cv::rotate
2020-07-23 09:27:04 +03:00
Sinitsina
0ac2f0e04c
mish_functor_update
2020-07-23 09:02:00 +03:00
Maksim Shabunin
ef1690ef45
Merge pull request #17913 from asmorkalov:as/connected_components_ref
2020-07-22 16:06:23 +00:00
Maksim Shabunin
0fa06b1db0
Merge pull request #17863 from nglee:dev_cudaDetachOutput
2020-07-22 08:19:32 +00:00
Alexander Smorkalov
abceef74e0
Added reference to Original Wu's articte about SAUF connected components search method.
2020-07-22 10:05:55 +03:00
Giles Payne
4cf76754d3
Add Objective-C/Swift wrappers for opencv_contrib modules
2020-07-21 19:19:08 +09:00
Maksim Shabunin
5444a6b11c
Merge pull request #17890 from l-bat:onnx_gather
2020-07-21 09:38:35 +00:00
Maksim Shabunin
b698d0a6ee
Merge pull request #17894 from ilyachur:feature/ichuraev/remove_copy_with_new_args
2020-07-21 08:19:42 +00:00
Maksim Shabunin
11fb04c2f7
Merge pull request #17888 from ilyachur:feature/ichuraev/1324_2
2020-07-21 08:16:32 +00:00
Ilya Churaev
aaf65bb3af
Fixed removing is_parameter, is_constant, is_output
2020-07-21 08:45:16 +03:00
Namgoo Lee
9411cd6c07
Use in-place npp function for inplace arguments
2020-07-21 10:27:43 +09:00
Maksim Shabunin
9d38a95292
Merge pull request #17887 from ilyachur:revert-17872-feature/ichuraev/1324
2020-07-20 16:15:49 +00:00
Ilya Churaev
0291dd3ef8
Replaced copy_with_new_args to clone_with_new_inputs
2020-07-20 16:05:01 +03:00
Liubov Batanina
a35d4f9029
Support Gather for variable inputs
2020-07-20 14:02:45 +03:00
Ilya Churaev
a46ca98c57
Revert "Fixed removing is_parameter, is_constant, is_output"
2020-07-20 07:00:09 +03:00
Alexander Alekhin
e65e23b9c0
Merge pull request #17872 from ilyachur:feature/ichuraev/1324
2020-07-19 17:28:05 +00:00
Alexander Alekhin
d8b2f11cc8
Merge tag '4.4.0'
2020-07-17 23:08:18 +00:00
Alexander Alekhin
c3bb57afea
release: OpenCV 4.4.0
2020-07-17 22:43:40 +00:00
Alexander Alekhin
8a480ac3c1
Merge pull request #17877 from alalek:issue_17876
2020-07-17 22:41:57 +00:00
Alexander Alekhin
ffe0d50447
core(persistence): fix "use after free" bug
...
- do not store user-controlled "FileStorage" pointer
- store FileStorage::Impl pointer instead
2020-07-17 21:39:06 +00:00
Alexander Alekhin
a199d7adf1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-17 17:00:54 +00:00
Alexander Alekhin
348414dc62
Merge pull request #17873 from dmatveev:dm/fix_vs_infer2
2020-07-17 17:00:06 +00:00
Dmitry Matveev
243ce78508
G-API: Try to fix infer2 problem with VS2017
2020-07-17 18:03:25 +03:00
Ilya Churaev
33db2ac928
Fixed removing is_parameter, is_constant, is_output
2020-07-17 14:45:11 +03:00
Alexander Alekhin
1fabe92ace
Merge pull request #17868 from alalek:dnn_openvino_2020.4_master
2020-07-17 10:47:12 +00:00
Vadim Pisarevsky
4564b8a224
Merge pull request #17841 from vpisarev:fixed_fs_dtor
...
* fixed issue #17412
* Update test_io.cpp
2020-07-17 02:28:50 +00:00
Alexander Alekhin
284d26da05
Merge tag '3.4.11'
2020-07-17 02:06:19 +00:00
Alexander Alekhin
971cc3354b
dnn(test): adjust tests for OpenVINO 2020.4 (4.x branch)
2020-07-17 01:42:16 +00:00
Alexander Alekhin
e8d4259f9a
release: OpenCV 3.4.11
2020-07-17 00:34:46 +00:00
Alexander Alekhin
8086afc60a
Merge pull request #17865 from alalek:add_missing_check_17036
2020-07-17 00:28:33 +00:00
Alexander Alekhin
9b7b22ee0e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-16 20:13:27 +00:00
Alexander Alekhin
b2ebd37ee2
Merge pull request #17856 from alalek:dnn_openvino_2020.4.0
2020-07-16 20:08:00 +00:00
Alexander Alekhin
83e6813345
imgproc: add missing check into cvtColorTwoPlane()
2020-07-16 20:01:44 +00:00
Orest Chura
d17ab271e8
Merge pull request #17668 from OrestChura:oc/giebackend_migration_to_core
...
GAPI: Migration to IE Core API
* Migration to IE Core API
- both versions are maintained
- checked building with all the OpenVINO versions (2019.R1, R2, R3, 2020.4 (newest))
* commit to awake builders
* Addressing comments
- migrated to Core API in 'gapi_ie_infer_test.cpp'
- made Core a singleton object
- dropped redundant steps
* Addressing comments
- modified Mutex locking
* Update
* Addressing comments
- remove getInitMutex()
- reduce amount of #ifdef by abstracting into functions
* return to single IE::Core
* Divide functions readNet and loadNet to avoid warnings on GCC
* Fix deprecated code warnings
* Fix deprecated code warnings on CMake level
* Functions wrapped
- All the functions depended on IE version wrapped into a cv::gapi::ie::wrap namesapace
- All this contained to a new "giebackend/gieapi.hpp" header
- The header shared with G-API infer tests to avoid code duplications
* Addressing comments
- Renamed `gieapi.hpp` -> `giewrapper.hpp`, `cv::gapi::ie::wrap` -> `cv::gimpl::ie::wrap`
- Created new `giewrapper.cpp` source file to avoid potential "multiple definition" problems
- removed unnecessary step SetLayout() in tests
* Enabling two NN infer teest
* Two-NN infer test change for CI
- deleted additional network
- inference of two identical NN used instead
* Fix CI fileNotFound
* Disable MYRIAD test not to fail Custom CI runs
2020-07-16 18:33:35 +00:00
Alexander Alekhin
09f24a851e
Merge pull request #17764 from alalek:issue_17762
2020-07-16 15:27:21 +00:00
Alexander Alekhin
a216b8bf87
Merge pull request #17842 from anton-potapov:gapi_debug_log
2020-07-16 13:02:19 +00:00
Alexander Alekhin
81e027eef7
dnn: fix OpenCL implementation of Slice layer
2020-07-16 04:33:52 +00:00
Alexander Alekhin
1c371d07b5
dnn(test): adjust tests for OpenVINO 2020.4
2020-07-15 23:47:40 +00:00
Alexander Alekhin
55e8549839
dnn: eliminate IE deprecation warning
2020-07-15 23:39:06 +00:00
Alexander Alekhin
f8d6c5b330
winpack_dldt: switch defaults to OpenVINO 2020.4
2020-07-15 22:13:19 +00:00
Alexander Alekhin
435b6df989
dnn: use OpenVINO 2020.4 defines
...
original commit: 2813aa7eb9
2020-07-15 20:13:40 +00:00
Alexander Alekhin
bf8136eaa6
Merge pull request #17849 from dkurt:fix_17848
2020-07-15 18:53:46 +00:00
Giles Payne
af9ee90091
Merge pull request #17818 from komakai:documentation-improvements
...
Documentation fixes/improvements
* Documentation fixes/improvements
* Remove HASH_UTILS defines
2020-07-15 18:42:05 +00:00
Pinaev Danil
cb2e276bff
Merge pull request #17741 from aDanPin:dp/add_dinamic_graph_feature
...
[G-API] Allow building graphs with a dynamic number of inputs and outputs
* Add dinamic graph feature and tests
* Remove unnecessary file
* Review response
* Add implementation of operator += for GRunArgs
And test for that case
* Tests refactoring
* Add doxygen
Review response
* Fix docs
* A small documentation fix
* Review response
* Add tests for more entities
* Add typed tests
* Another typed tests
* Doc fix
* Documentation fix
* Build fix
* Commit for rebuild
* The last one
2020-07-15 18:37:08 +00:00
Alexander Alekhin
cd0f0384ef
Merge pull request #17788 from YashasSamaga:cuda4dnn-nice-build
2020-07-15 12:25:23 +00:00
Dmitry Kurtaev
cc584760d3
Fix TensorFlow->ONNX imports
2020-07-15 14:36:13 +03:00
Alexander Alekhin
5924770504
Merge pull request #17847 from anton-potapov:gapi_own_mat_ctor_warnings
2020-07-15 10:48:02 +00:00
Anton Potapov
111cdd7a32
GAPI: fix warnings in own::Mat default generated constructors/assign op
2020-07-15 10:49:05 +03:00
Anton Potapov
89a17b4232
GAPI: GAPI_LOG_DEBUG facility
2020-07-15 01:31:25 +03:00
Dmitry Matveev
f0c411d8b5
Merge pull request #17502 from dmatveev:dm/infer2
...
* G-API: Introduce a new gapi::infer2 overload + gaze estimation sample
* G-API/infer2: Introduced static type checking for infer2
- Also added extra tests on the type check routine
* G-API/infer2: Addressed self-review comments in the sample app
- Also fix build on Linux;
* G-API/infer2: Remove incorrect SetLayout(HWC) + dead code
- Also fixed comments in the backend
* G-API/infer2: Continue with self-review
- Fix warnings/compile errors in gaze estimation
- Dropped the use of RTTI (VectorRef::holds()) from the giebackend
- Replaced it with a trait-based enums for GArray<T> and std::vector<T>
- The enums and traits are temporary and need to be unified with
the S11N when it comes
* G-API/infer2: Final self-review items
- Refactored ROIList test to cover 70% for infer<> and infer2<>;
- Fixed the model data discovery routine to be compatible with new
OpenVINO;
- Hopefully fixed the final issues (warnings) with the sample.
* G-API/infer2: address review problems
- Fixed typo in comments;
- Fixed public (Doxygen) comment on GArray<GMat> input case for infer2;
- Made model lookup more flexible to allow new & old OMZ dir layouts.
* G-API/infer2: Change the model paths again
* G-API/infer2: Change the lookup path for test data
* G-API/infer2: use randu instead of imread. CI war is over
2020-07-14 11:06:49 +03:00
Alexander Alekhin
e5e767abc1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-13 19:54:49 +00:00
Dmitry Budnikov
521aac9665
Merge pull request #17694 from dbudniko:dbudniko/serialization_args2
...
G-API args serialization
* args serialization
* GRunArgP draft
* UMat added
* bind added
* DmitryM's review addressed. Code clean up required.
* fix android build
* bind test added
* more comments addressed
* try to fix Mac build
* clean up
* header-based generic implementation (GRunArg)
* clang again
* one more attempt for clang
* more clean up
* More Dmitry's comments addressed.
* monostate removed
* Top level functions and some other comments addressed.
* fix warnings
* disable warning
2020-07-13 19:24:46 +00:00
Alexander Alekhin
d41b20b268
Merge pull request #17830 from alalek:fix_17815
2020-07-13 18:52:34 +00:00
Alexander Alekhin
36da867caf
features2d: v_fma => v_muladd for integers
2020-07-13 17:31:08 +00:00
Alexander Alekhin
c5f540e3d7
Merge pull request #17806 from alalek:dnn_ie_num_threads_windows
2020-07-13 17:12:31 +00:00
YashasSamaga
1949056423
improved diagnostics for build issues
2020-07-13 21:09:38 +05:30
pemmanuelviel
c90e824342
Merge pull request #17639 from pemmanuelviel:pev--binary-kmeans
...
Pev binary kmeans
* Ongoing work transposing kmeans clustering method for bitfields: the computeClustering method
Ongoing work transposing kmeans clustering method for bitfields: interface computeBitfieldClustering
Fix genericity of computeNodeStatistics
Ongoing work transposing kmeans clustering method for bitfields: adapt computeNodeStatistics()
Ongoing work transposing kmeans clustering method for bitfields: adapt findNN() method
Ongoing work transposing kmeans clustering method for bitfields: allow kmeans with Hamming distance
Ongoing work transposing kmeans clustering method for bitfields: adapt distances code
Ongoing work transposing kmeans clustering method for bitfields: adapt load/save code
Ongoing work transposing kmeans clustering method for bitfields: adapt kmeans hierarchicalClustring()
PivotType -> CentersType Renaming
Fix type casting for ARM SIMD implementation of Hamming
Fix warnings with Win32 compilation
Fix warnings with Win64 compilation
Fix wrong parenthesis position on rounding
* Ensure proper rounding when CentersType is integral
2020-07-13 12:59:10 +00:00
jasonKercher
749bd80091
Merge pull request #17770 from jasonKercher:3.4_triggered
...
3.4 Allow first capture to return false
* fix first capture timeout
* fix first capture timeout
2020-07-13 12:29:54 +00:00
Alexander Alekhin
1c0b70bbd2
Merge pull request #17822 from alalek:issue_17792
2020-07-13 11:08:33 +00:00
Alexander Alekhin
b75f6c05c0
Merge pull request #17805 from tomoaki0705:fixCUDAHostCompilerIssue
2020-07-12 13:05:14 +00:00
Tomoaki Teshima
269b810601
re-enable automatic CC detection on Jetson
...
* treat both CMAKE_C_COMPILER and c_compiler_realpath as candidate
2020-07-12 21:22:12 +09:00
Alexander Alekhin
e54040d540
core: use lazy on-demand initialization for param_traceEnable
2020-07-12 11:53:46 +00:00
Alexander Alekhin
3d50bde46e
Merge pull request #17813 from hannesa2:FixTypo
2020-07-11 19:20:49 +00:00
Alexander Alekhin
0b454486cf
Merge pull request #17783 from dmatveev:dm/pmc_script
2020-07-11 19:11:03 +00:00
Alexander Alekhin
b96e9a4a4a
Merge pull request #17800 from Yosshi999:gsoc_sift-universal-intrinsic
2020-07-11 19:09:21 +00:00
YashasSamaga
ead1dcf308
error if cuda4dnn depends are not resolved
2020-07-11 21:37:51 +05:30
Hannes Achleitner
553259ef99
Fix typo
2020-07-11 08:10:15 +02:00
Alexander Alekhin
e18df87a15
Merge pull request #17635 from jsxyhelu:3.4
2020-07-10 15:11:53 +00:00
Alexander Alekhin
5cb8619eca
dnn(ie): enable KEY_CPU_THREADS_NUM for Windows
2020-07-10 14:29:21 +00:00
jsxyhelu
476094ad5a
Use“ moms” replace "contourArea"
...
double area = moms.m00;
is same as
double area = contourArea(contours[contourIdx]);
Not to mention
"moms" already calculated here,"contourArea" should not apply
2020-07-10 11:05:24 +00:00
Alexander Alekhin
ff992183b2
Merge pull request #17791 from YashasSamaga:cuda4dnn-fix-concat-fusion
2020-07-10 10:55:01 +00:00
Alexander Alekhin
d2469edd10
Merge pull request #17772 from mshabunin:fix-match-umat-mask
2020-07-10 10:53:56 +00:00
Yosshi999
0df8fb70b4
use bufferarea for allocating buffer
2020-07-09 16:50:20 +00:00
YashasSamaga
37e2afb8f6
fix concat fusion for cuda4dnn
2020-07-09 19:40:44 +05:30
Maksim Shabunin
4dd9a36a3c
Added test for checkMasks with UMat train descs
2020-07-09 16:22:19 +03:00
Maksim Shabunin
41678fe3d3
Fixed checkMasks in DescriptorMatcher with train descs in UMats
2020-07-09 16:05:20 +03:00
Yashas Samaga B L
d0e6d2438c
Merge pull request #17363 from YashasSamaga:cuda4dnn-eltwise-fusion2
...
cuda4dnn(conv): fuse eltwise with convolutions
* fuse eltwise with convolutions
* manually rebase to avoid bad git merge
2020-07-09 16:02:21 +03:00
Dmitry Matveev
a724dc99e8
G-API: Change the default FD model in the privacy-masking-camera
2020-07-09 14:09:59 +03:00
Alexander Alekhin
44d473fba0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-08 21:03:43 +00:00
Alexander Alekhin
5bc6b6fc26
Merge pull request #17737 from pemmanuelviel:pev--fix-trees-descent
2020-07-08 20:59:29 +00:00
Alexander Alekhin
8931c68b20
Merge pull request #17707 from Yosshi999:gsoc_sift-universal-intrinsic
2020-07-08 20:33:40 +00:00
Alexander Alekhin
988bc804bf
Merge pull request #17748 from YashasSamaga:cuda4dnn-data-parallel
2020-07-08 20:20:19 +00:00
Alexander Alekhin
f78f908c09
Merge pull request #17674 from alalek:issue_16214
2020-07-08 20:01:35 +00:00
Alexander Alekhin
5487bca4f3
Merge pull request #17777 from alalek:backport_cuda_cmake
2020-07-08 20:00:13 +00:00
Alexander Alekhin
52ac3661b0
Merge pull request #17745 from alalek:cuda_fix_ccbin
2020-07-08 19:59:42 +00:00
Dmitry Matveev
27f1ab5a70
Added a script to measure & report privacy masking camera performance in different configurations
2020-07-08 19:19:37 +03:00
Alexander Alekhin
762a5c8334
imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version
2020-07-08 15:13:48 +00:00
Alexander Alekhin
2fed41dfa5
imgproc(test): test bitExact cases in OCL/sepFilter2D
2020-07-08 10:14:56 +00:00
Alexander Alekhin
8bf1b9a422
cmake(cuda): repair ccbin, re-implement execute_process() cache
...
- preventive fix for arch "11.0" (CUDA_ARCH_BIN_OR_PTX_10 bug)
- new var: OPENCV_CUDA_DETECTION_NVCC_FLAGS
- new var: OPENCV_CMAKE_CUDA_DEBUG
2020-07-08 07:34:17 +00:00
Alexander Alekhin
e0f9eac521
cmake: backport CUDA scripts
2020-07-08 07:33:54 +00:00
Alexander Alekhin
b90a2a8497
Merge pull request #17759 from alalek:build_opencv_winpack_dldt_2020.4.0
2020-07-07 19:28:53 +00:00
Alexander Alekhin
950a916952
Merge pull request #17752 from YashasSamaga:generalize-concat-fusion-3.4
2020-07-07 10:36:02 +00:00
Alexander Alekhin
524a2fffe9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-07-06 23:05:04 +00:00
Alexander Alekhin
3f13339071
Merge pull request #17728 from sturkmen72:patch-4
2020-07-06 23:01:27 +00:00
Alexander Alekhin
eb6678ebef
Merge pull request #17699 from alalek:build_core_cuda
...
* core(cuda): fix build
- MSVS 19.25.28612.0
- CUDA release 11.0, V11.0.167
* cmake(cuda): backport workaround for CUDA 11
* cmake(cuda): call CUDA_BUILD_CLEAN_TARGET() on finalize
* cmake(cuda): use CMAKE_SUPPRESS_REGENERATION with MSVS
2020-07-06 22:58:17 +00:00
Alexander Alekhin
6781ca7d55
Merge pull request #17685 from YashasSamaga:cuda4dnn-cudnn8-support
2020-07-06 22:48:07 +00:00
Alexander Alekhin
d62e0a3695
Merge pull request #17743 from alalek:test_17666
2020-07-06 22:36:35 +00:00
Alexander Alekhin
dcb7fd8520
Merge pull request #17766 from alalek:backport_17756
2020-07-06 21:50:24 +00:00
Alexander Alekhin
d5713c657b
dnn(slice): disable buggy OCV/OCL implementation
2020-07-06 21:36:19 +00:00
Alexander Alekhin
99c4b76a6d
dnn(test): add YOLOv4-tiny tests
2020-07-06 21:36:19 +00:00
Alexander Alekhin
e4887aaa5b
Merge pull request #17761 from mshabunin:test-wo-jpg-png
2020-07-06 20:02:15 +00:00
Alexander Alekhin
0970ef57bd
Merge pull request #17754 from YashasSamaga:cuda4dnn-slice-concat-copy-reduction
2020-07-06 20:00:52 +00:00
Alexander Alekhin
f98c97f796
Merge pull request #17758 from tomoaki0705:fixGapiOpenclTestError
2020-07-06 19:57:54 +00:00
Ilya Churaev
d69a7a3bbf
Fixed header paths for some nGraph ops
...
* Added dependency on IE version
backport of commit: 992c908b56
2020-07-06 19:51:57 +00:00
Alexander Alekhin
ccf6dd07b3
build: winpack_dldt with dldt 2020.4.0
2020-07-06 14:08:54 +00:00
Maksim Shabunin
e8129429e9
imgcodecs: fix test build with disabled JPEG and PNG libs
2020-07-06 14:52:52 +03:00
Tomoaki Teshima
46d3637609
avoid kernel compile error on Arm SBCs
2020-07-06 18:27:19 +09:00
Ilya Churaev
992c908b56
Merge pull request #17756 from ilyachur:feature/ichuraev/fix_ngraph_headers
...
* Fixed header paths for some nGraph ops
* Added dependency on IE version
2020-07-06 08:11:59 +00:00
Suleyman TURKMEN
2566d13100
Update documentation of imwrite()
2020-07-06 11:02:50 +03:00
YashasSamaga
cbdaa93e54
reduce slice, concat to copy; enable more concat fusions
2020-07-05 20:52:35 +05:30
Alexander Alekhin
5a15369d4d
Merge pull request #17729 from modeste2015:3.4
2020-07-04 17:17:57 +00:00
Alexander Alekhin
deaf1dd458
Merge pull request #17724 from pemmanuelviel:pev--fix-mix-of-types
2020-07-04 17:16:57 +00:00
pemmanuelviel
65f87b114b
Merge pull request #17722 from pemmanuelviel:pev--replace-asserts
...
* Clean: replace C style asserts by CV_Assert and CV_DbgAssert
* Try fixing warning on Windows compilation
* Another way trying to fix warnings on Win
* Fixing warnings with some compilers:
Some compilers warn on systematic exit preventing to execute the code that follows.
This is why assert(0) that exits only in debug was working, but not CV_Assert or CV_Error
that exit both in release and debug, even if with different behavior.
In addition, other compilers complain when return 0 is removed from getKey(),
even if before we have a statement leading to systematic exit.
* Disable "unreachable code" warnings for Win compilers so we can use proper CV_Error
2020-07-04 20:15:44 +03:00
Alexander Alekhin
8f5b453a96
Merge pull request #17719 from pemmanuelviel:pev--fix-computeNodeStatistics-genericity
2020-07-04 17:14:35 +00:00
YashasSamaga
b7eec216e9
generalize axis for concat fusion
2020-07-04 18:57:28 +05:30
YashasSamaga
4988e131fd
transfer output blobs in background
2020-07-04 12:55:12 +05:30
kadi soheib
17c430da88
Updated comment.
2020-07-04 06:37:59 +03:00
kadi soheib
96a501c08b
Adding comment from source code to documentation.
2020-07-04 06:37:58 +03:00
Christoph
657c8d1c65
Merge pull request #17454 from creinders:master
...
fix instable fisheye undistortPoints
* remove artefacts when (un)distorting fisheye images with large distortion coefficient values
* fix fisheye undistortion when theta is close to zero
* add fisheye image undistort and distort test
* Fixed type conversion warnings
* fixed trailing whitespace
2020-07-03 22:59:19 +00:00
Alexander Alekhin
e03891b744
Merge pull request #17701 from pemmanuelviel:pev-lshIndexParams-consistency
2020-07-03 22:53:44 +00:00
Alexander Alekhin
dc57707e60
Merge pull request #17744 from alalek:issue_17657
2020-07-03 21:21:27 +00:00
Alexander Alekhin
56b5a7d977
cmake: fix ENABLE_PROFILING
2020-07-03 19:31:41 +00:00
Liubov Batanina
65dbbf712d
Merge pull request #17733 from l-bat:tiny_yolov4
...
* Supported yolov4-tiny
* Added comments
2020-07-03 18:07:08 +00:00
Alexander Alekhin
49497d8e7c
Merge pull request #17725 from pemmanuelviel:pev--precompute-divisor
2020-07-03 11:24:11 +00:00
Pierre-Emmanuel Viel
728684840c
Fix trees parsing behavior in hierarchical_clustering_index:
...
Before, when maxCheck was reached in the first descent of a tree, time was still wasted parsing
the next trees till their best leaves whose points were not used at all.
2020-07-03 01:19:10 +02:00
Alexander Alekhin
73f7d091f8
Merge pull request #17721 from pemmanuelviel:pev--fix-hist-intersect-arguments
2020-07-02 11:54:28 +00:00
Ken Shirriff
00e1bc49c8
Merge pull request #17708 from shirriff:patch-1
...
Clarify component statistics documentation
* Change ConnectedComponentsTypes documentation
Change from "algorithm output formats" to "statistics" because it specifies types of statistics, not formats.
* Documentation: clarify component statistics
Explain that ConnectedComponentTypes selects a statistic.
2020-07-02 13:58:53 +03:00
Heritier Kinke
cb3a098b25
forget to look in sub folder of include/openblas
2020-07-02 03:33:07 +02:00
Alexander Alekhin
5a7045181a
Merge pull request #17723 from pemmanuelviel:pev--remove-duplicate
2020-07-01 18:14:08 +00:00
Pierre-Emmanuel Viel
6a045fd678
Fix arguments list in loadindex for histogram intersection
2020-07-01 18:59:45 +02:00
Pierre-Emmanuel Viel
327f92cc46
Precompute the divisor to ensure that no kind of compiler would process it on the fly at each call.
2020-07-01 18:52:05 +02:00
Pierre-Emmanuel Viel
482cacd420
Mix of 32 and 64bits vector types prevents vectorisation for distance computation.
...
Argument "a" is of type ElementType* that is either int* or float*, while b was double*.
Mixing types prevents the possibility to use SSE or AVX instructions.
On implementation without SIMD instructions, this doesn't show any impact on performance.
2020-07-01 18:27:07 +02:00
Pierre-Emmanuel Viel
93a6be836c
Remove duplicate line
2020-07-01 18:15:01 +02:00
Pierre-Emmanuel Viel
ef7185ce43
Fix genericity of computeNodeStatistics that couldn't compute stats properly on sub-nodes
2020-07-01 12:14:15 +02:00
Alexander Alekhin
a5fdcf9881
Merge pull request #17700 from asmorkalov:as/cuda_cmake_compat
2020-06-30 19:55:53 +00:00
YashasSamaga
62a63021c7
add cuDNN 8 support
2020-06-30 21:51:23 +05:30
Pierre-Emmanuel Viel
33fab84473
Type consistency for all xxxIndexParams integer arguments as well as with miniflann's LshIndexParams
2020-06-30 10:33:07 +02:00
Alexander Smorkalov
0ccc839397
Restored compatibility with CMake older than 3.7.
2020-06-30 11:28:36 +03:00
Yosshi999
920c180052
use universal SIMD intrinsics for SIFT
2020-06-30 06:44:12 +00:00
Alexander Alekhin
a711e2aa41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-29 21:19:09 +00:00
Alexander Alekhin
a84afb6334
Merge pull request #17640 from pemmanuelviel:pev--fix-lsh-bad-any-cast
2020-06-29 20:53:34 +00:00
Alexander Alekhin
ab4065fa1c
Merge pull request #17696 from dbudniko:dbudniko/g_api_fix_min_max
2020-06-29 19:54:41 +00:00
Alexander Alekhin
ee73b0bd08
Merge pull request #17695 from alalek:issue_17677
2020-06-29 19:15:24 +00:00
Alexander Alekhin
e58977a3de
Merge pull request #17686 from alalek:cmake_cuda_cxx_flag
2020-06-29 19:14:00 +00:00
Dmitry Budnikov
31bee49371
min max fix for standalone
2020-06-29 20:57:44 +03:00
Alexander Alekhin
48ef6df842
cmake(gapi): fix opencv_world build for winpack
2020-06-29 17:46:39 +00:00
Alexander Alekhin
98ad7d01d5
cmake(cuda): update handling of -std=c++11/14 flags
2020-06-29 01:49:00 +03:00
Pierre-Emmanuel Viel
cdac7c7bec
Add test checking we don't throw when creating GenericIndex with LshIndexParams()
2020-06-28 19:51:04 +00:00
Pierre-Emmanuel Viel
fe09c79f4b
Fix the 'cvflann::anyimpl::bad_any_cast' error using Lsh
2020-06-28 19:51:04 +00:00
cyy
206c843f36
Merge pull request #17499 from cyyever:fix_CUDA11
...
Fix cuda11
* use cudnn_version.h to detect version when it is available
* remove nppi from CUDA11
* use ocv_list_filterout
* dnn(cuda): temporary disable CUDNN 8.0
2020-06-27 20:34:44 +00:00
Alexander Alekhin
cabad90d6c
Merge pull request #17636 from okamotoR:3.4
2020-06-27 20:17:16 +00:00
Alexander Alekhin
4e6a108bda
Merge pull request #17665 from komakai:fix-ios-dynamic-build
2020-06-27 20:12:08 +00:00
Alexander Alekhin
6dba1733f0
Merge pull request #17567 from dev-tronifier:new_branch
2020-06-27 20:08:37 +00:00
Alexander Alekhin
c62e63909a
Merge pull request #17671 from tomoaki0705:fixCUDANativeDetection
2020-06-26 22:51:34 +00:00
pemmanuelviel
daa88c6b9e
Merge pull request #17642 from pemmanuelviel:pev--fixes-and-clean
...
* Clean: make the use of the indices array length consistent
Either we don't want this method to be used in the future for any other node
than the root node, and so we replace indices_length by size_ and remove it as
argument, or we want to be able to use it potentially for other nodes, and
so using size_ instead of indices_length would have lead to a bug.
* Fix: b was not an address
* Fix: transpose the Flann repo commit "Fixes in accum_dist methods" from Adil Ibragimov
Avoids trying to compute log(ratio) with ratio = 0
* Fix: transpose the Flann repo commit "result_set bugfix" from Jack Rae
* Fix Jack Rae commit as the initial i - 1 index was decremented before entering the loop body
* Clean: transpose the Flann repo commit "Updated comments in lsh_index" from Richard McPherson
* Fix: Transpose the Flann repo commit "Fixing unreachable code in lsh_table.h" from hypevr
* Fix warning the same way it was done in flann standalone repo
* Change the return value in case of unsupported type
2020-06-26 22:34:52 +00:00
dev-tronifier
9b727fa1f3
Increased portability of CV_Func
2020-06-26 19:45:58 +00:00
Dmitry Budnikov
7566921364
Merge pull request #17020 from dbudniko:dbudniko/serialization_backend
...
G-API Serialization routines
* Serialization backend in tests, initial version
* S11N/00: A Great Rename
- "Serialization" is too long and too error-prone to type,
so now it is renamed to "s11n" everywhere;
- Same applies to "SRLZ";
- Tests also renamed to start with 'S11N.*' (easier to run);
- Also updated copyright years in new files to 2020.
* S11N/01: Some basic interface segregation
- Moved some details (low-level functions) out of serialization.hpp;
- Introduced I::IStream and I::OStream interfaces;
- Implemented those via the existing [De]SerializationStream classes;
- Moved all operators to use interfaces instead of classes;
- Moved the htonl/ntohl handling out of operators (to the classes).
The implementation didn't change much, it is a subject to the further
refactoring
* S11N/02: Basic operator reorg, basic tests, vector support
- Reorganized operators on atomic types to follow >>/<< model
(put them closer in the code for the respective types);
- Introduce more operators for basic (scalar) types;
- Drop all vector s11n overloads -- replace with a generic
(template-based) one;
- Introduced a new test suite where low-level s11n functionality
is tested (for the basic types).
* S11N/03: Operators reorganization
- Sorted the Opaque types enum by complexity;
- Reorganized the existing operators for basic types, also ordered by
complexity;
- Organized operators in three groups (Basics, OpenCV, G-API);
- Added a generic serialization for variant<>;
- Reimplemented some of the existing operators (for OpenCV and G-API
data structures);
- Introduced new operators for cv::gimpl data types. These operators
(and so, the data structures) are not yet used in the graph
dump/reconstruction routine, it will be done as a next step.
* S11N/04: The Great Clean-up
- Drop the duplicates of GModel data structures from the
serialization, serialize the GModel data structures themselve
instead (hand-written code replaced with operators).
- Also removed usuned code for printing, etc.
* S11N/05: Internal API Clean-up
- Minimize the serialization API to just Streams and Operators;
- Refactor and fix the graph serialization (deconstruction and
reconstruction) routines, fix data addressing problems there;
- Move the serialization.[ch]pp files to the core G-API library
* S11N/06: Top-level API introduction
- !!!This is likely the most invasive commit in the series!!!
- Introduced a top-level API to serialize and deserialize a GComputation
- Extended the compiler to support both forms of a GComputation:
an expession based and a deserialized one. This has led to changes in
the cv::GComputation::Priv and in its dependent components (even the
transformation tests);
- Had to extend the kernel API (GKernel) with extra information on
operations (mainly `outMeta`) which was only available for expression
based graphs. Now the `outMeta` can be taken from kernels too (and for
the deserialized graphs it is the only way);
- Revisited the internal serialization API, had to expose previously
hidden entities (like `GSerialized`);
- Extended the serialized graph info with new details (object counter,
protocol). Added unordered_map generic serialization for that;
- Reworked the very first pipeline test to be "proper"; GREEN now, the rest
is to be reworked in the next iteration.
* S11N/07: Tests reworked
- Moved the sample pipeline tests w/serialization to
test the public API (`cv::gapi::serialize`, then
followed by `cv::gapi::deserialize<>`). All GREEN.
- As a consequence, dropped the "Serialization" test
backend as no longer necessary.
* S11N/08: Final touches
- Exposed the C++ native data types at Streams level;
- Switched the ByteMemoryIn/OutStreams to store data in `char`
internally (2x less memory for sample pipelines);
- Fixed and refactored Mat dumping to the stream;
- Renamed S11N pipeline tests to their new meaning.
* linux build fix
* fix RcDesc and int uint warnings
* more Linux build fix
* white space and virtual android error fix (attempt)
* more warnings to be fixed
* android warnings fix attempt
* one more attempt for android build fix
* android warnings one more fix
* return back override
* avoid size_t
* static deserialize
* and how do you like this, elon? anonymous namespace to fix android warning.
* static inline
* trying to fix standalone build
* mat dims fix
* fix mat r/w for standalone
Co-authored-by: Dmitry Matveev <dmitry.matveev@intel.com >
2020-06-26 19:41:29 +00:00
Alexander Alekhin
e45d74c8f9
Merge pull request #17638 from pemmanuelviel:pev--avoid-branching-in-loop
2020-06-26 19:22:20 +00:00
Alexander Alekhin
923009b5ff
Merge pull request #17663 from alalek:backport_17658
2020-06-26 17:41:53 +00:00
Tomoaki Teshima
4cec9e5ff1
fix native detection on Jetson
2020-06-26 16:36:59 +09:00
Giles Payne
59ba33658a
Dynamic build for Objective-C/Swift wrapper
2020-06-26 08:26:05 +09:00
Yosshi999
4064d4c7eb
Merge pull request #17618 from Yosshi999:gsoc_sift-better-test
...
Added/Fixed testcases for SIFT
* merge perf_sift into conventional perf tests
* Fix disabled SIFT scale invariance tests
allows trainIdx duplication in matching scaled keypoints
2020-06-25 11:34:31 +00:00
Ilya Lavrenov
e58ce89b10
Conditional compilation for IR v7 support
...
backported commit 86905754e4
2020-06-25 10:05:14 +00:00
Alexander Alekhin
085bd5f55f
Merge pull request #17658 from ilya-lavrenov:get-layer-by-name
2020-06-25 09:42:59 +00:00
Alexander Alekhin
6259ba1bfd
Merge pull request #17641 from pemmanuelviel:pev--fix-middleSplit-for-kdtree-single
2020-06-25 09:12:40 +00:00
Ilya Lavrenov
86905754e4
Conditional compilation for IR v7 support
2020-06-25 11:32:10 +03:00
Alexander Alekhin
6044395986
Merge pull request #17584 from AsyaPronina:gapi_state_init_params_via_compile_args
2020-06-25 08:22:20 +00:00
Anastasiya
eff259b047
Enable state initialization params via compile_args
2020-06-25 00:43:12 +03:00
Alexander Alekhin
cd8262eb79
Merge pull request #17650 from alalek:update_libjpeg-turbo
2020-06-24 10:57:37 +00:00
Alexander Alekhin
d2b854674e
Merge pull request #17648 from alalek:update_libjpeg
2020-06-24 10:57:07 +00:00
Alexander Alekhin
4f03f70968
Merge pull request #17605 from TolyaTalamanov:at/fix-plaidml-kernels-function
2020-06-24 09:44:51 +00:00
Alexander Alekhin
ad930f6216
3rdparty: libjpeg-turbo 2.0.4 => 2.0.5
...
https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.5
2020-06-24 06:28:16 +00:00
Alexander Alekhin
f061a0ab36
3rdparty: libjpeg 9d
...
http://www.ijg.org/files/jpegsrc.v9d.tar.gz
2020-06-23 20:35:56 +00:00
Alexander Alekhin
c81d785ada
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-23 19:15:47 +00:00
Alexander Alekhin
6fb46bb34b
Merge pull request #17621 from YashasSamaga:cuda4dnn-mish-half
2020-06-23 18:44:50 +00:00
Alexander Alekhin
2e165053ef
Merge pull request #17624 from dkurt:dnn_optimize_mish
2020-06-23 18:43:51 +00:00
Alexander Alekhin
8cc8b0d2b4
Merge pull request #17633 from alalek:backport_17616
2020-06-23 18:29:55 +00:00
Pierre-Emmanuel Viel
06b4292534
Fix: error in the dimension used for computeMinMax
...
Instead of using the current dimension for which we just got a big span,
we were computing Min and Max for the previous dimension stored in cutfeat
(and using 0 instead of the dimension indice for the very first dimension
with "span > (1-eps)max_span")
2020-06-23 15:47:27 +02:00
Pierre-Emmanuel Viel
29f883feee
Optim: test that could be done once has been extracted from the loop
2020-06-23 15:43:38 +02:00
Alexander Alekhin
365a10f58c
Merge pull request #17634 from dkurt:dnn_ie_cpu_ext_update_master
2020-06-23 12:51:21 +00:00
okamotoR
0e69cddda2
add if block for indexed color images
2020-06-23 21:36:47 +09:00
Dmitry Kurtaev
3bdd7bfbea
Remove deprecated Inference Engine CPU extensions
2020-06-23 14:33:22 +03:00
Ilya Lavrenov
ad5e70f94e
Conditional compilation for network reader
...
origibal commit: 63e92cccf2
2020-06-23 14:15:52 +03:00
Alexander Alekhin
7fae2e834c
Merge pull request #17622 from dkurt:dnn_ie_cpu_ext_update
2020-06-23 11:01:47 +00:00
Dmitry Kurtaev
8e3f5fb209
Remove deprecated Inference Engine CPU extensions
2020-06-23 10:10:29 +03:00
Pierre-Emmanuel Viel
05fbd1e5bc
DNA mode: add the distance computations
2020-06-22 22:53:05 +02:00
Dmitry Kurtaev
1491934d17
Optimize Mish for CPU backend
2020-06-22 23:27:47 +03:00
YashasSamaga
6573b9ace0
use fp32 mish for fp16 mish
2020-06-22 19:09:36 +05:30
Alexander Alekhin
ee5ff71d55
Merge pull request #17616 from ilya-lavrenov:network-reader
2020-06-22 12:10:34 +00:00
Alexander Alekhin
6e5f0a2a58
Merge pull request #17576 from philippefoubert:branch_ximea
2020-06-22 11:36:40 +00:00
Alexander Alekhin
721fac5542
Merge pull request #17617 from alalek:fix_logger_initialization
2020-06-22 11:33:35 +00:00
Alexander Alekhin
fce486c4f9
Merge pull request #17592 from l-bat:disable_nms_in_yolo_layer
2020-06-22 10:31:33 +00:00
Alexander Alekhin
99bc35a883
core(logger): complete initialization of logger structures
...
- for using of logging functions from global destructors
2020-06-22 09:27:26 +00:00
Ilya Lavrenov
63e92cccf2
Conditional compilation for network reader
2020-06-22 11:45:56 +03:00
Anatoliy Talamanov
a74ed58893
Add implementation in case plaidml isn't found
2020-06-22 00:46:41 +03:00
Alexander Alekhin
1b4955342f
Merge pull request #17599 from tomoaki0705:fixCUDAFailSafePath
2020-06-21 17:49:14 +00:00
Tomoaki Teshima
95ac650af6
make the fail safe path actually safe
...
* use only supported CC in the list
* workaround of #17526
2020-06-21 07:20:47 +09:00
Alexander Alekhin
2b98aa403e
Merge pull request #17593 from tomoaki0705:addAmpereCUDA
2020-06-20 22:01:36 +00:00
Alexander Alekhin
5ed65460d1
Merge pull request #17526 from cyyever:fix_cuda_detection
2020-06-20 21:07:05 +00:00
Philippe FOUBERT
0eb7060205
Fix the detection of the XIMEA library (since its location may be different when the version of the ximea software is updated)
2020-06-20 16:47:18 +02:00
Alexander Alekhin
425c653a14
Merge pull request #17580 from sitic:bibfix
2020-06-19 21:35:07 +00:00
Tomoaki Teshima
52844614c4
add Ampere CC
...
* Ampere has CC 8.0
* Arm64 server support has been added in CUDA 11 (only V100 for now)
2020-06-19 20:46:18 +09:00
Liubov Batanina
85c0c8c7ed
Disabling dafault NMS in yolo layer
2020-06-19 14:34:13 +03:00
Jan Lebert
a8f04359e8
docs: linkfix in bibliography
...
The [current link](https://arxiv.org/pdf/1808.01752 ) goes to a
random unrelated paper.
2020-06-19 11:44:35 +02:00
Alexander Alekhin
e3d502310f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-19 07:33:50 +00:00
Alexander Alekhin
cb54f4c2ec
Merge pull request #17587 from tomoaki0705:fixCUDAOptflowJetson
2020-06-19 07:21:19 +00:00
Tomoaki Teshima
77fa1a20bf
fix build on Jetson TX1 and TX2
...
* enable_if_t is a c++14 feature
2020-06-19 07:56:37 +09:00
Alexander Alekhin
a7cdc42140
Merge pull request #17581 from tomoaki0705:fixCudaAsync
2020-06-18 20:54:28 +00:00
Alexander Alekhin
a8aa9d5ecb
Merge pull request #17578 from Bleach665:fix_win_eigen_build
2020-06-18 20:52:33 +00:00
Alexander Alekhin
52fbfb3ec0
Merge pull request #17577 from philippefoubert:branch_color_yuv_simd
2020-06-18 20:51:52 +00:00
Philippe FOUBERT
d25293b721
Fix the build of imgproc using MinGW (variables with the same name as symbols defined in MinGW headers)
2020-06-18 20:13:34 +00:00
Tomoaki Teshima
c07af090f5
fix build error on Jetson TX1 and TX2
...
* enable_if_t and is_base_of is c++14 feature
* override is c++11 feature
2020-06-18 21:25:15 +09:00
Yuriy Obukh
456e88a8a4
fix VS Windows build with eigen. https://github.com/opencv/opencv/issues/17548
2020-06-18 14:31:11 +03:00
Alex Cohn
a7cc1159cd
Merge pull request #17573 from alexcohn:fix/android_windows_build
...
* fixing #17572
https://github.com/opencv/opencv/issues/17572 Build for Android failed: "can't concat str to bytes"
on Windows 10 64bit with python 3.6.6
* similar to changes in platforms/winpack_dldt/build_package.py
2020-06-18 10:40:43 +03:00
Alexander Alekhin
6bd87e8146
Merge pull request #17571 from tomoaki0705:fixAutomaticCC
2020-06-18 07:39:14 +00:00
Alexander Alekhin
42a4c3fba6
Merge pull request #17568 from alalek:cleanup_17527
2020-06-18 07:38:16 +00:00
Tomoaki Teshima
1cba763189
fix build error of automatic CC detection
2020-06-17 22:02:51 +09:00
Alexander Alekhin
d01cbe9320
cudacodec(build): fix detection in CMake, cleanup duplicate includes
2020-06-17 09:09:40 +00:00
Yashas Samaga B L
9ba5581d17
Merge pull request #17534 from YashasSamaga:cuda4dnn-remove-unused-funcs
...
cuda4dnn: reduce CUDA version requirements to at least CUDA 9.2
* remove half2 specializations
* do not remove atomicAdd for half in CUDA 10 and below
* remove fp16.hpp
2020-06-17 09:07:52 +00:00
NesQl
b10ab79743
Merge pull request #17468 from liqi-c:sharedlib_build_problem
...
TEngine installation rules fix for static build
* Modify cmake config error for -DBUILD_SHARED_LIBS=OFF
* Modify for not install tengine include directory
* Update compile error.
* move install command to tengine/CMakeLists.txt
* rm include dir when make install,only build static lib will install libtengine.a
2020-06-17 09:05:04 +00:00
Alexander Alekhin
619462b029
Merge pull request #17564 from l-bat:fix_yolov4
2020-06-17 08:45:56 +00:00
Alexander Alekhin
6fdddd53a1
Merge pull request #17555 from komakai:objc-fix-sift
2020-06-17 07:58:35 +00:00
Liubov Batanina
d93b6be3cc
Changed StridedSlice to VariadicSplit in Region layer
2020-06-17 10:02:53 +03:00
Alexander Alekhin
9755ab160d
Merge pull request #17556 from nglee:dev_optFlowTVL1Async
2020-06-16 20:06:56 +00:00
Alexander Alekhin
88a187a737
Merge pull request #17561 from thatoddmailbox:android-fix-disable-samples
2020-06-16 19:53:51 +00:00
Pinaev Danil
57f5700e18
Merge pull request #16772 from aDanPin:dp/performance_render_tests
...
Added g-api render performance tests
* Add render performance tests for BGROCV
* Add render NV12 performance tests
* Review response
* Review response
* Review response
* Review response
* Review response
* Review response
* Just a small fix
* Final review response I hope)
* Review response
* Review response
* Review response
* Review response
* Review response
* Review response
2020-06-16 19:48:09 +00:00
Namgoo Lee
2043e06102
cuda optflow tvl1 : async safety
...
also modify cuda canny to use createTextureObjectPitch2D, etc.
2020-06-17 01:04:22 +09:00
Alex Studer
d84b213f59
platforms/android: fix --no_samples_build flag not working
2020-06-16 00:11:26 -04:00
Giles Payne
177fbc7bbb
Cleanup unneeded raw pointer handling code
2020-06-16 08:15:27 +09:00
Alexander Alekhin
c7dcdc0e88
Merge pull request #17557 from alalek:backport_17554
2020-06-15 19:26:11 +00:00
Alexander Alekhin
eb67dc9f50
Merge pull request #17533 from alalek:fix_dumpInputArray_nd_case
2020-06-15 18:38:19 +00:00
Ilya Lavrenov
676b818d6a
Removed plugin dispatcher
...
backport of commit 74113737f3
2020-06-15 18:03:14 +00:00
Alexander Alekhin
56373428dc
Merge pull request #17554 from ilya-lavrenov:plugin-dispatcher
2020-06-15 18:02:03 +00:00
Namgoo Lee
411ce04f54
CUDA_OptFlow/OpticalFlowDual_TVL1 Asynchronous test
2020-06-16 01:43:51 +09:00
Giles Payne
13962b8533
Use cv::Ptr instead of raw pointers
2020-06-15 23:20:45 +09:00
Giles Payne
04bee3f9b7
Fix testFitEllipse test
2020-06-15 23:16:22 +09:00
Giles Payne
305a245530
Fix framework_name option in build script
2020-06-15 23:15:05 +09:00
Ilya Lavrenov
74113737f3
Removed plugin dispatcher
2020-06-15 16:02:52 +03:00
Alexander Alekhin
c244b456f0
Merge pull request #17540 from YashasSamaga:cuda4dnn-update-mish
2020-06-14 11:08:53 +00:00
Alexander Alekhin
d321a34f7c
Merge pull request #17527 from tomoaki0705:detectCuvidHeader
2020-06-14 11:08:16 +00:00
Alexander Alekhin
fb1a58ac76
Merge pull request #17537 from Murazaki:patch-1
2020-06-13 18:36:34 +00:00
YashasSamaga
87ab4ee567
improve mish performance and accuracy
2020-06-13 16:53:27 +05:30
Alexander Alekhin
0cbaaba4b1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-12 22:20:50 +00:00
Alexander Alekhin
1644af841b
Merge pull request #17536 from ilya-lavrenov:remove-error-listener
2020-06-12 22:18:04 +00:00
Mehdi Zakaria Benadel
b0def9617f
Fix typo
...
This typo just made me lose my mind on the conan package update. please merge.
2020-06-12 23:52:06 +02:00
Alexander Alekhin
c2664d912a
Merge pull request #17538 from alalek:dnn_openvino_2020.3.0
2020-06-12 21:24:35 +00:00
Ilya Lavrenov
9697e3ac24
Removed error lisneter usage
2020-06-12 20:29:11 +00:00
Alexander Alekhin
d2a9efd039
dnn: use OpenVINO 2020.3 defines
2020-06-12 20:24:08 +00:00
Alexander Alekhin
442999dcdb
core: fix handling of ND-arrays in dumpInputArray() helpers
2020-06-12 10:23:32 +00:00
Alexander Alekhin
d753ae1489
Merge pull request #17143 from cyyever:detect_mkl_installed_by_nuget
2020-06-12 09:44:42 +00:00
cyy
db3e3be8ee
improve the mkl search procedure
2020-06-12 06:59:27 +00:00
Alexander Alekhin
0c8da03869
Merge pull request #17341 from hunter-college-ossd-spr-2020:3.4-1
2020-06-12 06:58:14 +00:00
Alexander Alekhin
6fbf7042b5
Merge pull request #17528 from YashasSamaga:cuda4dnn-fix-tests43
2020-06-12 06:55:34 +00:00
Jessica Wong
0417c8c9c7
Added information to OpenCV documentation [MacOS]
...
Added and Edited specific information to the "Installation in MacOS" OpenCV documentation.
Closes #17340
2020-06-11 23:36:06 -04:00
Tomoaki Teshima
d4af89781b
fix corner case of libnvcuvid
...
* detect header automatically and not based on version number
2020-06-11 23:06:18 +09:00
YashasSamaga
265acccd56
allow multiple inputs to resize, fix tests
2020-06-11 19:31:48 +05:30
cyy
c6638d62e6
respect CUDA_HOST_COMPILER when detecting CUDA arch
2020-06-11 15:57:08 +08:00
Alexander Alekhin
a8c1cdf88e
Merge pull request #17511 from mshabunin:fix-kw-issues-34
2020-06-10 12:13:06 +00:00
Maksim Shabunin
7a187e9b5e
QRDetectMulti: refactored checkPoints method
2020-06-10 13:48:24 +03:00
Maksim Shabunin
9096b1c768
dnn/NGraph: added nullptr checks
2020-06-10 13:48:24 +03:00
Rasmus
781fbde449
Merge pull request #17368 from themightyoarfish:cv2eigen-doc
...
* Add documentation about usage of cv2eigen functions in eigen.hpp
* Fixed Doxygen syntax.
Co-authored-by: Alexander Smorkalov <smorkalov.a.m@gmail.com >
2020-06-10 07:53:18 +00:00
Alexander Alekhin
55ca0fcc27
Merge pull request #17492 from cyyever:fix_data_race
2020-06-10 07:01:04 +00:00
Gourav Roy
1b336bb602
Merge pull request #16955 from themechanicalcoder:text_recognition
...
* add text recognition sample
* fix pylint warning
* made changes according to the c++ example
* fix errors
* add text recognition sample
* update text detection sample
2020-06-10 06:53:18 +00:00
Alexander Alekhin
25f3a11a16
Merge pull request #17509 from mshabunin:fix-kw-issues
2020-06-09 11:11:39 +00:00
Alexander Alekhin
b1706bc7e5
Merge pull request #17507 from alalek:update_ffmpeg_4.4
2020-06-09 09:31:16 +00:00
Maksim Shabunin
579d74d35b
QRDetectMulti: refactored checkPoints method
2020-06-09 11:10:47 +03:00
Maksim Shabunin
7ce518106b
dnn/NGraph: added nullptr checks
2020-06-09 11:10:36 +03:00
Alexander Alekhin
0fb3b8db72
Merge pull request #17504 from alalek:update_ffmpeg_3.4
2020-06-09 07:51:59 +00:00
cyy
171cba4947
use C++11 static variables as memory barrier
2020-06-09 15:49:31 +08:00
Alexander Alekhin
fd498501d6
ffmpeg/4.4: update FFmpeg wrapper
...
- FFmpeg 4.2.3
2020-06-09 10:41:08 +03:00
Alexander Alekhin
51bfe74ce1
Merge pull request #17506 from alalek:update_version_4.4.0-pre
2020-06-09 07:39:10 +00:00
Alexander Alekhin
5f3012fc9a
pre: OpenCV 4.4.0 (version++)
2020-06-09 02:27:13 +00:00
Alexander Alekhin
b44302382d
ffmpeg/3.4: update FFmpeg wrapper
...
- FFmpeg 3.4.7
2020-06-08 21:03:05 +00:00
Alexander Alekhin
0f3c82e73b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-08 19:50:55 +00:00
Alexander Alekhin
458f1d5ebe
Merge pull request #17501 from alalek:update_version_3.4.11-pre
2020-06-08 19:35:34 +00:00
Alexander Alekhin
a43e3bebe6
pre: OpenCV 3.4.11 (version++)
2020-06-08 18:46:27 +00:00
Alexander Alekhin
f62fe956d1
Merge pull request #17498 from alalek:update_tbb
2020-06-08 18:38:57 +00:00
Giles Payne
02385472b6
Merge pull request #17165 from komakai:objc-binding
...
Objc binding
* Initial work on Objective-C wrapper
* Objective-C generator script; update manually generated wrappers
* Add Mat tests
* Core Tests
* Imgproc wrapper generation and tests
* Fixes for Imgcodecs wrapper
* Miscellaneous fixes. Swift build support
* Objective-C wrapper build/install
* Add Swift wrappers for videoio/objdetect/feature2d
* Framework build;iOS support
* Fix toArray functions;Use enum types whenever possible
* Use enum types where possible;prepare test build
* Update test
* Add test runner scripts for iOS and macOS
* Add test scripts and samples
* Build fixes
* Fix build (cmake 3.17.x compatibility)
* Fix warnings
* Fix enum name conflicting handling
* Add support for document generation with Jazzy
* Swift/Native fast accessor functions
* Add Objective-C wrapper for calib3d, dnn, ml, photo and video modules
* Remove IntOut/FloatOut/DoubleOut classes
* Fix iOS default test platform value
* Fix samples
* Revert default framework name to opencv2
* Add converter util functions
* Fix failing test
* Fix whitespace
* Add handling for deprecated methods;fix warnings;define __OPENCV_BUILD
* Suppress cmake warnings
* Reduce severity of "jazzy not found" log message
* Fix incorrect #include of compatibility header in ios.h
* Use explicit returns in subscript/get implementation
* Reduce minimum required cmake version to 3.15 for Objective-C/Swift binding
2020-06-08 18:32:53 +00:00
Alexander Alekhin
f30b5995b6
Merge pull request #17497 from alalek:fix_ffmpeg_wrapper_build
2020-06-08 18:07:08 +00:00
Alexander Alekhin
852b0226e0
3rdparty: update TBB 2020.1 => 2020.2
...
https://github.com/oneapi-src/oneTBB/releases/tag/v2020.2
2020-06-08 11:04:33 +00:00
Alexander Alekhin
89a6937c00
videoio: fix plugins build
2020-06-08 09:17:13 +00:00
Alexander Alekhin
08a3eef62a
Merge pull request #17485 from sitic:stitching
2020-06-06 19:37:11 +00:00
Alexander Alekhin
434014b05e
Merge pull request #17471 from asmorkalov:as/video_capability_check
2020-06-05 19:54:41 +00:00
Maksim Shabunin
29ff1129fb
Merge pull request #17431 from mshabunin:support-vtk9
...
* Added VTK 9 support
2020-06-05 17:55:53 +00:00
Jan Lebert
5906b49bd1
Fix '--help' of stitching_detailed.py sample
...
Fixes the help for `--features`, previously listed all possible values as default value.
Also adds the default value to the help for two other arguments
2020-06-05 19:37:02 +02:00
Alexander Alekhin
b03ed532cf
Merge pull request #17474 from komakai:ndk-side-by-side
2020-06-05 10:37:48 +00:00
Alexander Alekhin
7d30e19b3e
Merge pull request #17350 from AsyaPronina:gapi_ocv_stateful_kernel
...
Enable stateful kernels in G-API OCV Backend
2020-06-05 00:51:22 +03:00
AsyaPronina
b083c20eb2
Enable stateful kernels in G-API OCV Backend
2020-06-04 22:14:42 +03:00
Alexander Alekhin
7722a2b8a8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-06-04 17:58:34 +00:00
Alexander Alekhin
ef3844a177
Merge pull request #17466 from alalek:build_opencv_winpack_dldt_2020.3.0
2020-06-04 17:32:09 +00:00
Alexander Alekhin
476aa443c6
Merge pull request #17432 from tomoaki0705:automaticCC
2020-06-04 17:10:04 +00:00
Fernando Martin
cb0f74ab9f
Merge pull request #17473 from f3rm4rf3r:fixingFourCCDocBrokenLink
...
* - Fixing broken URL to mp4ra website
* - Fixing broken URL to mp4ra website (in C videoio API)
2020-06-04 17:07:54 +00:00
Giles Payne
977e5afbac
Add handling for Android "NDK (Side by side)"
2020-06-04 21:13:11 +09:00
Alexander Alekhin
08d1c54364
Merge pull request #17469 from l-bat:fix_virtual_try_on
2020-06-04 10:32:30 +00:00
Alexander Alekhin
dbbfa003d3
Merge pull request #17455 from mshabunin:check-count-non-zero
2020-06-04 08:47:43 +00:00
Alexander Smorkalov
a17d1843fb
Skip some GAPI tests if VideoCapture is not capable to playback video.
2020-06-04 09:59:09 +03:00
Liubov Batanina
5ffc5bca7c
Fixed virtual try on sample
2020-06-04 09:41:24 +03:00
Alexander Alekhin
11ac2e1475
build: winpack_dldt with dldt 2020.3.0
...
https://github.com/openvinotoolkit/openvino/releases/tag/2020.3.0
2020-06-04 01:21:16 +00:00
Maksim Shabunin
59608907b8
Added countNonZero test for big arrays and disable IPP for some cases
2020-06-03 18:58:41 +03:00
Alexander Alekhin
e454c4891e
Merge pull request #17369 from themightyoarfish:doc-essential-matrix-different-cameras
2020-06-03 12:55:55 +00:00
Alexander Alekhin
3ed243abde
Merge pull request #17430 from alalek:issue_17257
2020-06-02 12:42:04 +00:00
Alexander Alekhin
d60524ecfa
Merge pull request #17447 from alalek:dnn_ie_extract_layers
2020-06-02 12:40:06 +00:00
Rasmus Diederichsen
345e071b24
Add instructions for how to use findEssentialMat() when camera matrices are different
2020-06-02 12:19:49 +03:00
Alexander Alekhin
be1a121d0d
dnn(ie): fix layers extraction
2020-06-01 21:57:39 +00:00
Tomoaki Teshima
156406b56c
select the architecture based on nvcc result
...
* cache the result
* DRY
* brush up based on review
2020-06-02 05:07:53 +09:00
Alexander Alekhin
f68654a204
Merge pull request #17438 from alalek:fix_eigen_builds
2020-06-01 18:02:07 +00:00
Vadim Pisarevsky
8abb312c20
Merge pull request #17417 from vpisarev:fix_fitellipse
...
* improved fitEllipse and fitEllipseDirect accuracy in singular or close-to-singular cases (see issue #9923 )
* scale points using double precision
* added normalization to fitEllipseAMS as well; fixed Java test case by raising the tolerance (it's unclear what is the correct result in this case).
* improved point perturbation a bit. make the code a little bit more clear
* trying to fix Java fitEllipseTest by slightly raising the tolerance threshold
* synchronized C++ version of Java's fitEllipse test
* removed trailing whitespaces
2020-06-01 18:01:20 +00:00
Alexander Alekhin
adcb943f61
Merge pull request #17424 from berak:dnn_sample_human_parsing
2020-06-01 17:58:13 +00:00
Vadim Pisarevsky
5489735258
Merge pull request #17436 from vpisarev:fix_python_io
...
* fixed #17044
1. fixed Python part of the tutorial about using OpenCV XML-YAML-JSON I/O functionality from C++ and Python.
2. added startWriteStruct() and endWriteStruct() methods to FileStorage
3. modifed FileStorage::write() methods to make them work well inside sequences, not only mappings.
* try to fix the doc builder
* added Python regression test for FileStorage I/O API ([TODO] iterating through long sequences can be very slow)
* fixed yaml testing
2020-06-01 11:33:09 +00:00
Alexander Alekhin
8de176988d
Merge pull request #17439 from alalek:fix_dnn_test_required_file
2020-05-31 19:51:56 +00:00
Alexander Alekhin
79c5d07abe
dnn(test): file 'dnn/efficientdet-d0.pb' is optional
2020-05-31 16:18:37 +00:00
Alexander Alekhin
74020a084b
core: fix builds with eigen helper header
2020-05-31 15:41:42 +00:00
berak
09acd478f1
dnn: add a human parsing cpp sample
2020-05-31 09:50:20 +02:00
Alexander Alekhin
e6c9e2fa50
Merge pull request #17420 from nosajthenitram:fix_cascadedetect_convert_bug_for_old_cascade
2020-05-30 17:34:20 +00:00
Meng Wang
ab2c59b80e
Merge pull request #17403 from wangmengHB:master
...
Fix Test Case: in latest version, window.cv is a promise instance that makes most test case failed.
* Fix Browser Test Case: In latest version, window.cv is a promise instance
In latest version of opencv.js, window.cv is promise instance.
So that most of the test cases is run failed.
This commit is to fix browser test case.
* Add comment for backward compatible
Add comments for backward compatible
2020-05-30 17:33:17 +00:00
Jason Martin
a5209c4882
Fixed cascadedetect convert from old cascade to new
2020-05-30 11:45:24 -05:00
Alexander Alekhin
f1dd5e49c5
videoio(ffmpeg): fix handling of AVERROR_EOF
...
decoder should be properly flushed after that
2020-05-29 19:52:26 +00:00
Alexander Alekhin
c6b60e219d
Merge pull request #17428 from asmorkalov:as/java_smart_constructors
2020-05-29 18:38:34 +00:00
Alexander Alekhin
740f6628ec
Merge pull request #17419 from YourButterfly:fix_divide_zero_in_darknet_3_4
2020-05-29 17:32:48 +00:00
Alexander Smorkalov
821fac187c
Generate constructor with smart pointer, if it's expected.
2020-05-29 16:40:19 +03:00
Alexander Alekhin
73fdf75328
Merge pull request #17338 from hunter-college-ossd-spr-2020:contours-toc
2020-05-29 10:40:43 +00:00
YourButterfly
f7daa9e4f5
chk divide 0
2020-05-29 09:54:46 +08:00
Alexander Alekhin
c3e8a82c9c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-28 23:53:54 +00:00
Liubov Batanina
d3aaf2d3a3
Merge pull request #17371 from l-bat:nms_model
...
* Fix NMS bug in DetectionModel
* Fixed comments
* Refactoring
2020-05-28 22:54:19 +00:00
Alexander Alekhin
e58e545584
Merge pull request #17392 from alalek:dnn_test_yolov4
2020-05-28 22:52:21 +00:00
Alexander Alekhin
319db07b6b
Merge pull request #17384 from dkurt:efficientdet
2020-05-28 22:48:52 +00:00
Alexander Alekhin
407cc5f1b6
Merge pull request #17416 from vpisarev:fix_fillpoly
2020-05-28 21:37:15 +00:00
Vadim Pisarevsky
80037dc6de
fixed fillPoly, the overloaded variant with InputArrayOfArrays parameter (single or multiple polygons)
2020-05-28 21:36:28 +03:00
Dmitry Kurtaev
d9bada9867
dnn: EfficientDet
2020-05-28 17:23:42 +03:00
Alexander Alekhin
6b89154afd
dnn(test): add YOLOv4 tests
2020-05-28 13:27:40 +00:00
Alexander Alekhin
1f2d4e4839
Merge pull request #17410 from asmorkalov:as/formulae_command_typo
2020-05-28 11:45:19 +00:00
Alexander Smorkalov
4a9904fe62
Command name typo fix for formulas in documentation.
2020-05-28 13:59:31 +03:00
Alexander Alekhin
4b5fdc6bb2
Merge pull request #17406 from mshabunin:fix-msmf-audio-handling
2020-05-27 19:20:39 +00:00
Maksim Shabunin
2d11edd103
videoio/MSMF: fixed audio stream handling
2020-05-27 17:57:18 +03:00
Alexander Alekhin
515a06cedf
Merge pull request #17359 from YashasSamaga:cuda4dnn-fix-default-stream-wrappers
2020-05-27 11:28:09 +00:00
Ningxin Hu
fef6192bca
Merge pull request #17394 from huningxin:fix_segmentation_py
...
* Fix window title of python segmentation example
* Fix float text position of python segmentation examples
2020-05-27 11:20:07 +03:00
Alexander Alekhin
7d9e1be588
Merge pull request #17388 from alalek:dnn_update_network_dump
2020-05-27 07:55:32 +00:00
Liubov Batanina
ba3cf47600
Merge pull request #17386 from l-bat:tf_clamp_subgraph
...
* Added ClipByValue subgraph
* Return const nodes
2020-05-26 19:01:47 +00:00
Alexander Alekhin
9e09828cc3
Merge pull request #17390 from l-bat:fix_ngraph_multiply
2020-05-26 16:33:12 +00:00
Liubov Batanina
b236f10792
Switch ngraph::op::v1::Multiply to v0
2020-05-26 16:59:50 +03:00
Alexander Alekhin
f0bef94a03
dnn: update network dump code, include ngraph serialization
2020-05-26 12:49:22 +00:00
Alexander Alekhin
9f177b2bcd
Merge pull request #17377 from jtojnar:patch-1
2020-05-26 09:52:13 +00:00
Jan Tojnar
765f333a1d
pkg-config: Drop broken include path
...
The legacy `includedir` was removed in 4.0 (https://github.com/opencv/opencv/pull/12477 ) but it was not removed from the `.pc` file.
This causes issues when trying to link against OpenCV using pkg-config in CMake.
2020-05-25 22:33:34 +02:00
Egor Pugin
1bec7ca540
Merge pull request #17352 from egorpugin:patch-2
...
* Fix integer overflow in parseOption().
Previous code does not work for values like 100000MB.
* Fix warning during 32-bit build on inactive code path.
* fix build without C++11
2020-05-25 20:25:18 +00:00
Alexander Alekhin
29bbbaa0a7
Merge pull request #17376 from alalek:dnn_fix_build
2020-05-25 19:59:58 +00:00
shijiayuan
4e97c69792
Merge pull request #17275 from shijiayuan:fixbug
...
* fix bug for CHECK issue
* remove chack for bpp
* add test for tif file
* add test for tiff file
* change the test name
* use proper bpp value, use clear test names
2020-05-25 18:49:37 +00:00
Alexander Alekhin
88d8a48b09
Merge pull request #17374 from alalek:dnn_fix_build
2020-05-25 18:46:15 +00:00
Alexander Alekhin
73aa5f567b
dnn: *_DENORMALS_ZERO_MODE is defined for SSE3
2020-05-25 17:55:36 +00:00
Liubov Batanina
d5e8792f55
Merge pull request #17332 from l-bat:fix_nms
...
Fixed NMSBoxes bug
* Added NMS for each class
* Updated cpp sample
* Fixed errors
* Refactoring
* Added NMS for IE
2020-05-25 12:34:11 +00:00
Alexander Alekhin
6202556fc0
Merge pull request #17367 from anton-potapov:ap/fluid_fix_uninit_members
2020-05-25 11:00:13 +00:00
Anton Potapov
be9f3826d7
GAPI: fix uninitialized variables in Fluid
2020-05-25 11:59:28 +03:00
Michal W. Tarnowski
7f453ade73
Merge pull request #17361 from mwtarnowski:fix-documentation-gapi-imgproc-blur
...
* fix documentation for cv::gapi::blur
* remove dst parameter and move ksize parameter to its correct position
2020-05-24 22:48:44 +00:00
Michal W. Tarnowski
5393185add
Merge pull request #17360 from mwtarnowski:fix-documentation-imgproc-blur
...
* fix documentation for cv::blur
* correct the position of ksize parameter
2020-05-24 22:46:41 +00:00
YashasSamaga
b3a261c7ce
set stream at the site of creation
2020-05-24 19:01:17 +05:30
Josh Bradley
9fef09fe89
Merge pull request #17320 from jgbradley1:add-eigen-tensor-conversions
...
* add eigen tensor conversion functions
* add eigen tensor conversion tests
* add support for column major order
* update eigen tensor tests
* fix coding style and add conditional compilation
* fix conditional compilation checks
* remove whitespace
* rearrange functions for easier reading
* reformat function documentation and add tensormap unit test
* cleanup documentation of unit test
* remove condition duplication
* check Eigen major version, not minor version
* restrict to Eigen v3.3.0+
* add documentation note and add type checking to cv2eigen_tensormap()
2020-05-23 18:25:01 +00:00
Alexander Alekhin
6b0fff72d9
Merge pull request #17349 from YashasSamaga:cuda4dnn-general-fixes
2020-05-23 18:18:55 +00:00
Alexander Alekhin
21e28adb87
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-22 19:50:14 +00:00
Alexander Alekhin
a9b030591b
Merge pull request #17295 from dkurt:dnn_fusion_ftz
2020-05-22 18:49:43 +00:00
YashasSamaga
57ca10636c
do not create redundant handles
2020-05-22 19:52:20 +05:30
Alexander Alekhin
d4a9c731ff
Merge pull request #17345 from alalek:build_fix_mac_warnings
2020-05-22 10:50:41 +00:00
Alexander Alekhin
17d15df6cd
Merge pull request #17343 from hunter-college-ossd-spr-2020:mac-install
2020-05-22 08:12:10 +00:00
Alexander Alekhin
98611adeb9
build: fix warnings about TARGET_OS_MACCATALYST
2020-05-21 20:41:47 +00:00
Alexander Alekhin
01a8c9ca8d
Merge pull request #17331 from allnes:update_quirc
2020-05-21 20:15:55 +00:00
Boubacar
0940c56a3f
add note on cmake brew install
2020-05-21 10:34:17 -04:00
Alexander Alekhin
d650b5cc5a
Merge pull request #17339 from hunter-college-ossd-spr-2020:pylint-note
2020-05-21 13:53:29 +00:00
Alexander Alekhin
e96a58f091
Merge pull request #17191 from anton-potapov:gapi_variant_converting_ctor_assign_op_reworked
2020-05-21 12:59:31 +00:00
Boubacar
b624da27bd
add pylint install note
2020-05-21 07:55:11 -04:00
Boubacar
5b443199ca
group contour articles together
2020-05-21 07:16:54 -04:00
Alexander Alekhin
cb82388a84
Merge pull request #17325 from hunter-college-ossd-spr-2020:nav-links
2020-05-20 18:14:27 +00:00
Nesterov Alexander
735c31bb4a
Resolve type conflict
2020-05-20 18:05:27 +03:00
Nesterov Alexander
b7253e3280
Update version quirc
2020-05-20 17:55:14 +03:00
Anton Potapov
e02318d384
GAPI: utils - variant converting ctor and assignment op. reworked
...
- reworked variant::operator(T&&) and varaint::variant(T&&) to be more
concise and signature accurate with C++17 specification
- restricted cv::detail::OpaqueRef::OpaqueRef(T&&) to not substitute
copy/move ctors
- moved common additions to C++11 version of std <type_traits> to
separte header
2020-05-20 14:34:55 +03:00
Daniel Mallia
94d187e269
Add next and previous navigation links to all tutorials
2020-05-19 18:59:28 -04:00
Liubov Batanina
d991c22090
Merge pull request #16575 from l-bat:flownet2
...
Support FlowNet2 model
* Support DataAugmentation layer
* Fix warnings
* Fix comments
* Support Correlation layer
* TEST
* Support Correlation layer
* Supported Accum and FlowWarp layers
* Supported ChannelNorm layer
* Supported Resample with inputs.size() > 1
* Fixed comments
* Refactoring
* Added tests
* Add resample test
* Added asserts in resize layer
* Updated DataAugmentation layer
* Update convolution layer
* Refactoring
* Fix data augmentation layer
* Fix caffe importer
* Fix resize
* Switch to Mat ptr
* Remove useless resize type
* Used ResizeLayer in Accum
* Split ChannelNormLayer
* Delete duplicate assert
* Add sample
* Fix sample
* Added colormap
2020-05-19 12:29:50 +00:00
Alexander Alekhin
9039284d96
Merge pull request #17317 from Yosshi999:prevent-build-failure-without-flann
2020-05-19 08:30:54 +00:00
Alexander Alekhin
593af7287b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-18 17:50:16 +00:00
Alexander Alekhin
322960f795
Merge pull request #17297 from dkurt:dnn_yolov3_ocl
2020-05-18 17:47:16 +00:00
Dmitry Kurtaev
b5035ce991
Increase test threshold for YOLOv3 on OCL FP16
2020-05-18 19:06:15 +03:00
dmallia17
07c56f149f
Merge pull request #17313 from hunter-college-ossd-spr-2020:revise-knn-tutorials
...
* Revise and expand kNN Python tutorials
* Correct NPTEL link
2020-05-18 15:53:17 +00:00
Yosshi999
c0f435349a
ignore tests dependent on flann when flann module is absent
2020-05-18 15:30:32 +00:00
Alexander Alekhin
0e1c7eda39
Merge pull request #17092 from alalek:imgproc_ipp_parallel_gaussuanBlur
2020-05-18 11:51:59 +00:00
Alexander Alekhin
2b2bcc9b38
Merge pull request #17304 from chrisballinger:maccatalyst
2020-05-17 20:33:05 +00:00
Alexander Alekhin
a3b109eca0
imgproc: enable GaussianBlur IPP parallel processing
2020-05-17 11:40:34 +00:00
Alexander Alekhin
a1b09a3734
imgproc(perf): add GaussianBlur cases for SIFT
2020-05-17 10:15:31 +00:00
Chris Ballinger
d81ac52ce2
Remove linking against AssetsLibrary framework
2020-05-16 12:47:50 -07:00
Chris Ballinger
220df8252d
Add target conditionals for Mac Catalyst
2020-05-16 12:47:50 -07:00
Alexander Alekhin
de720ac34a
Merge pull request #17294 from alalek:issue_17247
2020-05-16 18:49:22 +00:00
Dmitry Kurtaev
68d59a2913
Flush to zero Convolution denormal weights
2020-05-15 23:44:34 +03:00
Alexander Alekhin
5ecf5f106a
Merge pull request #17296 from mshabunin:fix-vulkan-build
2020-05-15 16:51:29 +00:00
Alexander Alekhin
753e417dec
Merge pull request #17299 from tweenietomatoes:patch-1
2020-05-15 15:48:46 +00:00
tweenietomatoes
7d1094b7e1
Important single character fix
2020-05-15 14:41:55 +03:00
jumostedu
5b095dfcb6
Merge pull request #15214 from jumostedu:matchtemplmask
...
* imgproc: templmatch: Add support for mask for all methods
Add support for masked template matching. Fix/scrub old implementation
for masked matching, as it did partly not even really do a meaningful
masking, and only supported limited template matching methods.
Add documentation including formulas for masked matching.
* imgproc: test: Add tests for masked template matching
Test accuracy by comparing to naive implementation for one point.
Test compatibility/correctness by comparing results without mask and
with all ones mask.
All tests are done for all methods, all supported depths, and for 1 and
3 channels.
* imgproc: test: templmatch: Add test for crossCorr
Add a test for the crossCorr function in templmatch.cpp. crossCorr() had
to be added to exported functions to be testable.
This test can maybe help to identify the problem with template matching
on MacOSX.
* fix: Fixed wrong evaluations of the MatExpr on Clang
* fix: removed crossCorr from public interface.
If it should be exported, it should be done as separate PR.
Co-authored-by: Vadim Levin <vadim.levin@xperience.ai >
2020-05-14 22:46:25 +00:00
Maksim Shabunin
7c41b54e3d
Fixed build with latest Vulkan headers
2020-05-14 23:20:28 +03:00
Alexander Alekhin
58426c80a3
samples: fix OpenCL events leaks
2020-05-14 17:15:09 +00:00
Ganesh Kathiresan
cddd7f10d5
Merge pull request #17224 from ganesh-k13:bugfix/calib3d/17201
...
* Fixed indexing in prefilter
* Initialised prefilter
* Initialised prefilter with value initialisation
* Added TC to trigger different Mem Allocs in BufferBM
* Optimize cases with only needed conditions
2020-05-14 16:30:01 +00:00
Alexander Alekhin
ea3c2307dc
Merge pull request #17248 from nroduit:java-addall
2020-05-14 12:17:51 +00:00
Alexander Alekhin
65b3209441
Merge pull request #17055 from vnikoofard:patch-1
2020-05-14 12:17:26 +00:00
Nicolas Roduit
400a781ebf
Prefer addall instead of iteration for performance
2020-05-14 11:42:24 +03:00
Alexander Alekhin
c8689d9d0a
Merge pull request #17288 from dkurt:dnn_tf_resize_down
2020-05-14 07:08:41 +00:00
Alexander Alekhin
ea0d1424d8
Merge pull request #17287 from tomoaki0705:fixAkazeTestFailureMali
2020-05-14 06:59:28 +00:00
Alexander Alekhin
365f44b094
Merge pull request #17285 from sauhaardac:patch-1
2020-05-14 06:58:42 +00:00
Alexander Alekhin
bcf96d637e
Merge pull request #17284 from dkurt:dnn_bn_fusion
2020-05-14 06:57:36 +00:00
Alexander Alekhin
6ced54a892
Merge pull request #17281 from l-bat:ssd_placeholder_shape
2020-05-14 06:55:52 +00:00
Alexander Alekhin
486de65067
Merge pull request #17268 from anton-potapov:deownification_fix
2020-05-14 06:55:08 +00:00
Liubov Batanina
c5a2d28367
Determine SSD input shape
2020-05-14 08:16:45 +03:00
Dmitry Kurtaev
b4a6aa335d
TensorFlow bilinear resize downscale
2020-05-13 23:59:20 +03:00
Tomoaki Teshima
35245cb76e
fix test failure on Mali T760 and Mali T628
2020-05-14 05:44:14 +09:00
Sauhaarda Chowdhuri
fa349b7a4e
Fix #17279 Documentation Error
...
Update documentation to solve #17279 . Simple documentation bug.
2020-05-13 13:14:05 -07:00
Dmitry Kurtaev
df305e83fa
Fix BatchNorm reinitialization after fusion
2020-05-13 22:15:36 +03:00
Alexander Alekhin
b2464e3379
Merge pull request #17270 from l-bat:ngraph_missed_data
2020-05-13 08:27:04 +00:00
Alexander Alekhin
06bff34a6b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-12 19:24:28 +00:00
Alexander Alekhin
6856cc7253
Merge pull request #17228 from mshabunin:mfx-surface-pool-34
2020-05-12 19:00:49 +00:00
Alexander Alekhin
508bd3f55d
Merge pull request #17260 from jsxyhelu:add_deepgreen_colormap
2020-05-12 18:58:54 +00:00
Alexander Alekhin
8b51e2df8b
Merge pull request #17211 from alalek:sift_dispatch
2020-05-12 18:53:35 +00:00
Alexander Alekhin
bd1b252de9
Merge pull request #17196 from alalek:core_matexpr_fix_warning
2020-05-12 18:50:58 +00:00
Alexander Alekhin
77ddfa2fc9
Merge pull request #17215 from spmallick:master
2020-05-12 16:52:27 +00:00
Maksim Shabunin
f30931848e
CAP_MFX: surface pool with timeout, more parameters
2020-05-12 18:43:04 +03:00
Liubov Batanina
b27ae9c63b
Switch v1::Multiply to v0::Multiply
2020-05-12 16:05:03 +03:00
Liubov Batanina
79f8b7fd73
Merge pull request #17233 from l-bat:onnx_bn
...
* Added ONNX BatchNorm subgraph
* Move removing constant inputs to addConstantNodesForInitializers
* Added initializers to ONNXGraphWrapper
2020-05-12 15:33:57 +03:00
jsxyhelu
48e9e651a4
add DeepGreen colormap
2020-05-12 15:24:32 +03:00
Anton Potapov
7386d8523b
G-API: "deownification" corrections
...
- moved "standalone" aliases of cv types to "opencv_includes.hpp" to
keep responsibility principle aplied
- introduced correct aliasing for "descr_of(Mat)" function for
standalone case
- added missing include in `gapi/own/mat.hpp`
2020-05-12 14:28:32 +03:00
Alexander Alekhin
1bf353b876
Merge pull request #17230 from asmorkalov:as/issue_17171
2020-05-12 10:53:23 +00:00
Alexander Alekhin
23e336ee53
Merge pull request #17244 from hunter-college-ossd-spr-2020:toc-updates
2020-05-12 07:35:14 +00:00
Alexander Alekhin
ac54bb193c
Merge pull request #17256 from R-penguins:jstutfix
2020-05-12 07:34:00 +00:00
Alexander Alekhin
713577b257
Merge pull request #17258 from YashasSamaga:cuda4dnn-hotfix-slice-pr17231-pr17222
2020-05-11 19:25:50 +00:00
Alexander Alekhin
583f4b9633
Merge pull request #17253 from YashasSamaga:cuda4dnn-region-yolov4
2020-05-11 19:23:55 +00:00
YashasSamaga
45a6386e45
port pr17222 changes to CUDA backend
2020-05-11 11:01:01 +05:30
Rui Hou
e9058ea8f5
Easier access to opencv.js in tutorial
2020-05-10 11:20:27 -04:00
YashasSamaga
3c35b563d7
add scale_x_y parameter to region
2020-05-10 16:53:28 +05:30
Alexander Alekhin
fd06139c20
Merge pull request #17235 from R-penguins:patch-1
2020-05-10 08:16:34 +00:00
R-penguins
b43da8aa5d
Update Image Watch Tutorial
...
Updated the Windows Visual Studio Image Watch tutorial to include download links to the latest versions of Visual Studio Image Watch for newer Visual Studio versions.
2020-05-09 23:24:47 -04:00
Alexander Alekhin
066259b656
Merge pull request #17118 from l-bat/concat_3d
...
Added NDHWC Concat support for TensorFlow
* Supported TF concat 3d
* Skip myriad
* Fix test
2020-05-09 22:24:06 +03:00
Yashas Samaga B L
d981d04c76
Merge pull request #17200 from YashasSamaga:cuda4dnn-general-opt1
...
cuda4dnn: optimizations for swish, mish, sigmoid, region, resize based ops, transpose, identity-conv fusion
* bunch of optimizations
* more accurate implementation for mish
2020-05-09 17:20:30 +00:00
Alexander Alekhin
666be238d8
Merge pull request #17229 from smirnov-alexey:as/fix_fluid_resize
2020-05-08 18:59:41 +00:00
Alexander Alekhin
64f5471b2a
Merge pull request #17208 from hn-88:3.4
2020-05-08 18:31:11 +00:00
Daniel Mallia
4e789635c9
Update tutorials tables of content for several modules
2020-05-08 14:22:30 -04:00
Alexander Smorkalov
7c17695be4
Added Java and C++ regression test for estimateNewCameraMatrixForUndistortRectify.
2020-05-08 13:04:25 +03:00
Smirnov Alexey
3e3d4ad797
Fix fluid resize operating with zero output size
2020-05-07 12:24:57 +03:00
Alexander Alekhin
73bbabcd04
Merge pull request #17223 from hunter-college-ossd-spr-2020:imgproc-toc
2020-05-07 08:44:02 +00:00
Alexander Alekhin
93d79d2e5d
Merge pull request #17219 from hunter-college-ossd-spr-2020:mathjax-link
2020-05-07 08:43:16 +00:00
Alexander Alekhin
1889d72889
Merge pull request #17218 from hunter-college-ossd-spr-2020:numpy-links-17212
2020-05-07 08:42:50 +00:00
Satya Mallick
6e5437a582
Adding Official OpenCV Courses link to README.md
2020-05-06 16:32:08 -07:00
Alexander Alekhin
09799402f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-05-06 19:53:51 +00:00
Alexander Alekhin
5813d2439c
Merge pull request #17222 from dkurt:dnn_flexible_slice
2020-05-06 19:46:34 +00:00
Alexander Alekhin
4f1ba5e69e
Merge pull request #16941 from rngtna:examples_dnn_text_decoder
2020-05-06 22:45:05 +03:00
Daniel Mallia
c934d9c3cc
Update imgproc tutorials table of content Languages fields
2020-05-06 13:07:24 -04:00
Aleksandr Pertovskiy
00b19d6fba
Add text recognition example
2020-05-06 15:26:17 +03:00
Dmitry Kurtaev
8b13b85c5e
dnn: Slice with variable input shapes
2020-05-05 13:35:17 +03:00
Daniel Mallia
64b0757758
Update Supported formula commands - MathJax link
2020-05-04 23:50:22 -04:00
Daniel Mallia
1622e7cc90
Update NumPy links
2020-05-04 23:20:52 -04:00
Alexander Alekhin
1f9713195b
features2d(sift): enable runtime dispatching
2020-05-03 11:59:27 +00:00
hn-88
ea04f9d12e
to make OpenCV compile on mingw32
...
added #define NO_DSHOW_STRSAFE
2020-05-03 11:19:04 +05:30
Alexander Alekhin
74e4cfd1da
core(MatExpr): fix warning in case of e.s == (0, 0, 0, 0)
2020-05-01 07:29:57 +00:00
Alexander Alekhin
27ee6501eb
Merge pull request #17188 from asmorkalov:as/fisheye_test
2020-04-30 13:55:31 +00:00
Liubov Batanina
a5696da9ec
Merge pull request #17185 from l-bat:yolo_v4
...
* Support Yolov4
* Skip Mish on OpenVINO 2020.2
* Revert Mish
* Refactoring
2020-04-30 16:53:44 +03:00
Alexander Alekhin
0b439bcd08
Merge pull request #17190 from alalek:dnn_test_win32_skip_list
2020-04-29 20:53:54 +00:00
Alexander Alekhin
b805115c1a
dnn(test): update skip tests on Win32 configuration
2020-04-29 20:02:13 +00:00
Alexander Smorkalov
c41fb45da3
Restored test disabled during 3.0-alpha preparation.
2020-04-29 17:08:51 +03:00
QIU Xiaochen
cdfa58dde0
Merge pull request #17180 from PetWorm:3.4
...
* fix Scharr nomination
2020-04-29 09:55:59 +00:00
Alexander Alekhin
c722625f28
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-28 16:53:19 +00:00
Alexander Alekhin
6630eac813
Merge pull request #17173 from tomoaki0705:fixOclHogDetect
2020-04-28 16:36:14 +00:00
Tomoaki Teshima
63f5f93063
fix test failure on ODROID-N2
2020-04-28 21:46:31 +09:00
Alexander Alekhin
1d30a524fa
Merge pull request #17145 from asmorkalov:as/riscv
2020-04-28 10:41:41 +00:00
Vadim Levin
7f90f04df2
Merge pull request #16766 from VadimLevin:dev/vlevin/video_writer_params_constructor
...
* feature: Extend VideoWriter to accept vector of parameters
- Add additional constructor and `open` method for `VideoWriter`
those accept a vector of parameters
- Move actual implementation of the `VideoWriter::open` to general method
which accepts vector of parameters
- Propagate parsed parameters map up to actual video backend construction
* fix: Change VideoWriter constructor description to suppress doc warning
* refactor: Rollback newlines changes
* feature: Changed VideoWriter parameters workflow
* feature: Log unused parameters in VideoWriter open
* doc: Fix VideoWriter `isColor` parameter description
* fix: int to bool VC++ conversion warning
* doc: Remove information about `isColor` flag usage.
2020-04-28 08:38:39 +00:00
Alexander Alekhin
5da4bb7e88
Merge pull request #16983 from dkurt:dnn_tf_prelu
2020-04-28 08:37:46 +00:00
Alexander Alekhin
dc1b1f2cd7
Merge pull request #16914 from jackson0223:patch-1
2020-04-28 08:36:51 +00:00
Dmitry Kurtaev
25ec4ce6f1
PReLU from Tensorflow
2020-04-28 00:01:21 +03:00
jackson0223
d30bc0a4c0
Restore face detection train.prototxt from #9516
2020-04-27 23:07:33 +03:00
Alexander Alekhin
c05ac8729e
features2d: keep history of simd.cpp
2020-04-27 18:19:14 +00:00
Alexander Alekhin
9926a93a78
features2d: copy sift.dispatch.cpp
2020-04-27 18:18:16 +00:00
Alexander Alekhin
7093752cb5
features2d: copy sift.simd.hpp
2020-04-27 18:17:15 +00:00
Alexander Alekhin
0daf055fe6
Merge pull request #17159 from pauljurczak:patch-3
2020-04-27 12:43:32 +00:00
Alexander Alekhin
3f38edfd61
Merge pull request #17161 from alalek:cmake_protobuf_fix
2020-04-27 12:24:37 +00:00
Alexander Alekhin
ee201f4df5
Merge pull request #17157 from alalek:issue_17138
2020-04-27 12:23:44 +00:00
Alexander Smorkalov
7228d2a824
Added initial version of cmake toolchain for RISC-V architecture.
2020-04-27 12:42:38 +03:00
Alexander Alekhin
9181ecfc7b
cmake: fix protobuf handling
2020-04-27 02:11:19 +00:00
Liubov Batanina
4bf94cb5d1
Fix test
2020-04-26 20:42:11 +03:00
Paul Jurczak
599a3026d1
Added to Camera constructor parameter description
2020-04-26 00:17:39 -06:00
Alexander Alekhin
288fa70ed9
dnn(protobuf): backport AllowUnknownField(), SetRecursionLimit()
...
- limit recursion in SkipField*() calls
2020-04-25 20:45:43 +00:00
Alexander Alekhin
152e6476d9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-24 19:02:39 +00:00
Alexander Alekhin
8d05dab32c
Merge pull request #17119 from alalek:move_sift
2020-04-24 18:15:15 +00:00
Alexander Alekhin
3c14a8c507
Merge pull request #17149 from alalek:core_simd_suppress_coverity
2020-04-24 17:46:54 +00:00
Alexander Alekhin
15b948d109
Merge pull request #17144 from YashasSamaga:cuda4dnn-fix-i17116
2020-04-24 17:40:57 +00:00
Alexander Alekhin
ab3b1e9922
Merge pull request #17108 from HowardsPlayPen:patch-1
2020-04-24 17:25:31 +00:00
Alexander Alekhin
cd7db168e0
core(SIMD): suppress coverity UNINIT_CTOR on SIMD vectors
2020-04-24 16:36:35 +00:00
HowardsPlayPen
cbcdbde29d
Update videocapture_basic.cpp
...
I believe you are using the wrong version of open() on line 28 - adding deviceID + appId together. It's better to use the new version of .open() taking two integers as parameter.
2020-04-24 11:42:45 +03:00
YashasSamaga
aff2c7c43c
handle redundant slice in SliceOp
2020-04-24 12:54:17 +05:30
Alexander Alekhin
2df978b8e7
Merge pull request #17134 from alalek:dnn_ie_avoid_conversion_to_legacy
2020-04-23 22:39:45 +00:00
Alexander Alekhin
10808ccbb4
Merge pull request #17129 from alalek:dnn_myriad_tests
2020-04-23 19:41:15 +00:00
Alexander Alekhin
f756923271
dnn(ie): avoid conversion to legacy CNNNetworkImpl
2020-04-23 19:11:33 +00:00
Maxim Pashchenkov
51a42c0647
Merge pull request #17088 from mpashchenkov:mp/ocv-gapi-kernel-laplacian
...
G-API: Laplacian and bilateralFilter standard kernels
* Added Laplacian kernel and tests
* Added: Laplacian kernel, Bilateral kernel (CPU, GPU); Performance and accuracy tests for this kernels
* Changed tolerance for GPU test
* boner
* Some changes with alignment; Tests's parameters are the same as for OCV
* Cut tests
* Compressed tests
* Minor changes (rsrt bb)
* Returned types
2020-04-23 17:47:55 +00:00
Alexander Alekhin
189fc43765
Merge pull request #17082 from OrestChura:oc/buildPyramid
2020-04-23 12:07:27 +00:00
Alexander Alekhin
a327418767
features2d(sift): move SIFT tests / headers / build fixes
2020-04-23 08:45:22 +00:00
Alexander Alekhin
a1641f938e
Merge pull request #17133 from alalek:build_fix_gapi_ie
2020-04-22 23:06:14 +00:00
Alexander Alekhin
351fb8c058
gapi: fix build, update IE handling, add OPENCV_GAPI_INF_ENGINE
2020-04-22 21:47:45 +00:00
Alexander Alekhin
83c4378d5d
dnn(test): skip failed NGRAPH/MYRIAD tests
2020-04-22 15:00:23 +00:00
Alexander Alekhin
561421f748
Merge pull request #17122 from mshabunin:videoio-win-dbg-plugins
2020-04-22 11:42:33 +00:00
Maksim Shabunin
9415560250
videoio: load debug versions of plug-ins in debug builds
2020-04-22 13:35:06 +03:00
Alexander Alekhin
e74075c689
Merge pull request #16887 from ashishkrshrivastava:fasterrcnn
2020-04-22 09:47:45 +00:00
Alexander Alekhin
511d0fe198
Merge pull request #17120 from ganesh-k13:bugfix/documentation/16987
2020-04-22 09:08:02 +00:00
Liubov Batanina
1c1762d3f6
Skip myriad
2020-04-22 09:52:20 +03:00
ashishiva3@gmail.com
e0ac0cfbe2
add fused batchNorm Upsample
2020-04-22 08:24:17 +05:30
Alexander Alekhin
bfcc136dc7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-21 21:32:51 +00:00
Alexander Alekhin
775d031366
Merge pull request #17123 from ganesh-k13:bugfix/documentation/3.4/16987
2020-04-21 21:03:36 +00:00
Alexander Alekhin
1a17f402a4
Merge pull request #17030 from ashishkrshrivastava:onnximporter
2020-04-21 21:02:41 +00:00
Polina Smolnikova
40973bea31
Merge pull request #16961 from rayonnant14:objdetect_different_return_value_issue
...
QRDetectMulti : different return value bug fix
* QRDetectMulti : bug fix
* added tests
* changed test image due to large size of previous test image
2020-04-21 20:44:50 +00:00
Maxim Pashchenkov
94e36d8c8d
Merge pull request #16995 from mpashchenkov:mp/ocv-gapi-standalone-mat
...
G-API: Mat's "deownification"
* deowned Mat
* boner
* Removed canDescribe test for own::Mat
* Removed STANDALONE flag for apply() and operator()
* Removed: desc_tests for own::Mat, descr_of for own::Mat.
* Returned: tests, cv::gapi::own::descr_of; fixed alignment; Removed own::Mat's headers
* Removed unused header own/mat.hpp from gbackend.hpp
2020-04-21 20:22:01 +00:00
Ganesh Kathiresan
4ee6852a1e
Formula Fixes for master branch
...
Foumula fix 6
Foumula fix 7
2020-04-21 19:31:52 +05:30
Ganesh Kathiresan
0be2c7018b
Formula Fixes for 3.4 branch
...
Foumula fix 1
Foumula fix 2
Foumula fix 3
Foumula fix 4
Foumula fix 5
Foumula fix 8
2020-04-21 19:23:23 +05:30
Liubov Batanina
aa08900ac8
Supported TF concat 3d
2020-04-21 15:15:22 +03:00
OrestChura
05d5c284f6
gapi: buildOpticalFlowPyramid() interface, CPUkernel and CPUtests implementation
...
- kernel added to a cv::gapi::video namespace
- tests to check a kernels (based on cv::video tests for cv::buildOpticalFlowPyramid())
- tests for a combined G-API-pipeline (buildOpticalFlowPyramid() -> calcOpticalFlowPyrLK())
- tests for internal purposes added
- custom function for comparison in tests implemented
2020-04-21 14:36:42 +03:00
AshihsKrShrivastava
d37180a2c4
modification for upsample node fused from unfused Resize subgraph
2020-04-21 15:03:00 +05:30
Liubov Batanina
8badf7f354
Merge pull request #17112 from l-bat:ie_region
...
* Support nGraph Region
* Support region since OpenVINO 2020.2
* Skip myriad
2020-04-21 09:26:58 +00:00
Alexander Alekhin
150bd3aee6
Merge pull request #17106 from pauljurczak:patch-3
2020-04-20 18:00:01 +00:00
Alexander Alekhin
f19d0ae41d
Merge pull request #17109 from alalek:cmake_videoio_plugins_all
2020-04-20 17:24:18 +00:00
Paul Jurczak
a748eba42e
Added descriptions of randu and randn
2020-04-20 07:13:37 +00:00
Alexander Alekhin
850b1ea2d7
Merge pull request #17110 from alalek:videoio_msmf_fix_warning
2020-04-19 20:41:18 +00:00
Alexander Alekhin
10d2bcc8a2
videoio(msmf): fix build warning
...
- warning C4800: 'int': forcing value to bool 'true' or 'false'
2020-04-19 19:47:32 +00:00
Alexander Alekhin
7ce1bd5d88
cmake: handle VIDEOIO_PLUGIN_LIST=all
2020-04-19 19:29:07 +00:00
Alexander Alekhin
935420217c
Merge pull request #17102 from dkurt:dnn_ie_flexible_inputs
2020-04-19 18:06:09 +00:00
Alexander Alekhin
81d4d4948e
Merge pull request #17105 from benji1123:pointPolygonTest_demo
2020-04-19 17:38:23 +00:00
Ben
041da57e87
fix tuple error
2020-04-19 10:36:59 -04:00
Alexander Alekhin
acf1be547d
Merge pull request #17046 from alalek:core_inputarray_matexpr_cleanup
2020-04-18 21:41:59 +00:00
Dmitry Kurtaev
908bf935f7
Flexible inputs for OpenVINO IR models
2020-04-18 20:00:22 +03:00
Alexander Alekhin
e59e978fcd
Merge pull request #17096 from spectralio:java-cmake-fix
2020-04-17 21:24:41 +00:00
Alexander Alekhin
fbaae7ac37
Merge pull request #17041 from alalek:core_simd_vector_ctors
2020-04-17 21:22:08 +00:00
Alexander Alekhin
dcf7eb972e
core(SIMD): align behavior of vector constructors
...
- setzero() calls are dropped due low-level API nature
- initialization is mandatory if necessary (not an output of other calls)
2020-04-17 14:34:34 +00:00
Maksim Shabunin
2840362868
Merge pull request #16769 from mshabunin:fix-ipp-install
...
* Do not copy standalone IPP libraries to install for static builds
* Restored IPP installation under option
2020-04-17 14:28:42 +00:00
jshiwam
d4fc302c7e
Merge pull request #16795 from jshiwam:qrsample
...
Added a sample file for qrcode detection in python
* sample python file for qrcode detection added in samples/python
* input taken using argparse and the indents were removed
* Removed unused variables
* updated the format and removed unused variables
Removed the use of global variables and used parameterised contructor instead
=set multi detection true by default
* added detection from camera
* samples(python): coding style in qrcode.py
2020-04-17 12:16:39 +00:00
spectralio
1cce9db710
fix missing underscore
2020-04-17 13:08:32 +02:00
Alexander Alekhin
e92f1eaa3d
Merge pull request #17071 from mshabunin:tickmeter-fps
2020-04-17 08:56:29 +00:00
Maksim Shabunin
f84cae833a
TickMeter: added FPS and AvgTime, improved docs, reformatted
2020-04-16 21:33:29 +03:00
Alexander Alekhin
2cef100303
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-16 18:28:27 +00:00
Alexander Alekhin
ed58b5489f
[move sift.cpp] sift: avoid inplace calls of GaussianBlur
...
- should unlock IPP optimizations
original commit: https://github.com/opencv/opencv_contrib/commit/ce7c8f2646ccf3f5e657ab1241e22c0c32cd9d41
2020-04-16 17:58:45 +00:00
Alexander Alekhin
ef5fa498d4
[move sift.cpp] sift: perf tests and trace regions
...
original commit: https://github.com/opencv/opencv_contrib/commit/a15e105db12aa7a0bade47afb791682201e46f60
2020-04-16 17:58:45 +00:00
Alexander Alekhin
78e4fbd2d7
Merge pull request #17091 from tomoaki0705:fixHOGDetectorFailure
2020-04-16 16:34:45 +00:00
Tomoaki Teshima
96075ce0c9
avoid test failure on Arm platform
2020-04-17 00:59:15 +09:00
Alexander Alekhin
c007228d0f
Merge pull request #17075 from alalek:dnn_updates_from_openvino_2020.2
2020-04-16 12:19:58 +00:00
Alexander Alekhin
dca9b4283b
Merge pull request #17080 from dkurt:dnn_ngraph_future
2020-04-16 11:19:08 +00:00
Alexander Alekhin
dcec3150f0
Merge pull request #17084 from tomoaki0705:fixQRInputCheck
2020-04-16 09:44:08 +00:00
Alexander Alekhin
d015db3de8
Merge pull request #17083 from pauljurczak:patch-2
2020-04-16 09:43:44 +00:00
Alexander Alekhin
ef7fb905aa
Merge pull request #17074 from AlanLi7991:doc/python-svm-doc-formula-miss
2020-04-16 09:43:20 +00:00
Dmitry Kurtaev
5e5385a814
Remove NodeVector for nGraph
2020-04-16 11:13:49 +03:00
Alanli
7aaa918367
doc: formula miss
2020-04-16 09:05:00 +09:00
Tomoaki Teshima
c2e484a465
fix wrong condition check
2020-04-16 08:24:14 +09:00
Paul Jurczak
f64d807863
Added to description of WCube constructor
...
`WCube` constructor reorders `min_point`, `max_point` parameters when necessary. I added this info to the description.
2020-04-15 16:06:14 -06:00
Alexander Alekhin
81c2f3d194
Merge pull request #17081 from alalek:backport_17056
2020-04-15 18:33:41 +00:00
Alexander Alekhin
8c77f35fce
Merge pull request #17079 from tomoaki0705:fixCUDABgSgmMOG
2020-04-15 18:30:09 +00:00
Alexander Alekhin
ff4ce9f7b1
build: winpack_dldt with dldt 2020.2
2020-04-15 17:25:23 +00:00
Alexander Alekhin
fecebea2e3
Merge pull request #17056 from alalek:build_opencv_winpack_dldt_2020.2
2020-04-15 17:24:34 +00:00
Tomoaki Teshima
f39784c584
fix test failure on Jetson TX2
2020-04-15 23:25:12 +09:00
Alexander Alekhin
98e38b2a41
Merge pull request #17017 from VadimLevin:dev/vlevin/header-parser-explicit-support
2020-04-15 12:53:42 +00:00
Vadim Levin
1d8c73cf6c
feature: Added explicit support to header parser
...
- It is safe to remove `explicit` keyword for constructors with 1
argument, because it is C++ specific keyword and does not affect any of
the generated binding.
2020-04-15 14:25:39 +03:00
Alexander Alekhin
ef68cc3d5f
dnn: use OpenVINO 2020.2 defines
...
original commit: 45263d7642
2020-04-15 11:14:43 +00:00
Vadim Levin
18550b4601
test: Added tests for VideoCapture constructors in java
2020-04-15 14:12:31 +03:00
Alexander Alekhin
07a0274507
build: winpack_dldt with dldt 2020.2
2020-04-15 05:19:49 +00:00
Alexander Alekhin
8ff0399432
Merge pull request #17048 from anton-potapov:ap/variant_get_if
2020-04-14 19:06:01 +00:00
Alexander Alekhin
c8f1948d58
core: drop EXPR handing code in InputArray
2020-04-14 18:02:19 +00:00
Alexander Alekhin
f6de25b6cb
Merge pull request #17060 from dkurt:dnn_align_ie_pool
2020-04-14 15:15:44 +00:00
Alexander Alekhin
b3514a5708
Merge pull request #17049 from ilya-lavrenov:il/nn-builder
2020-04-14 15:14:35 +00:00
Anton Potapov
dd2c7c5140
GAPI: utils - variant::get_if
...
adding one more missing function to local version of std::variant
2020-04-14 15:12:31 +03:00
Ilya Lavrenov
91b0100287
Fixed compilation when NN builder is not built
2020-04-14 15:05:01 +03:00
Dmitry Kurtaev
870a775d7d
Align DLIE and nGraph average pooling layers
2020-04-14 13:54:54 +03:00
Vahid Nikoofard
575a609b80
Update calcBackProject_Demo1.py
...
To round a ndarray it's necessary to use np.round() instead to Built-in Python round()
2020-04-14 00:23:53 -03:00
Alexander Alekhin
ca9756f6a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-13 20:00:12 +00:00
Alexander Alekhin
675342ecd9
Merge pull request #17025 from tomoaki0705:fixTestFailureCUDABruteForceNonLocalMeans
2020-04-13 18:17:50 +00:00
Alexander Alekhin
245b2fec34
Merge pull request #16925 from dkurt:dnn_ssd.pytorch
2020-04-13 13:12:12 +00:00
Alexander Alekhin
49a75079f2
Merge pull request #17047 from alalek:fix_permissions
2020-04-13 12:34:08 +00:00
Dmitry Kurtaev
d3f9ad1145
Enable ONNX SSD from https://github.com/amdegroot/ssd.pytorch
2020-04-13 15:12:27 +03:00
Alexander Alekhin
46615ffc4a
Merge pull request #16985 from ashishkrshrivastava:padfusion
2020-04-13 11:26:13 +00:00
Pierre Chatelier
f351653589
Merge pull request #13869 from chacha21:LineVirtualIterator
...
* LineVirtualIterator
Proposal of LineVirtualIterator, an alternative to "LineIterator not attached to any mat".
This is basically the same implementation, replacing the address difference by a single "offset" variable. elemsize becomes irrelevant and considered to be 1. "step" is thus equal to size.width since no stride is expected.
* Update drawing.cpp
fixed warning
* improvement of LineVirtualIterator
instead of being too conservative, the new implementation gets rid of "offset/step" and only keeps a "Point currentPos" up to date.
left_to_right is renamed to forceLeftToRight as suggested (even for the old LineIterator)
assert() replaced by CV_Assert() (even for the old LineIterator)
* fixed implementation
+fixed last commit so that LineVirtualIterator gives at least the same results as LineIterator
+added a new constructor that does not require any Size, so that no clipping is done and iteration occurs from pt1 to pt2. This is done by adding a spatial offset to pt1 and pt2 so that the same implementation is used, the size being in that case the spatial size between pt1 and pt2
* Update imgproc.hpp
fixed warnings
* Update drawing.cpp
fixed whitespace
* Update drawing.cpp
trailing whitespace
* Update imgproc.hpp
+added a new constructor that takes a Rect rather than a Size. It computes the line pt1->pt2 that clips that rect.
Yet again, this is still based on the same implementation, thanks to the Size and the currentPosOffset that can artifically consider the origin of the rect at (0,0)
* revert changes
revert changes on original LineIterator implementation, that will be superseded by the new LineVirtualIterator anyway
* added test of LineVirtualIterator
* More tests
* refactoring
Use C++11 chained constructors
Improved code style
* improve test
Added offset as random test data.
* fixed order of initialization
* merged LineIterator and VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* merged LineIterator & VirtualLineIterator
* made LineIterator::operator ++() more efficient
added one perfectly predictable check; in theory, since ptmode is set in the end of the constructor in the header file, the compiler can figure out that it's always true/false and eliminate the check from the inline `LineIterator::operator++()` completely
* optimized Line() function
in the most common case (CV_8UC3) eliminated the check from the loop
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com >
2020-04-13 06:59:31 +00:00
Alexander Alekhin
f0ffc52435
fix files permissions
2020-04-13 04:29:55 +00:00
Alexander Alekhin
f7d029cfce
Merge pull request #17039 from tomoaki0705:fixCudaImgprocFailure
2020-04-12 17:15:49 +00:00
Tomoaki Teshima
1eb63cfc42
fix test failure on Jetson TX1/TX2/Nano
2020-04-12 23:58:53 +09:00
Alexander Alekhin
43ff8f8e8d
Merge pull request #17006 from tpoisonooo:patch-1
2020-04-11 17:24:36 +00:00
tpoisonooo
b11a3a0820
Update grfmt_pxm.cpp
...
remove comment in .ppm
2020-04-11 17:41:51 +03:00
AshihsKrShrivastava
bef6b6282c
ReflecitonPad2d and ZeroPad2d Subgraph fusion added
2020-04-11 07:14:05 +05:30
Alexander Alekhin
9c58a7cb1e
Merge pull request #16653 from alalek:core_inputarray_matexpr
2020-04-10 16:57:17 +00:00
Alexander Alekhin
69ac19d82d
Merge pull request #17023 from poelmanc:patch-1
2020-04-10 16:32:15 +00:00
Conrad Poelman
b77fe9d624
Remove std::binary_function as it's invalid C++
...
std::binary_function was deprecated with C++11 and removed in C++17. It provided just two typedefs which in this case were unused.
2020-04-10 16:16:52 +03:00
Alexander Alekhin
0556450801
Merge pull request #17000 from rgarnov:async_islands
2020-04-10 12:23:53 +00:00
Xiping Yan
5c7c80dd27
Merge pull request #17028 from xipingyan:patch-1
...
* Update OpenCVFindVA_INTEL.cmake
When set env VA_INTEL_IOCL_ROOT, "if($ENV{VA_INTEL_IOCL_ROOT})" don't work.
My modification as follow.
- if($ENV{VA_INTEL_IOCL_ROOT})
+ if(DEFINED ENV{VA_INTEL_IOCL_ROOT})
Refer: https://cmake.org/cmake/help/latest/variable/ENV.html
* based on merge comment, update code
2020-04-10 12:23:13 +00:00
Alexander Alekhin
d7abb641ca
core(test): add InputArray(MatExpr) fetch test
2020-04-10 11:35:42 +00:00
Tomoaki Teshima
4e75f31c55
fix test failure on Jetson Nano/TX1/TX2
2020-04-10 06:15:16 +09:00
Alexander Alekhin
1537a5f253
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-09 19:19:20 +00:00
Ruslan Garnov
ce772b346c
Fixed standalone build, added cv::gapi::proto::ptr test
2020-04-09 17:19:11 +03:00
Alexander Alekhin
e1f14fcac7
Merge pull request #16975 from shimat:Branch_4.3.0
2020-04-09 08:28:20 +00:00
shimat
39d3bbb601
fix error at #include <window_winrt_bridge.hpp>
2020-04-09 09:54:13 +09:00
Dmitry Matveev
b1f42a6506
Implement asynchronous execution for islands
2020-04-08 20:48:23 +03:00
Dmitry Matveev
cb5921b375
Introduced a newStreamSignal() callback for Island Executables
2020-04-08 20:48:23 +03:00
Alexander Alekhin
016f9ab16e
Merge pull request #16788 from OrestChura:oc/optFlowPyrLK
...
G-API: gapi::calcOpticalFlowPyrLK() Implementation
2020-04-08 20:23:20 +03:00
Alexander Alekhin
499e20da4f
Merge pull request #17018 from anton-potapov:ap/fix_control_may_reach_end_of_non_void_function_warning
2020-04-08 16:46:34 +00:00
OrestChura
d50c21e571
gapi: Full calcOpticalFlowPyrLK implementation (2 overloads) and tests
...
- opencv_gapi module is linked with opencv_video module (optional dependency)
- kernels added to a new cv::gapi::video namespace and a brand new files created to provide gapi_video environment
- there are 2 different kernels as G-API should provide GMat AND GArray<GMat> implementation: cv::calcOptFlowPyrLK doesn't calculate pyramids if vector<Mat> is given so just the cast GMat -> GArray<GMat> wouldn't represent all the cv:: functionality
- tests to check both kernels (based on cv::video tests for cv::calcOpticalFlowPyrLK())
- tests for internal purposes added
- vectors<T> comparison in tests implemented
- new (and old too) common test structures refactored to avoid code copypasting
- "modules/gapi/test/common/gapi_video_tests_common.hpp" created to share some code snippets between perf and acc tests and avoid code copypasting
2020-04-08 18:11:55 +03:00
Alexander Alekhin
4d35a46c48
Merge pull request #17010 from alalek:issue_16896
2020-04-08 14:50:00 +00:00
Anton Potapov
676d1dfd5b
GAPI: Fix [-Wreturn-type] warning on standalone mac build
...
- added [[noreturn]] to standalone version of GAPI_Assert
2020-04-08 17:13:33 +03:00
Alexander Alekhin
2c9d149ac2
Merge pull request #16993 from asmorkalov:as/faq_wiki
2020-04-08 13:56:57 +00:00
Alexander Alekhin
06bf845783
Merge pull request #16979 from dkurt:dnn_fused_resize_conv
2020-04-08 13:29:51 +00:00
Alexander Alekhin
acede976e4
Merge pull request #17009 from mshabunin:msmf-plugin
2020-04-08 13:28:26 +00:00
Maksim Shabunin
90e7c29c46
videoio: set plugin output dir on windows to bin
2020-04-08 15:22:50 +03:00
Maksim Shabunin
ca6a11e4d2
videoio: added plug-in support to MSMF backend
2020-04-08 15:22:50 +03:00
Alexander Smorkalov
f496a37340
Migrated FAQ page to Github Wiki
2020-04-08 13:55:44 +03:00
Alexander Alekhin
b8579f12be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-08 10:19:09 +00:00
Alexander Alekhin
b745e1c43a
Merge pull request #17014 from dkurt:dnn_onnx_elu
2020-04-08 10:18:33 +00:00
Dmitry Kurtaev
21ed892489
Fix Elu import from ONNX
2020-04-08 12:09:45 +03:00
Alexander Alekhin
5504d94e36
cmake: update generation of 'uninstall' target
...
Details: https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#can-i-do-make-uninstall-with-cmake
2020-04-07 22:03:12 +00:00
GFleishman
31ec9b2aa7
Merge pull request #16614 from GFleishman:estimateTranslation3D
...
added estimateTranslation3D to calib3d/ptsetreg
* added estimateTranslation3D; follows API and implementation structure for estimateAffine3D, but only allows for translation
* void variables in null function to suppress compiler warnings
* added test for estimateTranslation3D
* changed to Matx13d datatype for translation vector in ptsetreg and test; used short license in test
* removed iostream include
* calib3d: code cleanup
2020-04-07 19:58:25 +00:00
Alexander Alekhin
0c2a43923c
Merge pull request #17007 from mshabunin:fix-openjpeg-vs
2020-04-07 19:55:37 +00:00
Alexander Alekhin
63320aba6c
Merge pull request #16999 from rgarnov:exports_for_gisland_executable
2020-04-07 19:55:01 +00:00
Orest Chura
2fe9c87433
Merge pull request #16717 from OrestChura:oc/goodFeatures
...
- cv::gapi::goodFeaturesToTrack() kernel is implemented
- tests (for exact check with cv::goodFeaturesToTrack() and for internal cases) are implemented
- a custom comparison function for vectors and a custom test fixture implemented
- some posiible issues as wrong/inexact sorting of two compared vectors are
not taken into account
- initializations of an input Mat using a picture from opencv_extra implemented (function from gapi_streaming_test used)
2020-04-07 15:53:24 +00:00
Alexander Alekhin
adf54d41d5
Merge pull request #16905 from dkurt:dnn_tf2_keras
2020-04-07 14:59:42 +00:00
Alexander Alekhin
ab4dbff150
Merge pull request #15907 from rgarnov:rg/unique_ptr_for_priv_in_fluid
2020-04-07 14:51:14 +00:00
mehlukas
75bd9f86b2
Merge pull request #16889 from mehlukas:3.4-consolidateImshow
...
* consolidate tutorials on image read/display/write
* fix unsused variables
* apply requested changes
* apply requested changes
* fix mistake
2020-04-07 14:14:51 +00:00
Liubov Batanina
734771418e
Merge pull request #16840 from l-bat:matmul_inputs
...
* Supported FullyConnected layer with two inputs
* Skipped test
* Fix conditions
* Added OpenCL support
* Supported ReduceMean3D
* Supported Expand layer
* Fix warning
* Added Normalize subgraph
* refactoring
* Used addLayer
* Fix check
* Used addLayer
* Skip failed test
* Added normalize1 subgraph
* Fix comments
2020-04-07 14:12:18 +00:00
Maksim Shabunin
01a85736e6
OpenJPEG: fixed compilation and warnings with VS
2020-04-07 16:03:17 +03:00
Alexander Alekhin
51a8885566
Merge pull request #16984 from CSharperMantle:argparse-patch-1
2020-04-07 12:54:27 +00:00
Alexander Alekhin
7d5a8053d7
Merge pull request #16640 from malfet:add-16-bit-otsu
2020-04-07 11:01:53 +00:00
Alexander Alekhin
60c382d8f1
Merge pull request #17005 from tomoaki0705:fixHoughKernelLocal
2020-04-07 10:05:44 +00:00
Tomoaki Teshima
3371e679ce
fix OpenCL spec violation
2020-04-07 14:34:55 +09:00
Nikita Shulga
b8cf5d8d5f
Enable Otsu thresholding for CV_16UC1 images
2020-04-06 21:19:07 -07:00
Dmitry Matveev
43df944eb4
Added GAPI_EXPORTS to GIslandExecutable since now it needs to be exported
2020-04-06 23:42:52 +03:00
Alexander Alekhin
ce5626db45
Merge pull request #16878 from dkurt:fix_16877
2020-04-06 18:14:35 +00:00
Alexander Alekhin
763a1d7392
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-06 15:57:43 +00:00
Alexander Alekhin
1377b9b736
Merge pull request #16970 from l-bat:fix_enet
2020-04-06 15:57:08 +00:00
Alexander Alekhin
5db3092a1f
Merge pull request #16952 from anton-potapov:kw_fixes
2020-04-06 15:55:33 +00:00
Ruslan Garnov
be1615b1c3
Merge pull request #16964 from rgarnov:rg/opaque_for_streaming_exec
...
* Added GOpaque support to GStreamingExecutor
* Added inter-island GOpaque support to GExecutor
2020-04-06 15:53:54 +00:00
Alexander Alekhin
936428cb3b
core(MatExpr) fetch result before InputArray wrap
...
- avoid multiple expression evaluations
- avoid issues with reduced support of InputArray::EXPR
2020-04-06 15:28:32 +00:00
Maxim Pashchenkov
ca9fd66744
Merge pull request #16886 from mpashchenkov:mp/ocv-gapi-add-disable
...
G-API: DISABLED_ in tests instead #if 0
* Removed if 0, replaced with DISABLED_
* boner
* Added tests for fluid
* -1 instead 0.0
* Added GMatDesc's tests for own::Mat
* IMGPROC_FLUID CORE_FLUID
* Added use_only, disabled tests without kernels
2020-04-06 15:21:08 +00:00
Alexander Alekhin
bdc95d2c66
Merge pull request #16911 from anton-potapov:ap/variant_move_issue
2020-04-06 15:19:32 +00:00
Alexander Alekhin
c305455cb2
Merge pull request #16967 from benji1123:patch-1
2020-04-06 15:17:23 +00:00
Adam Fowles
8334932a26
Merge pull request #16992 from afowles:fix-forEach-segfault
...
* Fixed divide by zero error in forEach
* Dedicated assertion for !empty
2020-04-06 14:49:02 +00:00
Alexander Alekhin
a10385543b
Merge pull request #16963 from rgarnov:rg/gframe
2020-04-06 14:35:52 +00:00
Alexander Alekhin
99d29c9d39
Merge pull request #16982 from tomoaki0705:houghLinesOCL
2020-04-06 14:35:14 +00:00
Liubov Batanina
a448d3a6aa
Fix ENet test with OpenVINO 2020.2
2020-04-06 17:29:43 +03:00
Alexander Alekhin
e80adc0bc6
Merge pull request #16965 from rgarnov:in_out_island_interface
2020-04-06 14:06:40 +00:00
Ben Li
1a6b4d6ce6
typo fix
2020-04-06 14:56:31 +03:00
Alexander Alekhin
a15417fe74
Merge pull request #16980 from albert-github:feature/bug_doxyfile
2020-04-06 11:37:18 +00:00
Dmitry Matveev
1b5730a799
Introduce a new abstraction layer over island input/output data
...
- Port GExecutor to this new interface
2020-04-06 12:24:19 +03:00
Bao "Mantle" Rong
3dcb775d16
switch to argparse
2020-04-05 11:57:04 +08:00
albert-github
2d387356de
Incorrect PREDEFINED setting.
...
The PREDEFINED setting for had a space between the define name and the equal sign and this is not allowed, it results in the warning:
```
error: Illegal PREDEFINED format '=', no define name specified
```
according to the documentation explicitly states that no space is allowed:
> The PREDEFINED tag can be used to specify one or more macro names that are defined before the preprocessor is started (similar to the -D option of e.g. gcc). The argument of the tag is a list of macros of the form: name or name=definition (no spaces). If the definition and the "=" are omitted, "=1" is assumed. To prevent a macro definition from being undefined via #undef or recursively expanded use the := operator instead of the = operator.
2020-04-04 16:50:15 +00:00
Tomoaki Teshima
07c3aae315
let the test pass on Mali G52 (ODROID-N2)
2020-04-05 01:39:47 +09:00
Dmitry Kurtaev
b36eba7fab
Support FusedResizeAndPadConv2D from TensorFlow
2020-04-04 16:02:17 +03:00
Dmitry Kurtaev
8574a757f9
Case sensitive dnn layers types
2020-04-04 15:03:56 +03:00
Alexander Alekhin
01dcfb0825
Merge tag '4.3.0'
2020-04-03 11:50:53 +00:00
Alexander Alekhin
01b2c5a77c
release: OpenCV 4.3.0
2020-04-03 11:45:28 +00:00
Alexander Alekhin
3a45a65625
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-03 11:44:22 +00:00
Alexander Alekhin
0812207db7
Merge tag '3.4.10'
2020-04-03 11:24:31 +00:00
Ruslan Garnov
c8776e6ebd
Added GFrame
2020-04-03 01:21:51 +03:00
Alexander Alekhin
cf2a3c8e74
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-04-02 21:52:32 +00:00
Alexander Alekhin
1cc1e6fa56
release: OpenCV 3.4.10
2020-04-02 19:59:58 +00:00
Maxim Pashchenkov
277f0d270f
Merge pull request #16745 from Volskig:mp/ocv-gapi-standalone-size
...
G-API: Unification of own:: structures with cv:: (Size, Point, Rect)
* deowned Size Rect Point
* Deownded Size Rect Point
* With Scalar
2020-04-02 18:19:45 +00:00
Alexander Alekhin
6216bf9221
Merge pull request #16959 from alalek:winpack_dldt_update
2020-04-02 18:13:58 +00:00
Alexander Alekhin
388a7ce86e
Merge pull request #16956 from alalek:ocl_control_buffer_mapping
2020-04-02 17:56:50 +00:00
Alexander Alekhin
5d95a500ad
winpack_dldt: readme update
2020-04-02 16:52:46 +00:00
Alexander Alekhin
95341c2b1b
Merge pull request #16953 from mshabunin:fix-msmf-writer-fps
2020-04-02 13:06:34 +00:00
Alexander Alekhin
54063c40de
core(ocl): options to control buffer access flags
...
- control using of clEnqueueMapBuffer or clEnqueueReadBuffer[Rect]
- added benchmarks with OpenCL buffer access use cases
2020-04-02 11:11:06 +00:00
Maksim Shabunin
585593e9fc
videoio: fixed MSMF writer fps handling
2020-04-02 12:52:38 +03:00
Alexander Alekhin
f15e885baf
Merge pull request #16950 from alalek:fix_16945
2020-04-02 09:26:09 +00:00
Alexander Alekhin
9109cb1ec6
Merge pull request #16948 from alalek:warning_16739
2020-04-02 09:25:47 +00:00
Anton Potapov
3ffed0bf6e
GAPI - KW fixes
...
- remove unreachable code in GIsland::producer()
2020-04-02 12:05:34 +03:00
Alexander Alekhin
dc9ee53ff5
stitching: fix range check in DpSeamFinder::computeCosts
2020-04-02 03:51:17 +00:00
Alexander Alekhin
1485968fc4
Merge pull request #16947 from mshabunin:fix-msmf-convert-format
2020-04-01 18:50:12 +00:00
Maxim Pashchenkov
557ac3dbaf
Merge pull request #16805 from Volskig:mp/ocv-gapi-standalone-scalar
...
G-API: Unification of own:: Scalar with cv:: Scalar
* cvdefs.hpp
* Small changes
* Deowned Scalar. Does't work
* Something
* Removed to_ocv for Scalar
* Clear code
* Deleted whitespaces
* Added include<..own/scalar.hpp in cvdefs.hpp.
* Long string split on two now
* Comment about scalar
* Comment about crutch
* Removed second varible in scalar_wrapper
* Changed wrapper for scalar, alignment
* Alignment
* Whitespaces
* Removed scalar_wrapper
2020-04-01 18:40:38 +00:00
Alexander Alekhin
09134ac881
core: emit warning ONCE on ambiguous MatExpr processing
2020-04-01 18:34:20 +00:00
Maksim Shabunin
433c5199fd
videoio: fixed conversion in MSMF backend
2020-04-01 14:40:11 +03:00
Alexander Alekhin
d448a636f8
Merge pull request #16943 from alalek:winpack_samples_update_master
2020-04-01 01:46:26 +03:00
Alexander Alekhin
396f43d674
Merge pull request #16938 from alalek:winpack_samples_update
2020-04-01 01:46:13 +03:00
Alexander Alekhin
3c5fec6746
build: updates for winpack dldt
2020-03-31 22:18:21 +00:00
Alexander Alekhin
e12b1c2209
build: updates for winpack dldt
2020-03-31 20:29:11 +00:00
Alexander Alekhin
f6b2b49e4a
Merge pull request #16932 from alalek:imgproc_resize_nn_cleanup
2020-03-30 15:38:40 +00:00
Alexander Alekhin
e1322cf503
Merge pull request #16928 from alalek:fix_15075
2020-03-30 13:07:35 +00:00
Alexander Alekhin
67dfdee33f
Merge pull request #16922 from alalek:imgcodecs_test_io_grayscale
2020-03-29 16:36:06 +00:00
Alexander Alekhin
61c4cfd896
imgproc(resize): drop unused 'pix_size4'
2020-03-29 02:41:50 +00:00
Alexander Alekhin
be17f532e1
imgproc(resize): fix resizeNNInvoker handling of generic pixel size
2020-03-29 02:41:41 +00:00
Alexander Alekhin
6d85fa3fd2
imgcodecs(test): rework common I/O test, added grayscale mode
2020-03-27 21:34:51 +00:00
Alexander Alekhin
95a07ca11c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-27 16:49:59 +00:00
Alexander Alekhin
222a48577f
Merge pull request #16919 from alalek:backport_16860
2020-03-27 16:44:05 +00:00
Alexander Alekhin
353273579b
Merge pull request #16918 from alalek:build_warnings_3.4
2020-03-27 16:43:23 +00:00
Alexander Alekhin
72c5ac37de
Merge pull request #16915 from alalek:build_warnings
2020-03-27 16:42:53 +00:00
Alexander Alekhin
1eba7f60c2
Merge pull request #16913 from alalek:gapi_simd_initialization
2020-03-27 16:42:14 +00:00
Alexander Alekhin
7373ef0983
Merge pull request #16847 from alalek:build_opencv_winpack_dldt
2020-03-27 16:06:19 +00:00
Moritz Fischer-Gundlach
2740901378
-calib3d updates documentation
...
backporting commit 99436bb8cf
2020-03-27 16:02:29 +00:00
Alexander Alekhin
0c00d082cf
Merge pull request #16860 from FischerGundlach:rework_docu
2020-03-27 16:00:48 +00:00
Alexander Alekhin
e661ad2a67
eliminate build warnings
2020-03-27 11:39:07 +00:00
Alexander Alekhin
3a4b79173b
Merge pull request #16916 from cyyever:fix_freebsd_build
2020-03-27 11:38:57 +00:00
Anton Potapov
faceb05775
G-API utils - make variant converting constructor and assignment
...
operator properly forward it's argument
2020-03-27 14:30:16 +03:00
cyy
bdc29cccb6
fix freebsd build
2020-03-27 18:12:10 +08:00
StefanBruens
8d78400052
Merge pull request #16494 from StefanBruens:jpeg2000_openjpeg_port
...
Jpeg2000 OpenJPEG port
* OpenJPEG based JPEG2000 decoder implementation
Currently, the following input color spaces and depth conversions are
supported:
- 8 bit -> 8 bit
- 16 bit -> 16 bit (IMREAD_UNCHANGED, IMREAD_ANYDEPTH)
- RGB(a) -> BGR
- RGBA -> BGRA (IMREAD_UNCHANGED)
- Y(a) -> Y(a) (IMREAD_ANYCOLOR, IMREAD_GRAY, IMREAD_UNCHANGED))
- YCC -> Y (IMREAD_GRAY)
* Check for OpenJPEG availability
This enables OpenJPEG based JPEG2000 imread support by default, which
can be disabled by -DWITH_OPENJPEG=OFF. In case OpenJPEG is enabled
and found, any checks for Jasper are skipped.
* Implement precision downscaling for precision > 8 without IMREAD_UNCHANGED
With IMREAD_UNCHANGED, values are kept from the input image, without it
components are downscaled to CV_8U range.
* Enable Jpeg2K tests when OpenJPEG is available
* Add support for some more color conversions
Support IMREAD_GRAY when input color space is RGB or unspecified.
Support YUV input color space for BGR output.
* fix: problems with unmanaged memory
* fix: CMake warning - HAVE_OPENJPEG is undefined
Removed trailing whitespaces
* fix: CMake find_package OpenJPEG add minimal version
* Basic JPEG2K encoder
Images with depth CV_8U and CV_16U are supported, with 1 to 4 channels.
* feature: Improved code for OpenJPEG2000 encoder/decoder
- Removed code duplication
- Added error handlers
- Extracted functions
* feature: Update conversion openjpeg array from/to Mat
* feature: Extend ChannelsIterator to fulfill RandomAccessIterator named requirements
- Removed channels split in copyFromMatImpl. With ChannelsIterator no allocations are performed.
- Split whole loop into 2 parts in copyToMat -> where std::copy and std::transforms are called.
* fix: Applied review comments.
- Changed `nullptr` in CV_LOG* functions to `NULL`
- Added `falls through` comment in decoder color space `switch`
- Added warning about unsupported parameters for the encoder
* feature: Added decode from in-memory buffers.
Co-authored-by: Vadim Levin <vadim.levin@xperience.ai >
2020-03-27 07:18:58 +00:00
Alexander Alekhin
b4b4d21212
eliminate build warnings
2020-03-26 19:18:09 +00:00
Alexander Alekhin
99502e99cc
gapi(simd): initialize accumulator values
2020-03-26 16:48:21 +00:00
Moritz Fischer-Gundlach
99436bb8cf
-calib3d updates documentation
2020-03-26 15:22:39 +01:00
Alexander Alekhin
7465125f67
build: add winpack_dldt build scripts
2020-03-25 21:26:41 +00:00
Alexander Alekhin
340df65fb4
Merge pull request #16903 from alalek:fix_16823_3.4
2020-03-25 15:53:08 +00:00
Alexander Alekhin
9a463b74dc
Merge pull request #16901 from alalek:cmake_ie_find_extra_libs
2020-03-25 15:52:15 +00:00
Dmitry Kurtaev
7e4b2057f2
Import TF2.0 network from Keras
2020-03-25 15:34:28 +03:00
Anatoliy Talamanov
c303aaa94d
Merge pull request #16841 from TolyaTalamanov:at/warp-perspective
...
G-API: Implement WarpPerspective
* Implement WarpPerspective kernel
* Fix comment to review
2020-03-25 11:23:32 +00:00
Alexander Alekhin
c920b45fb8
core(persistence): fix resource leaks - force closing files
...
backporting commit 673eb2b006
2020-03-25 10:49:16 +00:00
Alexander Alekhin
2a9a2fff66
cmake: fix find process for InferenceEngine extra libraries
2020-03-25 02:43:42 +00:00
Alexander Alekhin
b0563ce368
Merge pull request #16895 from alalek:fix_16823
2020-03-24 16:15:15 +03:00
Alexander Alekhin
673eb2b006
core(persistence): fix resource leaks - force closing files
2020-03-24 11:38:09 +00:00
Alexander Alekhin
ef395c3866
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-24 11:12:11 +00:00
Anatoliy Talamanov
4d3d6230c5
Merge pull request #16803 from TolyaTalamanov:at/yuv-to-gray
...
* Implement NV12toGray
* Snapshot
* Implement NV12toGray as compound kernel
* Update gapi_imgproc_tests_inl.hpp
* Remove YUV2Gray from public API
2020-03-24 10:51:18 +00:00
Alexander Alekhin
a28a520c7f
Merge pull request #16897 from mshabunin:fix-kw-issues-2
2020-03-24 10:48:41 +00:00
Maksim Shabunin
0aac17d9f7
calib3d: check input values in dls
2020-03-24 12:22:26 +03:00
Alexander Alekhin
ea34b2fefb
Merge pull request #16888 from YashasSamaga:cuda4dnn-redundant-act-fusion-check
2020-03-24 08:41:11 +00:00
Alexander Alekhin
f44a0960df
Merge pull request #16894 from alalek:update_tbb
2020-03-24 08:40:46 +00:00
Alexander Alekhin
b1ed003d08
Merge pull request #16893 from alalek:update_libwebp
...
* 3rdparty: update libwebp 1.0.3 => 1.1.0
- https://github.com/webmproject/libwebp/releases/tag/v1.1.0
* 3rdparty(libwebp): re-apply OpenCV patches
2020-03-24 08:40:18 +00:00
Alexander Alekhin
22d930998b
Merge pull request #16892 from alalek:update_libtiff
2020-03-24 08:39:39 +00:00
Alexander Alekhin
d2b0953735
Merge pull request #16891 from alalek:update_libjpeg-turbo
2020-03-24 08:39:06 +00:00
Alexander Alekhin
978666c816
Merge pull request #16849 from anton-potapov:ap/variant__assignment_operator_compile_error
2020-03-23 22:04:48 +00:00
Alexander Alekhin
fa002bde01
3rdparty: update TBB 2020.0 => 2020.1
2020-03-23 20:37:08 +00:00
Alexander Alekhin
13c4dc0e69
3rdparty: update libtiff 4.0.10 => 4.1.0
...
- https://gitlab.com/libtiff/libtiff/-/tags/v4.1.0
2020-03-23 18:43:45 +00:00
Alexander Alekhin
ad4e5dbd3d
3rdparty: libjpeg-turbo 2.0.2 => 2.0.4
...
- https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/2.0.4
2020-03-23 18:26:18 +00:00
Alexander Alekhin
0b4c101e8a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-23 16:54:35 +00:00
Alexander Alekhin
2d63861c09
Merge pull request #16885 from mshabunin:fix-msvc-warn
2020-03-23 16:23:37 +00:00
Alexander Alekhin
e8c7d61752
Merge pull request #16817 from dkurt:dnn_onnx_lstm
2020-03-23 16:22:17 +00:00
YashasSamaga
4e8cd4629c
fix CUDNN_STATUS_NOT_SUPPORTED, remove redundant fusion checks
2020-03-23 19:47:00 +05:30
Dmitry Kurtaev
467c3ef0ac
Add checks for LSTM initial h and c
2020-03-23 16:28:55 +03:00
Alexander Alekhin
b1f390b170
Merge pull request #16883 from alalek:cmake_cmp0066
2020-03-23 12:58:44 +00:00
Alexander Alekhin
154fdef965
Merge pull request #16882 from alalek:cmake_apps_install_list
2020-03-23 12:58:23 +00:00
Maksim Shabunin
2f665ec589
calib3d: fixed VS2019 warning C4756
2020-03-23 14:46:21 +03:00
Alexander Alekhin
801f26c35d
cmake: set CMP0066 => NEW
2020-03-23 01:15:49 +00:00
Alexander Alekhin
6db9f00fd1
cmake(apps): support OPENCV_INSTALL_APPS_LIST
...
Usage:
- cmake -DOPENCV_INSTALL_APPS_LIST=opencv_version ...
2020-03-23 00:06:42 +00:00
Alexander Alekhin
39b64fc7d7
Merge pull request #16864 from alalek:issue_16857
2020-03-22 23:15:57 +03:00
Alexander Alekhin
4dfa798e75
Merge pull request #16868 from YashasSamaga:cuda4dnn-scale-fix_and_improvements
2020-03-22 20:15:11 +00:00
YashasSamaga
2aeb32d2d1
fix segfaults, support bias in untrainable mode, support batches in untrainable mode
2020-03-22 22:18:52 +05:30
Dmitry Kurtaev
8433620295
Bidirectional LSTM
2020-03-22 00:56:48 +03:00
Alexander Alekhin
760e9e0943
Merge pull request #16859 from dmatveev:dm/gapi_android
2020-03-21 17:06:01 +00:00
Alexander Alekhin
7b82ad2918
Merge pull request #16867 from bencsikandrei:fix_typo_cmake_detect_python
2020-03-21 17:04:34 +00:00
Alexander Alekhin
49d8c0bd52
Merge pull request #16865 from alalek:doc_fix_wrong_see_also
2020-03-21 17:04:09 +00:00
Andrei-Florin BENCSIK
8253562794
fix: minor typo in CMakeCVDetectPython
2020-03-21 11:15:07 +02:00
Alexander Alekhin
d7e839b8c5
objdetect(QR): avoid bug with empty input
2020-03-21 01:35:30 +00:00
Alexander Alekhin
2fb1d9d02e
doc: fix misused "see also" doxygen command
2020-03-21 00:25:49 +00:00
Alexander Alekhin
4cdb4652cf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-20 21:41:15 +00:00
Alexander Alekhin
0fb4f2cc9c
imgproc: add src.empty() checks in filter operations
2020-03-20 21:04:29 +00:00
Alexander Alekhin
183e4d50ed
Merge pull request #16858 from alalek:core_fix_empty_iterator_begin_end
2020-03-20 19:32:55 +00:00
Dmitry Matveev
020be63df5
Try to enable G-API build on Android
2020-03-20 17:20:01 +03:00
Alexander Alekhin
377dd04224
core: fix .begin()/.end() of empty Mat
2020-03-20 14:08:45 +00:00
Anton Potapov
31d624f9a8
G-API utils - fix compilation error in variant::operator=
2020-03-20 14:46:13 +03:00
NesQl
bf224e61a9
Merge pull request #16832 from liqi-c:3.4-tengine-android
...
* Add android support for tengine
* modify tengine download use commit id
* Del some invalid log in Tengine
* Test. default enable tengine
* ndk version judegment
* Close test . set Tengine default OFF
* Logic problem
* test .Android NDK judgement .
* Cmake error modify.
* cmake: cleanup tengine scripts
* cmake: use tengine target name
* cmake: disable testing of BUILD_ANDROID_PROJECTS=OFF
* Close test .
2020-03-20 10:10:39 +00:00
Dizhenin Vlad
8ac333697d
Merge pull request #16853 from SimpleVlad:note
...
Add link to article for sample "Intelligent scissors"
* Add link to article
* Add autors name
* Fix whitespace
2020-03-19 21:39:54 +00:00
Alexander Alekhin
dbb30134bc
Merge pull request #16835 from YashasSamaga:cuda4dnn-hotfix-memory-lock
2020-03-19 16:50:39 +00:00
Alexander Alekhin
847190b5b8
Merge pull request #16828 from paroj:nmspy
2020-03-19 16:43:43 +00:00
Alexander Alekhin
0f31231872
Merge pull request #16846 from alalek:cmake_python_limited_api
2020-03-19 16:43:16 +00:00
Alexander Alekhin
b76aeb40fb
Merge pull request #16842 from mshabunin:ignore-vs-config
2020-03-19 16:42:55 +00:00
Anatoliy Talamanov
8fe9674301
Merge pull request #16768 from TolyaTalamanov:at/add-warp-affine
...
G-API: Implement WarpAffine
* Add WarpAffine
* Ban BORDER_TRANSPARENT
* Fix doc
2020-03-19 12:12:09 +00:00
Pavel Rojtberg
66cf55ea1f
dnn: expose only float variant of NMSBoxes for bindings
...
the float variant was always shadowed by the int version as
Rect2d is implicitly convertible to Rect.
This swaps things which is fine, as the vector of boxes was always
copied and the computation was done in double.
2020-03-19 12:36:35 +01:00
Alexander Alekhin
4b47c7dbd2
cmake(python): handle PYTHON3_LIMITED_API
...
- python-3.x => python-3
- config-3.x.py => config-3.py
2020-03-18 23:10:06 +00:00
Elizarov Ilya
221ddec845
Merge pull request #16554 from ieliz:tracker
...
Added DaSiamRPN tracker
* added DaSiamRPN tracker
* whitespace trouble handled
* Fixes for PR
* Fixes for PR
* Fixes for PR
* added new line in the end of the file and x_crop fix
* removed cxy_wh_2_rect function
* removed loop from sofrmax function
* more detailed discription about absolute paths to onnx models
* removed nested while loop, initialization moved from main tracking loop
* added assert message for small init bb
* initial bounding box on videostream
* selection of initial bounding box improved
* created tracker class, fixed initializing bounding box
* fix round of value
* names fix
* private methods renamed
* names fixed, case for video WIP
* fix case with video
* removed hardcoded size of window
* whitespace fix
* links to models fixed
* bounding box drawing fix
* changes does not required
* code style fixes
* fixes
* frame checker added in tracking loop
* fixed import sys
2020-03-18 15:46:43 +00:00
Pratik Raj
2160f9b20e
Merge pull request #16733 from Rajpratik71:master
...
Some debian package manager tweaks
2020-03-18 15:19:55 +00:00
iteal
e63af185de
Merge pull request #16818 from iteal:master
...
Update template_matching.markdown
Fixed "template image" should be "source image" in two sentences explaining template matching.
2020-03-18 08:45:09 +00:00
Dmitry Kurtaev
11d565ca62
Fix LSTM from ONNX with batch==1
2020-03-18 00:00:24 +03:00
Dmitry Kurtaev
8d69dbdf49
LSTM from ONNX works
2020-03-17 22:05:57 +03:00
Dmitry Kurtaev
14da5ec311
LSTM scalar
2020-03-17 22:01:49 +03:00
Maksim Shabunin
9cc9237522
Ignore Visual Studio cmake configuration file
2020-03-17 21:12:54 +03:00
Alexander Alekhin
25ab141b93
Merge pull request #16836 from alalek:stitching_avoid_nonfree_by_default
2020-03-17 16:29:44 +00:00
Liubov Batanina
718d7e4b04
Merge pull request #16715 from l-bat:slice_onnx
...
* Support Slice layer with multiple inputs
* Add test
* Supported Resize from PyTorch
* Rewrite test
* Remove Cast layer (supported in #16735 )
* Support ConstantOfShape
* Fix tests
* Fix coments
* Remove useless condition
* Fixed failed tests
2020-03-17 17:31:01 +03:00
Alexander Alekhin
ca68fac4b2
stitching: don't use nonfree by default
2020-03-17 15:09:23 +03:00
YashasSamaga
034a43e7f7
release and relock on wrapper resize
2020-03-17 16:08:04 +05:30
Alexander Alekhin
ca23c0e630
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-17 13:23:33 +03:00
Alexander Alekhin
1d7bfcc958
Merge pull request #16827 from alalek:update_buffer_area
2020-03-17 10:12:47 +00:00
Alexander Alekhin
01ea055d79
Merge pull request #16825 from mshabunin:fix-qrcode-tests
2020-03-16 18:52:15 +00:00
Alexander Alekhin
df74eb4ff6
Merge pull request #16826 from mshabunin:fix-kw-issues-34
2020-03-16 18:48:19 +00:00
Alexander Alekhin
c48473dfe4
Merge pull request #16824 from mshabunin:fix-kw-issues
2020-03-16 18:47:36 +00:00
Alexander Alekhin
77d1c20fb7
core(buffer_area): handle 'OPENCV_ENABLE_MEMORY_SANITIZER=ON' case
2020-03-16 19:34:08 +03:00
Maksim Shabunin
05d4975619
objdetect: fix QRCode tests with disabled QUIRC
2020-03-16 19:20:34 +03:00
Maksim Shabunin
d4d95bd70d
Fixs several problems found by static analysis
2020-03-16 19:15:26 +03:00
Maksim Shabunin
7e7bb3027c
Fixs several problems found by static analysis
2020-03-16 19:03:24 +03:00
Alexander Alekhin
8f49b820db
Merge pull request #16820 from dkurt:fix_16811
2020-03-16 15:04:49 +00:00
RAJKIRAN NATARAJAN
3b2e409fa7
Merge pull request #16779 from saskatchewancatch:issue-16777
...
* Fixes issue 16777.
* core: update Concurrency getNumThreads()
2020-03-16 17:12:29 +03:00
Dizhenin Vlad
1c2ed2876f
Merge pull request #16695 from SimpleVlad:intelligent_scissors
...
Intelligent scissors
* Start
* Remove whitespace
* Re onMouse
* replased double to float
* Draw contours
* CV_FILLED -> FILLED
* Remove line 210
* Change 'about'
* Remove M_PI
* Remove warning
* CP_PI
* double to float
* CV_PI to Float
* Add struct for data
* line 172, 191 whitespace
* Change name
* Fix Warnings
* Set const
* line 180
* rewrite keys
* &img = param->img
2020-03-16 17:10:25 +03:00
Dmitry Kurtaev
7f0d90a525
Fix memory leak in Python custom dnn layers
2020-03-16 16:54:55 +03:00
Alexander Alekhin
71ec112093
Merge pull request #16786 from alalek:issue_16398
2020-03-15 19:49:50 +00:00
Alexander Alekhin
e021b85b36
Merge pull request #16812 from seiko2plus:vsx_improve_broadcast
2020-03-14 22:00:18 +00:00
Sayed Adel
9ea62bfddb
core:vsx reimplement v_broadcast_element()
...
There's no need to use `vec_perm()` instead of `vec_splat()`,
since instruction `vperm` is quite heavy compared to `vsplt[b,h,w]`.
2020-03-14 22:54:22 +02:00
Alexander Alekhin
00925ad795
Merge pull request #16809 from alalek:dnn_ie_separate_core_instances
2020-03-14 13:47:50 +00:00
Alexander Alekhin
683910f579
Merge pull request #16760 from dkurt:dnn_mobilenet_v3
2020-03-14 13:38:06 +00:00
Liubov Batanina
2645ee90ca
Merge pull request #16735 from l-bat:flatten_const_onnx
...
* Supported Flatten for constant nodes
* Added default axis
* Refactoring
* Refactoring
* Added cast layer
* Fix comments
* Add Cast for layers
2020-03-14 11:05:49 +00:00
Alexander Alekhin
0e6ce50131
Merge pull request #16798 from alalek:opencv_version_threads
2020-03-14 10:59:27 +00:00
Alexander Alekhin
ff70b02efc
Merge pull request #16797 from alalek:cmake_warning_python_standalone
2020-03-13 18:02:50 +00:00
Alexander Alekhin
9b64eadcb6
dnn(ie): separate IECore for different devices
...
- HETERO plugin doesn't switch well between devices
2020-03-13 18:49:28 +03:00
Alexander Alekhin
2a52e44bc6
Merge pull request #16806 from anton-potapov:kw_fixes_own_mat_total_overflow
2020-03-13 11:49:01 +00:00
Anton Potapov
3af63fe052
GAPI - KW fixes
...
- avoid overflow in own::Mat::total() and according tests, part 2
2020-03-13 12:46:18 +03:00
Alexander Alekhin
3d36f9044d
opencv_version: dump threads information
2020-03-12 16:41:03 +03:00
Alexander Alekhin
a1230ad0a0
Merge pull request #16796 from anton-potapov:kw_fixes_own_mat_total_overflow
2020-03-12 13:05:52 +00:00
Alexander Alekhin
448a5452d0
Merge pull request #16793 from anton-potapov:kw_fixes_bitwise_op_on_bools
2020-03-12 12:10:32 +00:00
Alexander Alekhin
4cebef9090
Merge pull request #16792 from alalek:fixup_merge_dnn
2020-03-12 12:04:47 +00:00
Alexander Alekhin
7080c783d1
cmake: fix missing project() warning in Python standalone builds
2020-03-12 14:29:31 +03:00
Anton Potapov
d3b68b059b
GAPI - KW fixes
...
- avoid overflow in own::Mat::total() and according tests
2020-03-12 13:29:54 +03:00
Alexander Alekhin
866b15ddb8
Merge pull request #16787 from D-Alex:master
2020-03-12 10:12:24 +00:00
Alexander Alekhin
7d1c42afe1
dnn: fix merge mistake in scale_layer.cpp
2020-03-12 13:07:33 +03:00
Alexander Duda
d594e72586
fix: estimateChessboardSharpness triggers out of range test
...
Problem is that iter1 += tcols, iter2 += tcols are called without check.
row < trows - 1 check is processed after increment in "for" statements.
2020-03-11 22:04:54 +01:00
Alexander Alekhin
4e56c1326f
core: adjust type of allocator_stats counter, allow to disable
2020-03-11 20:12:29 +03:00
Anton Potapov
3ba6b41961
GAPI - KW fixes
...
- replaced bitwise &= on bools, with explicit && to make KW happy
2020-03-11 18:16:56 +03:00
Alexander Alekhin
034a5f140c
Merge pull request #16784 from alalek:update_ffmpeg_master
2020-03-11 12:57:15 +00:00
Alexander Alekhin
3a99ebb446
Merge pull request #16756 from alalek:cmake_opencv_test_extra_compile_options
2020-03-11 12:38:45 +00:00
Alexander Alekhin
c1a8fb72b7
Merge pull request #16498 from etrulls:3.4.9-maxIters
2020-03-11 12:35:33 +00:00
Alexander Alekhin
11b08b5ff3
ffmpeg/4.x: update FFmpeg plugin
2020-03-11 10:57:47 +00:00
Alexander Alekhin
850414a501
Merge pull request #16771 from alalek:update_version_4.3.0-pre
2020-03-11 10:24:56 +00:00
Alexander Alekhin
a560ebf09d
Merge pull request #16782 from anton-potapov:kw_fixes
2020-03-11 10:08:55 +00:00
Anton Potapov
72fedbe096
GAPI - KW fixes
...
- replace "unsafe" memcpy with "safe" :) std::copy_n to make KW happy
2020-03-11 11:23:15 +03:00
Alexander Alekhin
d00e58cdb0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-10 22:49:51 +00:00
Alexander Alekhin
9f82b74788
Merge pull request #16774 from alalek:core_update_cpus_detection
2020-03-10 22:39:30 +00:00
Alexander Alekhin
764e8ac2c4
Merge pull request #16773 from alalek:update_ffmpeg_3.4
2020-03-10 22:30:51 +00:00
Alexander Alekhin
612746b4e5
Merge pull request #16744 from alalek:fix_mat_aug_operators_use_after_free
2020-03-10 22:02:47 +00:00
Alexander Alekhin
83e1d79403
core: update CPUs detection
...
- cache value, evaluate once
- better support for MINGW
- anything in 'cv' namespace
- test: dump number of active threads
2020-03-10 21:29:08 +00:00
Alexander Alekhin
155b751a75
ffmpeg/3.4: update FFmpeg wrapper
...
- FFmpeg 3.4.7
2020-03-10 19:05:50 +00:00
Alexander Alekhin
4966186e10
Merge pull request #16770 from alalek:update_version_3.4.10-pre
2020-03-10 18:34:39 +00:00
Alexander Alekhin
510a8520c7
Merge pull request #16746 from alalek:dnn_switch_ie_backend_ngraph
2020-03-10 13:52:33 +00:00
Vadim Levin
09fe66e87f
Merge pull request #16713 from VadimLevin:dev/vlevin/ffmpeg_video_capture_bitrate
...
* feature: Add video capture bitrate read-only property for FFMPEG backend
* test: For WIN32 property should be either expected or 0.
Added `IsOneOf` helper function, enabled only for _WIN32.
2020-03-10 16:44:22 +03:00
Alexander Alekhin
3c85745e22
pre: OpenCV 4.3.0 (version++)
2020-03-10 15:00:03 +03:00
Alexander Alekhin
b7ecaceda8
pre: OpenCV 3.4.10 (version++)
...
- Android Manager version is not increased (stuck on 3.49)
2020-03-10 14:53:43 +03:00
Maxim Pashchenkov
3befdb4ae8
Merge pull request #16604 from Volskig:mp/ocv-gapi-zero-height-mat
...
G-API: Zero-height mat is cause of crash
* Added check for zero-height Mat case
* Refactoring, added validate_input_arg func
* No bool function now
2020-03-10 14:44:16 +03:00
Alexander Alekhin
db95aec4a7
dnn(ie): switch to nGraph backend by default
2020-03-10 14:33:22 +03:00
Yashas Samaga B L
490908f0ff
Merge pull request #16436 from YashasSamaga:feature-enetb0-yolo
...
dnn(darknet-importer): add grouped convolutions, sigmoid, swish, scale_channels
* update darknet importer to support enetb0-yolo
* remove dropout (pr16438) and fix formatting
* add test for scale_channels
* disable batch testing for scale channels
* do not set LayerParams::name
* merge all activations into setActivation
2020-03-10 12:45:19 +03:00
Alexander Alekhin
27b71d6368
Merge pull request #16625 from D-Alex:findChessboard
2020-03-09 22:21:29 +00:00
Alexander Alekhin
9b3be01b83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-09 20:27:34 +00:00
NesQl
0bcdf7d03e
Merge pull request #16724 from liqi-c:3.4-tengine
...
* Add Tengine support .
* Modify printf to CV_LOG_WARNING
* a few minor fixes in the code
* Renew Tengine version
* Add header file for CV_LOG_WARNING
* Add #ifdef HAVE_TENGINE in tengine_graph_convolution.cpp
* remove trailing whitespace
* Remove trailing whitespace
* Modify for compile problem
* Modify some code style error
* remove whitespace
* Move some code style problem
* test
* add ios limit and build problem
* Modified as alalek suggested
* Add cmake 2.8 support
* modify cmake 3.5.1 problem
* test and set BUILD_ANDROID_PROJECTS OFF
* remove some compile error
* remove some extra code in tengine
* close test.
* Test again
* disable android.
* delete ndk version judgement
* Remove setenv() call . and add License information
* Set tengine default OFF. Close test .
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com >
2020-03-09 14:59:23 +00:00
Alexander Duda
44560c3e50
calib3d: add estimateChessboardSharpness
...
Image sharpness, as well as brightness, are a critical parameter for
accuracte camera calibration. For accessing these parameters for
filtering out problematic calibraiton images, this method calculates
edge profiles by traveling from black to white chessboard cell centers.
Based on this, the number of pixels is calculated required to transit
from black to white. This width of the transition area is a good
indication of how sharp the chessboard is imaged and should be below
~3.0 pixels.
Based on this also motion blur can be detectd by comparing sharpness in
vertical and horizontal direction. All unsharp images should be excluded
from calibration as they will corrupt the calibration result. The same
is true for overexposued images due to a none-linear sensor response.
This can be detected by looking at the average cell brightness of the
detected chessboard.
2020-03-09 08:58:18 +01:00
Dmitry Kurtaev
b927ce18b2
Support for MobileNetV3-SSD from TensorFlow
2020-03-08 21:09:21 +03:00
Alexander Alekhin
969cc3dd95
Merge pull request #16743 from alalek:ts_dump_exception_content
2020-03-07 19:07:18 +00:00
Alexander Alekhin
198b5096aa
Merge pull request #16754 from alalek:issue_16752
...
* core(test): FP16 norm test
* core: norm()-FP16 disable OpenCL
* core(norm): fix 16f32f local buffer size
2020-03-07 19:06:47 +00:00
Alexander Alekhin
e0a9468488
cmake: allow extra compile options for tests
2020-03-07 15:37:21 +00:00
Eduard Trulls
7e637c134f
Expose maxIters in findFundamentalMat
...
Lets the user choose the maximum number of iterations the robust
estimator runs for, similary to findHomography. This can significantly
improve performance (at a computational cost).
2020-03-07 18:03:44 +03:00
Alexander Alekhin
619180dffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-06 20:41:30 +00:00
Alexander Alekhin
6d113bd03f
Merge pull request #16751 from alalek:core_coverity_issues
2020-03-06 19:07:21 +00:00
Alexander Alekhin
a76c72acdd
Merge pull request #16738 from dkurt:onnx_broadcast
2020-03-06 19:04:43 +00:00
Alexander Alekhin
e9655cf646
Merge pull request #16697 from alalek:imgcodecs_jpeg_drop_unnecessary_code
2020-03-06 19:03:43 +00:00
Alexander Alekhin
34530da66e
core: fix coverity issues
2020-03-06 18:12:45 +00:00
Alexander Alekhin
6271192a32
Merge pull request #16694 from alalek:dnn_disable_nn_builder_api
2020-03-06 13:18:41 +00:00
Alexander Alekhin
3a2f40ac6f
core: don't allow reallocation in add/div/sub/bitwise aug operators
2020-03-06 13:00:40 +00:00
Alexander Alekhin
094a5b0cba
Merge pull request #16719 from alalek:dnn_disable_nn_builder_api_3.4
2020-03-06 12:26:48 +00:00
Alexander Alekhin
a55cc07548
ts(gtest): dump exception message from EXPECT_NO_THROW()
2020-03-06 12:08:43 +00:00
Alexander Alekhin
c9296e599f
Merge pull request #16690 from asmorkalov:bug_template
...
Added checklist and recommendations to issue template
2020-03-06 14:30:48 +03:00
Alexander Alekhin
b33ff22988
Merge pull request #16740 from m-gupta:header
2020-03-06 09:02:25 +00:00
Manoj Gupta
880d2afb67
Fix building with ToT libc++
...
ToT libc++ (LLVM) no longer includes <sstream>
as part of <complex> which breaks building opencv.
Include <sstream> header explcitly to fix this.
2020-03-05 17:10:43 -08:00
Dmitry Kurtaev
9e332dc5fb
Broadcasting from ONNX
2020-03-06 00:58:59 +03:00
Alexander Alekhin
a694e5074f
Merge pull request #16723 from jansol:master
2020-03-05 12:25:20 +00:00
Alexander Alekhin
90a4d67e8d
Merge pull request #16513 from pwuertz:cuda_py_interop
2020-03-05 11:56:07 +00:00
Alexander Alekhin
23bc89d6fc
Merge pull request #16577 from Volskig:mp/ocv-gapi-work
2020-03-05 10:58:51 +00:00
Alexander Alekhin
73ddc091a2
Merge pull request #16693 from Volskig:mp/ocv-gapi-add-include
2020-03-05 10:53:23 +00:00
Maxim Pashchenkov
bce9837604
Added assert for create Mat with negative dims, added tets for this case
2020-03-05 11:52:10 +03:00
Maxim Pashchenkov
f3a50224f2
Rm imgproc from render.cpp
2020-03-05 11:41:36 +03:00
Alexander Alekhin
d4a17da7b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-04 20:49:09 +00:00
Alexander Alekhin
4f288a1e28
Merge pull request #16704 from alalek:core_log_once_log_if
...
* core(logger): add CV_LOG_ONCE_xxx() CV_LOG_IF_xxx() macros
* core(logger): keep tests disabled
2020-03-04 20:42:41 +00:00
Alexander Alekhin
fd09413566
Merge pull request #16731 from alalek:issue_16708
...
* imgproc(integral): avoid OOB access
* imgproc(test): fix integral perf check
- FP32 computation is not accurate
* imgproc(integral): tune loop limits
2020-03-04 19:28:04 +00:00
Jan Solanti
ad16c243ca
core(ocl): Don't query image formats when none exist
...
clGetSupportedImageFormats returns CL_INVALID_VALUE if called with
num_entries 0 and a non-NULL image_formats pointer so let's not do that.
2020-03-04 14:15:33 +02:00
Alexander Alekhin
da6ad1c640
Merge pull request #15765 from zachlowry:patch-1
...
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
2020-03-04 11:42:31 +03:00
Liubov Batanina
9ed1332355
Merge pull request #16722 from l-bat:reshape_opset_11
...
* Supported Div op for constants
* Added Mul test
2020-03-04 11:27:10 +03:00
Vadim Levin
90ec651bd7
test: Add test to verify correct mat substitution into the template in header parser
2020-03-04 08:14:19 +03:00
Zach Lowry
0aa5391c4b
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
...
The hard-coded string value "Mat" was used in the two format strings for vector_mat and vector_mat_template, preventing UMat arguments to functions that have these types from working correctly. as noted in #12231 .
2020-03-04 08:14:11 +03:00
Alexander Alekhin
57cf120118
Merge pull request #16709 from ashishkrshrivastava:cvonnx
2020-03-03 20:23:10 +00:00
Alexander Alekhin
0b85d0ec68
Merge pull request #16721 from mshabunin:fix-msmf-format
2020-03-03 15:41:53 +00:00
ashishiva3@gmail.com
e18d5e94c7
Gather-Cast, Mul-Cast fusion
2020-03-03 21:08:28 +05:30
Alexander Alekhin
bc036e1e86
Merge pull request #16720 from anton-potapov:kw_fixes
2020-03-03 11:45:24 +00:00
Maksim Shabunin
219ef95dd8
MSMF: fixed issue with camera format selection
2020-03-03 13:17:32 +03:00
Anton Potapov
8ed89bae84
KW: G-API tests - fixes for uninitialized variables
2020-03-03 11:37:40 +03:00
Alexander Alekhin
124bf8339f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 08:07:54 +00:00
Alexander Alekhin
29d214474f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 07:45:09 +00:00
Alexander Alekhin
4d0f13544d
Merge pull request #16700 from alalek:fix_core_matexpr_size_gemm
...
core: fix MatExpr::size() for gemm()
* core(test): MatExpr::size() test for gemm()
* core: fix MatExpr::size() for gemm()
2020-03-02 17:13:02 +03:00
Alexander Alekhin
a5ca5f6daf
Merge pull request #16716 from l-bat:skip_resize_ie
2020-03-02 14:07:32 +00:00
Liubov Batanina
b1b78aedd2
Skipped ResizeUnfused test on Builder API
2020-03-02 15:45:29 +03:00
Alexander Alekhin
9214103564
Merge pull request #16652 from MoonChasing:master
2020-03-01 10:15:55 +00:00
Alexander Alekhin
599a595c6f
Merge pull request #16573 from ashishkrshrivastava:opencvonnx
2020-02-29 21:20:40 +03:00
ashishiva3@gmail.com
8559237d4e
ONNX: upsample subgraph fusion added
2020-02-29 15:24:06 +05:30
Yashas Samaga B L
8808aaccff
Merge pull request #16658 from YashasSamaga:cuda4dnn-refactor-activations
...
cuda4dnn(activations, eltwise, scale_shift): refactor to reduce code duplication
* refactor activations
* refactor eltwise kernels
* move all functors to functors.hpp
* remove bias1 and scale1 kernels
2020-02-29 11:46:14 +03:00
Alexander Smorkalov
831153d5fb
Added checklist and recommendations to issue template.
2020-02-29 10:29:53 +03:00
Alexander Alekhin
333a767be4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-28 18:34:37 +00:00
Peter Würtz
5012fc5d23
Merge pull request #16684 from pwuertz:ignore_clang_mat_inl
...
* Ignore clang warnings for deprecated enum+enum operations in mat.inl.hpp
* build: added customization macros, cmake flags for OpenCV build
2020-02-28 21:21:03 +03:00
firebladed
f00607c8ac
Merge pull request #16626 from firebladed:firebladed-v4l2_pix_fmt_y12
...
V4L2: Add V4L2_PIX_FMT_Y12 (12 bit grey) support
2020-02-28 21:17:30 +03:00
Chip Kerchner
8c24af66bd
Merge pull request #16556 from ChipKerchner:vectorizeIntegralSumPixels
...
* Vectorize calculating integral for line for single and multiple channels
* Single vector processing for 4-channels - 25-30% faster
* Single vector processing for 4-channels - 25-30% faster
* Fixed AVX512 code for 4 channels
* Disable 3 channel 8UC1 to 32S for SSE2 and SSE3 (slower). Use new version of 8UC1 to 64F for AVX512.
2020-02-28 19:34:06 +03:00
Alexander Alekhin
7ffab23a53
Merge pull request #16535 from jshiwam:exifbugfix
2020-02-28 16:31:59 +00:00
Alexander Alekhin
4a39b12a78
imgcodecs(jpeg): drop unnecessary code
...
- standard huffman tables are handled by modern libjpeg-turbo
2020-02-28 18:55:14 +03:00
Alexander Alekhin
1bc607e8d8
Merge pull request #16677 from Bleach665:Qt_imshow_clipbrd
2020-02-28 14:41:07 +00:00
MoonChasing
98db891851
using argv[0] represent binary executable files' name in help() function
...
in sample codes instead of cpp files' name.
2020-02-28 20:36:56 +08:00
jshiwam
1f48940a93
bug fix to Inconsistent comment for EXIF issue id #15706 stream added final
...
removed all the changes occured while trying to resolve conflicts
2020-02-28 15:01:17 +05:30
Yuriy Obukh
edcc762f7a
add "Copy to clipboard functional" to imshow wnd with Qt
2020-02-28 00:03:38 +02:00
Alexander Alekhin
db5f1c3554
Merge pull request #16688 from alalek:issue_16679
2020-02-27 20:55:49 +00:00
Alexander Alekhin
9c4b1d0a51
Merge pull request #16685 from YashasSamaga:cuda4dnn-fix-tests-pr16595
2020-02-27 20:42:45 +00:00
YashasSamaga
98b5fb4b9f
disable MaskRCNN test for CUDA_FP16
2020-02-28 15:44:37 +05:30
Alexander Alekhin
d2cc30e2a5
Merge pull request #16687 from dkurt:dnn_ngraph_hetero
2020-02-27 19:52:02 +00:00
Alexander Alekhin
e93c51762b
gapi(test): fix check
2020-02-27 19:43:06 +00:00
Alexander Alekhin
b16c1096d1
Merge pull request #16682 from alalek:dnn_test_keypoints_face_myriad
2020-02-27 19:04:28 +00:00
Alexander Alekhin
4d8d152461
Merge pull request #16683 from saskatchewancatch:issue-16680
2020-02-27 17:05:27 +00:00
Alexander Alekhin
cc0066d38d
dnn(test): adjust check tolerance in Keypoints_face
2020-02-27 19:44:51 +03:00
Dmitry Kurtaev
5bbe116f89
Track Hetero execution for nGraph networks using ngraph::Function
2020-02-27 17:45:28 +03:00
Rajkiran Natarajan
b17e9c614b
Fix annoying compiler warning.
2020-02-26 22:59:02 -08:00
Alexander Alekhin
45d073f889
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-26 20:09:03 +03:00
Alexander Alekhin
85c97f772c
Merge pull request #16675 from alalek:fix_js_build_getNumberOfCPUs
2020-02-26 17:07:49 +00:00
Alexander Alekhin
af9ded89d0
core: fix build getNumberOfCPUs for JavaScript
2020-02-26 18:54:23 +03:00
Alexander Alekhin
c13a62ce10
Merge pull request #16638 from mshabunin:use-safe-buffers
2020-02-26 14:54:57 +00:00
Dmitry Kurtaev
d8dea7896b
Merge pull request #16628 from dkurt:dnn_ngraph_custom_layers
...
* Custom layers with nGraph
* nGraph: multiple outputs from nodes
2020-02-26 17:51:18 +03:00
Ganesh Kathiresan
09df7810d1
Merge pull request #16457 from ganesh-k13:bugfix/getCPUCount-fix
...
* Fixed getCPUCount
Minor new line changes
Android fix | efficient linux checks
Android fix 2
Fixed cpu logic for non linux platforms
Android fix 3
Android fix 4
* No v1 case handle | Refactor long lines
* Refined Cgroups logic | Combine Android and Linux
* Fixed directives
* Added support for --cpus | Fixed minor bug in Andriod | Change file read logic
* Added macro checks for apple errors
* Fixed macro to include android
* Addressed review comments
* Fixed android macro
* Refined return values
* Fixed apple warning
* Addressed review comments
* Fixed whitespace
* Android Fix try 1
* Android Fix try 2
* Android Fix try 3
* Removed unwanted endif
* Android Fix try 4
* Android Fix try 5
* Macro Restructure
* core: updates to CPUs detection (minor)
2020-02-26 17:48:50 +03:00
Alexander Alekhin
95aa6d7307
Merge pull request #16657 from alalek:issue_16655_master
2020-02-26 14:36:08 +00:00
Alexander Alekhin
2617c9aa64
Merge pull request #16673 from alalek:exclude_contrib_modules_4.x
2020-02-26 14:03:52 +00:00
Alexander Alekhin
f48c84eaee
Merge pull request #16656 from alalek:issue_16655
2020-02-26 12:47:46 +00:00
Alexander Alekhin
84bb67e49b
exclude opencv_contrib modules
2020-02-26 15:12:45 +03:00
Alexander Alekhin
9e4b1d5a75
Merge pull request #16670 from alalek:update_valgrind_suppressions
2020-02-26 11:44:16 +00:00
Alexander Alekhin
f2d3edec80
gapi(test): ban and get rid of countNonZero() checks
2020-02-26 14:19:19 +03:00
Peter Würtz
53c0189ed7
Allow access to CUDA memory and stream pointers for interoperability.
2020-02-26 11:11:03 +01:00
Maksim Shabunin
bf96d8239d
Use BufferArea in more places
2020-02-26 11:45:19 +03:00
Alexander Alekhin
64588dff46
valgrind: update suppression rules
2020-02-26 07:10:18 +00:00
Ivan Galanin
f9bd025722
Merge pull request #16639 from iigalanin:patch-1
...
* Update to new ICV packages
MacOS ia32 ICV package is no longer built.
* cmake(ippicv): add Apple 32-bit check
* Updated commit hash
2020-02-25 22:04:11 +03:00
Alexander Alekhin
a5d0c7b02c
Merge pull request #16650 from ashishkrshrivastava:cvdarknet
2020-02-25 12:57:11 +00:00
Alexander Alekhin
53a853c3c9
Merge pull request #16661 from alalek:dnn_test_32bit_part2
2020-02-24 20:53:14 +00:00
Alexander Alekhin
43a907ddda
Merge pull request #16648 from YashasSamaga:cuda4dnn-hotfix-i16467
2020-02-24 18:22:06 +00:00
Alexander Alekhin
c2f5f5a202
dnn(test): configure filtering for 32-bit systems (part 2)
2020-02-24 18:18:33 +00:00
YashasSamaga
5e082ab852
resize tensor on reuse if required
2020-02-24 10:45:59 +05:30
Alexander Alekhin
fce6e7248e
Merge pull request #16629 from alalek:dnn_test_32bit
2020-02-23 17:09:31 +00:00
Alexander Alekhin
d54d01ca46
core(MatExpr): fix .type() bug
2020-02-23 17:05:05 +00:00
ashishiva3@gmail.com
2b96a485e7
Darknet_io: Parsing for cost layer added
2020-02-23 21:06:48 +05:30
Alexander Alekhin
8eafddf211
Merge pull request #16647 from YashasSamaga:cuda4dnn-hotfix-i16568
2020-02-22 22:21:56 +00:00
Alexander Alekhin
1540ae340f
dnn(test): configure filtering for 32-bit systems
2020-02-22 17:35:26 +00:00
Gourav Roy
8b5efc6f4c
Merge pull request #16586 from themechanicalcoder:video-psnr
...
* add python version of video-input-psnr-ssim
* remove ret
* documentation changes
* added link for python file
* command line argument
2020-02-22 14:42:26 +03:00
YashasSamaga
c23ab37355
fix weights rank assertion in InnerProductOp
2020-02-22 16:59:09 +05:30
Alexander Alekhin
95f0c9b19b
Merge pull request #16641 from alalek:fix_build_msvs2019
2020-02-21 19:50:09 +00:00
Alexander Alekhin
01048e5603
Merge pull request #16616 from alalek:dnn_fix_input_shape
...
* dnn: fix processing of input shapes
- importer: avoid using of .setInput() => .setInputShape()
- setInput: shape limitation check (partial)
* dnn(test): test .setInput() in readNet()
2020-02-21 22:39:54 +03:00
Alexander Alekhin
102ef39a27
Merge pull request #16225 from berak:dnn_pose_estimation
...
dnn: small fix in pose estimation model
2020-02-21 22:37:23 +03:00
Alexander Alekhin
966c2191cb
Merge pull request #13928 from catree:add_matx_div_operations
2020-02-21 22:35:03 +03:00
Vadim Pisarevsky
8f3867756c
Merge pull request #16594 from vpisarev:hull_ordering_fix
...
fixed the ordering of contour convex hull points
* partially fixed the issue #4539
* fixed warnings and test failures
* fixed integer overflow (issue #14521 )
* added comment to force buildbot to re-run
* extended the test for the issue 4539. Check the expected behaviour on the original contour as well
* added comment; fixed typo, renamed another variable for a little better clarity
* added yet another part to the test for issue #4539 , where we run convexHull and convexityDetects on the original contour, without any manipulations. the rest of the test stays the same
2020-02-21 18:18:24 +03:00
Alexander Alekhin
b29512032a
3rdparty(openexr): fix compilation with MSVS2019
2020-02-21 17:48:28 +03:00
Alexander Alekhin
a0f5eb282c
Merge pull request #16635 from mshabunin:fix-avx512-cvt
2020-02-21 13:15:40 +00:00
Vadim Pisarevsky
07b475062f
Merge pull request #16608 from vpisarev:fix_mac_ocl_tests
...
* fixed several problems when running tests on Mac:
* OCL_pyrUp
* OCL_flip
* some basic UMat tests
* histogram badarg test (out of range access)
* retained the storepix fix in ocl_flip only for 16U/16S datatype, where the OpenCL compiler on Mac generates incorrect code
* moved deletion of ACCESS_FAST flag to non-SVM branch (where SVM is shared virtual memory (in OpenCL 2.x), not support vector machine)
* force OpenCL to use read/write for GPU<=>CPU memory transfers on machines with discrete video only on Macs. On Windows/Linux the drivers are seemingly smart enough to implement map/unmap properly (and maybe more efficiently than explicit read/write)
2020-02-21 16:13:41 +03:00
Alexander Duda
a41cbbdc99
findChessboardCornersSB: performance + support for full FOV boards with markers
...
Changes:
* UMat for blur + rotate resulting in a speedup of around 2X on an i7
* support for boards larger than specified allowing to cover full FOV
* support for markers moving the origin into the center of the board
* increase detection accuracy
The main change is for supporting boards that are larger than the FOV of
the camera and have their origin in the board center. This allows
building OEM calibration targets similar to the one from intel real
sense utilizing corner points as close as possible to the image border.
2020-02-21 14:01:47 +01:00
Maksim Shabunin
8b2c499be6
intrin: fixed int64->double conversion for AVX-512
2020-02-21 15:20:00 +03:00
Alexander Smorkalov
c87b99e82b
Added test for new MatX division.
2020-02-21 10:08:55 +03:00
Alexander Alekhin
96b26dc8f4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-20 19:47:27 +03:00
berak
4fdf4d380c
dnn: small fix in pose estimation model
2020-02-20 17:08:55 +01:00
Alexander Alekhin
150c29356a
Merge pull request #16610 from AbsorbedInThought:patch-1
2020-02-20 15:31:57 +00:00
Muhammad Taha
8177adbd54
Minor update in grabcut.py
2020-02-20 16:19:24 +03:00
Alexander Alekhin
30331eef4b
Merge pull request #16595 from dkurt:dnn_ie_mask_rcnn
2020-02-20 12:50:27 +00:00
Yashas Samaga B L
1f695c4532
Merge pull request #16161 from YashasSamaga:cuda4dnn-concat-fusion
...
cuda4dnn(concat): write outputs from previous layers directly into concat's output
* eliminate concat by directly writing to its output buffer
* fix concat fusion not happening sometimes
* use a whitelist instead of a blacklist
2020-02-20 15:43:05 +03:00
Aditya Kumar
e007d93d93
Merge pull request #14107 from adityak2920:aditya
...
Adding python codes to samples/python
* Python version of samples:
- laplace.py
- drawing.py
* Update drawing.py
* Update drawing.py
* Update drawing.py
* Update laplace.py
* Update laplace.py
* Update drawing.py
* Update drawing.py
* Update laplace.py
* samples
* drawing
* drawing
* drawing.py
2020-02-20 15:41:55 +03:00
Alexander Alekhin
77dd40c96c
Merge pull request #16619 from alalek:cmake_custom_cxx_standard_master
...
* cmake: allow customization of CMAKE_CXX_STANDARD value
* cmake: extra skip flag OPENCV_SKIP_CMAKE_CXX_STANDARD
* cmake: dump CMAKE_CXX_STANDARD value
- compiler option is missing in dumped flags
2020-02-20 14:18:43 +03:00
Dmitry Kurtaev
f3eef792eb
Enable Mask R-CNN with Inference Engine. Full coverage with nGraph
2020-02-20 10:13:40 +03:00
Alexander Alekhin
4d14307f5d
Merge pull request #16503 from cyyever:fix_16500
2020-02-20 06:47:55 +00:00
cyy
450b96510e
fixes #16500
2020-02-20 11:10:12 +08:00
Alexander Alekhin
4b0d3316f6
Merge pull request #16617 from alalek:dnn_fix_caffe_importer
2020-02-19 10:57:27 +00:00
Alexander Alekhin
7ac7aca33b
dnn(caffe): fix net.input_dim handling in Caffe importer
2020-02-19 07:37:27 +00:00
Alexander Alekhin
6713063a8d
Merge pull request #16612 from rabbull:master
2020-02-18 19:31:38 +00:00
Karl Liu
331a96c670
transplant 8p's normalization to 7p
...
use const instead of constexpr
2020-02-18 23:39:52 +08:00
Alexander Alekhin
1602a38fa9
Merge pull request #16572 from alalek:dnn_test_dldt_ir_v10
...
* dnn(test): test DLDT IRv10 model, drop old models
* dnn(test): don't expect bitexact results in DLDT IR tests
2020-02-18 17:57:46 +03:00
Dmitry Matveev
dae1fc8889
Merge pull request #16555 from dmatveev:dm/ocv_blog_sample
...
* G-API/Samples: Added a simple "privacy masking camera" sample
The main idea is to host this code for an opencv.org blog post only
* G-API/Samples: Modified privacy masking camera code to look better for the post
* G-API/Samples: fix Windows (MSVC) support in Privacy Masking Camera
* G-API/Samples: Addressed the majority of review comments in PMC
* G-API/Samples: Use TickMeter to measure time + more info in cmd options
* G-API/Samples: fix yet another Windows warning in PMC
* G-API/Samples: Fix wording in PMC cmd arg parameters
* Fix wording, again
* G-API/Samples: Fix PMC cmd-line arguments, again
2020-02-18 15:11:44 +03:00
Anatoliy Talamanov
a6ef9b4584
Merge pull request #16213 from TolyaTalamanov:at/lambdas-for-kernels
...
G-API: Using functors as kernel implementation
* Implement ability to create kernel impls from functors
* Clean up
* Replace make_ocv_functor to ocv_kernel
* Clean up
* Replace GCPUFunctor -> GOCVFunctor
* Move GOCVFunctor to cv::gapi::cpu namespace
* Implement override for rvalue and lvalue cases
* Fix comments to review
* Remove GAPI_EXPORT for template functions
* Fix indentation
2020-02-17 23:29:55 +03:00
Liubov Batanina
e970eccbf1
Merge pull request #16472 from l-bat:cp_vton
...
Add CP-VTON sample
* Support resize from PyTorch
* Add CP-VTON sample
* Fix downsampling
* Fix test
* Add model links
* Add default args
* Speed up resize
* Fix TOM link
* Add default args
* Fix comments
* Set aspect ratio for input
* Update links
* Check files exist
2020-02-17 22:29:37 +03:00
Alexander Alekhin
5ad9e5f9bc
Merge pull request #16600 from alalek:revert_16497
2020-02-17 13:17:35 +00:00
Alexander Alekhin
3a546aa380
imgproc: revert resize changes from PR 16497
2020-02-17 15:23:59 +03:00
Vadim Pisarevsky
d67a6c1be4
Merge pull request #16588 from vpisarev:fix_macos_move_window
...
fixed cv::moveWindow() on mac
* fixed cv::moveWindow() on mac (issue #16343 ). Thanks to cwreynolds and saskatchewancatch for the help!
* fixed warnings about _x0 and _y0
* fixed warnings about _x0 and _y0
2020-02-17 14:54:36 +03:00
keeper121
d84360e7f3
Merge pull request #16497 from keeper121:master
...
* Fix NN resize with dimentions > 4
* add test check for nn resize with channels > 4
* Change types from float to double
* Del unnecessary test file. Move nn test to test_imgwarp. Add 5 channels test only.
2020-02-16 19:33:25 +03:00
atinfinity
f81fdd58da
Merge pull request #16445 from atinfinity:fixed-typo
...
* fixed typo
* add compatibility code to handle migration
2020-02-16 19:16:33 +03:00
Gagandeep Singh
a6f3a21256
Merge pull request #16424 from czgdp1807:issue-16370
...
* fixed Split layer in ONNXImporter
* added test for fix of split layer
* fixed tests for Split layer
* applied reviews
* updated tests
* fixed paths in tests
2020-02-15 14:12:20 +03:00
Alexander Alekhin
f3237fdc6e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-14 19:54:59 +03:00
Vadim Pisarevsky
cc259e49f6
Merge pull request #16561 from vpisarev:better_hough_circles
...
* improved version of HoughCircles (HOUGH_GRADIENT_ALT method)
* trying to fix build problems on Windows
* fixed typo
* * fixed warnings on Windows
* make use of param2. make it minCos2 (minimal value of squared cosine between the gradient at the pixel edge and the vector connecting it with circle center). with minCos2=0.85 we can detect some more eyes :)
* * added description of HOUGH_GRADIENT_ALT
* cleaned up the implementation; added comments, replaced built-in numeic constants with symbolic constants
* rewrote circle_popcount() to use built-in popcount() if possible
* modified some of HoughCircles tests to use method parameter instead of the built-in loop
* fixed warnings on Windows
2020-02-14 19:16:41 +03:00
Alexander Alekhin
a8c257cecb
Merge pull request #16580 from dkurt:fix_14566
2020-02-14 16:11:37 +00:00
Dmitry Kurtaev
9a4cafa319
Resolve #14566
2020-02-14 00:21:38 +03:00
Alexander Alekhin
c41f50f5f7
Merge pull request #16559 from alalek:cmake_msvc_mp_customize
2020-02-13 19:28:57 +00:00
Alexander Alekhin
e48ae883e9
Merge pull request #16567 from alalek:dnn_updates_from_openvino_2020.1
2020-02-12 18:17:44 +00:00
Alexander Alekhin
0a91261c7f
dnn: turn off visibility workaround for OpenVINO 2020.1
2020-02-12 17:22:44 +03:00
Alexander Alekhin
d81a0da3e0
dnn: use OpenVINO 2020.1 defines
2020-02-12 17:21:08 +03:00
Alexander Alekhin
ef93aea0da
cmake: update handling of MSVC /MP flag
2020-02-11 21:05:44 +00:00
Alexander Alekhin
2a6637afdf
Merge pull request #16516 from alalek:dnn_dump_network
2020-02-11 16:22:32 +00:00
Vadim Pisarevsky
3efa78311a
Merge pull request #16488 from vpisarev:filestorage_longlines
...
trying to fix handling file storages with extremely long lines
* trying to fix handling of file storages with extremely long lines: https://github.com/opencv/opencv/issues/11061
* * fixed errorneous pointer access in JSON parser.
* it's now crash-test time! temporarily set the initial parser buffer size to just 40 bytes. let's run all the test and check if the buffer is always correctly resized and handled
* fixed pointer use in JSON parser; added the proper test to catch this case
* fixed the test to make it more challenging. generate test json with
*
**
***
etc. shape
2020-02-11 18:46:15 +03:00
Alexander Alekhin
d4422e473a
Merge pull request #16552 from dkurt:3.4_docs
2020-02-11 10:03:12 +00:00
Alexander Alekhin
aaf9297592
Merge pull request #16549 from rayonnant14:objdetect_QRCode_issue_memory_allocation
2020-02-11 10:02:52 +00:00
Dmitry Kurtaev
1159453139
3.4 docs for 3.4 branch
2020-02-11 09:31:16 +03:00
rayonnant14
fb13b87285
fix wrong memory allocation
2020-02-10 20:21:58 +03:00
Alexander Alekhin
aa2777ed61
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-10 19:40:29 +03:00
Alexander Alekhin
8a588f2c0b
Merge pull request #16542 from asmorkalov:asmorkal/base64_json
2020-02-10 16:28:55 +00:00
Alexander Alekhin
1dd24eeec0
Merge pull request #16539 from baka-gori:bugfix_cudacodec
2020-02-10 16:28:31 +00:00
Alexander Alekhin
5eec3be850
Merge pull request #16531 from paroj:featlinepy
2020-02-10 16:28:07 +00:00
Alexander Alekhin
236e3868df
Merge pull request #16527 from mshabunin:fix-msmf-fmt-34
2020-02-10 16:27:00 +00:00
Alexander Alekhin
c3264aa83c
Merge pull request #16520 from GArik:3.4
2020-02-10 16:25:30 +00:00
Alexander Alekhin
9d0f16e8fe
Merge pull request #16505 from alalek:issue_16326
2020-02-10 15:51:49 +00:00
Alexander Alekhin
867c922bcc
Merge pull request #16546 from alalek:backport_16544
2020-02-10 15:49:11 +00:00
Ilya Lavrenov
41f444a230
CMAKE: more robust custom IE libraries support
...
backporting of commit 98d96f2cc8
2020-02-10 17:55:51 +03:00
Alexander Alekhin
a631196155
Merge pull request #16544 from ilya-lavrenov:il/custom-ie-libraries
2020-02-10 14:09:43 +00:00
Pavel Rojtberg
e13a73d084
core: export getCPUFeaturesLine to bindings
2020-02-10 14:06:43 +01:00
Ilya Lavrenov
98d96f2cc8
CMAKE: more robust custom IE libraries support
2020-02-10 15:17:54 +03:00
Alexander Smorkalov
bd6ab6d38e
Implemented BASE64 support in cv::FileStorage parser.
2020-02-10 11:38:19 +03:00
baka-gori
80aaed73e6
add cuda 10 support
2020-02-09 22:18:29 +09:00
Alexander Alekhin
db9f4436e0
Merge pull request #16473 from ashishkrshrivastava:opencvtf
2020-02-09 11:52:24 +03:00
ashishiva3@gmail.com
cd53144ed3
commit: Corrected end tensor_content parsing for StridedSlice layer.
2020-02-09 06:43:23 +05:30
Alexander Alekhin
f791cf825f
Merge pull request #16486 from alalek:cmake_use_target_compile_features
2020-02-08 20:01:12 +00:00
Alexander Alekhin
eb14f9a464
Merge pull request #16463 from alalek:core_strong_ptr_alignment
2020-02-08 19:45:43 +00:00
Alexander Alekhin
0a691f7840
Merge pull request #16529 from alalek:dnn_skip_failed_ngraph_tests
2020-02-08 18:53:10 +00:00
Alexander Alekhin
8ecfb59930
dnn(test): skip failed ngraph tests
2020-02-07 22:43:40 +00:00
Alexander Alekhin
69944cd46b
Merge pull request #16421 from mshabunin:add-local-pool
2020-02-07 21:44:50 +00:00
Maksim Shabunin
6c8f50d1f3
videoio/MSMF: refactored format handling and selection, property reading and writing
2020-02-08 00:16:41 +03:00
Alexander Alekhin
8d078f63a9
Merge pull request #16530 from collinbrake:imread_unchanged_exif_doc
2020-02-07 20:37:44 +00:00
Alexander Alekhin
bcc9946650
Merge pull request #16438 from ashishkrshrivastava:opencvc
2020-02-07 23:17:59 +03:00
Collin Brake
d4a28f3bf6
improved documentation for imread()
2020-02-07 08:54:34 -05:00
Maksim Shabunin
55cdeaa6dd
BufferArea: initial version, usage in StereoBM
...
New class BufferArea is used to hide complexity of buffers allocations and allow instrumentation with valgrind and sanitizers.
2020-02-07 14:57:36 +03:00
Alexander Alekhin
7d998336d3
Merge pull request #16510 from andrey-golubev:unify_g_typed_kernel
2020-02-07 11:22:23 +00:00
Alexander Alekhin
6ad390a1cd
Merge pull request #16523 from collinbrake:imread_unchanged_exif_doc
2020-02-07 10:42:39 +00:00
Alexander Alekhin
3c2e5583d2
Merge pull request #16522 from alalek:dnn_build_warnings_from_ngraph
2020-02-07 10:33:00 +00:00
ashishiva3@gmail.com
d64529f6de
Added parsing for Connected and Dropout. Modified maxpool padding
2020-02-07 07:26:36 +05:30
Collin Brake
3cc07a4411
improved documentation for IMREAD_UNCHANGED flag
2020-02-06 17:49:14 -05:00
Alexander Alekhin
ac0a14631d
dnn: eliminate MSVC warnings from ngraph.hpp
2020-02-06 19:53:49 +00:00
Alexander Alekhin
745153098a
Merge pull request #16509 from omasaht:imwrite-throwerr-permissiondenied
2020-02-06 19:32:09 +00:00
Igor Murzov
981e63d8c2
Install all CMake files required to build samples
...
CMakeLists.txt includes samples_utils.cmake, so the later should be
installed as well to make samples build successfully
2020-02-06 18:07:36 +03:00
Alexander Alekhin
d0d676929d
Merge pull request #16519 from TolyaTalamanov:at/fix-render-text-slowdown
2020-02-06 13:38:22 +00:00
Talamanov, Anatoliy
4dffcbd9f0
Fix render opencv backend text slowdown
2020-02-06 15:12:38 +03:00
Alexander Alekhin
6d75be03f9
Merge pull request #16518 from asmorkalov:as/gstreamer_docs
2020-02-06 11:38:27 +00:00
Alexander Smorkalov
fb781834f5
Improved GStreamer documentation.
2020-02-06 12:51:09 +03:00
Alexander Alekhin
6eba1a4d44
dnn: auto network dump through parameter
2020-02-05 21:46:32 +00:00
Alexander Alekhin
fa4871b013
dnn: don't require setInput in .dump()
2020-02-05 21:28:07 +00:00
Omar Hassan
8dd0fd8a13
If applied, this commit will describe permission denied message in imwrite_ function when user does not have write permission
2020-02-05 22:23:10 +05:00
Andrey Golubev
5baa2c0706
Update documentation and clean up redundant code
2020-02-05 15:01:42 +02:00
Alexander Alekhin
225566da7b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-04 19:49:24 +03:00
Alexander Alekhin
0cb3bf95f1
Merge pull request #16490 from dkurt:dnn_refactor_resize
2020-02-04 16:45:35 +00:00
Alexander Alekhin
d917f889b1
Merge pull request #16504 from alalek:issue_16501
2020-02-04 16:39:17 +00:00
Vadim Pisarevsky
e50acb923e
Merge pull request #16495 from vpisarev:drawing_aa_border_fix
...
* fixed antialiased line rendering to process image border correctly
* fixed warning on Windows
* imgproc(test): circle drawing regression
2020-02-04 19:37:33 +03:00
Polina Smolnikova
4e4dfffe06
Merge pull request #16491 from rayonnant14:objdetect_decodeMulti_issue
...
* fixed issue with Mat reshape in decodeMulti()
* added test for decodeMulti
* used assign
2020-02-04 19:31:11 +03:00
Alexander Alekhin
85a59ef292
cmake: hide IPPICV symbols using --exclude-libs
2020-02-04 18:11:07 +03:00
Alexander Alekhin
f67c8e37d6
imgproc(resize): drop optimization for channels>4
2020-02-04 17:14:52 +03:00
ankit6979
17fe63446f
Merge pull request #16499 from ankit6979:3.4
...
* Update py_thresholding.markdown
* 📝 Update py_thresholding.markdown
2020-02-04 15:22:18 +03:00
Alexander Alekhin
0673866ceb
Merge pull request #16502 from tomoaki0705:fixTypo
2020-02-04 12:18:50 +00:00
Alexander Alekhin
0dd1ce1a4f
Merge pull request #16442 from asmorkalov:as/pr_template_checklist
2020-02-04 12:17:00 +00:00
Alexander Alekhin
c56e91dcc0
Merge pull request #16487 from asmorkalov:as/gapi_freetype
2020-02-04 11:40:15 +00:00
Vadim Pisarevsky
5c6d319ebc
Merge pull request #16493 from vpisarev:bordertype_sgbm_doc_fixes
...
* added note about BORDER_TYPE in separable filters; fixed SGBMStereo description
* added # to BORDER_ constants to generate hyperlinks
2020-02-04 14:30:16 +03:00
Alexander Alekhin
20fb9281f4
Merge pull request #16496 from andrey-golubev:unify_g_typed_kernel
2020-02-04 11:11:38 +00:00
Tomoaki Teshima
edaf4e0104
apply to correct range (entire 3.0 and 4.0 series)
2020-02-04 18:49:19 +09:00
Dmitry Kurtaev
005f38fb45
Fix dnn::ResizeLayer to manage varying input shapes
2020-02-04 09:06:17 +03:00
Alexander Smorkalov
a173ea36f7
Added PR readiness checklist.
2020-02-04 08:37:14 +03:00
Andrey Golubev
e569e9dcbd
Unify G_TYPED_KERNEL and G_TYPED_KERNEL_M
2020-02-04 02:16:51 +02:00
Alexander Alekhin
01c1b341a8
cmake: enable C++11 implicitly
2020-02-03 17:45:37 +03:00
Alexander Alekhin
4d291c06f6
Merge pull request #16483 from saskatchewancatch:issue-16458
2020-02-03 13:49:21 +00:00
Alexander Smorkalov
a9a33d9a5f
Fixed build with FREETYPE and without tests.
2020-02-03 16:41:31 +03:00
hannesa2
57c9991413
Merge pull request #16481 from hannesa2:DeleteOldAndroidManifest.xml
...
* delete old AndroidManifrst.xml
* fix tutorial generation
2020-02-03 16:34:03 +03:00
Alexander Alekhin
8519db8efb
Merge pull request #15464 from tallestorange:3.4
2020-02-03 12:54:03 +00:00
Vadim Pisarevsky
174022547f
fixed incorrect dump of the pixel format
2020-02-03 13:22:56 +03:00
Rajkiran Natarajan
579dcf12bd
GCC 10 warnings not caught by CMake ignore regex
2020-02-03 06:39:14 +00:00
StefanBruens
f05d5888c9
Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include
...
Fix compilation errors on GLES platforms
* Do not include glx.h when using GLES
GL/glx.h is included on all LINUX plattforms, which is wrong
for a number of reasons:
- GL_PERSPECTIVE_CORRECTION_HINT is defined in GL/gl.h, so we
want gl.h not glx.h, the latter just includes the former
- GL/gl.h is a Desktop GL header, and should not be included
on GLES plattforms
- GL/gl.h is already included via QtOpenGL ->
QtGui/qopengl.h on desktop plattforms
This fixes a problem when Qt is compiled with GLES, which
is often done on ARM platforms where desktop GL is not or
only poorly supported (e.g. slow due to emulation).
Fixes part of #9171 .
* Only set GL_PERSPECTIVE_CORRECTION_HINT when GL version defines it
GL_PERSPECTIVE_CORRECTION_HINT does not exist in GLES 2.0/3.x,
and has been deprecated in OpenGL 3.0 core profiles.
Fixes part of #9171 .
2020-02-02 16:29:04 +03:00
Alexander Alekhin
bf2f7b0f8b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-01 17:26:00 +00:00
Alexander Alekhin
84c29dce77
Merge pull request #16474 from gapry:issue_16336
2020-02-01 17:22:12 +00:00
Gourav Roy
126b0d855f
Merge pull request #16366 from themechanicalcoder:features2D-tutorial-python
...
* Add python version of panorama_stitching_rotating_camera and perspective_correction
* Updated code
* added in the docs
* added python code in the docs
* docs change
* Add java tutorial as well
* Add toggle in documentation
* Added the link for Java code
* format code
* Refactored code
2020-02-01 20:20:00 +03:00
gapry
ac9f8c1f41
Fixed Compilation warnings | Issue #16336
2020-02-01 03:32:42 +08:00
midjji
86e5e8d765
Merge pull request #15993 from midjji:master
...
This is a correction of the previously missleading documentation and a warning related to a common calibration failure described in issue 15992
* corrected incorrect description of failed calibration state.
see issue 15992
* calib3d: apply suggestions from code review by catree
2020-01-31 17:50:21 +03:00
Alexander Alekhin
27edba495a
Merge pull request #16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup
2020-01-31 13:08:43 +00:00
Alexey Smirnov
0d456f9111
Merge pull request #16118 from smirnov-alexey:as/gopaque
...
G-API: GOpaque implementation
* Stub initial copypasted solution
* Fix mov test and add a couple of others
* Fix warnings
* More code coverage and tests
* fix macos warning
* address review comments
* Address review comments and fix indentation
* Fix build on armv7
2020-01-30 21:08:11 +03:00
Alexander Alekhin
591f427003
Merge pull request #16459 from nh2:patch-1
2020-01-30 14:25:18 +00:00
Alexander Alekhin
2ced568d34
Merge pull request #16220 from YashasSamaga:cuda4dnn-roi-pooling-test_fix-optim
2020-01-29 20:57:15 +00:00
Arnaud Brejeon
ecbba852cf
Merge pull request #16415 from arnaudbrejeon:bug_fix_16410
...
* Fix bug 16410 and add test
* imgproc(connectedcomponents): avoid manual uninitialized allocations
* imgproc(connectedcomponents): force 'odd' chunk range size
* imgproc(connectedcomponents): reuse stripeFirstLabel{4/8}Connectivity
* imgproc(connectedcomponents): extend fix from PR14964
2020-01-29 23:55:43 +03:00
Alexander Alekhin
48c8c95381
Merge pull request #16452 from alalek:objdetect_align_with_master
2020-01-29 16:12:31 +00:00
Alexander Alekhin
cd2d6ac935
Merge pull request #16461 from seiko2plus:issue16455
2020-01-29 15:57:00 +00:00
Alexander Alekhin
a4bd7506a5
core: CV_STRONG_ALIGNMENT macro
...
Should be used to guard unsafe type casts of pointers
2020-01-29 18:44:17 +03:00
Niklas Hambüchen
70cbc3d883
cvdef.h: Don't use C's limits.h under C++
...
Just like with the other headers in the rest of the file.
See e.g. https://stackoverflow.com/questions/36831465/what-difference-does-it-make-when-i-include-limits-or-limits-h-in-my-c-cod
for the reasons, the most important one being that limits.h does not respect
namespaces, which can make problems for downstream consumers of cvdef.h.
2020-01-29 16:41:31 +01:00
Sayed Adel
ec033330df
core:vsx workaround for the unexpected results of vec_vbpermq in gcc4.9
2020-01-29 15:05:12 +02:00
Alexander Alekhin
e037800e46
Merge pull request #15714 from neurodroid:patch-1
2020-01-29 10:54:22 +00:00
Alexander Alekhin
7e6bdbad9b
Merge pull request #16453 from seiko2plus:issue16448
2020-01-29 10:34:17 +00:00
cudawarped
5542dcb2bc
Merge pull request #16248 from cudawarped:fix_python_cudawarping_cudaarithm
...
* Move python CUDA tests to the contrib repo.
2020-01-29 12:54:02 +03:00
Sayed Adel
bd531bd828
core:vsx fix inline asm constraints
...
generalize constraints to 'wa' for VSX registers
2020-01-28 15:48:00 +02:00
Alexander Alekhin
8facf61bed
objdetect(QR): don't introduce deprecated API, compatibility code
2020-01-28 15:20:37 +03:00
Alexander Alekhin
560f85f8e5
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-01-28 14:26:57 +03:00
Alexander Alekhin
f856c964e2
Merge pull request #16338 from alalek:abi_checker_exclude_modules
2020-01-28 12:58:45 +03:00
Alexander Alekhin
223790e6fc
Merge pull request #16423 from alalek:issue_16321
2020-01-28 09:57:49 +00:00
Alexander Alekhin
5429b1f5ff
Merge pull request #16223 from l-bat:lip_jppnet
2020-01-27 19:17:43 +00:00
Liubov Batanina
24166ac402
Fix indentation
2020-01-27 17:59:58 +03:00
Alexander Alekhin
02f8a9470a
Merge pull request #16441 from alalek:abi_checker_exclude_modules_3.4
2020-01-27 13:26:23 +00:00
Liubov Batanina
4a19ac5aca
Move instruction
2020-01-27 16:18:32 +03:00
Alexander Alekhin
4af55e64e9
cmake: support OPENCV_ABI_SKIP_MODULES_LIST
...
backporting of commit f163778da7
2020-01-27 14:40:48 +03:00
Liubov Batanina
5790810c3a
Change link
2020-01-27 12:34:57 +03:00
Polina Smolnikova
acc089ca64
Merge pull request #15338 from rayonnant14:my_detect_and_decode_3.4
...
QR-Code detector : multiple detection
* change in qr-codes detection
* change in qr-codes detection
* change in test
* change in test
* add multiple detection
* multiple detection
* multiple detect
* add parallel implementation
* add functional for performance tests
* change in test
* add perftest
* returned implementation for 1 qr-code, added support for vector<Mat> and vector<vector<Point2f>> in MultipleDetectAndDecode
* deleted all lambda expressions
* changing in triangle sort
* fixed warnings
* fixed errors
* add java and python tests
* change in java tests
* change in java and python tests
* change in perf test
* change in qrcode.cpp
* add spaces
* change in qrcode.cpp
* change in qrcode.cpp
* change in qrcode.cpp
* change in java tests
* change in java tests
* solved problems
* solved problems
* change in java and python tests
* change in python tests
* change in python tests
* change in python tests
* change in methods name
* deleted sample qrcode_multi, change in qrcode.cpp
* change in perf tests
* change in objdetect.hpp
* deleted code duplication in sample qrcode.cpp
* returned spaces
* added spaces
* deleted draw function
* change in qrcode.cpp
* change in qrcode.cpp
* deleted all draw functions
* objdetect(QR): extractVerticalLines
* objdetect(QR): whitespaces
* objdetect(QR): simplify operations, avoid duplicated code
* change in interface, additional checks in java and python tests, added new key in sample for saving original image from camera
* fix warnings and errors in python test
* fix
* write in file with space key
* solved error with empty mat check in python test
* correct path to test image
* deleted spaces
* solved error with check empty mat in python tests
* added check of empty vector of points
* samples: rework qrcode.cpp
* objdetect(QR): fix API, input parameters must be first
* objdetect(QR): test/fix points layout
2020-01-26 22:18:42 +03:00
Alexander Alekhin
282a15c9f9
Merge pull request #16434 from alalek:fix_build_i386
2020-01-26 07:21:59 +00:00
Alexander Alekhin
5d01821d9f
Merge pull request #16422 from alalek:issue_16419
2020-01-26 07:21:05 +00:00
Alexander Alekhin
f8f74fc4ae
Merge pull request #16413 from l-bat:ngraph_deconv
2020-01-26 07:19:58 +00:00
Pierre Letessier
0853085ec6
Merge pull request #16190 from pletessier:videocapture_skip_frames
...
Videocapture skip frames
* enable skipping frames
* update videoio_skip test
2020-01-26 10:19:09 +03:00
Alexander Alekhin
e83438c23d
core(build): fix i386 compilation
2020-01-26 00:00:25 +00:00
Alexander Alekhin
3d5ca3ef75
Merge pull request #16418 from l-bat:ngraph_logsoftmax
2020-01-24 21:46:28 +00:00
Alexander Alekhin
043b9fbb31
Merge pull request #16170 from themechanicalcoder:tutorial_1
2020-01-24 21:26:18 +00:00
Alexander Alekhin
76c21b73aa
Merge pull request #16374 from alalek:imgproc_dispatch_sumpixels
2020-01-24 21:21:48 +00:00
Chip Kerchner
4d2da2debe
Merge pull request #16375 from ChipKerchner:vectorizeMultTranspose
...
* Reduce LLC loads, stores and multiplies on MulTransposed - 8% faster on VSX
* Add is_same method so c++11 is not required
* Remove trailing whitespaces.
* Change is_same to DataType depth check
2020-01-24 18:00:49 +03:00
Alexander Alekhin
84895d2566
Merge pull request #16414 from alalek:samples_fix_async
2020-01-24 14:57:24 +00:00
Alexander Alekhin
4b2363de5c
gapi(test): update test tolerance for DIV operation on ARM
2020-01-24 17:07:24 +03:00
Alexander Alekhin
ffaf15d0d9
cmake: reuse OpenCV NEON detection in carotene
...
- use carotene if NEON available only
2020-01-24 16:42:56 +03:00
Liubov Batanina
4b35112022
Update sample
2020-01-24 16:30:10 +03:00
Alexander Alekhin
bd66f76fea
Merge pull request #16356 from alalek:dnn_ie_prevent_plugins_unloading
2020-01-24 12:07:05 +00:00
Alexander Alekhin
5265db82c7
Merge pull request #16409 from smirnov-alexey:as/gapi_fix_standalone_streaming
2020-01-24 08:47:57 +00:00
Liubov Batanina
d9474648f0
Fix diff
2020-01-24 11:00:06 +03:00
Alexander Alekhin
d0e02cccba
samples(dnn): avoid 'async' keyword (Python 3.7+)
2020-01-23 18:43:36 +03:00
Liubov Batanina
0687cffe21
Support logSoftMax
2020-01-23 15:32:16 +03:00
Ganesh Kathiresan
504cd8a9f5
Merge pull request #16405 from ganesh-k13:bugfix/solvepnp-crash
...
Added type check for solvePnPGeneric | Issue: #16049
* Added type check
* Added checks before type fix
* Tests for 16049
* calib3d: update solvePnP regression check (16049)
2020-01-23 15:23:03 +03:00
Liubov Batanina
a3ae69893c
Extend nGraph Deconvolution layer support
2020-01-23 15:10:42 +03:00
Liubov Batanina
55b03dcaba
Refactoring
2020-01-23 10:25:41 +03:00
Alexander Smorkalov
1358c0ae66
Made automated triggering for ARAVIS cameras optional.
2020-01-23 09:00:28 +03:00
Gourav Roy
a6359e49d2
Added tutorial for text skewness correction in C++ and Python.
2020-01-23 08:24:39 +03:00
Alexander Alekhin
f4147c99c8
Merge pull request #16396 from miguelps:android_modules
2020-01-22 19:59:10 +00:00
Alexander Alekhin
6670e6b0bb
dnn: prevent unloading of InferenceEngine plugins
2020-01-22 19:34:32 +03:00
Miguel Pari Soto
814a5cec41
feat(android): add support for android modules selection
2020-01-22 19:14:34 +03:00
Smirnov Alexey
e5ed22bd5b
Fix linkage in standalone mode
2020-01-22 17:51:16 +03:00
Alexander Alekhin
3d14dd4e39
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-01-22 16:58:30 +03:00
Alexander Alekhin
3019927a61
Merge pull request #16408 from alalek:dnn_test_tolerance_myriad
2020-01-22 13:56:15 +00:00
Alexander Alekhin
881cee4d8f
Merge pull request #16146 from pmur:reg_16137x2
2020-01-22 13:53:51 +00:00
Liubov Batanina
7e5b5390ba
Fix comments
2020-01-22 14:57:54 +03:00
Alexander Alekhin
b21a861c5b
dnn(test): adjust test tolerance for MYRIAD
2020-01-22 14:42:52 +03:00
Liubov Batanina
35c24480ae
Fix axis
2020-01-22 13:36:29 +03:00
Alexander Alekhin
16d8e9e0c8
Merge pull request #16358 from ashishkrshrivastava:opencv-2
2020-01-22 09:57:41 +00:00
Vadim Levin
3fe9dfaa2e
VideoIO classes refactoring
...
- Added `explicit` to `VideoCapture` constructors with 2
arguments, 1 of them has default value
- Applied library code style
- Introduced 2 debug macros to improve readability of the code
2020-01-22 12:05:10 +03:00
Liubov Batanina
832ca0734d
Refactoring
2020-01-22 10:52:40 +03:00
Alexander Alekhin
15e1acaf67
Merge pull request #16400 from alalek:issue_7001
2020-01-21 19:16:39 +00:00
Alexander Alekhin
8b3042da63
Merge pull request #16393 from alalek:build_videoio_fix_15020
2020-01-21 19:16:00 +00:00
Alexander Alekhin
8af87d5792
cmake: apply '-Wl,--as-needed' linker option
2020-01-21 19:09:38 +03:00
Ruslan Garnov
65ccafd494
Changed shared_ptr to unique_ptr for Priv storage in fluid::View
2020-01-21 18:03:03 +03:00
Ruslan Garnov
6c93e42d94
Changed sharev_ptr for Priv to unique_ptr for fluid::Buffer
2020-01-21 13:48:46 +03:00
Alexander Alekhin
6bc953e911
Merge pull request #16391 from l-bat:ngraph_lrn
2020-01-21 10:08:54 +00:00
Liubov Batanina
fada959b4b
Fix comment
2020-01-21 10:28:50 +03:00
Liubov Batanina
c6936f5a77
Support lrn with SPATIAL_NRM
2020-01-21 10:12:05 +03:00
Liubov Batanina
d825caf18e
Update check params
2020-01-21 10:09:24 +03:00
Alexander Alekhin
998e355b97
Merge pull request #16389 from alalek:core_fix_msa_build
2020-01-20 16:31:38 +00:00
Alexander Alekhin
7dad0f23d6
build: workaround for FORTIFY_SOURCE=2 builds on Alpine
2020-01-20 18:05:14 +03:00
Liubov Batanina
97455f1593
Remove useless condition
2020-01-20 17:31:58 +03:00
Liubov Batanina
08ba63da02
Add global pool flags
2020-01-20 15:37:11 +03:00
Alexander Alekhin
d42e04d0df
core(SIMD): fix MSA build - add v_reduce_min/max for u8/s8
2020-01-20 15:10:03 +03:00
Ganesh Kathiresan
80ade96c8c
Merge pull request #16309 from ganesh-k13:bugfix/imdecode-resize
...
* Added flag handlers for imread and imdecode | Issue 16203
Undo imread change
Added Imread resize tests
Added imdecode flags check
Added imdecode tests for resize
Removed trailing whitespace
Removed IMREAD_IGNORE_ORIENTATION check
Added else condition
Removed IMREAD_IGNORE_ORIENTATION check in decode
Added HAVE_JPEG guards
Added static_cast for Win32
Added resize for non jpegs
Added tests for non jpeg resize case
Fixed resize value in assert
Changed tests to Value-Parameterized Tests
Changed tests to Value-Parameterized Tests | handled >> in cpp
Changed tests to Value-Parameterized Tests | removed trailing whitespace
* imgcodecs: update test
2020-01-20 14:00:45 +03:00
Alexander Alekhin
00830d9dd8
Merge pull request #16385 from alalek:ts_update_optional_message
2020-01-20 10:54:40 +00:00
Alexander Alekhin
4e577b8d3c
Merge pull request #16378 from alalek:dnn_getMemoryShapes_error_dump_blobs
2020-01-20 10:49:17 +00:00
Alexander Alekhin
61b6d40539
Merge pull request #16377 from alalek:fix_16373
2020-01-20 10:48:21 +00:00
Liubov Batanina
bb91e6999b
Fix demo
2020-01-20 10:22:01 +03:00
ashishiva3@gmail.com
f29bc22005
Convolutional padding parsing modified
2020-01-19 22:33:12 +05:30
Alexander Alekhin
ac30620344
ts: move message about misused 'optional' under the configuration parameter
2020-01-19 16:09:40 +00:00
Alexander Alekhin
8128f6284a
Merge pull request #15929 from sturkmen72:patch-3
2020-01-19 12:45:29 +00:00
Alexander Alekhin
2c0ebf36a9
Merge pull request #16372 from alalek:backport_16350
2020-01-18 17:57:46 +00:00
Alexander Alekhin
b3a07166ba
Merge pull request #16350 from hannesa2:fixLintIssuesAndroid
2020-01-18 17:57:03 +00:00
Chip Kerchner
301626ba26
Merge pull request #15488 from ChipKerchner:vectorizeMinMax2
...
Vectorize minMaxIdx functions
* Updated documentation and intrinsic tests for v_reduce
* Add other files back in from the forced push
* Prevent an constant overflow with v_reduce for int8 type
* Another alternative to fix constant overflow warning.
* Fix another compiler warning.
* Update comments and change comparison form to be consistent with other vectorized loops.
* Change return type of v_reduce_min & max for v_uint8 and v_uint16 to be same as lane type.
* Cast v_reduce functions to int to avoid overflow. Reduce number of parameters in MINMAXIDX_REDUCE macro.
* Restore cast type for v_reduce_min & max to LaneType
2020-01-17 19:37:35 +03:00
Julien
886220b9be
Merge pull request #16273 from JulienMaille:wrapper_available_target
...
* add a wrapper for getAvailableTargets
* add java wrapper on Target enum
2020-01-17 19:24:37 +03:00
Alexander Alekhin
55d54b56bf
dnn(onnx): handle unaligned access in ONNX importer
2020-01-17 19:03:34 +03:00
Alexander Alekhin
282fcb90dc
Merge pull request #16376 from JulienMaille:cuda-dnn-for-older-gpus
2020-01-17 15:42:50 +00:00
Alexander Alekhin
09b3383a7e
imgproc: dispatch sumpixels (integral)
2020-01-17 16:54:29 +03:00
Alexander Alekhin
b4316af834
imgproc: rename sumpixels.avx512_skx.{cpp,hpp}
2020-01-17 16:50:08 +03:00
Julien Maille
a696348ec5
FIX: disable dnn cuda input_shortcut on _half for CC<5.3
2020-01-17 14:21:25 +01:00
Hannes Achleitner
3b54ebec3f
fix lint errors and warnings ins Android samples
...
backporting of commit 4057e81b76
2020-01-17 14:14:36 +03:00
Alexander Alekhin
16b13c6e3b
Merge pull request #16367 from dkurt:dnn_ie_ngraph_mvn
2020-01-17 09:12:36 +00:00
Alexander Alekhin
f429cee5d1
Merge pull request #16369 from kraj:gcc10
2020-01-17 08:58:20 +00:00
Alexander Alekhin
90e4907b0b
Merge pull request #16294 from h6197627:master
2020-01-17 08:53:09 +00:00
h6197627
fb3a334bbe
cmake: fix Linux system OpenEXR detection
2020-01-16 23:12:41 +02:00
Khem Raj
2bd9488475
carotene: Replace ipcp-unit-growth with ipa-cp-unit-growth on gcc >= 10
...
gcc 10+ has renamed this option, therefore check for gcc version before
deciding which name to use for opt parameter
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2020-01-16 11:02:25 -08:00
Yashas Samaga B L
d85e67d3ec
Merge pull request #16063 from YashasSamaga:cuda4dnn-shortcut-unequal
...
support eltwise sum with different number of input channels in CUDA backend
* add shortcut primitive
* add offsets in shortcut kernel
* skip tests involving more than two inputs
* remove redundant modulus operation
* support multiple inputs
* remove whole file indentation
* skip acc in0 trunc test if weighted
* use shortcut iff channels are unequal
2020-01-16 21:54:00 +03:00
Alexander Alekhin
c30af724ef
Merge pull request #16349 from hannesa2:RemoveEclipseRelicts
2020-01-16 16:53:06 +00:00
Alexander Alekhin
3e2d8ca0a1
Merge pull request #16325 from alalek:core_simd_neon_fix_alignment_lut
2020-01-16 15:18:56 +00:00
Alexander Alekhin
1f8802b94d
Merge pull request #16351 from hannesa2:finishAndroidVersionGradleStyle
2020-01-16 15:17:17 +00:00
Dmitry Kurtaev
8b9e8a805d
MVN support through nGraph
2020-01-16 18:15:31 +03:00
Alexander Alekhin
2b9cfe1e1c
Merge pull request #16257 from ianare:more-pythonic
2020-01-16 13:57:08 +00:00
Alexander Alekhin
358139b6b9
imgproc(dispatch): keep history of sumpixels.cpp
2020-01-16 15:09:10 +03:00
Alexander Alekhin
c6a622542d
imgproc: copy sumpixels.dispatch.cpp
2020-01-16 15:07:48 +03:00
Alexander Alekhin
4ecbcf0885
imgproc: copy sumpixels.simd.hpp
2020-01-16 15:06:34 +03:00
Alexander Alekhin
2638c5e9b7
dnn: dump layer's blobs on getMemoryShapes() error
2020-01-16 14:59:47 +03:00
Alexander Alekhin
ed377ac1e8
Merge pull request #16363 from JulienMaille:cuda-dnn-for-older-gpus
2020-01-16 11:08:05 +00:00
Julien
ced3df73da
Fix: rsqrt(float) was improperly put in the ifdef for half
2020-01-16 09:21:50 +01:00
Hannes Achleitner
4057e81b76
fix lint errors and warnings ins Android samples
2020-01-15 22:41:04 +01:00
Alexander Alekhin
24ca53183d
Merge pull request #16361 from alalek:android_fix_javadoc
2020-01-15 19:42:35 +00:00
YashasSamaga
fd369a5004
fix and optimize ROIPooling
2020-01-15 22:53:48 +05:30
Alexander Alekhin
f6137292f1
Merge pull request #16357 from dkurt:dnn_ie_reset_myriad
2020-01-15 17:03:09 +00:00
Alexander Alekhin
a90dacdf75
android: fix javadoc
2020-01-15 19:44:27 +03:00
Dmitry Kurtaev
d92a883de1
Different way to reset Myriad device
2020-01-15 18:52:37 +03:00
Alexander Alekhin
f6a8f7859c
Merge pull request #16354 from dkurt:dnn_ie_custom_cpu_layers
2020-01-15 15:33:18 +00:00
Julien
4e2ef8c8f5
Merge pull request #16218 from JulienMaille:cuda-dnn-for-older-gpus
...
Enable cuda4dnn on hardware without support for __half
* Enable cuda4dnn on hardware without support for half (ie. compute capability < 5.3)
Update CMakeLists.txt
Lowered minimum CC to 3.0
* UPD: added ifdef on new copy kernel
* added fp16 support detection at runtime
* Clarified #if condition on atomicAdd definition
* More explicit CMake error message
2020-01-15 18:28:37 +03:00
Alexander Alekhin
7cd3615f9f
Merge pull request #16353 from dkurt:uninitialized_value
2020-01-15 14:49:45 +00:00
Dmitry Kurtaev
7c741f54fa
Wrap custom OpenCV layers to try-catch
2020-01-15 17:44:38 +03:00
Dmitry Kurtaev
0d896af8ec
Fix uninitialized value
2020-01-15 12:58:12 +03:00
Hannes Achleitner
afc8dd5661
remove Eclipse relicts in Android sample
2020-01-15 07:19:58 +01:00
Hannes Achleitner
52f930cca7
finish Android version info to Gradle style
2020-01-15 06:34:42 +01:00
Alexander Alekhin
4cb9faf6c9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-01-14 17:04:22 +03:00
Alexander Alekhin
a67228cd73
Merge pull request #16291 from dkurt:dnn_onnx_graph_simplifier
2020-01-14 12:45:59 +00:00
Alexander Alekhin
f4daf14bfa
Merge pull request #16199 from sajarindider:computeGradientX
2020-01-14 12:42:28 +00:00
Alexander Alekhin
abe2ca886d
Merge pull request #16344 from l-bat:ngraph_normalize
2020-01-14 11:55:37 +00:00
sajarindider
4b93820880
Fixed small inefficiency in seamless clone init
2020-01-14 12:57:52 +03:00
Liubov Batanina
be86338a79
Enable acrossSpatial normalizeL2 on Myriad
2020-01-14 12:51:19 +03:00
Dmitry Kurtaev
c1c84d2fd1
ONNX graphs simplifier
2020-01-14 12:45:49 +03:00
Alexander Alekhin
3f27f8cf41
Merge pull request #16232 from dkurt:dnn_ie_ngraph_fix_myriad_tests
2020-01-13 16:59:45 +00:00
Vadim Levin
31289d2f32
Merge pull request #15915 from VadimLevin:dev/norm_fix
...
Fix implicit conversion from array to scalar in python bindings
* Fix wrong conversion behavior for primitive types
- Introduce ArgTypeInfo namedtuple instead of plain tuple.
If strict conversion parameter for type is set to true, it is
handled like object argument in PyArg_ParseTupleAndKeywords and
converted to concrete type with the appropriate pyopencv_to function
call.
- Remove deadcode and unused variables.
- Fix implicit conversion from numpy array with 1 element to scalar
- Fix narrowing conversion to size_t type.
* Fix wrong conversion behavior for primitive types
- Introduce ArgTypeInfo namedtuple instead of plain tuple.
If strict conversion parameter for type is set to true, it is
handled like object argument in PyArg_ParseTupleAndKeywords and
converted to concrete type with the appropriate pyopencv_to function
call.
- Remove deadcode and unused variables.
- Fix implicit conversion from numpy array with 1 element to scalar
- Fix narrowing conversion to size_t type.·
- Enable tests with wrong conversion behavior
- Restrict passing None as value
- Restrict bool to integer/floating types conversion
* Add PyIntType support for Python 2
* Remove possible narrowing conversion of size_t
* Bindings conversion update
- Remove unused macro
- Add better conversion for types to numpy types descriptors
- Add argument name to fail messages
- NoneType treated as a valid argument. Better handling will be added
as a standalone patch
* Add descriptor specialization for size_t
* Add check for signed to unsigned integer conversion safety
- If signed integer is positive it can be safely converted
to unsigned
- Add check for plain python 2 objects
- Add check for numpy scalars
- Add simple type_traits implementation for better code style
* Resolve type "overflow" false negative in safe casting check
- Move type_traits to separate header
* Add copyright message to type_traits.hpp
* Limit conversion scope for integral numpy types
- Made canBeSafelyCasted specialized only for size_t, so
type_traits header became unused and was removed.
- Added clarification about descriptor pointer
2020-01-13 18:11:34 +03:00
Alexander Alekhin
f163778da7
cmake: support OPENCV_ABI_SKIP_MODULES_LIST
2020-01-13 17:17:47 +03:00
Dmitry Kurtaev
8f1e36f7c1
Disable some tests for Myriad target of nGraph
...
Add lightweight IE hardware targets checks
nGraph: Concat with paddings
Enable more nGraph tests
Restore FP32->FP16 for GPU plugin of IE
try to fix buildbot
Use lightweight IE targets check only starts from R4
2020-01-13 15:35:47 +03:00
Alexander Alekhin
4cc458eb10
Merge pull request #16335 from berak:fix_ml_python_digits_samples_3.4
2020-01-13 12:16:40 +00:00
Anatoliy Talamanov
55f2370f36
Merge pull request #16221 from TolyaTalamanov:at/fix-g_typed_kernel_m
...
G-API: Fix G_TYPED_KERNEL_M macro
* Fix G_TYPED_KERNEL_M macro
* Fixes
* Fix windows build
* Fix doxygen
* Added several macros
* Add overloads for G_TYPED_KERNEL
2020-01-13 14:54:10 +03:00
berak
a718f2e6ea
ml/python: fix digits samples(3.4)
2020-01-13 12:26:28 +01:00
Alexander Alekhin
fb61f88b9c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-01-12 09:35:39 +00:00
Gourav Roy
38e6d668b1
Merge pull request #16276 from themechanicalcoder:video-tutorial
...
* Added java code for meanshift and optical_flow
* added java code for module video
* added appropriate spaces in codes
* converted absolute path to command line arguments
* added spaces at appropriate places
2020-01-12 11:34:59 +03:00
ihsan314
2c21ea2dd7
Merge pull request #14666 from ihsan314:file_io_xml_yml
...
Python code examples for file IO in xml and yml format
* Initial "Pythonization" of file_input_output.cpp
* Moved file_input_output.py to correct location
* Nearly done Pythonizing file_input_output.cpp
* Python equivalent of file_input_output.py created
* Started Pythonizing camera_calibration.cpp
* Completed Python tutorial/sample code for file_input_output
* Resolved whitespace issues
* Removed tabs in file_input_output.cpp
* Patched import order and wrapped code in main function
* Changed string to docstring format in help file
* Updated link to Python example code
2020-01-12 11:32:12 +03:00
Alexander Alekhin
a9f3acb125
core(simd): fix NEON alignmnet issue
2020-01-11 18:39:50 +00:00
Alexander Alekhin
993b9af756
Merge pull request #16270 from dkurt:dnn_sort_tf_text_graphs
2020-01-11 17:39:13 +00:00
Alexander Alekhin
e180cc050b
Merge pull request #16236 from alalek:fix_core_simd_emulator
...
* core: fix intrin_cpp, allow to build modules with SIMD emulator
* core(arithm): fix v_zero initialization
* core(simd): 'strict' types for binary/bitwise operations
* features2d: avoid aligned load issue in GCC 5.4 with emulated SIMD
* core(simd): alignment checks in SIMD emulator
2020-01-10 21:31:02 +03:00
Liubov Batanina
ea31a14cc5
Update sample
2020-01-10 16:33:17 +03:00
olramde
c75d93337e
Merge pull request #16240 from olramde:olramde
...
* Changed plus operator to os.path.join()
* Remove '/' from PATH
2020-01-10 16:18:31 +03:00
Alexander Alekhin
1e32781b54
Merge pull request #16302 from sthibaul:dlopen-glibc
2020-01-10 11:38:17 +00:00
Liubov Batanina
9ed372b297
Update get memory shapes
2020-01-10 14:09:08 +03:00
Liubov Batanina
4625337179
Add docs reduce mean
2020-01-10 12:49:06 +03:00
Liubov Batanina
e9e3af0aaa
Add global pool by axis test
2020-01-10 11:32:48 +03:00
Liubov Batanina
a33d50084d
Add global_pooling_dim flags
2020-01-10 09:01:57 +03:00
Liubov Batanina
7eba3a7c96
Add pack description
2020-01-09 13:59:35 +03:00
Alexander Alekhin
1a74de1f9c
Merge pull request #16300 from Palmitoxico:cmake-cmp0077
2020-01-08 21:52:30 +00:00
Augusto Fraga Giachero
2d778434f1
Enable cmake CMP0077 policy
...
When building OpenCV as a sub-project using cmake's add_subdirectory()
the OpenCV's build options would be overwritten to its default
state. With cmake 3.13+ the CMP0077 policy, option() honors previous
definitions via set().
2020-01-08 14:10:45 -03:00
Samuel Thibault
e57ceea3d3
Fix build on non-Linux glibc-based systems
...
dl functions are provided by all glibc-based systems (GNU/Linux, but
also GNU/Hurd, GNU/kFreeBSD)
2020-01-08 01:32:44 +01:00
Alexander Alekhin
8b43861217
Merge pull request #16289 from Nuzhny007:3.4
2020-01-07 22:13:39 +00:00
Nuzhny007
7d484d21f7
Fixed compilation on windows with openvx
2020-01-06 06:32:56 +03:00
Alexander Alekhin
74bc8d351c
Merge pull request #16265 from JanuszL:fix_bgr
2020-01-05 12:01:03 +00:00
Alexander Alekhin
1f2b2c5242
Merge pull request #16230 from YashasSamaga:cuda4dnn-fp-conversion
2020-01-05 11:59:33 +00:00
Janusz Lisiecki
178c4810e6
Fix swapped channels in BGR* conversion utility function
...
- some of `icvCvt_BGR*` functions have R with B channels
swapped what leads to the wrong conversion
- renames misleading `rgb` variable name to `bgr`
- swap back the conversion coefficients, `cB` should be the first
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com >
2020-01-05 00:06:36 +01:00
Ianaré Sévi
e4a64760db
make stitching script more pythonic
2020-01-04 00:41:03 +01:00
Paul E. Murphy
c1cdb2416a
imgproc(resize): improve 8u3 HResize vector exit calc
...
Actually, we can do this in constant time. xofs always
contains same or increasing offset values. We can instead
find the most extreme value used and never attempt to load it.
Similarly, we can note for all dx >= 0 and dx < (dwidth - cn)
where xofs[dx] + cn < xofs[dwidth-cn] implies dx < (dwidth - cn).
Thus, we can use this to control our loop termination optimally.
This fixes #16137 with little or no performance impact. I have
also added a debug check as a sanity check.
2020-01-03 14:46:59 -06:00
Alexander Alekhin
40ac72a8f1
Merge pull request #16238 from alalek:imgproc_resize_fix_types
2020-01-03 16:30:28 +00:00
hannesa2
43a91f82fe
Merge pull request #16222 from hannesa2:AndroidMoveVersionInfo
...
Android move version info to Gradle style
* move version info to Gradle style
* Use VERSION_NAME in loader
* apply review suggestion
2020-01-03 19:15:35 +03:00
Andrew Bruce
ccfca869e5
Merge pull request #16275 from andybrucenet:fix_vector_insert
...
* Ticket 16274: Fix compile error on std::vector.insert
* See https://github.com/opencv/opencv/issues/16274
2020-01-03 19:09:40 +03:00
Alexander Alekhin
f6ec467f19
copyright: 2020
2020-01-02 11:59:41 +00:00
Alexander Alekhin
039f5ca42e
copyright: 2020
2020-01-02 11:58:20 +00:00
Alexander Alekhin
1996ae4a42
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-31 10:11:39 +00:00
Alexander Alekhin
bb93066558
Merge pull request #16249 from alalek:check_size
2019-12-31 10:09:00 +00:00
Dmitry Kurtaev
f954f0830c
Sort text TensorFlow graphs
2019-12-31 11:43:32 +03:00
Alexander Alekhin
dec25e8531
Merge pull request #16264 from YashasSamaga:cuda4dnn-msvc-v140-workaround
2019-12-31 08:20:24 +00:00
Alexander Alekhin
7b28d5b409
Merge pull request #16263 from dkurt:dnn_tf_addv2
2019-12-30 22:56:11 +00:00
Alexander Alekhin
1df148aae9
Merge pull request #16258 from jed-frey:patch/python38-clock
2019-12-30 17:34:23 +00:00
YashasSamaga
48eecafc89
simplify code to help MSVC 19.10 and lower
2019-12-30 23:02:17 +05:30
Dmitry Kurtaev
76cfa65d55
AddV2 from TensorFlow
2019-12-30 20:06:58 +03:00
Jed
ef290366b0
Removed deprecated 'clock' import.
2019-12-30 13:00:29 +00:00
Alexander Alekhin
b4759d7272
Merge pull request #16251 from pwuertz:rtrees_set_rng
2019-12-29 22:30:39 +00:00
Peter Würtz
8aebef2459
Use global RNG for training RTrees.
2019-12-29 21:59:14 +01:00
Alexander Alekhin
7b12cbd7dc
Merge pull request #16254 from YashasSamaga:cuda4dnn-cudnn-optm-conv_bias_relu
2019-12-29 20:53:17 +00:00
YashasSamaga
01f97f150c
perfor fp conversions on GPU
2019-12-30 00:05:39 +05:30
YashasSamaga
17a35587e1
use optimized cuDNN path for conv + bias + relu
2019-12-29 13:08:38 +05:30
Alexander Alekhin
d76f24567b
Merge pull request #16250 from alalek:remove_moved_code
2019-12-28 21:59:19 +00:00
Liubov Batanina
752653c70b
Update global pooling
2019-12-28 18:03:40 +03:00
Alexander Alekhin
03a602b6ef
remove moved code
2019-12-28 13:57:11 +00:00
Alexander Alekhin
523f081923
core(check): add Size_<int>
2019-12-28 13:50:39 +00:00
Alexander Alekhin
9572895da0
Merge pull request #16237 from alalek:eliminate_build_warnings
2019-12-27 19:38:25 +00:00
Alexander Alekhin
515ec6b98a
Merge pull request #16247 from alalek:backport_16241
2019-12-27 16:20:52 +00:00
Alexander Alekhin
9ec3d76b21
Merge pull request #16241 from bwignall:typo
2019-12-27 16:18:57 +00:00
Alexander Alekhin
c4c94f891e
Merge pull request #16229 from hannesa2:RemoveAndroidEclipse
2019-12-27 13:41:38 +00:00
Alexander Alekhin
d16cf68a3b
Merge pull request #16242 from catree:add_Rodrigues_input_shape_check
2019-12-27 13:12:03 +00:00
Alexander Alekhin
4ebd91e637
Merge pull request #16226 from YashasSamaga:cuda4dnn-permute-optm
2019-12-27 13:01:43 +00:00
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
2019-12-27 12:46:53 +00:00
Alexander Alekhin
ccb7253818
Merge pull request #16243 from collinbrake:grammar_fixes_9
2019-12-27 11:13:08 +00:00
catree
badd0d1ff4
Add explicit size check for Rodrigues() function to prevent issue like https://stackoverflow.com/questions/58969553
2019-12-27 06:07:54 +01:00
Collin Brake
8b55f476be
grammar and readability improvements
2019-12-26 20:31:54 -05:00
Brian Wignall
659ffaddb4
Fix spelling typos
2019-12-26 06:45:03 -05:00
Alexander Alekhin
07729e396d
imgproc(resize): avoid unnecessary type conversions
2019-12-26 00:02:52 +00:00
Alexander Alekhin
d064079a4e
build: eliminate build warnings
2019-12-25 23:28:24 +00:00
Liubov Batanina
cf477f7e9f
Fix global axis
2019-12-24 16:42:00 +03:00
Liubov Batanina
543e0302d3
Support global pooling by axis
2019-12-24 16:16:58 +03:00
Liubov Batanina
ffa72fc979
Refactoring
2019-12-24 09:45:27 +03:00
Hannes Achleitner
2da7360b63
Remove Android Eclipse relicts
2019-12-24 07:38:12 +01:00
YashasSamaga
16bc505d26
improve reduction logic and add fast transpose kernel
2019-12-24 00:23:45 +05:30
Liubov Batanina
6e33769e56
Add human parsing demo
2019-12-23 15:47:20 +03:00
Alexander Alekhin
89d3f95a8e
Merge tag '4.2.0'
2019-12-20 17:06:45 +03:00
Alexander Alekhin
bda89a6469
release: OpenCV 4.2.0
2019-12-20 16:44:16 +03:00
shimat
ee4feb4b09
Merge pull request #16208 from shimat:fix_compare_16f
...
* add cv::compare test when Mat type == CV_16F
* add assertion in cv::compare when src.depth() == CV_16F
* cv::compare assertion minor fix
* core: add more checks
2019-12-20 16:38:51 +03:00
Yashas Samaga B L
1fac1421e5
Merge pull request #16010 from YashasSamaga:cuda4dnn-fp16-tests
...
* enable tests for DNN_TARGET_CUDA_FP16
* disable deconvolution tests
* disable shortcut tests
* fix typos and some minor changes
* dnn(test): skip CUDA FP16 test too (run_pool_max)
2019-12-20 16:36:32 +03:00
Alexander Alekhin
4de1efd3c8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-20 14:02:56 +03:00
Alexander Alekhin
5e2bcc9149
Merge tag '3.4.9'
2019-12-20 12:44:15 +03:00
Alexander Alekhin
545f8a8c93
Merge pull request #16205 from alalek:fix_dnn_test_data
2019-12-19 20:55:46 +00:00
Alexander Alekhin
97b6068c46
dnn(test): don't require downloaded data
2019-12-19 19:31:59 +00:00
Alexander Alekhin
64e6cf9fe5
release: OpenCV 3.4.9
2019-12-19 18:16:47 +03:00
Sajarin
ed788229ed
Merge pull request #16165 from sajarindider:macOS_install
...
* doc: added macOS installation guide
* doc: added clarification and corrections
* docs: introduction entry, lowercase file names and ids
2019-12-19 18:15:59 +03:00
Alexander Alekhin
71ef76ecad
Merge pull request #16201 from mshabunin:fix-dup-test
2019-12-19 14:43:53 +00:00
Alexander Alekhin
4c86fc13cb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-19 15:09:05 +03:00
Maksim Shabunin
b379969c63
Test: avoid duplicated test cases
2019-12-19 14:38:59 +03:00
Alexander Alekhin
9564aa1fdb
Merge pull request #16195 from alalek:tbb_version_2020
2019-12-19 10:55:31 +00:00
Alexander Alekhin
24b05cb308
Merge pull request #16196 from alalek:issue_13574
2019-12-19 10:35:54 +00:00
Alexander Alekhin
dff8e29f98
Merge pull request #16139 from alalek:core_flip_avoid_unaligned
2019-12-19 10:29:07 +00:00
Alexander Alekhin
4733a19bab
Merge pull request #16194 from alalek:fix_16192
...
* imgproc(test): resize(LANCZOS4) reproducer 16192
* imgproc: fix resize LANCZOS4 coefficients generation
2019-12-19 13:20:42 +03:00
jeffeDurand
5bf7345743
Merge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296
...
* cuda_mog2_issue_5296
2019-12-19 13:02:48 +03:00
Alexander Alekhin
4342657762
Merge pull request #16034 from Quantizs:irLoadFromBuffer
2019-12-19 10:00:07 +00:00
Sebastien Wybo
e801f0e954
Merge pull request #16011 from sebastien-wybo:fix_16007
...
* Fix #16007 - colinearity computed using all 3 coordinates
* calib3d(test): estimateAffine3D regression 16007
2019-12-19 12:59:18 +03:00
Alexander Alekhin
9cd1d087c3
android(camera2): apply .disconnectCamera() patch from issue 13574
2019-12-19 00:29:53 +00:00
Alexander Alekhin
8d22ac200f
core: workaround flipHoriz() alignment issues
2019-12-19 00:05:23 +00:00
Alexander Alekhin
28a5f7d66b
3rdparty: TBB version 2019u8 => 2020.0
2019-12-18 23:14:38 +00:00
Alexander Alekhin
a8345133ac
Merge pull request #16191 from terfendail:lres2c_fix
2019-12-18 22:31:52 +00:00
Vitaly Tuzov
f5a84f75c4
Fix for CV_8UC2 linear resize vectorization
2019-12-18 21:41:36 +00:00
Alexander Alekhin
b8e0898c7c
Merge pull request #16082 from YashasSamaga:cuda4dnn-roi-pooling
2019-12-18 14:41:58 +00:00
antalzsiroscandid
aa80f754f4
dnn: reading IR models from buffer
2019-12-18 15:31:08 +01:00
mcellis33
5d15c65e48
Merge pull request #16136 from mcellis33:mec-nan
...
* Handle det == 0 in findCircle3pts.
Issue 16051 shows a case where findCircle3pts returns NaN for the
center coordinates and radius due to dividing by a determinant of 0. In
this case, the points are colinear, so the longest distance between any
2 points is the diameter of the minimum enclosing circle.
* imgproc(test): update test checks for minEnclosingCircle()
* imgproc: fix handling of special cases in minEnclosingCircle()
2019-12-18 17:25:59 +03:00
Alexander Alekhin
f8b16fa293
Merge pull request #16188 from saskatchewancatch:issue-13551
2019-12-18 10:30:35 +00:00
Rajkiran Natarajan
af04b422c9
Change program type in hdr format files to modern value: RADIANCE so
...
modern readers that expect RADIANCE will read it
2019-12-17 20:17:32 -08:00
Alexander Alekhin
c97ff6c0f9
Merge pull request #16104 from alalek:issue_16095
2019-12-17 19:02:15 +00:00
Alexander Alekhin
61969dc158
Merge pull request #16171 from YashasSamaga:cuda4dnn-tensor-cores
2019-12-17 18:58:12 +00:00
Alexander Alekhin
8f910d2d49
Merge pull request #16083 from alalek:issue_14961
2019-12-17 12:03:55 +00:00
Alexander Alekhin
fd4fac946a
gapi(test): avoid using of unstable random floating-point input
2019-12-17 13:48:40 +03:00
Orest Chura
287874a444
Merge pull request #15942 from OrestChura:fb_tutorial
...
G-API: Tutorial: Face beautification algorithm implementation
* Introduce a tutorial on face beautification algorithm
- small typo issue in render_ocv.cpp
* Addressing comments rgarnov smirnov-alexey
2019-12-17 11:00:49 +03:00
Alexander Alekhin
c6c8783c60
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-16 21:30:30 +00:00
Tatsuro Shibamura
971ae00942
Merge pull request #16027 from shibayan:arm64-windows10
...
* Support ARM64 Windows 10 platform
* Fixed detection issue for ARM64 Windows 10
* Try enabling ARM NEON intrin
* build: disable NEON with MSVC compiler
* samples(directx): gdi32 dependency
2019-12-17 00:23:30 +03:00
Alexander Alekhin
a11f9e1963
Merge pull request #16177 from cudawarped:fix_python_cudaarithm
2019-12-16 20:14:31 +00:00
cudawarped
d427cebd12
Fix mistake introcuded in previous PR and increase test coverage to avod this happening again
2019-12-16 18:38:58 +00:00
Alexander Alekhin
e5b58b1020
Merge pull request #16172 from alalek:dnn_fix_keypoints_test
2019-12-16 16:17:02 +00:00
Alexander Alekhin
2c0d9fa81f
dnn(test): fix Test_Model.Keypoints* tests
2019-12-16 18:07:23 +03:00
YashasSamaga
cf93df41fc
enable tensor cores for fp16 convolutions
2019-12-16 15:38:12 +05:30
Alexander Alekhin
ba7b0f4c54
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-15 11:23:46 +00:00
Sajarin
21ee54c3d1
Merge pull request #16100 from sajarindider:brief
...
* (doc): added info about STAR
* (doc): fixed typos and sentence structure
* fixed trailing whitespaces
2019-12-15 12:42:19 +03:00
Alexander Alekhin
90a17cf964
Merge pull request #16159 from alalek:imgcodecs_bmp_ubsan_enum_handling
2019-12-15 09:28:08 +00:00
Yashas Samaga B L
17c485eb03
Merge pull request #16092 from YashasSamaga:cuda4dnn-conv-act-fuse
...
cuda4dnn: fuse activations with convolutions
* fuse ReLU, ReLU6, TanH, Sigmoid with conv
* fix OpenCL errors
* improve ReLU, add power, swish and mish
* fix missing fusion entries
* fix handling of unsetAttached
* remove whole file indentation
* optimize power = 1.0, use IDENTITY instead of NONE
* handle edge case: change backend and then clear
2019-12-14 22:26:58 +03:00
Alexander Alekhin
60ba6ef916
Merge pull request #16163 from alalek:fix_16122
2019-12-14 18:51:22 +00:00
Alexander Alekhin
424e1150ae
cmake: fix OpenCV_ARCH
2019-12-14 15:02:43 +00:00
Alexander Alekhin
d1c35e7b61
imgcodecs(bmp): make happy UBSAN with enum value range check
2019-12-13 18:51:46 +03:00
Xuanda Yang
3d60a9b96c
Merge pull request #16156 from TH3CHARLie:3.4
...
* Eltwise::DIV support in Halide backend
* fix typo
* remove div from generated test suite to pass CI, switching to manual test...
* ensure divisor not near to zero
* use randu
* dnn(test): update test data for Eltwise.Accuracy/DIV layer test
2019-12-13 18:29:39 +03:00
Diego
5b0b59ecfb
Merge pull request #15189 from dvd42:keypoints_module
...
Keypoints module
2019-12-13 18:00:06 +03:00
Alexander Alekhin
60f81032bb
Merge pull request #16157 from alalek:update_libwebp_1.0.3
...
* 3rdparty: update libwebp 1.0.2 => 1.0.3
https://github.com/webmproject/libwebp/releases/tag/v1.0.3
* 3rdparty(libwebp): re-apply patches
2019-12-13 17:54:42 +03:00
Alexander Alekhin
a45928045a
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
...
* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC
see CMP0023 (CMake 2.8.12+)
* cmake: fix 3rdparty list
- don't include OpenCV modules
2019-12-13 17:52:40 +03:00
Alexander Alekhin
f62241b780
Merge pull request #16148 from alalek:doxygen_update_config
2019-12-13 14:51:37 +00:00
Alexander Alekhin
43302c79ca
Merge pull request #16122 from alalek:cmake_update_cpu_compiler_detection
2019-12-13 14:51:19 +00:00
Alexander Alekhin
94f73ee680
Merge pull request #16153 from vsuyi:master
2019-12-13 13:43:58 +00:00
ysy
ff4d3d27dd
fix wrong method name
2019-12-13 19:54:53 +08:00
Alexander Alekhin
682653c6f8
doc: update doxygen configuration
2019-12-13 01:41:45 +00:00
Alexander Alekhin
c2b6c67431
Merge pull request #16141 from OrestChura:oc/fix-standalone-build
2019-12-12 18:34:12 +00:00
RAJKIRAN NATARAJAN
e6ce752da1
Merge pull request #15966 from saskatchewancatch:issue-15760
...
Add checks for empty operands in Matrix expressions that don't check properly
* Starting to add checks for empty operands in Matrix expressions that
don't check properly.
* Adding checks and delcarations for checker functions
* Fix signatures and add checks for each class of Matrix Expr operation
* Make it catch the right exception
* Don't expose helper functions to public API
2019-12-12 19:23:57 +03:00
atalaman
4a4ff6749b
Merge pull request #16080 from TolyaTalamanov:at/fix-mosaic-primitive
...
G-API: Mosaic handle corner cases
* Handle corner cases
* Fix mosaic algo
* Fix bug with empty rects
2019-12-12 19:10:14 +03:00
Dmitry Matveev
f270e8d040
Merge pull request #16066 from dmatveev:dm/gapi_slides
...
* G-API: Added G-API Overview slides & its source code
- Sample code snippets are moved to separate files;
- Introduced a separate benchmark to measure Fluid/OpenCV
performance;
- Added notes on API changes (it is still a 4.0, not a 4.2 talk!)
- Added a "Metropolis" beamer download-n-build script.
* G-API: Addressed review issues on G-API overview slides
2019-12-12 18:48:38 +03:00
OrestChura
3cd8976493
Fix standalone-gapi
2019-12-12 18:22:16 +03:00
Alexander Alekhin
92b9888837
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-12 13:02:19 +03:00
Paul Murphy
1c4a64f0a1
Merge pull request #16138 from pmur:reg_16137
...
* imgproc: Prevent 1B overrun of 8C3 SIMD optimization
The fourth value read via v_load_q is essentially ignored,
but can cause trouble if it happens to cross page boundaries.
The final few iterations may attempt to read the most extreme
elements of S, which will read 1B beyond the array in most
aligment cases. Dynamically compute the stop. This could be
hoised from the loop, but will require a more extensive change.
Likewise, cleanup the iteration increment statements to make
it more obvious they do channel count (3) elements per pass.
This should resolve #16137
* imgproc(resize): extra check
2019-12-12 13:00:44 +03:00
Alexander Alekhin
afa072578c
Merge pull request #16120 from alalek:python3.8
2019-12-11 17:18:51 +00:00
Alexander Alekhin
5ee7abbe3c
Merge pull request #16088 from alalek:dnn_eltwise_layer_different_src_channels
...
dnn(eltwise): fix handling of different number of channels
* dnn(test): reproducer for Eltwise layer issue from PR16063
* dnn(eltwise): rework support for inputs with different channels
* dnn(eltwise): get rid of finalize(), variableChannels
* dnn(eltwise): update input sorting by number of channels
- do not swap inputs if number of channels are same after truncation
* dnn(test): skip "shortcut" with batch size 2 on MYRIAD targets
2019-12-11 20:16:58 +03:00
Alexander Alekhin
121bc50ca9
Merge pull request #16130 from alalek:fix_build_gapi_gcc_4.x
2019-12-11 14:17:03 +00:00
Alexander Alekhin
f2cce5fd8c
Merge pull request #16125 from alalek:core_safe_xadd
2019-12-11 14:15:46 +00:00
Alexander Alekhin
7d61426279
Merge pull request #16124 from alalek:issue_13354
2019-12-11 14:15:23 +00:00
Alexander Alekhin
8b97c93f3d
Merge pull request #16123 from alalek:opencv_include_port_file
2019-12-11 14:15:04 +00:00
atalaman
0d19fa0720
Merge pull request #16062 from TolyaTalamanov:at/add-default-initlization-for-primitives
...
G-API: Add default initialization for primitives
* Add ctors for primitives
* Add description for constructors
2019-12-11 17:10:42 +03:00
Alexander Alekhin
2a11103a73
Merge pull request #16098 from alalek:dnn_clarify_error_getMemoryShapes
2019-12-11 14:02:15 +00:00
Alexander Alekhin
b8ef2036b0
Merge pull request #16091 from dkurt:png_to_dot
2019-12-11 14:01:39 +00:00
Alexander Alekhin
8b9982a0a5
Merge pull request #16086 from alalek:gapi_test_bitwise_not_exclude_32f
2019-12-11 14:00:59 +00:00
Alexander Alekhin
15612ebd39
python: enable Python 3.8
2019-12-11 16:52:38 +03:00
Alexander Alekhin
d1bb2055da
Merge pull request #16121 from shimat:fix_voronoi_typo
2019-12-11 12:30:47 +00:00
Alexander Alekhin
6b6c2f6087
gapi: fix build with GCC 4.8
2019-12-11 13:31:50 +03:00
Alexander Alekhin
416848066c
core: provide safe implementations of CV_XADD() only
2019-12-11 00:48:45 +00:00
Alexander Alekhin
76b5e19eb3
core: add "namespace cv" in CV_StaticAssert fallback implementation
2019-12-11 00:35:13 +00:00
Alexander Alekhin
a675c4937a
core: OPENCV_INCLUDE_PORT_FILE for custom platform configuration
2019-12-11 00:31:45 +00:00
Alexander Alekhin
6ea29a7696
cmake: prefer using CMAKE_SYSTEM_PROCESSOR / CMAKE_SIZEOF_VOID_P
...
Drop:
- discouraged CMAKE_CL_64
- MSVC64
- MINGW64
2019-12-11 00:21:10 +00:00
shimat
b89581960c
s/Voroni/Voronoi/g
2019-12-11 09:13:58 +09:00
Alexander Alekhin
4ec4ec844f
python: fix issue with bindings loading on Python 3.8
2019-12-10 19:00:10 +00:00
Alexander Alekhin
e47f3e5bcc
Merge pull request #16109 from pixelb:gcc-9-pch
2019-12-10 16:29:07 +00:00
Alexander Alekhin
9a27901edc
Merge pull request #16117 from mshabunin:fix-hist-args-34
2019-12-10 15:14:22 +00:00
Pádraig Brady
7b298b0995
Fix pch generation when linker flags used with GCC
...
-c is required to avoid linking (and the associated missing "main" message)
when linker flags like "-Wl,-z,relro" are passed to GCC
2019-12-10 14:55:56 +00:00
Maksim Shabunin
435c97c7a2
imgproc: add parameter checks in calcHist and calcBackProj
2019-12-10 16:10:19 +03:00
Alexander Alekhin
939099b9ce
Merge pull request #16107 from dkurt:dnn_ie_ngraph_v1_conv
2019-12-10 12:10:50 +00:00
Alexander Alekhin
2a19db0f0a
Merge pull request #16106 from dkurt:dnn_ie_ngraph_weights_fusion
2019-12-10 12:08:04 +00:00
Dmitry Kurtaev
fe77223dee
Modify nGraph's ConvolutionBackpropData and GroupConvolution
2019-12-10 14:14:00 +03:00
Dmitry Matveev
9a18330f3a
Merge pull request #16081 from dmatveev:dm/ocv42_gapi_bugfixes
...
G-API: Fix various issues for 4.2 release
* G-API: Fix issues reported by Coverity
- Fixed: passing values by value instead of passing by reference
* G-API: Fix redundant std::move()'s in return statements
Fixes #15903
* G-API: Added a smarter handling of Stop messages in the pipeline
- This should fix the "expected 100, got 99 frames" problem
- Fixes #15882
* G-API: Pass enum instead of GKernelPackage in Streaming test parameters
- Likely fixes #15836
* G-API: Address review issues in new bugfix comments
2019-12-10 13:31:42 +03:00
Dmitry Matveev
c89780dfe0
Merge pull request #16039 from dmatveev:dm/gapi_tutorial_interactive_face_detection
...
* G-API-NG/Docs: Added a tutorial page on interactive face detection sample
- Introduced a "--ser" option to run the pipeline serially for
benchmarking purposes
- Reorganized sample code to better fit the documentation;
- Fixed a couple of issues (mainly typos) in the public headers
* G-API-NG/Docs: Reflected meta-less compilation in new G-API tutorial
* G-API-NG/Docs: Addressed review comments on Face Analytics Pipeline example
2019-12-10 00:30:10 +03:00
Yashas Samaga B L
3fddd3bf93
Merge pull request #16069 from YashasSamaga:cuda4dnn-crop_and_resize
...
add CropAndResize layer for CUDA backend
* add CropAndResize layer
* process multiple channels per iteration
2019-12-09 22:26:58 +03:00
Alexander Alekhin
45f6931352
Merge pull request #16089 from dkurt:dnn_ie_fix_fpga
2019-12-09 19:26:00 +00:00
RAJKIRAN NATARAJAN
b9435b9e38
Merge pull request #16094 from saskatchewancatch:issue-16053
...
* Add eps error checking for approxPolyDP to allow sensible values only
for epsilon value of Douglas-Peucker algorithm.
* Review changes for PR
2019-12-09 22:24:35 +03:00
Alexander Alekhin
a2642d83d3
Merge pull request #16093 from alalek:core_itt_thread_name_16072
2019-12-09 18:29:53 +00:00
Alexander Alekhin
a4cb914656
Merge pull request #16101 from dkurt:dnn_ie_ngraph_detection_output
2019-12-09 18:29:24 +00:00
Alexander Alekhin
2817cbe450
Merge pull request #16102 from asmorkalov:as/xperience_c
2019-12-09 18:28:29 +00:00
Dmitry Kurtaev
c2ca3ee2fa
Fix weights fusion for Convolution and Deconvolution layers in nGraph
2019-12-09 19:06:47 +03:00
Alexander Alekhin
13bc55a015
calib3d: clarify error messages in collectCalibrationData()
2019-12-09 18:36:13 +03:00
Alexander Alekhin
b505cf84de
Merge pull request #16096 from YashasSamaga:cuda4dnn-region-optimize
2019-12-09 14:34:48 +00:00
Yashas Samaga B L
476a02739e
Merge pull request #16097 from YashasSamaga:cuda4dnn-optimize-resize-bilinear
...
cuda4dnn(resize): process multiple channels each iteration
* resize bilinear: process multiple chans. per iter.
* remove unused headers
* correct dispatch logic
* resize_nn: process multiple chans. per iter.
2019-12-09 17:31:27 +03:00
Alexander Alekhin
544ceedcac
Merge pull request #16103 from alalek:videoio_ffmpeg_wrapper_version_check
2019-12-09 14:15:38 +00:00
Alexander Smorkalov
766465ce94
Added Xperience.AI to copyright file.
2019-12-09 15:58:24 +03:00
Paul Murphy
a011035ed6
Merge pull request #15257 from pmur:resize
...
* resize: HResizeLinear reduce duplicate work
There appears to be a 2x unroll of the HResizeLinear against k,
however the k value is only incremented by 1 during the unroll. This
results in k - 1 duplicate passes when k > 1.
Likewise, the final pass may not respect the work done by the vector
loop. Start it with the offset returned by the vector op if
implemented. Note, no vector ops are implemented today.
The performance is most noticable on a linear downscale. A set of
performance tests are added to characterize this. The performance
improvement is 10-50% depending on the scaling.
* imgproc: vectorize HResizeLinear
Performance is mostly gated by the gather operations
for x inputs.
Likewise, provide a 2x unroll against k, this reduces the
number of alpha gathers by 1/2 for larger k.
While not a 4x improvement, it still performs substantially
better under P9 for a 1.4x improvement. P8 baseline is
1.05-1.10x due to reduced VSX instruction set.
For float types, this results in a more modest
1.2x improvement.
* Update U8 processing for non-bitexact linear resize
* core: hal: vsx: improve v_load_expand_q
With a little help, we can do this quickly without gprs on
all VSX enabled targets.
* resize: Fix cn == 3 step per feedback
Per feedback, ensure we don't overrun. This was caught via the
failure observed in Test_TensorFlow.inception_accuracy.
2019-12-09 14:54:06 +03:00
Alexander Alekhin
734de34b7a
Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug
...
* imgproc(IPP): wrong result from threshold(THRESH_TOZERO)
* imgproc(IPP): disable IPP code to pass THRESH_TOZERO test
2019-12-09 14:51:02 +03:00
Alexander Alekhin
e0e683aedf
videoio(plugins): relax version check for FFmpeg wrapper on Windows
2019-12-09 14:47:38 +03:00
Dmitry Kurtaev
883c4c60c3
Remove Dummy layer
2019-12-09 12:49:47 +03:00
Alexander Alekhin
b1b505f783
dnn: clarify error message from getMemoryShapes()
2019-12-08 22:17:24 +00:00
Yashas
dd3f517fe9
optimize region kernels
2019-12-08 21:03:30 +05:30
Alexander Alekhin
65d606630d
Merge pull request #16084 from alalek:issue_15784
2019-12-07 22:33:11 +00:00
Alexander Alekhin
816f82682b
core(trace/itt): avoid calling __itt_thread_set_name() by default
...
- don't override current application thread names
- set name for own threads only
2019-12-07 21:41:15 +00:00
Dmitry Kurtaev
ad56838040
Replace .png to .dot
2019-12-07 15:03:28 +03:00
Alexander Alekhin
202ba124a5
Merge pull request #16087 from YashasSamaga:cuda4dnn-eltwise-div
2019-12-06 18:33:55 +00:00
Lubov Batanina
629d47fcd8
Merge pull request #15988 from l-bat:custom_layer
...
Test create custom layer in python
* check is contiguos
* Add custom layer test
* Fix test
* Remove assert
* Move assert to pyopencv dnn
* remove assert
* Add unregister
* Fix python2
* proto to bytearray
* Fix data type
2019-12-06 21:29:57 +03:00
Dmitry Kurtaev
beb5b291b9
Fix HETERO:FPGA,CPU plugin for IE backend
2019-12-06 19:35:11 +03:00
YashasSamaga
a91eca6ec2
add DIV support to EltwiseOp
2019-12-06 21:28:36 +05:30
Alexander Alekhin
c0503718cd
gapi(test): exclude 32F from bitwise_not case
2019-12-06 18:12:45 +03:00
Alexander Alekhin
51d54ad4f0
Merge pull request #16076 from l-bat:prior_ngraph
2019-12-06 14:08:21 +00:00
Alexander Alekhin
1ddcfc5c68
gapi: update CMakeLists.txt, fix TBB dependency handling
2019-12-06 16:36:42 +03:00
YashasSamaga
9b8ddba4d1
add ROIPoolingOp
2019-12-06 18:19:37 +05:30
Dmitry Matveev
b2b6f52d14
Merge pull request #16050 from dmatveev:dm/ocv42_gapi_doc_fixup
...
* G-API: Addressed various documentation issues
- Fixed various typos and missing references;
- Added brief documentaion on G_TYPED_KERNEL and G_COMPOUND_KERNEL macros;
- Briefly described GComputationT<>;
- Briefly described G-API data objects (in a group section).
* G-API: Some clean-ups in doxygen, also a chapter on Render API
* G-API: Expose more graph compilation arguments in the documentation
* G-API: Address documentation review comments
2019-12-06 15:36:02 +03:00
Alexander Alekhin
fb5db23463
Merge pull request #16079 from alalek:imgproc_color_clarify_error_message
2019-12-06 12:33:07 +00:00
Alexander Alekhin
0a35b97e75
Merge pull request #16070 from dkurt:backport_15611
2019-12-06 12:32:22 +00:00
Alexander Alekhin
15621532b8
Merge pull request #16077 from dmatveev:dm/gapi_narg_combine
2019-12-06 12:31:30 +00:00
Alexander Alekhin
774d28efb1
Merge pull request #16078 from alalek:update_version_4.2.0-pre
2019-12-06 11:26:11 +00:00
Alexander Alekhin
eea517be92
Merge pull request #16071 from alalek:update_version_3.4.9-pre
2019-12-06 11:25:05 +00:00
Alexander Alekhin
b369c456f2
imgproc(color): clarify error message
2019-12-06 13:25:51 +03:00
Alexander Alekhin
c3023fb52b
pre: OpenCV 4.2.0 (version++)
2019-12-06 12:58:57 +03:00
Liubov Batanina
660a709840
Support Swish and Mish activations
2019-12-06 11:27:59 +03:00
Dmitry Matveev
ccf415c341
G-API: Added an arbitrary-argument version of cv::gapi::combine
...
- Now user doesn't need to do `combine(x, combine(y, combine(z, zz)))` but
just `combine(x, y, z, zz)`
2019-12-06 10:47:50 +03:00
Liubov Batanina
d99d18304a
Slice v1 op
2019-12-06 09:56:21 +03:00
Alexander Alekhin
76a27e3399
pre: OpenCV 3.4.9 (version++)
2019-12-05 18:28:38 +00:00
Dmitry Kurtaev
134094a442
Backport fix for autodetection of input shapes
2019-12-05 19:25:51 +03:00
Alexander Alekhin
8108fb0575
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-05 18:27:45 +03:00
Alexander Alekhin
c790779a37
Merge pull request #16024 from alalek:issue_15953
2019-12-05 14:23:48 +00:00
Alexander Alekhin
72f35e0626
Merge pull request #16052 from alalek:issue_16040
...
* calib3d: use normalized input in solvePnPGeneric()
* calib3d: java regression test for solvePnPGeneric
* calib3d: python regression test for solvePnPGeneric
2019-12-05 15:36:39 +03:00
Alexander Alekhin
f21bde4d9f
Merge pull request #16046 from alalek:issue_15990
...
* core: disable invalid constructors in C API by default
- C API objects will lose their default initializers through constructors
* samples: stop using of C API
2019-12-05 14:48:18 +03:00
Alexander Alekhin
986c5084a4
Merge pull request #16036 from dkurt:dnn_backport_15203
2019-12-05 09:56:00 +00:00
Alexander Alekhin
38180c2c97
Merge pull request #16014 from dkurt:dnn_ie_pooling_with_indices
2019-12-05 09:52:03 +00:00
Alexander Alekhin
95e36fd488
Merge pull request #16055 from alalek:issue_16041
2019-12-05 07:54:17 +00:00
Alexander Alekhin
36c9f7c3df
Merge pull request #16061 from alalek:bindings_parser_support_simple_if
2019-12-04 19:13:22 +00:00
Dmitry Kurtaev
d8e10f3a8d
Enable MaxPooling with indices in Inference Engine
2019-12-04 19:14:55 +03:00
cudawarped
b4a3c92867
Merge pull request #15957 from cudawarped:fix_cudacodec_python
...
Fix cudacodec python
* Add python bindings to cudacodec.
* Allow args with CV_OUT GpuMat& or CV_OUT cuda::GpuMat& to generate python bindings that allow the argument to be an optional output in the same way as OutputArray.
* Add wrapper flag to indicate that an OutputArray is a GpuMat.
* python: drop CV_GPU, extra checks in test
* Remove "cuda::GpuMat" check rom python parser
2019-12-04 18:57:58 +03:00
Alexander Alekhin
72315e7b00
Merge pull request #16045 from YashasSamaga:cuda4dnn-hotfix-log1p-expm1
2019-12-04 15:50:07 +00:00
Alexander Alekhin
1633c29f29
Merge pull request #16037 from alalek:dnn_test_fix_skip_vulkan
2019-12-04 15:49:47 +00:00
Alexander Alekhin
4dfa0a0383
bindings: basic support for #if preprocessor directives
...
- #if 0
- #ifdef __OPENCV_BUILD
2019-12-04 18:42:31 +03:00
Alexander Alekhin
818585fd12
core(tls): unblock TlsAbstraction destructor call
...
- required to unregister callbacks from system
2019-12-04 08:27:01 +00:00
Alexander Alekhin
529a241a26
Merge pull request #15972 from TolyaTalamanov:at/ftext-primitive
2019-12-03 20:09:21 +00:00
Pinaev Danil
5e3a7ac8a7
Merge pull request #16031 from aDanPin:dm/streaming_auto_meta
...
G-API-NG/Streaming: don't require explicit metadata in compileStreaming()
* First probably working version
Hardcode gose to setSource() :)
* Pre final version of move metadata declaration from compileStreaming() to setSource().
* G-API-NG/Streaming: recovered the existing Streaming functionality
- The auto-meta test is disabling since it crashes.
- Restored .gitignore
* G-API-NG/Streaming: Made the meta-less compileStreaming() work
- Works fine even with OpenCV backend;
- Fluid doesn't support such kind of compilation so far - to be fixed
* G-API-NG/Streaming: Fix Fluid to support meta-less compilation
- Introduced a notion of metadata-sensitive passes and slightly
refactored GCompiler and GFluidBackend to support that
- Fixed a TwoVideoSourcesFail test on streaming
* Add three smoke streaming tests to gapi_streaming_tests.
All three teste run pipeline with two different input sets
1) SmokeTest_Two_Const_Mats test run pipeline with two const Mats
2) SmokeTest_One_Video_One_Const_Scalar test run pipleline with Mat(video source) and const Scalar
3) SmokeTest_One_Video_One_Const_Vector test run pipeline with Mat(video source) and const Vector
# Please enter the commit message for your changes. Lines starting
* style fix
* Some review stuff
* Some review stuff
2019-12-03 19:14:13 +03:00
Alexander Alekhin
eb44e0a556
Merge pull request #16028 from catree:improve_calib3d_doc
2019-12-03 12:34:10 +00:00
Talamanov, Anatoliy
63b154396a
Implement cv::gapi::wip::draw::FText
2019-12-03 13:13:06 +03:00
YashasSamaga
fbb3f64a1a
fix expm1 and log1p for __half/__half2
2019-12-03 15:25:35 +05:30
Alexander Alekhin
0dc0bc80ae
dnn(test): fix Vulkan skip test tag
2019-12-02 18:22:10 +03:00
Dmitry Kurtaev
ca1ba7a53d
Backport for dnn input shape estimation
2019-12-02 16:28:59 +03:00
Alexander Alekhin
4b0132ed7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-02 16:26:52 +03:00
Lubov Batanina
7523c777c5
Merge pull request #15537 from l-bat:ngraph
...
* Support nGraph
* Fix resize
2019-12-02 16:16:06 +03:00
catree
43d58aa760
Improve calib3d documentation:
...
- add reference to Rodrigues Jacobian
- add references to SE(3) and Lie Groups topics
- update some conventions and pinhole figure
2019-12-02 03:04:56 +01:00
Alexander Alekhin
20ac7f40f6
Merge pull request #16025 from dkurt:thebhatman/Mish_swish_3.4
2019-12-01 21:07:26 +00:00
Manjunath Bhat
78c5e41c23
Merge pull request #15808 from thebhatman:Mish_swish
...
* Added Swish and Mish activations
* Fixed whitespace errors
* Kernel implementation done
* Added function for launching kernel
* Changed type of 1.0
* Attempt to add test for Swish and Mish
* Resolving type mismatch for log
* exp from device
* Use log1pexp instead of adding 1
* Added openCL kernels
2019-12-02 00:06:17 +03:00
thebhatman
8a18d132fc
Port Swish and Mish layers
2019-12-01 11:55:39 +03:00
Alexander Alekhin
9a4404276a
calib3d: revert stereoRectify() changes from PRs: 6836, 6972, 6955
...
(1/4) Revert "Correct image borders and principal point computation in cv::stereoRectify"
This reverts commit 93ff1fb2f2 .
(2/4) Revert "fix calib3d changes in 6836 plus some others"
This reverts commit fa42a1cfc2 .
(3/4) Revert "fix compiler warning"
This reverts commit b3d55489d3 .
(4/4) Revert "add test for 6836"
This reverts commit d06b8c4ea9 .
2019-11-30 23:37:49 +00:00
Alexander Alekhin
f5b9705c70
Merge pull request #16006 from sajarindider:typo
2019-11-30 20:20:56 +00:00
sajarindider
101a147496
fixed Scheimpflug typo
2019-11-30 18:52:23 +00:00
Alexander Alekhin
01a28db949
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-29 18:57:33 +03:00
Vadim Levin
8d74101f07
Merge pull request #15955 from VadimLevin:dev/vlevin/generator_tests
...
Tests for argument conversion of Python bindings generator
* Tests for parsing elemental types from Python bindings
- Add positive and negative tests for int, float, double, size_t,
const char*, bool.
- Tests with wrong conversion behavior are skipped.
* Move implicit conversion of bool to integer/floating types to wrong
conversion behavior.
2019-11-29 16:24:13 +03:00
Alexander Alekhin
41af8aa046
Merge pull request #16017 from berak:fix_svm_train_auto
2019-11-29 11:38:22 +00:00
berak
0dfab6bbd0
ml: fix check in SVM::trainAuto
2019-11-28 20:33:58 +01:00
Pinaev Danil
53b6fb465c
Merge pull request #15695 from aDanPin:dp/incorrect_use_of_muve_fix
...
Fix incorrect use of std::move() in g-api perf tests
* First version
* Fix perfomace tests
Replace
c.apply(...);
with
cc = c.compile(...);
cc(...);
* Remove output meta arguments from .compile()
* Style fix
* Remove useless commented string
* Stick to common pattern : i.e. use gin() and gout() explicitly.
* Use cc(gin(...), gout(...)) in all cases.
2019-11-28 16:25:20 +03:00
Alexander Alekhin
873250f5de
Merge pull request #15998 from alalek:ts_count_skip_exception
2019-11-27 19:23:27 +00:00
Alexander Alekhin
6c37e10c83
Merge pull request #15994 from SSteve:affine_transform_docs
2019-11-27 19:23:09 +00:00
Alexander Alekhin
70146700aa
Merge pull request #15839 from alalek:core_simd_v_setall_template
2019-11-27 19:19:35 +00:00
atalaman
a7acb8805f
Merge pull request #15869 from TolyaTalamanov:at/plaidml-backend
...
G-API: Implement PlaidML2 backend
* PlaidML backend init version
* Add test
* Support multiply inputs/outputs in PlaidML2 backend
* Fix comment to review
* Add HAVE_PLAIDML macros
* Move plaidml tests to separate file
* Fix comment to review
* Fix cmake warning
* Fix comments to review
* Fix typos
overload -> overflow
* Fix comments to review
* Clean up
* Remove spaces from cmake scripts
* Disable tests with bitwise operations
* Use plaidml::exec::Binder
2019-11-27 18:21:00 +03:00
Dmitry Matveev
fb5e7964b3
Merge pull request #15753 from dmatveev:dm/ng-5000-security_barrier-interactive_face
...
G-API: Introduced Security Barrier & Interactive Face Detection samples
* G-API-NG/Samples: Added samples & relevant changes
- Security barrier camera sample
- Age/Gender/Emotions recognition sample
- GIEBackend now loads CPU extension libraries
- A couple of API-level workarounds added to deal with cv::Mat/Blob conversions
* G-API-NG/Samples: removed HAVE_INF_ENGINE remnants
2019-11-27 17:54:17 +03:00
Alexander Alekhin
5af747c6fd
Merge pull request #16001 from alalek:backport_15995
2019-11-26 18:35:28 +00:00
Alexander Alekhin
d9efb55d29
Merge pull request #15995 from bwignall:typo
2019-11-26 15:52:04 +00:00
Alexander Alekhin
17dfae77af
Merge pull request #15991 from collinbrake:feature_grammar_fixes_8
2019-11-26 15:48:22 +00:00
Brian Wignall
af997529a1
Fix some typos
2019-11-26 18:41:19 +03:00
Alexander Alekhin
5639f5a296
ts: count skipped tests via SkipTestException
...
- apply tag 'skip_other'
2019-11-26 18:34:04 +03:00
Brian Wignall
9276f1910b
Fix some typos
2019-11-25 19:55:07 -05:00
Steve Nicholson
0c644d1ec8
Rename parameter R to H in AffineWarper member declarations
2019-11-25 16:31:03 -08:00
Alexander Alekhin
a093a0e05c
Merge pull request #15986 from dkurt:fix_15863
2019-11-25 20:04:47 +00:00
Alexander Alekhin
cdc469786c
Merge pull request #15978 from alalek:videoio_refactor_v4l
2019-11-25 20:04:25 +00:00
Maksim Shabunin
5ff1fababc
Merge pull request #15959 from mshabunin:refactor-ml-tests
...
ml: refactored tests
* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
2019-11-25 23:03:16 +03:00
Collin Brake
6276b86a78
grammar corrections
2019-11-25 13:49:09 -05:00
Dmitry Kurtaev
6e14cc2189
Resolve https://github.com/opencv/opencv/issues/15863
2019-11-24 21:59:25 +03:00
Alexander Alekhin
9e906d9e21
Merge pull request #15980 from SSteve:doxygen_links
2019-11-24 09:39:48 +00:00
Steve Nicholson
dc4af58be0
Update links to Doxygen website
2019-11-23 22:23:17 -08:00
Alexander Alekhin
4a3ab8fbdb
Merge pull request #15975 from SSteve:ios_install
2019-11-23 22:59:01 +00:00
Steve Nicholson
b38547ee9a
Update and add information to iOS build instructions.
2019-11-23 13:53:08 -08:00
Alexander Alekhin
501ff7f056
videoio(v4l2): use logging, update handling of EBUSY, device closing
...
- DEBUG logging compilation is enabled for all videoio backends
- eliminate output through perror(), stderr
2019-11-23 10:36:43 +00:00
Alexander Alekhin
ad0ab4109a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-22 22:47:13 +00:00
Vadim Levin
373160ce00
Merge pull request #15973 from VadimLevin:dev/vlevin/video_capture_inf_loop
...
* Fix infinite loop when trying to change state of the busy camera
- Add finite number of attempts in tryIoctl functions
10 by default.
* Introduced new flag for ioctl call to handle EBUSY
2019-11-23 01:10:16 +03:00
Alexander Alekhin
50ac880335
Merge pull request #15971 from alalek:core_kmeans_handle_overflow
2019-11-22 21:36:02 +00:00
Natsu
54e6f5c237
Merge pull request #15970 from akemimadoka:master
...
* Fix android armv7 c++_static init crash
* core: move initialization of 'ios_base::Init' for Android
2019-11-22 18:42:25 +03:00
Alexander Alekhin
3266ac7667
core(kmeans): bailout if can't select cluster center
2019-11-22 14:40:02 +00:00
Alexander Alekhin
ca28274895
Merge pull request #15968 from alalek:fix_msa_build
2019-11-21 17:36:10 +00:00
Alexander Alekhin
ec55b6f6db
core: fix MSA build
2019-11-21 18:59:41 +03:00
Alexander Alekhin
16ad53f354
Merge pull request #15962 from alalek:dnn_fix_ie_opencvlayer
2019-11-21 13:04:09 +00:00
Alexander Alekhin
86042af108
dnn: fix registration of custom OpenCVLayer
...
- do not require extensions library
2019-11-20 21:42:26 +00:00
Alexander Alekhin
e459a5108c
Merge pull request #15951 from alalek:python_reduce_code_size
2019-11-20 19:05:15 +00:00
Alexander Alekhin
a2aa8db5a9
Merge pull request #15956 from lorenzolightsgdwarf:dnn_fix_tf_ssd
2019-11-20 15:43:32 +00:00
Everton Constantino
75315fb297
Merge pull request #15494 from everton1984:hal_vector_get_n
...
Improving VSX performance of integral function
* Adding support for vector get function on VSX datatypes so the
integral function gains a bit of performance.
* Removing get as a datatype member function and implementing a new HAL
instruction v_extract_n to get the n-th element of a vector register.
* Adding SSE/NEON/AVX intrinsics.
* Implement new HAL instruction v_broadcast_element on VSX/AVX/NEON/SSE.
* core(simd): add tests for v_extract_n/v_broadcast_element
- updated docs
- commented out code to repair compilation
- added WASM and MSA default implementations
* core(simd): fix compilation
- x86: avoid _mm256_extract_epi64/32/16/8 with MSVS 2015
- x86: _mm_extract_epi64 is 64-bit only
* cleanup
2019-11-20 13:41:07 +03:00
Lorenzo Lucignano
c40fbad12e
Samples DNN: tf_text_graph_sd.py loads box coder variance and box NMS params from config file
2019-11-20 10:45:57 +01:00
Alexander Alekhin
a4d16acd00
Merge pull request #15950 from alalek:ffmpeg_update_master
2019-11-20 07:32:06 +00:00
Alexander Alekhin
5d96f984b1
python: reduce code size of cv2.cpp
2019-11-19 22:43:28 +00:00
Alexander Alekhin
744798aadd
ffmpeg/4.x: update FFmpeg plugin
2019-11-19 22:04:44 +00:00
Alexander Alekhin
318cba4ce3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-19 19:48:49 +00:00
Alexander Alekhin
9d14c0b37a
Merge pull request #15939 from alalek:ffmpeg_update_3.4
2019-11-19 18:45:39 +00:00
Alexander Alekhin
2f636b4456
Merge pull request #15918 from alalek:python_debug_parameter
2019-11-19 18:39:56 +00:00
Alexander Alekhin
e07a488012
Merge pull request #15925 from alalek:core_test_simd_cpp_emulation
...
core(test): extending tests with SIMD C++ emulation code (intrin_cpp.hpp)
* core(test): test SIMD CPP emulation code (intrin_cpp.hpp)
* core(simd): eliminate build warnings from intrin_cpp.hpp
2019-11-19 21:08:45 +03:00
Alexander Alekhin
77bf5593e5
Merge pull request #15946 from alalek:fix_js_test_features2d
2019-11-19 14:25:28 +00:00
Alexander Alekhin
26513285dd
Merge pull request #15945 from alalek:dnn_ie_extension_handling
2019-11-19 14:25:12 +00:00
Alexander Alekhin
de64db3064
Merge pull request #15919 from alalek:python_fix_arginfo
2019-11-19 13:24:58 +00:00
Alexander Alekhin
cf93217365
Merge pull request #15935 from rgarnov:rg/fix_own_mat_empty
2019-11-19 11:08:19 +00:00
Alexander Alekhin
ec8db970f9
js(test): update features2d test
2019-11-19 07:40:12 +00:00
Alexander Alekhin
09d54c9f52
dnn: update InferenceEngine extension handling
2019-11-19 06:55:14 +00:00
Alexander Alekhin
d00eb451bf
ffmpeg/3.4: update FFmpeg wrapper
2019-11-18 19:13:45 +00:00
Alexander Alekhin
3f431a16a3
videoio: fix ffmpeg wrapper build
2019-11-18 18:56:57 +00:00
Alexander Alekhin
593e240d7c
Merge pull request #15938 from alalek:backport_15290
2019-11-18 18:26:00 +00:00
Alexander Alekhin
fb9d59ab15
Merge pull request #15937 from clunietp:3.4-fix-13577
2019-11-18 18:23:48 +00:00
cudawarped
aff8c9bd28
videoio: retrieve encoded frames through FFmpeg backend
...
- backport 15290
- add extra test case
2019-11-18 19:23:19 +03:00
cudawarped
0867e3188d
Merge pull request #15290 from cudawarped:ffmpeg_raw_retrieve
...
Add retrieve encoded frame to VideoCapture
* Add capacity to retrieve the encoded frame from a VideoCapture object.
* Correct raw codec and pixle format output from ffmpeg capture.
* Remove warnings from build.
* Added VideoCaptureRaw subclass.
* Include abstract base class VideoCaptureBase and rename new subclass VideoContainer as suggested by mshabunin.
* Remove using.
* Change base class name for compatibility with jave bindings generator.
* Move grab and retrieve and add override specifier
* Add setRaw and readRaw to IVideoCapture interface
-setRaw to disable video decoding and enable bitstream filters from mp4 to h254 and h265.
-readRaw to return the raw undecoded/filtered bitstream.
Add createRawCapture to initiate a backend with setRaw enabled.
Remove inheritance and use an independant VideoContainer subclass with IVideoCapture member.
* Address unused parameter warings.
Remove VideoContainer from python bindings as it no longer returns a Mat.
Use opencv type uchar instead of unsigned char.
Add missing destructor to VideoContainer class.
* Address build warnings and include all params in documentation.
* Include deprecated bitstream filtering API.
* Update codec_id query to work with older ffmpeg api's.
Change api version defines to be consistent - most recent api version first.
* Fix typo.
* Update test to work with naming of new files in the extra repo
* Investigate test failure
* Check bytes read by ffmpeg
* Removed mp4 video container test
* Applied suggested changes.
* videoio: rework API for extraction of RAW video streams
- FFmpeg only
* address review comments
2019-11-18 17:07:06 +03:00
Ruslan Garnov
1261559305
Fixed own::Mat::empty() for non md case
2019-11-18 16:38:33 +03:00
clunietp
2185bce4b7
Fix 13577
2019-11-18 07:41:34 -05:00
Orest Chura
af230ec133
Merge pull request #15888 from OrestChura:facebeautification_gapi_sample
...
Introducing the sample of Face Beautification algorithm implemented via Graph-API
* Introducing the sample of Face Beautification algorithm implemented via Graph-API
- 'gapi/samples/face_beautification.cpp' added
- FIXME added in 'gcpukernel.hpp'
* INF_ENGINE fix
- preprocessing clauses added not to run the sample without Inference Engine
* INF_ENGINE fix 2
- warnings removed
* Fixes
- checking IE version cut as there is no dependency
- some alignments fixed
- the comment about preprocessing commands fixed
* ie::backend() issue fix (according to dmatveev)
- as the sample needs the cv::gapi::ie::backend() to be defined regardless of having IE or not, there is its throw-error definition in `giebackend.cpp` now (by dmatveev)
- for the same reason, #includes in `giebackend.hpp` are fixed
- HAVE_INF_ENGINE check is removed from the sample
2019-11-18 15:13:05 +03:00
Alexander Alekhin
fc41c18c6f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-18 13:56:24 +03:00
Alexander Alekhin
f4d55d512f
imgproc: fix bit-exact GaussianBlur() / sepFilter2D() ( #15855 )
...
* imgproc: fix bit-exact GaussianBlur() / sepFilter2D()
- avoid kernels with bad approximation
- GaussiabBlur - apply error-diffusion approximation for kernel (8-bit fraction)
* java(test): update features2d ref data
* test: update test_facedetect
2019-11-18 01:39:27 +03:00
Suleyman TURKMEN
eff514f8bb
Update seamless_cloning.cpp
2019-11-17 21:25:03 +03:00
Sebastián Gurin
955b20230c
Merge pull request #15503 from cancerberoSgx:js-test-puppeteer
...
Js test puppeteer
* run_puppeteer.js / tests
* js run test section
* rollback html
* whitespace
* js: update OpenCV.js tests infrastructure
* js: exclude puppeteer from default 'npm install'
* js: update notes
* js: more fixes in run_puppeteer
* fix build folder
2019-11-17 00:29:38 +03:00
Alexander Alekhin
686ea5c1a6
Merge pull request #15917 from ChipKerchner:demosaicingToHal2
2019-11-16 19:45:37 +00:00
Maxim Pashchenkov
1acadd363b
Merge pull request #15100 from Volskig:cam_multiplexing_function_v
...
Implement Camera Multiplexing API
* IdideoCapture + two wrong function
function waitAny
Add errors catcher
Stub for Python added.
Sifting warnings
One test added
Two tests for camera and Perf tests added
* Perf sync and async tests for waitAny() added, waitAnyInterior() deleted, getDeviceHandle() deleted
* Variable OPENCV_TEST_CAMERA_LIST added
* Without fps set
* ASSERT_FAILED for environment variable
* Perf tests is DISABLED_
* --Trailing whitespace
* Return false from cap.cpp deleted
* Two functions deleted from interface, +range for, +environment variable in test_camera
* Space deleted
* printf deleted, perror added
* CV_WRAP deleted, cv2 cleared from stubs
* -- space
* default timeout added
* @param changed
* place of waitAny changed
* --whitespace
* ++function description
* function description changed
* revert unused changes
* videoio: rework API for VideoCapture::waitAny()
2019-11-15 19:42:12 +03:00
Alexander Alekhin
7ec91aefc1
python: force using of ArgInfo
2019-11-15 19:16:22 +03:00
Alexander Alekhin
973b367da6
python: emit bindings conversion failures on OPENCV_PYTHON_DEBUG=1
2019-11-15 18:55:24 +03:00
ChipKerchner
1d33335e33
Convert demosiacing with variable number of gradients to HAL - 5.5x faster
2019-11-15 07:42:03 -06:00
Alexander Alekhin
1f57eb93fd
Merge pull request #15911 from l-bat:fix_reducel2
2019-11-15 11:04:05 +00:00
Alexander Alekhin
ac2dc29525
Merge pull request #15852 from akhakim:gauss_blur_kernel_5x5
2019-11-14 14:55:24 +00:00
Alexander Alekhin
6773b938b3
Merge pull request #15896 from alalek:build_gcc_9
2019-11-14 14:22:02 +00:00
Alexander Alekhin
d1c4e4b5a5
Merge pull request #15906 from anton-potapov:gapi_fluid_i420_support
2019-11-14 14:07:05 +00:00
Liubov Batanina
ac4fd4f4ae
Fix ReduceL2
2019-11-14 15:30:53 +03:00
Anna Khakimova
beb14c70da
GAPI Fluid: SIMD optimization for sep filters 5x5 kernel size (gaussBlur)
2019-11-14 13:42:20 +03:00
Alexander Alekhin
94f1c3d152
Merge pull request #15905 from alalek:issue_15904
2019-11-14 10:33:29 +00:00
Anton Potapov
b5426a8679
G-API (Fluid) core support for I420
...
- Extended NV12 support in Fluid Core engine to cover I420
2019-11-14 11:16:17 +03:00
Alexander Alekhin
ad8d7e84b9
Merge pull request #15900 from komakai:fix-osx-build
2019-11-13 17:02:08 +00:00
Sebastián Gurin
b48959fa57
Merge pull request #15425 from cancerberoSgx:nodejs
...
JS - adds a tutorial about running opencv.js in Node.js
2019-11-13 18:14:53 +03:00
Alexander Alekhin
7a52a4c134
Merge pull request #15874 from akhakim:runsepfilter_5x5_kernel_size
2019-11-13 14:53:14 +00:00
Giles Payne
3cdbcc1645
Fix MacOS build
2019-11-13 21:10:08 +09:00
Alexander Alekhin
763b80d5fa
imgproc(IPP): disable ippiDistanceTransform_3x3_8u32f_C1R
2019-11-13 14:14:19 +03:00
Alexander Alekhin
d0c767428b
Merge pull request #15891 from alalek:issue_15886
2019-11-12 22:57:15 +00:00
Alexander Alekhin
a67248f386
Merge pull request #15883 from cbachhuber:refactor-opencl-information
2019-11-12 22:56:51 +00:00
Christoph Bachhuber
c638f085aa
Refactor for clarity and avoiding code duplication
...
Implement GArik's comments
Remove unnecessary c_str()
Fix brace position
2019-11-12 19:22:42 +01:00
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
2019-11-12 18:49:34 +03:00
Anna Khakimova
363976694e
GAPI Fluid: The run_sepfilter() has logic error into handler for 5x5 and larger kernels
2019-11-12 14:47:42 +03:00
Alexander Alekhin
b6a58818bb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-11 20:25:42 +00:00
Alexander Alekhin
af92a517a7
cmake: set _WIN32_WINNT for Windows 7 API
2019-11-11 20:19:40 +00:00
Alexander Alekhin
ba58bba4e8
Merge pull request #15875 from gyadam:fix-windows-install-doc
2019-11-10 09:35:59 +00:00
Alexander Alekhin
e0b5637474
Merge pull request #15877 from mshabunin:fix-gst-relative-34
2019-11-10 09:25:29 +00:00
Alexander Alekhin
d32d31577c
Merge pull request #15835 from alalek:cmake_cpu_optimizations_fix_15802
2019-11-10 09:22:45 +00:00
Alexander Alekhin
e9dcecf9b4
Merge pull request #15826 from alalek:cmake_fix_itt_define_condition
2019-11-10 09:22:22 +00:00
Maksim Shabunin
fccf284088
Fixed relative paths handling in cap_gstreamer:
2019-11-09 11:34:30 +00:00
Lubov Batanina
cfc781949d
Merge pull request #15811 from l-bat:eltwise_div
...
Supported ONNX Squeeze, ReduceL2 and Eltwise::DIV
* Support eltwise div
* Fix test
* OpenCL support added
* refactoring
* fix code style
* Only squeeze with axes supported
2019-11-09 14:11:09 +03:00
Adam Gyarmati
3755099bd4
Fix Windows installation script error
...
Fix an error during Windows installation caused by trying to create the already existing Build directory. Also excluding intermediate steps for Install directory creation.
2019-11-08 19:05:46 -08:00
Alexander Alekhin
af23375352
Merge pull request #15861 from dkurt:dnn_fix_get_input_layers
2019-11-08 22:01:07 +00:00
Alexander Alekhin
6053996253
Merge pull request #15319 from cancerberoSgx:fs
2019-11-08 13:20:09 +00:00
Sebastián Gurín
dd9262c318
expose FS
2019-11-08 15:13:25 +03:00
collinbrake
35cebbd167
Merge pull request #15832 from collinbrake:feature_grammar_fixes_4
...
* Grammar fixes for python core operations docs
* fixed whitespace error
* reverted changes
2019-11-08 12:27:37 +03:00
Alexander Alekhin
d66aa2e0ff
Merge pull request #15848 from alalek:backport_test_15842
2019-11-07 16:48:41 +00:00
Alexander Alekhin
5dd3e6052e
Merge pull request #15868 from alalek:issue_15857
2019-11-07 14:21:35 +00:00
Alexander Alekhin
3d47e043af
Merge pull request #15866 from mshabunin:add-security-md
2019-11-07 14:04:33 +00:00
Alexander Alekhin
895fc72a0b
Merge pull request #15867 from mshabunin:fix-gapi-install
2019-11-07 13:49:34 +00:00
Alexander Alekhin
f42d5399aa
core(persistence): add more checks for implementation limitations
2019-11-07 14:19:00 +03:00
Maksim Shabunin
ad5874779c
Install: added missing gapi headers
2019-11-07 14:03:46 +03:00
Maksim Shabunin
d19bccad74
Added SECURITY.md
2019-11-07 13:10:42 +03:00
Dimitri Gerin
7c4158d8c2
Fix dnn::getLayerInputs
2019-11-07 08:13:33 +03:00
Alexander Alekhin
c546a27de7
Merge pull request #15854 from czgdp1807:rem-typo
2019-11-06 13:47:37 +00:00
Alexander Smorkalov
377fcc062d
Merge pull request #15159 from SSE4:fix_find_openexr
2019-11-06 13:37:37 +00:00
czgdp1807
07ef08e966
removed typo
2019-11-06 17:15:31 +05:30
SSE4
2e20f06f8e
- fix FindOpenEXR to respect OPENEXR_ROOT
...
Signed-off-by: SSE4 <tomskside@gmail.com >
2019-11-06 17:26:52 +07:00
Alexander Alekhin
54d9597522
Merge pull request #15814 from i-murzov:3.4-ocl-cleanup
2019-11-06 09:54:29 +00:00
Alexander Alekhin
f3e788b8ab
Merge pull request #15813 from i-murzov:3.4-ocl-empty-platform
2019-11-06 08:12:40 +00:00
Igor Murzov
cdbfdcc363
Fix OpenCL device detection when some OpenCL platform has no devices
...
It's not an error if some OpenCL platform has no devices. This makes
OpenCL device detection work correctly in the following scenario:
$ OPENCV_OPENCL_DEVICE=:GPU: ./opencv_test_dnn
OpenCV version: 4.1.2-dev
OpenCV VCS version: 4.1.2-80-g467748ee98-dirty
Build type: Debug
Compiler: /usr/bin/g++ (ver 7.4.0)
Parallel framework: pthreads
CPU features: SSE SSE2 SSE3 *SSE4.1 *SSE4.2 *FP16 *AVX *AVX2 *AVX512-SKX?
Intel(R) IPP version: ippIP AVX2 (l9) 2019.0.0 Gold (-) Jul 24 2018
OpenCL Platforms:
AMD Accelerated Parallel Processing
Portable Computing Language
CPU: pthread-AMD Ryzen 7 2700X Eight-Core Processor (OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-znver1)
NVIDIA CUDA
dGPU: GeForce GTX 1080 (OpenCL 1.2 CUDA)
Current OpenCL device:
Type = dGPU
Name = GeForce GTX 1080
Version = OpenCL 1.2 CUDA
Driver version = 430.26
2019-11-05 20:02:39 +03:00
Alexander Alekhin
417034518c
Merge pull request #15851 from alalek:fixup_15842
2019-11-05 16:21:04 +00:00
Chip Kerchner
2112aa31e6
Merge pull request #15828 from ChipKerchner:momentsToHal
...
* Convert moments in tile algorithms to HAL (1.3x faster for VSX).
* Adding NEON code back in for non 64-bit platforms.
* Remove floats from post processing.
2019-11-05 18:52:35 +03:00
TH3CHARLie
2c2716de0f
core(test): add test for YAML parse multiple documents
...
- added removal of temporary file
2019-11-05 18:39:07 +03:00
Alexander Alekhin
dcf72e49e2
core(persistence): fix processing of multiple documents
2019-11-05 18:28:15 +03:00
Alexander Alekhin
c4c4ac28dc
revert changes in modules/core/src/persistence_yml.cpp (PR15842)
2019-11-05 18:24:16 +03:00
Igor Murzov
6d5b900324
Simplify OpenCL info dumping code:
...
* Reduce code nesting
* Drop redundant .c_str() calls
2019-11-05 14:49:49 +03:00
TH3CHARLie
a165f55579
Merge pull request #15842 from TH3CHARLie:yaml-fix
...
* fix yaml parse
* add test for YAML parse multiple documents
* remove trailing whitespace in test
2019-11-04 16:27:48 +03:00
Alexander Alekhin
0d7f770996
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-04 09:58:29 +00:00
Oleg Alexandrov
53139e6ebe
Merge pull request #15838 from oleg-alexandrov:patch-2
...
Correct stereoRectify documentation
2019-11-03 16:37:25 +03:00
Alexander Alekhin
a893969ec9
core(simd): v_setall template
2019-11-03 12:49:25 +00:00
Alexander Alekhin
d5bbb16066
Merge pull request #15834 from berak:python_fix_type_error
2019-11-02 18:50:46 +00:00
Alexander Alekhin
21c38bbdaf
cmake(cpu optmizations): fix cleanup of OPENCV_DEPENDANT_TARGETS_* vars
2019-11-02 10:34:54 +00:00
berak
b7c8e9e874
python: fix type error msg
2019-11-02 08:17:07 +01:00
Gael Colas
e65b51ca3c
Merge pull request #15821 from ColasGael:colasg-viz-color
...
Fix wrong definition of viz::Color::navy()
2019-11-01 22:37:34 +03:00
Oleg Alexandrov
d56535afce
Merge pull request #15820 from oleg-alexandrov:patch-1
...
Clarify stereoRectify() doc
The function stereoRectify() takes as input a coordinate transform between two cameras. It is ambiguous how it goes. I clarified that it goes from the second camera to the first.
2019-11-01 22:34:11 +03:00
yuriyluxriot
4e156a162f
Merge pull request #15812 from yuriyluxriot:fls_replaces_tls
...
* Use FlsAlloc/FlsFree/FlsGetValue/FlsSetValue instead of TlsAlloc/TlsFree/TlsGetValue/TlsSetValue to implment TLS value cleanup when thread has been terminated on Windows Vista and above
* Fix 32-bit build
* Fixed calling convention of cleanup callback
* WINAPI changed to NTAPI
* Use proper guard macro
2019-11-01 22:33:12 +03:00
Chip Kerchner
ed7e4273cd
Merge pull request #15555 from ChipKerchner:flipVectorize
...
* Vectorize flipHoriz and flipVert functions.
* Change v_load_mirror_1 to use vec_revb for VSX
* Only use vec_revb in ISA3.0
* Removing vec_revb code since some of the older compilers don't fully support it.
* Use new v_reverse intrinsic and cleanup code.
* Ensure there are no alignment issues with copies
2019-11-01 22:30:48 +03:00
ab-dragon
2947877871
[move sift.cpp] Merge pull request opencv/opencv_contrib#2301 from ab-dragon:conditionally_compute_dog_pyramid
...
Build DoG Pyramid if useProvideKeypoints is false
The buildDoGPyramid operation need not be performed unconditionally. In cases where it is not needed, both memory and speed performance can be improved
original commit: https://github.com/opencv/opencv_contrib/commit/e45887e1c097db6e5f75dc70d7723203bcafa5f1
2019-11-01 21:28:18 +03:00
Alexander Alekhin
0ca5f68d72
Merge pull request #15831 from alalek:fix_pylint_master
2019-11-01 19:07:15 +03:00
Alexander Alekhin
48073e6d95
pylint: eliminate warnings
2019-11-01 18:59:35 +03:00
Alexander Alekhin
657c17bb8c
cmake: fix ITT define condition
2019-11-01 15:07:49 +03:00
Alexander Alekhin
cec7cc037b
Merge pull request #15819 from alalek:ts_unblock_reporting_of_disabled_tests
2019-10-31 20:39:41 +00:00
Alexander Alekhin
5c12bafe80
Merge pull request #15805 from i-murzov:3.4
2019-10-31 20:39:16 +00:00
Ciprian Alexandru Pitis
d2e02779c4
Merge pull request #15799 from Cpitis:feature/parallelization
...
Parallelize pyrDown & calcSharrDeriv
* ::pyrDown has been parallelized
* CalcSharrDeriv parallelized
* Fixed whitespace
* Set granularity based on amount of threads enabled
* Granularity changed to cv::getNumThreads, now each thread should receive 1/n sized stripes
* imgproc: move PyrDownInvoker<CastOp>::operator() implementation
* imgproc(pyramid): remove syloopboundary()
* video: SharrDerivInvoker replace 'Mat*' => 'Mat&' fields
2019-10-31 23:38:49 +03:00
CJ Smith
c2f2ea6b85
Merge pull request #15789 from CJSmith-0141:15779-scale-bug-in-stereo-match-sample
...
* Changes disparity image to float representation
Signed-off-by: Connor James Smith <cjs.connor.smith@gmail.com >
* samples: update disparity multiplier handling in stereo_match.cpp
2019-10-31 22:29:04 +03:00
Oleg Alexandrov
af433d0352
Merge pull request #15780 from oleg-alexandrov:master
...
* Doc bugfix
The documentation page StereoBinaryBM and StereoBinarySGBM says that it returns a disparity that is scaled multiplied by 16. This scaling must be undone before calling reprojectImageTo3D, otherwise the results are wrong. The function reprojectImageTo3D() could do this scaling internally, maybe, but at least the documentation must explain that this has to be done.
* calib3d: update reprojectImageTo3D documentation
* calib3d: add StereoBM/StereoSGBM into notes list
2019-10-31 22:28:01 +03:00
Alexander Alekhin
ee044771a7
Merge pull request #15478 from terfendail:wintr_stereosgbm
2019-10-31 19:24:06 +00:00
Dizhenin Vlad
edc5518f68
Merge pull request #15608 from SimpleVlad:3.4
...
* Add flags for build js
* Add poi.json
* Rebase whitelist into JSON file
* Rework generator of white_list
* Fix small typos
* Transfer opencv_js.josn in opencv_js.config.py
* Edit OPENCV_JS_WHITELIST
* Write comment
* Add description
* Fix typos in desc
* flag's append deleeted
* Fix whitespace
* variable deleted
* fix comment on lines 229 and 235
2019-10-31 22:09:33 +03:00
Alexander Alekhin
79f792ad05
ts: do not block reporting of launched "DISABLED_" tests
...
If tests are run through GTest option `--gtest_also_run_disabled_tests`
2019-10-31 15:13:50 +03:00
Alexander Alekhin
469addeca3
Merge pull request #15763 from akhakim:dynamic_set_kernel_window_size
2019-10-31 11:10:45 +00:00
Anna Khakimova
c394847c35
GAPI Fluid: Dynamic window size
2019-10-30 17:09:54 +03:00
atalaman
ea64bb58a5
Merge pull request #15751 from TolyaTalamanov:at/refactor-render-tests
...
* Refactor render tests
* Fix comment to review
* Move ocv render tests stuff to specific file
* Add OCV prefix for render tests
* Fix comments to review
2019-10-30 13:33:39 +03:00
Igor Murzov
a9d23a6479
Fix wording in some tutorials
2019-10-30 13:27:17 +03:00
Alexander Alekhin
ea5499fa51
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-29 20:46:51 +00:00
Alexander Alekhin
bad4e5c3eb
Merge pull request #15692 from alalek:core_tls_handle_thread_termination
2019-10-29 20:40:35 +00:00
Alexander Alekhin
e86c888a92
Merge pull request #15791 from alalek:android_camera2_issue_14915
2019-10-29 19:10:00 +00:00
Chip Kerchner
a71ff50130
Merge pull request #15623 from ChipKerchner:optimizeHOGpipeline
...
* Use circular lut hustory buffer in computeGradient of HOG
* Initialize prefetch data outside main loop. Avoid code duplication.
2019-10-29 13:42:20 +03:00
Alexander Alekhin
278b4ca40c
Merge pull request #15800 from alalek:issue_15796
2019-10-28 20:11:36 +00:00
Alexander Alekhin
cd6d79d106
gapi: fix opencv_world build
2019-10-28 18:53:14 +00:00
Alexander Alekhin
80c4cedd25
android: use .getRowStride() in JavaCamera2View
2019-10-28 18:45:56 +00:00
Alexander Alekhin
02f4d6ca53
Merge pull request #15777 from dbudniko:dbudniko/add_own_empty
2019-10-28 13:31:16 +00:00
Alexander Alekhin
732657cc46
Merge pull request #15793 from Cherubin7th:3.4
2019-10-27 22:45:19 +00:00
André Lippok
86a8ff6129
Fixed typo in assertion
2019-10-27 17:43:31 +01:00
Alexander Alekhin
d8ab83600b
Merge pull request #15761 from alalek:core_trace_itt_parameter
2019-10-26 21:39:08 +00:00
Alexander Alekhin
6ec5ae0215
core(trace): add ITT control parameter
...
- OPENCV_TRACE_ITT_ENABLE
2019-10-26 15:03:51 +00:00
Dmitry Budnikov
8dfba51884
add empty implementation
2019-10-25 17:50:09 +03:00
Alexander Alekhin
7cf1054d36
Merge pull request #15764 from ChipKerchner:demosaicingToHal
2019-10-25 13:49:46 +00:00
Vitaly Tuzov
42b1d04999
StereoSGBM algorithm updated to use wide universal intrinsics
2019-10-25 16:34:16 +03:00
Alexander Alekhin
055ffc0425
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-24 18:21:19 +00:00
Alexander Alekhin
eabe679f78
Merge pull request #15770 from terfendail:stereobm_fix
2019-10-24 17:58:22 +00:00
Vitaly Tuzov
1ce5a724c7
Fixed StereoBM uniqueness check
2019-10-24 17:54:49 +03:00
Alexander Alekhin
d65fead337
Merge pull request #15752 from dkurt:fix_15750
2019-10-24 07:06:32 +00:00
Alexander Alekhin
17e2bf5717
core(tls): implement releasing of TLS on thread termination
...
- move TLS & instrumentation code out of core/utility.hpp
- (*) TLSData lost .gather() method (to dispose thread data on thread termination)
- use TLSDataAccumulator for reliable collecting of thread data
- prefer using of .detachData() + .cleanupDetachedData() instead of .gather() method
(*) API is broken: replace TLSData => TLSDataAccumulator if gather required
(objects disposal on threads termination is not available in accumulator mode)
2019-10-24 06:36:18 +00:00
Zach Lowry
61d7d67c39
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
...
The hard-coded string value "Mat" was used in the two format strings for vector_mat and vector_mat_template, preventing UMat arguments to functions that have these types from working correctly. Notably, #12231 references this issue.
2019-10-23 12:37:14 -05:00
Alexander Alekhin
87a692b89e
Merge pull request #15736 from akhakim:fix_for_ADE-859_using_namespace_cv_G_TYPED_KERNEL_fail_c++
2019-10-23 17:07:32 +00:00
Alexander Alekhin
5e8d8df847
Merge pull request #15754 from float13:patch-1
2019-10-23 17:02:22 +00:00
ChipKerchner
c46f119e0e
Convert demosaic functions to HAL
2019-10-23 10:47:07 -05:00
Alexander Alekhin
09619c1c45
Merge pull request #15762 from rgarnov:return_exported_mkdatanode
2019-10-23 12:05:28 +00:00
float13
1accf3b3f4
Tutorial - Make required input args positional.
...
I think it would help to change all 3 of the the input file arguments to be "positional" for consistency with the other tutorials. This also simplifies the command line input to run this tutorial by reducing typing, and helpfully prints the "usage" info if any of the 3 required inputs are missing.
I'm new to OpenCV and working through the tutorials. I kept getting runtime errors with this one until I realized that the arguments weren't positional, and I was missing the "--input1", "--input2, "--input3" flags preceding the filenames. All of the previous tutorials had required filenames as positional arguments and didn't require this.
The original code would require each input to be specified like this:
./compareHist_Demo --input1 filename1 --input2 filename2 --input3 filename3
But with this change, the above command is simplified to:
./compareHist_Demo filename1 filename2 filename3
This avoids a confusing runtime error to make things simpler for newcomers like me :)
2019-10-23 13:07:52 +03:00
Anna Khakimova
8bf5bed0a9
GAPI:Fix for using cv makes G_TYPED_KERNEL fail
2019-10-23 12:17:49 +03:00
Alexander Alekhin
5ffeebabad
Merge pull request #15759 from alalek:issue_15758
2019-10-22 21:40:10 +00:00
Ruslan Garnov
e89c1103ff
Returned GModel::mkDataNode() overload for external backends
2019-10-22 18:57:31 +03:00
Chip Kerchner
5a6a49405d
Merge pull request #15738 from ChipKerchner:bugInt64x2Comparison
...
Fixing bug with comparison of v_int64x2 or v_uint64x2
* Casting v_uint64x2 to v_float64x2 and comparing does NOT work in all cases. Rewrite using epi64 instructions - faster too.
* Fix bad merge.
* Fix equal comparsion for non-SSE4.1. Add test cases for v_int64x2 comparisons.
* Try to fix merge conflict.
* Only test v_int64x2 comparisons if CV_SIMD_64F
* Fix compiler warning.
2019-10-22 16:37:20 +03:00
Alexander Alekhin
fe4f27b99b
gapi: fix build
...
- gcc 4.8.4 (ARMv7)
2019-10-22 16:31:40 +03:00
Alexander Alekhin
1864b64f64
Merge pull request #15739 from dkurt:darknet_shortcut_asymm
2019-10-22 12:52:13 +00:00
Alexander Alekhin
4bd2ad30c4
Merge pull request #15756 from dankamongmen:dankamongmen/stitching_surf_default
2019-10-22 12:51:30 +00:00
nick black
6e9eca29e2
stitching_detailed: use correct match_conf default
...
The usage function states that the default for match_conf is
0.65 if the default SURF feature finder is used, and 0.3 for
orbs. Indeed, if --feature orbs is used, match_conf is set
to 0.3f. This is a NOP, because the real default is also set
to 0.3f. Change it to 0.65f when SURF is in play.
2019-10-22 08:03:46 -04:00
anton-potapov
471b40040a
Merge pull request #15735 from anton-potapov:gapi_async_documentaion
...
* G-API: Doxygen documentatation for Async API
* G-API: Doxygen documentatation for Async API
- renamed local variable (reading parameter async) async ->
asyncNumReq in object_detection DNN sample
to avoid Doxygen erroneous linking the sample to cv::gapi::wip::async
documentation
2019-10-21 22:33:18 +03:00
Dmitry Kurtaev
dfe0368835
Fix custom IE layers in case of no MKLDNN plugin
2019-10-21 19:09:44 +03:00
Yashas Samaga B L
613c12e590
Merge pull request #14827 from YashasSamaga:cuda4dnn-csl-low
...
CUDA backend for the DNN module
* stub cuda4dnn design
* minor fixes for tests and doxygen
* add csl public api directory to module headers
* add low-level CSL components
* add high-level CSL components
* integrate csl::Tensor into backbone code
* switch to CPU iff unsupported; otherwise, fail on error
* add fully connected layer
* add softmax layer
* add activation layers
* support arbitary rank TensorDescriptor
* pass input wrappers to `initCUDA()`
* add 1d/2d/3d-convolution
* add pooling layer
* reorganize and refactor code
* fixes for gcc, clang and doxygen; remove cxx14/17 code
* add blank_layer
* add LRN layer
* add rounding modes for pooling layer
* split tensor.hpp into tensor.hpp and tensor_ops.hpp
* add concat layer
* add scale layer
* add batch normalization layer
* split math.cu into activations.cu and math.hpp
* add eltwise layer
* add flatten layer
* add tensor transform api
* add asymmetric padding support for convolution layer
* add reshape layer
* fix rebase issues
* add permute layer
* add padding support for concat layer
* refactor and reorganize code
* add normalize layer
* optimize bias addition in scale layer
* add prior box layer
* fix and optimize normalize layer
* add asymmetric padding support for pooling layer
* add event API
* improve pooling performance for some padding scenarios
* avoid over-allocation of compute resources to kernels
* improve prior box performance
* enable layer fusion
* add const layer
* add resize layer
* add slice layer
* add padding layer
* add deconvolution layer
* fix channelwise ReLU initialization
* add vector traits
* add vectorized versions of relu, clipped_relu, power
* add vectorized concat kernels
* improve concat_with_offsets performance
* vectorize scale and bias kernels
* add support for multi-billion element tensors
* vectorize prior box kernels
* fix address alignment check
* improve bias addition performance of conv/deconv/fc layers
* restructure code for supporting multiple targets
* add DNN_TARGET_CUDA_FP64
* add DNN_TARGET_FP16
* improve vectorization
* add region layer
* improve tensor API, add dynamic ranks
1. use ManagedPtr instead of a Tensor in backend wrapper
2. add new methods to tensor classes
- size_range: computes the combined size of for a given axis range
- tensor span/view can be constructed from a raw pointer and shape
3. the tensor classes can change their rank at runtime (previously rank was fixed at compile-time)
4. remove device code from tensor classes (as they are unused)
5. enforce strict conditions on tensor class APIs to improve debugging ability
* fix parametric relu activation
* add squeeze/unsqueeze tensor API
* add reorg layer
* optimize permute and enable 2d permute
* enable 1d and 2d slice
* add split layer
* add shuffle channel layer
* allow tensors of different ranks in reshape primitive
* patch SliceOp to allow Crop Layer
* allow extra shape inputs in reshape layer
* use `std::move_backward` instead of `std::move` for insert in resizable_static_array
* improve workspace management
* add spatial LRN
* add nms (cpu) to region layer
* add max pooling with argmax ( and a fix to limits.hpp)
* add max unpooling layer
* rename DNN_TARGET_CUDA_FP32 to DNN_TARGET_CUDA
* update supportBackend to be more rigorous
* remove stray include from preventing non-cuda build
* include op_cuda.hpp outside condition #if
* refactoring, fixes and many optimizations
* drop DNN_TARGET_CUDA_FP64
* fix gcc errors
* increase max. tensor rank limit to six
* add Interp layer
* drop custom layers; use BackendNode
* vectorize activation kernels
* fixes for gcc
* remove wrong assertion
* fix broken assertion in unpooling primitive
* fix build errors in non-CUDA build
* completely remove workspace from public API
* fix permute layer
* enable accuracy and perf. tests for DNN_TARGET_CUDA
* add asynchronous forward
* vectorize eltwise ops
* vectorize fill kernel
* fixes for gcc
* remove CSL headers from public API
* remove csl header source group from cmake
* update min. cudnn version in cmake
* add numerically stable FP32 log1pexp
* refactor code
* add FP16 specialization to cudnn based tensor addition
* vectorize scale1 and bias1 + minor refactoring
* fix doxygen build
* fix invalid alignment assertion
* clear backend wrappers before allocateLayers
* ignore memory lock failures
* do not allocate internal blobs
* integrate NVTX
* add numerically stable half precision log1pexp
* fix indentation, following coding style, improve docs
* remove accidental modification of IE code
* Revert "add asynchronous forward"
This reverts commit 1154b9da9da07e9b52f8a81bdcea48cf31c56f70.
* [cmake] throw error for unsupported CC versions
* fix rebase issues
* add more docs, refactor code, fix bugs
* minor refactoring and fixes
* resolve warnings/errors from clang
* remove haveCUDA() checks from supportBackend()
* remove NVTX integration
* changes based on review comments
* avoid exception when no CUDA device is present
* add color code for CUDA in Net::dump
2019-10-21 14:28:00 +03:00
Alexander Alekhin
fadb90c579
[move sift.cpp] xfeatures2d: use updated TLS API
...
original commit: https://github.com/opencv/opencv_contrib/commit/3e4fb8f415ba68c56ba2cded1ab10a75c46d342e
2019-10-20 14:17:05 +00:00
Alexander Alekhin
8ec6544624
Merge pull request #15747 from TH3CHARLie:imshow-fix
2019-10-20 13:08:40 +00:00
Alexander Alekhin
a8d14e88fe
Merge pull request #15743 from collinbrake:feature_grammar_fixes_2
2019-10-20 13:08:28 +00:00
Alexander Alekhin
6576e8b927
Merge pull request #14518 from SSteve:intersectConvexConvex-example
2019-10-20 13:06:27 +00:00
Steve Nicholson
acb3b3bd4d
Add documentation and example program for intersectConvexConvex
2019-10-19 22:08:07 -07:00
TH3CHARLie
da0fec7308
fix incorrect imshow behavior
2019-10-19 20:34:18 +08:00
Dmitry Kurtaev
af61a15839
Fix Darknet eltwise
2019-10-19 12:54:15 +03:00
collin
3ada597449
grammar corrections for python gui docs
2019-10-18 17:42:56 -04:00
Alexander Alekhin
938d8dce06
Merge pull request #15685 from pmur:cnz64f-simd
2019-10-18 20:19:40 +00:00
Alexander Alekhin
6e85e852d4
Merge pull request #15740 from xerus:fix_typo
2019-10-18 18:41:35 +00:00
Alexander Alekhin
70a5553499
Merge pull request #15741 from mipsopen-fwu:issue_15730
2019-10-18 18:40:25 +00:00
Fei Wu
90af2835a2
Fix issue 15730.
2019-10-19 00:36:18 +08:00
Pavel Grunt
83e2e124a3
OpenCVFindMKL: Fix a typo
2019-10-18 18:33:06 +02:00
Dmitry Matveev
2477103707
Merge pull request #15216 from dmatveev:dm/ng-0010-g-api-streaming-api
...
* G-API-NG/Streaming: Introduced a Streaming API
Now a GComputation can be compiled in a special "streaming" way
and then "played" on a video stream.
Currently only VideoCapture is supported as an input source.
* G-API-NG/Streaming: added threading & real streaming
* G-API-NG/Streaming: Added tests & docs on Copy kernel
- Added very simple pipeline tests, not all data types are covered yet
(in fact, only GMat is tested now);
- Started testing non-OCV backends in the streaming mode;
- Added required fixes to Fluid backend, likely it works OK now;
- Added required fixes to OCL backend, and now it is likely broken
- Also added a UMat-based (OCL) version of Copy kernel
* G-API-NG/Streaming: Added own concurrent queue class
- Used only if TBB is not available
* G-API-NG/Streaming: Fixing various issues
- Added missing header to CMakeLists.txt
- Fixed various CI issues and warnings
* G-API-NG/Streaming: Fixed a compile-time GScalar queue deadlock
- GStreamingExecutor blindly created island's input queues for
compile-time (value-initialized) GScalars which didn't have any
producers, making island actor threads wait there forever
* G-API-NG/Streaming: Dropped own version of Copy kernel
One was added into master already
* G-API-NG/Streaming: Addressed GArray<T> review comments
- Added tests on mov()
- Removed unnecessary changes in garray.hpp
* G-API-NG/Streaming: Added Doxygen comments to new public APIs
Also fixed some other comments in the code
* G-API-NG/Streaming: Removed debug info, added some comments & renamed vars
* G-API-NG/Streaming: Fixed own-vs-cv abstraction leak
- Now every island is triggered with own:: (instead of cv::)
data objects as inputs;
- Changes in Fluid backend required to support cv::Mat/Scalar were
reverted;
* G-API-NG/Streaming: use holds_alternative<> instead of index/index_of test
- Also fixed regression test comments
- Also added metadata check comments for GStreamingCompiled
* G-API-NG/Streaming: Made start()/stop() more robust
- Fixed various possible deadlocks
- Unified the shutdown code
- Added more tests covering different corner cases on start/stop
* G-API-NG/Streaming: Finally fixed Windows crashes
In fact the problem hasn't been Windows-only.
Island thread popped data from queues without preserving the Cmd
objects and without taking the ownership over data acquired so when
islands started to process the data, this data may be already freed.
Linux version worked only by occasion.
* G-API-NG/Streaming: Fixed (I hope so) Windows warnings
* G-API-NG/Streaming: fixed typos in internal comments
- Also added some more explanation on Streaming/OpenCL status
* G-API-NG/Streaming: Added more unit tests on streaming
- Various start()/stop()/setSource() call flow combinations
* G-API-NG/Streaming: Added tests on own concurrent bounded queue
* G-API-NG/Streaming: Added more tests on various data types, + more
- Vector/Scalar passed as input;
- Vector/Scalar passed in-between islands;
- Some more assertions;
- Also fixed a deadlock problem when inputs are mixed (1 constant, 1 stream)
* G-API-NG/Streaming: Added tests on output data types handling
- Vector
- Scalar
* G-API-NG/Streaming: Fixed test issues with IE + Windows warnings
* G-API-NG/Streaming: Decoupled G-API from videoio
- Now the core G-API doesn't use a cv::VideoCapture directly,
it comes in via an abstract interface;
- Polished a little bit the setSource()/start()/stop() semantics,
now setSource() is mandatory before ANY call to start().
* G-API-NG/Streaming: Fix STANDALONE build (errors brought by render)
2019-10-18 19:29:58 +03:00
Dmitry Kurtaev
adbd613660
Enable Eltwise layer with different numbers of inputs channels
2019-10-18 18:51:52 +03:00
Alexander Alekhin
849d8d31fe
Merge pull request #15737 from alalek:issue_15705
2019-10-18 14:52:26 +00:00
Alexander Alekhin
24ebca5c59
core(simd): v_reverse() for MSA backend
2019-10-18 16:43:03 +03:00
Alexander Alekhin
ead7d6d80f
Merge pull request #15716 from alalek:javadoc_fix
2019-10-17 22:35:14 +00:00
Alexander Alekhin
34df28db2b
Merge pull request #15180 from terfendail:wintr_stereobm
2019-10-17 20:18:30 +00:00
atalaman
2ff12c4981
Merge pull request #15699 from TolyaTalamanov:at/graph-ocv-render-backend-skeleton
...
G-API: Implement OpenCV render backend
* Implement render opencv backend
* Fix comment to review
* Add comment
* Add wrappers for kernels
* Fix comments to review
* Fix comment to review
2019-10-17 21:04:03 +03:00
Alexander Alekhin
a2b3cd9a2c
Merge pull request #15709 from alalek:js_simd_reverse
2019-10-17 13:14:50 +00:00
Alexander Alekhin
d31da08d43
Merge pull request #15708 from alalek:js_simd_support_1.38.48
2019-10-17 13:14:34 +00:00
Alexander Alekhin
17e9fde75a
Merge pull request #15718 from alalek:pylint_warnings
2019-10-17 10:46:03 +00:00
Alexander Smorkalov
692e1eccb6
Merge pull request #15720 from alalek:cmake_fix_uwp
2019-10-17 10:35:27 +00:00
Alexander Smorkalov
009f5f74ef
Merge pull request #15722 from jasjuang:3.4
2019-10-17 10:19:47 +00:00
jasjuang
4c7db02925
document CC_STAT_MAX in ConnectedComponentsTypes
2019-10-16 17:22:25 -07:00
Alexander Alekhin
c4e2e17b0c
cmake: fix UWP scripts path
2019-10-16 21:42:31 +00:00
Alexander Alekhin
9255df44d0
Merge pull request #15715 from adamrankin:patch-1
2019-10-16 18:52:10 +00:00
Alexander Alekhin
0e40c8a031
fix pylint warnings
...
pylint 1.8.3
2019-10-16 18:49:33 +03:00
Alexander Alekhin
86e7d82418
javadoc: fix generation with OpenJDK 11
2019-10-16 18:14:07 +03:00
Adam Rankin
3b070517ad
COMP: Enabling build with recent VTK version
...
VTK_MAJOR_VERSION not found unless header is included
2019-10-16 10:04:41 -04:00
Alexander Alekhin
ad5d14ec0e
Merge pull request #15701 from alalek:issue_15691
2019-10-16 11:13:07 +00:00
Alexander Alekhin
bce653117f
Merge pull request #15700 from alalek:issue_12943
2019-10-16 11:12:49 +00:00
Christoph Schmidt-Hieber
194304bbe4
Support software triggering aravis cameras
...
If an aravis camera is software triggered, a trigger needs to be explicitly sent using `arv_camera_software_trigger`, otherwise the camera will not grab any frames.
2019-10-16 10:59:43 +02:00
Alexander Alekhin
ad172726c0
js(simd): v_reverse implementation
2019-10-15 18:46:08 +03:00
Alexander Alekhin
cc9b199ecb
Merge pull request #15704 from alalek:gapi_avoid_dynamic_initializers_in_optimized_code
2019-10-15 15:22:09 +00:00
Alexander Alekhin
b1a8de0901
js(simd): support Emscripten 1.38.48-upstream
2019-10-15 15:39:22 +03:00
Alexander Alekhin
823884b064
core(alloc): force initialization of memalign flag
...
- before main() launch
2019-10-15 13:07:11 +03:00
Alexander Alekhin
a84969bdcd
gapi: avoid dynamic initialization in dispatched files
2019-10-14 23:07:57 +00:00
Alexander Alekhin
6a7d1c15d3
core(ipp): skip huge input in flip()
...
- IPP/SSE4.2 works well
2019-10-14 18:26:19 +03:00
Alexander Alekhin
823e767eed
Merge pull request #15684 from OrestChura:id_helper_class_semicolon_issue
2019-10-14 09:46:41 +00:00
Alexander Alekhin
e42560bed5
Merge pull request #15659 from malfet:use-atomic-in-getExpTab32f
2019-10-12 20:27:58 +00:00
Alexander Alekhin
d6630ab35b
Merge pull request #15655 from malfet:use-atomic-in-parallel-for
2019-10-12 20:26:15 +00:00
Alexander Smorkalov
d154fa4b4c
Merge pull request #15688 from JamesNewton:3.4
2019-10-12 18:05:55 +00:00
JamesNewton
47fc889df0
Update js_image_arithmetics.markdown
2019-10-11 10:07:22 -07:00
Chip Kerchner
027769bf5d
Merge pull request #15662 from ChipKerchner:addVReverseIntrinsic
...
* New v_reverse HAL intrinsic for reversing the ordering of a vector
* Fix conflict.
* Try to resolve conflict again.
* Try one more time.
* Add _MM_SHUFFLE. Remove non-vectorize code in SSE2. Fix copy and paste issue with NEON.
* Change v_uint16x8 SSE2 version to use shuffles
2019-10-11 18:34:17 +03:00
Everton Constantino
9ca9249992
Merge pull request #15527 from everton1984:faster_acc
...
* Adding support for vectorized masking for uchar/ushort.
* Fixing bug where mask was zeroing the dst. Improved the way to calculate
the mask and tweaked for further performance improvements.
* Fixing mask comparison test.
* Restricting to one channel.
* Adding support for 3 channels, switch old approach to start using HAL's
v_select.
2019-10-11 18:32:59 +03:00
Paul E. Murphy
ec91a3d59d
core: vectorize countNonZero64f
...
Improves performance a bit. 2.2x on P9 and 2 - 3x on coffee lake
x86-64.
2019-10-11 09:02:46 -05:00
Alexander Alekhin
2f30c3fd4f
Merge pull request #15681 from mshabunin:fix-gapi-ie-test
2019-10-11 13:12:45 +00:00
OrestChura
2f9351d995
Fix warning issue:
...
- unnecessary extra semicolon after member function definition removed
2019-10-10 18:48:27 +03:00
Maksim Shabunin
230e44b01d
G-API: removed deprecated IE call from test
2019-10-10 12:58:59 +03:00
Alexander Alekhin
46206b4814
Merge tag '4.1.2'
2019-10-09 23:01:31 +00:00
Alexander Alekhin
4c71dbf0af
release: OpenCV 4.1.2
...
OpenCV 4.1.2
2019-10-09 22:53:14 +00:00
Alexander Alekhin
0cf77c3916
Merge tag '4.1.2-openvino'
2019-10-09 22:52:29 +00:00
Alexander Alekhin
9efafc3e33
Merge pull request #15673 from TolyaTalamanov:at/fix-valgrind-issue
2019-10-09 22:48:24 +00:00
Alexander Alekhin
65573784c4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-09 19:46:18 +00:00
Alexander Alekhin
dd4f591d54
Merge tag '3.4.8'
2019-10-09 18:33:35 +03:00
Alexander Alekhin
6bdb9ca725
OpenCV release (3.4.8)
...
OpenCV 3.4.8
2019-10-09 14:42:29 +03:00
Maksim Shabunin
1ca74c3c03
Merge pull request #15544 from mshabunin:disable_posix_memalign
...
* Disable posix_memalign by default
* core: fix memalign parameter handling
2019-10-09 14:06:12 +03:00
Alexander Smorkalov
c3a588037a
Merge pull request #15666 from seanm:Wnewline
2019-10-09 11:04:44 +00:00
Talamanov, Anatoliy
40215f99d7
Define operator<< for cv::gapi::wip::draw::Prim
2019-10-09 13:41:36 +03:00
Marcin Tolysz
3fd36c1be1
Merge pull request #15658 from tolysz:patch-1
...
* Cuda + OpenGL on ARM
There might be multiple ways of getting OpenCV compile on Tegra (NVIDIA Jetson) platform, but mainly they modify CUDA(8,9,10...) source code, this one fixes it for all installations.
( https://devtalk.nvidia.com/default/topic/1007290/jetson-tx2/building-opencv-with-opengl-support-/post/5141945/#5141945 et al.).
This way is exactly the same as the one proposed but the code change happens in OpenCV.
* Updated,
The link provided mentions: cuda8 + 9, I have cuda 10 + 10.1 (and can confirm it is still defined this way).
NVIDIA is probably using some other "secret" backend with Jetson.
2019-10-09 11:38:10 +03:00
Sean McBride
24effe8cd6
Fixed clang -Wnewline-eof warning by adding newline to end of file
2019-10-09 10:12:09 +03:00
Alexander Alekhin
2ff1fb60ad
Merge pull request #15661 from alalek:fix_android_build_avx2
2019-10-08 23:36:26 +00:00
Alexander Alekhin
374d952e09
Merge pull request #15664 from alalek:build_eliminate_cuda_warnings
2019-10-08 15:27:54 +00:00
Alexander Alekhin
6efdfee3f0
build: eliminate CUDA warnings
2019-10-08 15:30:02 +03:00
Alexander Alekhin
42ac089e12
build: update AVX2 check
...
- _mm256_bslli_epi128() works in GCC 4.9.3+ only
- Android NDK r10 doesn't support this instruction
2019-10-08 13:12:02 +03:00
Pinaev Danil
9ab5e52f04
Merge pull request #15632 from aDanPin:dp/any_ref_tests
...
* Add a few more tests on `any`
Added tests:
- get_ref_to_val_from_any
- update_val_via_ref
* Style fix
2019-10-08 12:42:49 +03:00
Nikita Shulga
ec37364762
Use std::atomic in getExpTab32f and getLogTab32f
...
Reads and writes to volatile bool are not guaranteed to be atomic.
2019-10-07 16:35:07 -07:00
Nikita Shulga
23288b7cb5
Use atomic operations to modify flagNestedParallelFor
...
This ensures uniform behavior on any C++11 compliant compiler
2019-10-07 16:26:30 -07:00
Alexander Alekhin
4748aca61f
Merge pull request #15642 from alalek:issue_15597
2019-10-08 00:33:20 +03:00
Sayed Adel
f2fe6f40c2
Merge pull request #15510 from seiko2plus:issue15506
...
* core: rework and optimize SIMD implementation of dotProd
- add new universal intrinsics v_dotprod[int32], v_dotprod_expand[u&int8, u&int16, int32], v_cvt_f64(int64)
- add a boolean param for all v_dotprod&_expand intrinsics that change the behavior of addition order between
pairs in some platforms in order to reach the maximum optimization when the sum among all lanes is what only matters
- fix clang build on ppc64le
- support wide universal intrinsics for dotProd_32s
- remove raw SIMD and activate universal intrinsics for dotProd_8
- implement SIMD optimization for dotProd_s16&u16
- extend performance test data types of dotprod
- fix GCC VSX workaround of vec_mule and vec_mulo (in little-endian it must be swapped)
- optimize v_mul_expand(int32) on VSX
* core: remove boolean param from v_dotprod&_expand and implement v_dotprod_fast&v_dotprod_expand_fast
this changes made depend on "terfendail" review
2019-10-07 22:01:35 +03:00
Alexander Alekhin
7837ae0e19
Merge pull request #15654 from sturkmen72:patch-3
2019-10-07 16:15:04 +00:00
Alexander Alekhin
a007220c52
imgproc: update histogram test
2019-10-07 15:06:43 +03:00
Alexander Alekhin
ebb77bb311
Merge pull request #15653 from tolysz:patch-1
2019-10-07 12:04:13 +00:00
Marcin Tolysz
53400d86e2
Fix compiler warnings for latest cuda npp which defines this itself as:
...
```
#define NPP_VER_MAJOR 10
#define NPP_VER_MINOR 2
#define NPP_VER_PATCH 0
#define NPP_VER_BUILD 243
#define NPP_VERSION (NPP_VER_MAJOR * 1000 + \
NPP_VER_MINOR * 100 + \
NPP_VER_PATCH)
2019-10-07 11:45:26 +01:00
Suleyman TURKMEN
c0489963bb
Update copy.cpp
2019-10-07 11:59:52 +03:00
Alexander Alekhin
626bfbf309
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-05 15:45:31 +00:00
Alexander Alekhin
98fc098216
Merge pull request #15646 from alalek:fix_avx512_detection
2019-10-05 15:30:09 +00:00
Alexander Alekhin
953c60829e
Merge pull request #15644 from wise86-android:upgradePySetup
2019-10-05 15:29:13 +00:00
Alexander Alekhin
6d811f9879
Merge pull request #15641 from alalek:dnn_pytest_update_3.4
2019-10-05 15:28:52 +00:00
Alexander Alekhin
22d0c57a1c
Merge pull request #15602 from alalek:core_softfloat_ubsan_shift
2019-10-05 15:27:35 +00:00
Wise86
b1485d0337
upgrade the file to use the correct package name and include py3/gtk3 support
2019-10-05 14:53:09 +02:00
Alexander Alekhin
c54753c185
Merge pull request #15638 from AsyaPronina:asyadev/gapi_filter2d_test
2019-10-05 11:22:11 +00:00
Alexander Alekhin
bdc097495a
fix avx512 detection
...
- renamed Cascade Lake AVX512_CEL => AVX512_CLX (align with Intel SDE tool)
- fixed CLX instruction sets (no IFMA/VBMI)
- added flag to bypass CPU baseline check: OPENCV_SKIP_CPU_BASELINE_CHECK
2019-10-05 11:03:57 +00:00
Alexander Alekhin
8115b004b9
Merge pull request #15639 from alalek:dnn_test_fix_data
2019-10-04 19:46:21 +00:00
Alexander Alekhin
feff8bf972
Merge pull request #15626 from alalek:dnn_openvino_2019r3
2019-10-04 19:45:37 +00:00
AsyaPronina
4429352125
OpenCV G-API test for Filter2d has changed:
...
> Size parameter is changed from int to cv::Size type to allow rectangle kernels
> Kernel creation code is adopted for different kernel sizes to not create only white images on the output
2019-10-04 21:25:33 +03:00
Alexander Alekhin
f301f17b61
imgproc: accurate histogram value thresholding
2019-10-04 19:56:25 +03:00
Alexander Alekhin
c13a5ce229
Merge pull request #15622 from dkurt:enet_ie_cpu
2019-10-04 16:31:05 +00:00
Alexander Alekhin
c9b2cedebd
Merge pull request #15631 from codeclown:pkg-config
2019-10-04 15:56:16 +00:00
Alexander Alekhin
ab5252c18e
dnn(pytest): backport changes from master, update test setUp()
2019-10-04 18:43:35 +03:00
Dmitry Kurtaev
e35fd463e7
Enable ENet with Inference Engine backend on CPU
2019-10-04 18:10:11 +03:00
Alexander Alekhin
fd11e3a81d
dnn: update IE tests
2019-10-04 17:49:10 +03:00
Alexander Alekhin
f0058bbed3
dnn(test): fix optional test data
2019-10-04 17:26:35 +03:00
Alexander Alekhin
22d86116ee
Merge pull request #15634 from alalek:issue_15083_4903
2019-10-04 11:54:54 +00:00
Alexander Alekhin
deea46000e
Merge pull request #15637 from APrigarina:3.4_version2
...
QR-Code detection: accuracy improvement (fixed)
2019-10-04 14:09:35 +03:00
APrigarina
c99db2b9db
bug fix
2019-10-04 13:02:54 +03:00
Alexander Alekhin
c69245da1f
imgproc: fix fitLine() implementation
...
- update optimal solutions on each iteration
2019-10-03 21:23:52 +00:00
Martti Laine
3c50d24d8e
Add note about pkg-config usage in tutorial
2019-10-03 15:55:03 +03:00
Alexander Alekhin
53c88f0f9e
Merge pull request #15627 from andrey-golubev:fix_perform_subst
2019-10-02 22:30:01 +00:00
andrey-golubev
d50babfc99
G-API: fix perform substitution UB/crash
2019-10-02 20:54:11 +03:00
Alexander Alekhin
2b66495a9d
dnn: use OpenVINO 2019R3 defines
2019-10-02 18:47:01 +03:00
Alexander Alekhin
3fb6617d62
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-02 17:49:19 +03:00
Alexander Alekhin
a105f56957
Merge pull request #15621 from alalek:cmake_ipp_licenses
2019-10-02 14:30:17 +00:00
Alexander Alekhin
23bd1866ca
Merge pull request #15620 from alalek:issue_14727
2019-10-02 14:29:56 +00:00
Alexander Alekhin
59c182ed2b
Merge pull request #15467 from elmsfu:dshow/add_save_graph_file
2019-10-02 14:27:56 +00:00
Alexander Alekhin
c06115cb3f
Merge pull request #15619 from alalek:dnn_eltwise_sum_ie_ocl
2019-10-01 18:02:45 +00:00
Elms
8b483a91bc
dshow: Add ability to save direct show graph
2019-10-01 09:46:07 -07:00
Alexander Alekhin
8814645c8d
dnn(test): skip IE/OCL test for "sum"
2019-10-01 18:29:47 +03:00
Alexander Alekhin
c92f3072b4
cmake: add check for IPP IW license files
2019-10-01 18:24:03 +03:00
Alexander Alekhin
ffea927ac2
Merge pull request #15618 from alalek:dnn_test_async_timeout
2019-10-01 14:48:47 +00:00
Alexander Alekhin
77346d7286
core: workaround transform() inplace calls
2019-10-01 16:52:14 +03:00
Alexander Alekhin
3133bb49aa
Merge pull request #15492 from TolyaTalamanov:at/new-render-prims
2019-10-01 12:39:16 +00:00
Alexander Alekhin
440a937d24
dnn: increase async test timeout
2019-10-01 13:31:57 +03:00
Talamanov, Anatoliy
06067efa3f
Add new render primitives
2019-10-01 12:11:41 +03:00
Alexander Alekhin
6aa689f87c
Merge pull request #15611 from dkurt:fix_dnn_inp_size_autodetect
2019-09-30 18:38:14 +00:00
Alexander Alekhin
ba0b3983c6
Merge pull request #15609 from sturkmen72:update_loadsave_cpp
2019-09-30 18:37:21 +00:00
Sebastián Gurin
a3144cbadc
Merge pull request #15480 from cancerberoSgx:estimateAffine2D
...
js - cv.estimateAffine2D, cv.warpPolar
2019-09-30 21:35:26 +03:00
ann
5c9a624a85
Merge pull request #15356 from APrigarina:3.4_version2
...
QR-Code detection: accuracy improvement
* first commit
* resize improvement
* resize improvement
* dummy commit
* warnings fix
* warnings fix
* warnings fix
* test added
* resize fix
* resize fix
* tests changed
* tests changed
2019-09-30 21:33:58 +03:00
Dmitry Kurtaev
fba9fdfd27
Fix autodetection of input size for dnn networks
2019-09-30 16:05:15 +03:00
Suleyman TURKMEN
d88d1c9935
Update loadsave.cpp
2019-09-28 23:24:17 +03:00
Alexander Alekhin
507ca291e1
Merge pull request #12670 from alalek:imgproc_getRotationMatrix2D_return_type
2019-09-28 18:03:34 +00:00
Alexander Alekhin
ed9bca969c
core: fix UBSAN in softfloat
2019-09-27 16:29:50 +03:00
Alexander Alekhin
aa61e79615
Merge pull request #15600 from alalek:imgproc_pyramid_fix_indexing
2019-09-27 10:21:52 +00:00
Brandon
25dee8383c
Merge pull request #15595 from frastlin:rodrigues
...
* Added Rodrigues to the JS embindgen.py and a unittest in test_calib3d.js on 3.4 base
2019-09-27 13:06:07 +03:00
Alexander Alekhin
f81e401cd0
imgproc: fix indexing issue in pyramids
...
UBSAN violation expression: 'tab = tabR - x;'
2019-09-26 18:09:47 +03:00
Alexander Alekhin
bc927f9788
Merge pull request #15591 from alalek:core_persistence_fix
2019-09-26 12:59:37 +00:00
Alexander Alekhin
e2a5a6a05c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-25 18:32:44 +00:00
Alexander Alekhin
7ce9428e96
Merge pull request #15580 from smbz:dnn-lstm-reverse
2019-09-25 15:54:06 +00:00
Andrey Golubev
9f4f9000bc
Merge pull request #15313 from andrey-golubev:map_subst_to_pattern
...
G-API: add transformation logic to GCompiler
* Introduce transformation logic to GCOmpiler
* Remove partialOk() method
* Fix minor issues
* Refactor code according to code review
1. Re-design matchPatternToSubstitute logic
2. Update transformations order
3. Replace check_transformations pass with a
one time check in GCompiler ctor
* Revert unused nodes handling in pattern matching
* Address minor code review issues
* Address code review comments:
1) Fix some mistakes
2) Add new tests for endless loops
3) Update GCompiler's transformations logic
* Simplify GCompiler check for endless loops
1. Simplify transformations endless loops check:
- Original idea wasn't a full solution
- Need to develop a good method (heuristic?) to find loops
in general case (TODO)
2. Remove irrelevant Endless Loops tests
3. Add new "bad arg" tests and unit tests
* Update comments
2019-09-25 18:19:45 +03:00
Alexander Alekhin
677b94c92e
Merge pull request #15579 from alalek:ocl_use_host_mem_ptr_flag
2019-09-25 15:12:59 +00:00
Andrew Ryrie
b88435fdc2
dnn: Allow LSTM layer to operate in reverse direction
...
This is useful for bidirectional LSTMs.
2019-09-25 14:12:43 +01:00
Alexander Alekhin
790927bb55
Merge pull request #15582 from terfendail:pyrdown_oob
2019-09-25 12:37:31 +00:00
Lubov Batanina
e923712d81
Merge pull request #15572 from l-bat:deconv3d
...
Fix computation of internal shapes in Deconvolution layer
* Fix computation of internal shapes
* Refactoring
2019-09-25 15:35:04 +03:00
Alexander Alekhin
eacadf0e73
core(ocl): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR
...
to control CL_MEM_USE_HOST_PTR usage
2019-09-25 15:12:36 +03:00
Alexander Alekhin
6e246ee58c
core(persistence): fix reserveNodeSpace() implementation
...
- avoid data copying after buffer block shrink
- resize current block in case of single FileNode
2019-09-25 15:02:20 +03:00
Vitaly Tuzov
0a1b957331
StereoBM algorithm updated to use wide universal intrinsics
2019-09-25 14:37:12 +03:00
Alexander Alekhin
e3daf489c8
Merge pull request #15581 from takacsd:3.4
2019-09-25 10:45:49 +00:00
Vitaly Tuzov
1c17b3281a
Fixed OOB reading in pyrDown
2019-09-25 13:24:17 +03:00
Alexander Alekhin
d2cacac07a
Merge pull request #15573 from alalek:build_cxx11_warnings
2019-09-24 22:08:55 +00:00
takacsd
e0be771b64
Add option to disable features in iOS build.
2019-09-24 17:42:35 +02:00
Wenzhao Xiang
c2096771cb
Merge pull request #15371 from Wenzhao-Xiang:gsoc_2019
...
[GSoC 2019] Improve the performance of JavaScript version of OpenCV (OpenCV.js)
* [GSoC 2019]
Improve the performance of JavaScript version of OpenCV (OpenCV.js):
1. Create the base of OpenCV.js performance test:
This perf test is based on benchmark.js(https://benchmarkjs.com ). And first add `cvtColor`, `Resize`, `Threshold` into it.
2. Optimize the OpenCV.js performance by WASM threads:
This optimization is based on Web Worker API and SharedArrayBuffer, so it can be only used in browser.
3. Optimize the OpenCV.js performance by WASM SIMD:
Add WASM SIMD backend for OpenCV Universal Intrinsics. It's experimental as WASM SIMD is still in development.
* [GSoC2019]
1. use short license header
2. fix documentation node issue
3. remove the unused `hasSIMD128()` api
* [GSoC2019]
1. fix emscripten define
2. use fallback function for f16
* [GSoC2019]
Fix rebase issue
2019-09-24 16:30:42 +03:00
Alexander Alekhin
2fef9bc1d8
Merge pull request #15570 from smirnov-alexey:gapi_threshold_test
2019-09-24 13:21:10 +00:00
Alexander Alekhin
3cf9185159
Merge pull request #15538 from terfendail:wui_checkany
2019-09-23 15:52:24 +00:00
Maksim Shabunin
c8abf2ad14
backport: fixed warnings produced by clang-9.0.0
...
ea3dc78986
https://github.com/opencv/opencv_contrib/commit/83fc27cb99db4435d07974090fbdc77d831931cd
2019-09-23 18:36:18 +03:00
smirnov-alexey
bab8addcbb
Move maxval to threshold tests parameter
...
Fix documentation
2019-09-23 14:21:33 +03:00
Alexander Alekhin
c4d2e3c0b3
Merge pull request #15566 from alalek:issue_15558
2019-09-23 09:22:06 +00:00
Alexander Alekhin
b40fd6de32
Merge pull request #15565 from alalek:issue_15561
2019-09-23 09:21:49 +00:00
Alexander Alekhin
3516d0835e
Merge pull request #15564 from alalek:issue_15560
2019-09-23 09:21:27 +00:00
Alexander Alekhin
fcc69d5a60
core(test): fix check conditions
2019-09-22 11:28:41 +00:00
Alexander Alekhin
fef7fc343e
ml: add checks of empty train data
2019-09-22 11:12:19 +00:00
Alexander Alekhin
ad2854c8b3
imgcodecs: add check image.empty() in imwrite()/imencode()
2019-09-22 10:45:00 +00:00
Alexander Alekhin
a74fe2ec01
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-20 21:11:49 +00:00
Alexander Alekhin
eabbe38001
Merge pull request #15554 from alalek:pr15422_patch_files
...
* 3rdparty: libpng v1.6.37 MSA patch (pr15422)
original files: https://github.com/glennrp/libpng/tree/v1.6.37/mips
* 3rdparty: libwebp MSA asm patch (pr15422)
2019-09-21 00:07:24 +03:00
mipsopen-fwu
b1ea91d8bd
Merge pull request #15422 from mipsopen-fwu:msa-dev
...
* Added MSA implementations for mips platforms. Intrinsics for MSA and build scripts for MIPS platforms are added.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* Removed some unused code in mips.toolchain.cmake.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* Added comments for mips toolchain configuration and disabled compiling warnings for libpng.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* Fixed the build error of unsupported opcode 'pause' when mips isa_rev is less than 2.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* 1. Removed FP16 related item in MSA option defines in OpenCVCompilerOptimizations.cmake.
2. Use CV_CPU_COMPILE_MSA instead of __mips_msa for MSA feature check in cv_cpu_dispatch.h.
3. Removed hasSIMD128() in intrin_msa.hpp.
4. Define CPU_MSA as 150.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* 1. Removed unnecessary CV_SIMD128_64F guarding in intrin_msa.hpp.
2. Removed unnecessary CV_MSA related code block in dotProd_8u().
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* 1. Defined CPU_MSA_FLAGS_ON as "-mmsa".
2. Removed CV_SIMD128_64F guardings in intrin_msa.hpp.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
* Removed unused msa_mlal_u16() and msa_mlal_s16 from msa_macros.h.
Signed-off-by: Fei Wu <fwu@wavecomp.com >
2019-09-20 19:52:48 +03:00
Alexander Alekhin
a052567db8
Merge pull request #15530 from sturkmen72:update_samples_v4
2019-09-20 16:41:41 +00:00
Suleyman TURKMEN
2d2330382d
Update samples
2019-09-20 18:03:26 +03:00
Vitaly Tuzov
66842f5a18
Extended v_check_any/v_check_all universal intrinsics to support 64-bit integer
2019-09-19 18:31:31 +03:00
Alexander Alekhin
33e9fe9312
Merge pull request #15540 from alalek:issue_15278_2
2019-09-18 20:12:36 +00:00
Alexander Alekhin
65c209fad3
Merge pull request #15519 from mshabunin:fix-custom-install
2019-09-18 15:31:25 +00:00
dab0bby
a9163a53d3
Merge pull request #15477 from dab0bby:remove-old-build-java-option
...
* remove old BUILD_opencv_java option
* replace old build_java option with new BUILD_JAVA option
2019-09-18 18:30:01 +03:00
Alexander Alekhin
c657c6cbac
cmake: use 'long long' for atomic check
2019-09-18 15:18:09 +00:00
Alexander Alekhin
ee23a7575d
Merge pull request #15515 from dkurt:dnn_detection_model_fix
2019-09-18 12:19:14 +00:00
Alexander Alekhin
8167d47efc
Merge pull request #15516 from dkurt:dnn_detection_model_fix_3.4
2019-09-18 11:22:27 +00:00
Alexander Alekhin
1ecea1f4a6
Merge pull request #15529 from collinbrake:feature_grammar_fixes
2019-09-18 11:19:59 +00:00
Vitaly Tuzov
9fa6c2ac04
Fixed out of bound reading in DIS optical flow evaluation implementation
2019-09-17 18:01:46 +03:00
Maksim Shabunin
3ece62cb9c
Merge pull request #15531 from terfendail:disflow_fix
2019-09-17 15:01:06 +00:00
Alexander Alekhin
46fd112f9b
Merge pull request #15399 from terfendail:perf_stereobm
2019-09-17 14:26:43 +00:00
Vitaly Tuzov
cd7fa04985
Fixed out of bound reading in DIS optical flow evaluation implementation
2019-09-17 15:53:18 +03:00
collin
bcf7d3160c
Grammer fixes on python image display tutorial
2019-09-16 17:57:22 -04:00
Daniel Kapusi
d2872afce0
Merge pull request #15341 from DiebBlue:is5769
...
* issue 5769 fixed: cv::stereoRectify fails if given inliers mask of type vector<uchar>
* issue5769 fix using reshape and add regression test
* regression test with outlier detection, testing vector and mat data
* Size comparision of wrong vector within CV_Assert in regression test corrected
* cleanup test code
2019-09-17 00:04:05 +03:00
Alexander Alekhin
70c88a2087
Merge pull request #15517 from mshabunin:fix-osx-avfoundation-auth
2019-09-16 15:28:34 +00:00
Alexander Alekhin
7770ba1f10
Merge pull request #15491 from terfendail:undistort_fix
2019-09-16 15:24:29 +00:00
Vitaly Tuzov
7b3a752012
Fixed universal intrinsic undistort() implementation
2019-09-16 17:16:38 +03:00
Dmitry Kurtaev
b8d4664e6e
Fix OpenVINO 2019R1 compilation
2019-09-16 15:12:19 +03:00
Dmitry Kurtaev
bd5d16ce36
Fix DetectionModel in case of out of [0, 1] range detection prediction
2019-09-16 15:07:10 +03:00
Maksim Shabunin
e98852a389
AVFoundation: fix authorization request not being shown
2019-09-16 15:06:29 +03:00
Alexander Alekhin
08e4ffdf79
ffmpeg/4.x: update FFmpeg plugin
...
ffmpeg: 4.1.3 -> 4.2.1
libvpx: 1.8.0 -> 1.8.1
2019-09-16 15:02:11 +03:00
Maksim Shabunin
5a75808516
Windows: partially restore install config generation
2019-09-16 12:11:48 +03:00
Alexander Alekhin
b4c5b50a3e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-13 17:15:45 +00:00
Alexander Alekhin
03c4c67dad
Merge pull request #15518 from mshabunin:fix-osx-qt
2019-09-13 17:06:00 +00:00
Alexander Alekhin
f5f9187720
Merge pull request #15476 from cancerberoSgx:js-docker
2019-09-13 17:04:52 +00:00
Alexander Alekhin
89b82e796e
Merge pull request #15449 from mshabunin:cmake-download-params
2019-09-13 17:03:28 +00:00
Alexander Alekhin
48fa39f675
Merge pull request #15487 from dkurt:fix_ie_2019r1
2019-09-13 16:57:34 +00:00
Alexander Alekhin
69c19dc3d3
Merge pull request #15511 from pmur:vmuleo-fix-gcc7
2019-09-13 16:48:18 +00:00
Maksim Shabunin
5c0502b470
Fixed OSX build with Qt
2019-09-13 15:23:59 +03:00
Maksim Shabunin
f10fce9ab4
AVFoundation: backported runtime authorization check from master
2019-09-13 13:20:29 +03:00
Maksim Shabunin
aaad238c6e
AVFoundation: fix authorization request not being shown
2019-09-13 13:11:35 +03:00
Dmitry Kurtaev
3ddb005480
Fix DetectionModel in case of out of [0, 1] range detection prediction
2019-09-13 12:58:56 +03:00
Dmitry Kurtaev
741aee6901
Fix dnn object detection sample
2019-09-13 11:50:50 +03:00
Dmitry Kurtaev
0428f60d66
Fix OpenVINO 2019R1 compilation
2019-09-13 09:22:34 +03:00
Paul E. Murphy
b465c82696
core: workaround old gcc vec_mul{e,o} (Issue #15506 )
...
ISA 2.07 (aka POWER8) effectively extended the expanding multiply
operation to word types. The altivec intrinsics prior to gcc 8 did
not get the update.
Workaround this deficiency similar to other fixes.
This was exposed by commit 33fb253a66
which leverages the int -> dword expanding multiply.
This fixes Issue #15506
2019-09-12 09:54:02 -05:00
Alexander Alekhin
1e410ed826
Merge pull request #15468 from alalek:ffmpeg_update_master
2019-09-10 09:57:57 +00:00
Alexander Alekhin
8609198b05
Merge pull request #15466 from alalek:ffmpeg_update_3.4
2019-09-10 09:57:38 +00:00
Alexander Alekhin
95a55250a7
ffmpeg/4.x: update FFmpeg plugin
...
ffmpeg: 4.1.3 -> 4.2.1
libvpx: 1.8.0 -> 1.8.1
2019-09-10 03:13:21 +00:00
Maksim Shabunin
349f0cf5e9
Merge pull request #15443 from anton-potapov:fluid_internal_parallellism_fix_review_comments
2019-09-09 19:27:59 +00:00
Maksim Shabunin
57b16a4b6e
Merge pull request #15485 from anton-potapov:gapi_standalone_fix_cmake_warning
2019-09-09 14:58:18 +00:00
Anton Potapov
758156a9b6
Fluid Internal Parallelism:
...
- add comments on signature of custom parallel_for
- use cv::parallel_for_ by default
2019-09-09 17:37:52 +03:00
Vitaly Tuzov
bf8b5ffeb1
Added performance test for StereoBM algorithm
2019-09-09 16:37:06 +03:00
Anton Potapov
8747082091
G-API: fixing CMake warning for standalone build
2019-09-09 16:23:04 +03:00
Sebastián Gurín
a17231a6b4
js docker build docs emcc latest warning
2019-09-06 15:18:34 -03:00
Alexander Alekhin
b3a0507546
Merge pull request #15475 from alalek:build_eliminate_warning_array_bounds
2019-09-06 15:57:52 +00:00
Alexander Alekhin
4de115c08c
Merge pull request #15474 from alalek:gapi_test_valgrind_disable_memory_consuption_check
2019-09-06 15:33:01 +00:00
Alexander Alekhin
f139a0bda8
Merge pull request #15461 from alalek:imgproc_connectedcomponents_allocation
2019-09-06 15:32:04 +00:00
Alexander Alekhin
bdf23ce855
ts: eliminate -Warray-bounds warning
2019-09-06 18:06:02 +03:00
Alexander Alekhin
60488ffbbd
gapi(test): disable memory consumption check in valgrind runs
2019-09-06 17:02:30 +03:00
Yuhel Tanaka
a13862e924
Fix issue #6450
2019-09-06 11:56:04 +09:00
Alexander Alekhin
6a49887695
ffmpeg/3.4: update FFmpeg wrapper
2019-09-05 21:36:06 +00:00
Alexander Alekhin
e7b6753a10
imgproc: avoid manual memory allocation in connectedcomponents.cpp
2019-09-05 16:20:08 +03:00
Maksim Shabunin
8b42995e8b
Add option to skip nested cmake structure on Windows
2019-09-05 15:42:21 +03:00
Alexander Alekhin
84c3bbd934
OpenCV version '-openvino'
2019-09-05 15:42:21 +03:00
Alexander Alekhin
a0d227714e
dnn: use OpenVINO 2019R3 defines
2019-09-05 15:42:21 +03:00
Alexander Alekhin
bea2c75452
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-05 14:29:22 +03:00
Jaime
fafada28eb
Merge pull request #14872 from AhiyaHiya:feature/topmost_window
...
* Added mechanism to set/toggle NORMAL window to TOPMOST window.
* highgui: remove unnecessary/legacy code
2019-09-05 13:55:17 +03:00
Alexander Alekhin
4ffb5b62ea
Merge pull request #15170 from sturkmen72:update_samples
2019-09-05 10:44:06 +00:00
Suleyman TURKMEN
f73395122c
Update Samples
2019-09-05 01:10:51 +03:00
Alexander Alekhin
0a13633411
Merge pull request #15444 from alalek:ocl_fix_fft_kernel
2019-09-04 16:25:34 +00:00
Everton Constantino
76e403cf25
Merge pull request #15440 from everton1984:new_integral_tests
...
* Adding all possible data type interactions to the perf tests since some
use SIMD acceleration and others do not.
* Disabling full tests by default.
* Giving proper names, removing magic numbers and sanity checks of new
performance tests for the integral function.
* Giving proper names, making array static.
2019-09-04 19:14:00 +03:00
Alexander Alekhin
00f36a261b
Merge pull request #15451 from mattmyne:calibratecameraRO_fix_emptyJo
2019-09-04 16:12:30 +00:00
huihut
fe42933ac5
Merge pull request #15433 from huihut:master
...
* fix 'chmod' is not recognized as an internal or external command in Windows
https://github.com/opencv/opencv/issues/14939
* cmake: update PCH command handling
2019-09-04 18:36:56 +03:00
Matt Bennett
b17d16623a
Prevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0
2019-09-04 15:33:03 +01:00
Maksim Shabunin
9d4f01626c
cmake: add directory creation to download helper scripts
2019-09-04 17:09:13 +03:00
Maksim Shabunin
d974d4c6ce
cmake: download tries, customizable download parameters
2019-09-04 17:09:13 +03:00
Dmitry Kurtaev
ba703157cf
Merge pull request #15063 from dkurt:dnn_ie_ocv_layers
...
* Wrap unsupported by IE layers as custom layers
* Replace pointers to layers blobs to their shapes
* Enable Faster R-CNN with IE backend on CPU
2019-09-03 18:58:57 +03:00
Alexander Alekhin
8bd2720c28
core(ocl): fix fft kernel compilation
...
- error: variables in the local address space can only be declared in the outermost scope of a kernel function
2019-09-03 15:46:53 +03:00
Alexander Alekhin
7e46766c8d
Merge pull request #15437 from devnexen:fbsd_opencl_build_fix
2019-09-03 12:21:02 +00:00
Alexander Alekhin
61cc855564
Merge pull request #15442 from alalek:fix_15293
2019-09-03 12:05:57 +00:00
Alexander Alekhin
e736f590f7
Merge pull request #15436 from alalek:update_version_4.1.2-pre
2019-09-03 12:05:16 +00:00
Alexander Alekhin
9ef5373776
Merge pull request #15435 from alalek:update_version_3.4.8-pre
2019-09-03 12:04:23 +00:00
Alexander Alekhin
6d669dcd7d
gapi(test): fix 32S->8U type in OwnMatConversion.WithND
2019-09-03 14:00:28 +03:00
Alexander Alekhin
abd7d63b74
Merge pull request #15424 from mshabunin:add-cmake-docs
2019-09-03 10:50:45 +00:00
OrestChura
55c1720719
Merge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue
...
* - headers in "infer/" and "infer/ie/" folders are included into gapi_ext_hdrs;
+ because of that a few #includes are required in the headers
- HAVE_INF_ENGINE flag check in headers "infer/ie.hpp" and "infer/ie/util.hpp" is deleted
* - the "ie/util.hpp" header is a private header now as it's used for tests; it's been moved to the scr directory to the place next to the implementation file "ie/giebackend.cpp"
- the path to this header in files "ie/giebackend.cpp" and "test/infer/gapi_infer_ie_test.cpp" is updated
- As it's private header now and explicitly depends on IE, the "HAVE_INF_ENGINE" flag check is returned
2019-09-03 13:22:12 +03:00
David Carlier
6769ee3748
OpenCL: FreeBSD build fix
2019-09-02 18:30:53 +01:00
Alexander Alekhin
07f0225ca6
Merge pull request #15438 from anton-potapov:fluid_internal_parallellism_fix_kw
2019-09-02 15:47:21 +00:00
Anton Potapov
f7b5900671
Fluid Internal Parallelism
...
- make static analysis happy
2019-09-02 16:16:01 +03:00
Alexey Smirnov
8a7e74673e
Merge pull request #15312 from smirnov-alexey:gapi_fluid_garray
...
* Support GArray as input in fluid kernels
* Create tests on GArray input in fluid
* Some fixes to fully support GArray
* Refactor code and change the kernel according to review
* Add histogram calculation as a G-API kernel
Add assert that input GArgs in fluid contain at least one GMat
2019-09-02 15:51:58 +03:00
Alexander Alekhin
3c62f3a8e3
pre: OpenCV 4.1.2 (version++)
2019-09-02 15:26:14 +03:00
Alexander Alekhin
48d41ab088
dnn: bump API version
2019-09-02 14:25:18 +03:00
Alexander Alekhin
0fda243a05
pre: OpenCV 3.4.8 (version++)
2019-09-02 14:20:49 +03:00
Alexander Alekhin
70dfae31a2
experimental version++
2019-09-02 14:17:36 +03:00
Alexander Alekhin
e98e58c65a
Merge pull request #15432 from atinfinity:removed-tegra-optimization
2019-09-01 21:57:57 +00:00
atinfinity
3b9f981358
removed tegra optimization
2019-09-01 21:22:06 +09:00
Alexander Alekhin
048ddbf9ee
Merge pull request #15339 from pmur:dotprod-32s-vsx
2019-08-31 11:16:04 +00:00
Alexander Alekhin
2a6527e751
Merge pull request #15402 from ChipKerchner:normUnroll
2019-08-31 11:10:05 +00:00
Chip Kerchner
26228e6b4d
Merge pull request #15358 from ChipKerchner:imgwarpToHal
...
* Convert ImgWarp from SSE SIMD to HAL - 2.8x faster on Power (VSX) and 15% speedup on x86
* Change compile flag from CV_SIMD128 to CV_SIMD128_64F for use of v_float64x2 type
* Changing WarpPerspectiveLine from class functions and dispatching to static functions.
* Re-add dynamic runtime and dispatch execution.
* RRestore SSE4_1 optimizations inside opt_SSE4_1 namespace
2019-08-31 13:47:58 +03:00
Maksim Shabunin
f3aab47f94
Assorted documentation fixes
...
* removed private flann documentation
* common tutorial images moved to doc/images
* grouping issues
2019-08-31 01:50:11 +03:00
Alexander Alekhin
1661e83939
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-30 16:22:42 +03:00
Alexander Alekhin
f224d740a3
Merge pull request #15414 from kuzi117:instr
2019-08-30 12:03:19 +00:00
Alexander Alekhin
700f7a275f
Merge pull request #15418 from mshabunin:try-install-layout-34
2019-08-29 18:42:58 +00:00
Alexander Alekhin
e319340253
Merge pull request #15417 from alalek:ts_fix_callback_signature
2019-08-29 18:40:19 +00:00
Alexander Alekhin
6508bbcef5
Merge pull request #15412 from kuzi117:ambig
2019-08-29 18:39:00 +00:00
Braedy Kuzma
9bf8b496d6
Use commonly supported instruction mnemonic.
2019-08-29 10:00:40 -06:00
Braedy Kuzma
d4120dd2fe
Disambiguate vecpopcnt for (u)dword2.
2019-08-29 09:54:56 -06:00
Maksim Shabunin
8c849a48cc
Ported install layout refactoring from master branch
2019-08-29 17:01:49 +03:00
Alexander Alekhin
654d0c29ad
ts: fix callback function signature
...
detected by UBSAN
2019-08-29 15:09:32 +03:00
Alexander Alekhin
8d0b3dad5c
Merge pull request #15357 from ChipKerchner:fastCorner
2019-08-29 08:26:31 +00:00
Lubov Batanina
90eb529bc4
Merge pull request #15395 from l-bat:fully_connected
...
* Fix IE FullyConnected layer
* Fix MyriadX
2019-08-29 10:52:02 +03:00
Alexander Alekhin
6506c19ac3
Merge pull request #15407 from terfendail:test_check_any
2019-08-28 16:39:01 +00:00
Alexander Alekhin
834c992553
Merge pull request #14786 from mshabunin:try-install-layout
2019-08-28 15:58:21 +00:00
Chip Kerchner
30a60d396b
Merge pull request #15274 from ChipKerchner:lkpyramidToHal
...
* Convert lkpyramid from SSE SIMD to HAL - 90% faster on Power (VSX).
* Replace stores with reduce_sum. Rework to handle endianess correctly.
* Fix compiler warnings by casting values explicitly to shorts
* Switch to CV_SIMD128 compiler definition. Unroll loop to 8 elements since we've already loaded the data.
2019-08-28 18:56:48 +03:00
Vitaly Tuzov
d134ec54c5
Extend tests for v_check_any and v_check_all intrinsics
2019-08-28 14:53:31 +03:00
Alexander Alekhin
ca7640e10f
Merge pull request #15401 from ChipKerchner:vectorReduceInt8Bug
2019-08-27 19:59:39 +00:00
ChipKerchner
288e6f9c07
Improve vectorization in the 'norm' functions
2019-08-27 12:15:19 -05:00
ChipKerchner
70b883cfeb
Fix macro bug with v_reduce_min and v_reduce_max for chars in VSX
2019-08-27 11:38:53 -05:00
Alexander Alekhin
ea525d5685
Merge pull request #15400 from terfendail:fix_check_any
2019-08-27 14:07:23 +00:00
Alexander Alekhin
1ae001d10a
Merge pull request #15378 from andrey-golubev:acc_tests_doc
2019-08-27 12:20:05 +00:00
Vitaly Tuzov
1b40528e1a
Fix for AVX2 implementation of v_check_any(), v_check_all() intrinsics
2019-08-27 14:31:23 +03:00
Maksim Shabunin
4e67eb6c42
Extracted install layout configuration to separate file
2019-08-26 18:15:32 +03:00
atinfinity
824465ea27
Merge pull request #15388 from atinfinity:impl-turbo-colormap
...
Implementation of colormap "Turbo" (#15388 )
* implemented turbo colormap
* add colormap image
* changed float value to avoid cast
* sorted flag check alphabetically
2019-08-26 17:55:10 +03:00
Alexander Alekhin
4a33014edc
Merge pull request #15391 from dkurt:fix_15141
2019-08-26 12:17:21 +00:00
Dmitry Kurtaev
57676cf64d
Fix https://github.com/opencv/opencv/issues/15141
2019-08-24 23:14:26 +03:00
Alexander Alekhin
a7b954f655
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-23 19:24:37 +03:00
Alexander Alekhin
114674c3d9
Merge pull request #15383 from alalek:fix_15379
2019-08-23 16:19:36 +00:00
Alexander Alekhin
c05595e482
Merge pull request #15382 from alalek:fix_15287
2019-08-23 16:09:13 +00:00
Alexander Alekhin
d4d7ab0620
Merge pull request #15380 from alalek:fix_build_icc
2019-08-23 16:07:21 +00:00
Alexander Alekhin
c74206e4de
Merge pull request #15376 from ilya-lavrenov:detect_openvino
2019-08-23 16:05:15 +00:00
Giles Payne
96d5cbd036
Merge pull request #15350 from komakai:apple-debug-build
...
* Add debug build option to MacOs and iOS build scripts
* osx: allow selection of MACOSX_DEPLOYMENT_TARGET
* Add --debug_info flag to iOS and macOS builds for building with debug info
2019-08-23 18:22:29 +03:00
Ilya Lavrenov
d0c4a92b4c
Adopted detection of Inference Engine
2019-08-23 17:37:57 +03:00
Alexander Alekhin
d7409604b5
core: handle empty Mat in Mat_ assignment operators
2019-08-23 16:54:24 +03:00
Alexander Alekhin
29dbeb253c
build: fix build with ICC
2019-08-23 16:36:32 +03:00
Alexander Alekhin
5a497077f1
objdetect: add input check in HOG detector
2019-08-23 16:14:53 +03:00
Alexander Alekhin
576644a197
Merge pull request #15236 from dbudniko:dbudniko/g_api_copy_kernels
2019-08-23 10:47:47 +00:00
Andrey Golubev
410583e5f9
Document usage of accuracy tests model
2019-08-23 13:15:35 +03:00
Alexander Alekhin
6bf6d1dc6b
Merge pull request #15373 from pmur:libpng-vsx-fix
2019-08-22 20:54:34 +00:00
Alexander Alekhin
56e832ee43
Merge pull request #15372 from alalek:core_stat_fix_intrin
2019-08-22 20:52:54 +00:00
Alexander Alekhin
601096f360
Merge pull request #15370 from alalek:core_fastmath_hpp_update
2019-08-22 17:05:38 +00:00
Alexander Alekhin
aa09febf79
Merge pull request #15353 from alalek:cmake_check_atomic
2019-08-22 15:43:34 +00:00
Paul E. Murphy
8aca1934ff
libpng: update check for VSX enablement
...
The deprecated flag ENABLE_VSX should not be used to enable this
feature. Instead, use the baseline cpu feature set to determine.
2019-08-22 10:08:01 -05:00
Kazuma Furuhashi
ccecd3405a
Merge pull request #15007 from 284km:fixatypo
...
s/last_occurence/last_occurrence/
2019-08-22 17:32:25 +03:00
Alexander Alekhin
8a0b93bc4d
core: update fastmath.hpp
2019-08-22 16:43:07 +03:00
Alexander Alekhin
8b1fe8f6e0
core: fix stat SIMD code
2019-08-22 16:37:26 +03:00
Alexander Alekhin
7243eda2ff
Merge pull request #15316 from sturkmen72:update_seamless_cloning_cpp
2019-08-22 11:37:38 +00:00
Prakhar Varshney
3f7cc45686
Merge pull request #15345 from prakhar9998:patch-1
...
* fix broken code link
resolves #15344
* Update stitcher.markdown
* update 3.4 link
2019-08-22 12:25:27 +03:00
Alexander Alekhin
84b8a2fb05
Merge pull request #15303 from dkurt:fix_15296
2019-08-21 16:59:20 +00:00
Alexander Alekhin
c93e2ff81d
Merge pull request #15365 from Zyrin:3.4
2019-08-21 15:55:25 +00:00
Alexander Alekhin
0cdfd72529
Merge pull request #15368 from dab0bby:patch-2
2019-08-21 15:10:25 +00:00
dab0bby
70ce2bbb9e
fix typo and reference
2019-08-21 14:52:31 +02:00
Alexander Alekhin
4700722444
Merge pull request #15359 from mgehre:fix_dangling_pointer
2019-08-21 11:38:36 +00:00
Alexander Alekhin
464972855e
cmake: add libatomic check
2019-08-21 13:02:36 +03:00
Rosen Penev
58ca013b90
Merge pull request #15279 from neheb:patch-1
...
* jas_stream: Add definition for L_tmpnam if missing
uClibc-ng for some reason does not provide a definition when some
deprecated APIs are disabled. Value taken from the musl libc.
* 3rdparty: move uClibc-ng workaround into config file
2019-08-21 12:59:09 +03:00
Zyrin
869ea22f34
Use std::move in Mat_<T> move constructors
2019-08-21 11:12:00 +02:00
Zyrin
8ef8088686
Fix stack overflow on gcc with c++17 ( #15343 )
2019-08-21 10:57:03 +02:00
Alexander Alekhin
c5e9bbe4f3
Merge pull request #15335 from lixit:master
2019-08-20 22:10:11 +00:00
Matthias Gehre
0e92ac2af7
modules/core/src/ocl.cpp: Fix dangling pointer
...
Detected by clang trunk:
```
opencv/modules/core/src/ocl.cpp:4337:37: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling]
CV_OCL_CHECK_RESULT(retval, cv::format("clCreateBuffer(capacity=%lld) => %p", (long long int)entry.capacity_, (void*)entry.clBuffer_).c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opencv/modules/core/src/ocl.cpp:193:42: note: expanded from macro 'CV_OCL_CHECK_RESULT'
if (0) { const char* msg_ = (msg); CV_UNUSED(msg_); /* ensure const char* type (cv::String without c_str()) */ } \
```
because `cv::format` yields a temporary std::string, and thus `msg_` points to a destroyed buffer.
2019-08-20 23:30:34 +02:00
Philippe FOUBERT
b77a0039ee
Merge pull request #15351 from philippefoubert:pr_ximea
...
* Fix the detection of XIMEA on Windows (when it has been installed by another user with administrative privileges, for example).
* Change the flow: we first try HKEY_CURRENT_USER key and, if empty, then try HKEY_LOCAL_MACHINE
2019-08-21 00:01:34 +03:00
Paul E. Murphy
33fb253a66
core: vectorize dotProd_32s
...
Use 4x FMA chains to sum on SIMD 128 FP64 targets. On
x86 this showed about 1.4x improvement.
For PPC, do a full multiply (32x32->64b), convert to DP
then accumulate. This may be slightly less precise for
some inputs. But is 1.5x faster than the above which
is about 1.5x than the FMA above for ~2.5x speedup.
2019-08-20 15:28:36 -05:00
ChipKerchner
51ceabb2eb
Change fast corner flags in HAL version from char array to single int
2019-08-20 13:25:35 -05:00
Alexander Alekhin
b2274a63cd
Merge pull request #15348 from alalek:fix_videoio_doc_version
2019-08-20 13:12:58 +00:00
Alexander Alekhin
6a439ae53d
videoio(doc): fix 'since' version
2019-08-20 13:15:56 +03:00
xitong
b1a5c76215
Fix a typo
2019-08-20 12:01:40 +08:00
Alexander Alekhin
9612397aa2
Merge pull request #15329 from craterkamath:fixTypoCamshift
2019-08-19 19:01:43 +00:00
craterkamath
04f720d56a
Fixed Typo Closes #15148
2019-08-19 22:52:00 +05:30
Alexander Alekhin
19a4b51371
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-16 18:48:08 +03:00
Alexander Alekhin
b8f35aa109
Merge pull request #15322 from alalek:backport_15318
2019-08-16 15:40:22 +00:00
Suleyman TURKMEN
a1e96a7deb
Update seamless_cloning.cpp
2019-08-16 17:35:22 +03:00
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
2019-08-16 17:34:29 +03:00
Alexander Alekhin
a41b79d43e
Merge pull request #15318 from luzpaz:modules_typo_fixes
2019-08-16 14:23:58 +00:00
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
2019-08-15 18:02:09 -04:00
Alexander Alekhin
7df3141bbc
Merge pull request #15309 from alalek:backport_15305
2019-08-15 12:02:24 +00:00
Alexander Alekhin
ea667d82b3
Merge pull request #15305 from luzpaz:typo-fixes
2019-08-15 10:11:06 +00:00
luz.paz
57ccf14952
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
backporting of commit: 32aba5e64b
2019-08-15 13:09:52 +03:00
Alexander Alekhin
0a02dd5f58
Merge pull request #15298 from smirnov-alexey:gapi_simplify_transform_tests
2019-08-15 10:09:14 +00:00
Alexander Alekhin
13ecd5bb25
Merge pull request #15122 from pmur:fast-math-improvements
2019-08-14 19:28:05 +00:00
Alexander Alekhin
a703b9ed84
Merge pull request #15101 from alalek:cmake_initialization
2019-08-14 19:17:07 +00:00
luz.paz
32aba5e64b
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
2019-08-14 13:33:49 -04:00
Dmitry Kurtaev
e4a80aee09
Fix #15296
2019-08-14 19:44:05 +03:00
Alexander Alekhin
26551f178c
Merge pull request #15301 from alalek:backport
2019-08-14 16:40:24 +00:00
Alexander Alekhin
dbf8e22fad
Merge pull request #15242 from vchiluka5:lazy_load_nvcuda_dll
2019-08-14 16:35:41 +00:00
ilbalance
0b5d0b83be
Merge pull request #15275 from ilbalance:js_inpaint
...
* in embindgen.py added inpaint function
* added test for inpaint function and fixed function in build_js
* fixed test for inpaint function
* rotate deleted, build_js.py fixed
2019-08-14 17:16:45 +03:00
Alexander Alekhin
32772a5436
3.4: backported changes from 'master' branch
2019-08-14 16:36:08 +03:00
smirnov-alexey
35e5f00cac
Simplify tests on GAPI_TRANSFORM
2019-08-14 13:37:40 +03:00
Alexander Alekhin
290da93845
Merge pull request #15285 from AsyaPronina:dev/asyadev/matching_requirements_test
2019-08-14 09:59:56 +00:00
Andrey Golubev
f6bb900259
Merge pull request #15238 from andrey-golubev:fluid_fix_journal
...
G-API: Fix Journal usage in Fluid backend (#15238 )
* Fix Journal usage in Fluid backend
* Delete dumpDotRequired(): invalid check
* Update mem consumption test
* Test that new test works
* Debug memory consumption function
* Increase iterations in test
* Re-write memory consumption measurement part
* Restore correct fix for Fluid journals
2019-08-14 10:03:52 +03:00
Diego
f7f2438478
Merge pull request #15082 from dvd42:segmentation-module
...
Segmentation module (#15082 )
2019-08-13 23:38:48 +03:00
Alexander Alekhin
2ad0487cec
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-13 18:32:29 +00:00
Alexander Alekhin
72ccb5fe6e
Merge pull request #15283 from smirnov-alexey:gapi_transform_tests
2019-08-13 14:45:18 +00:00
Alexander Alekhin
7c96857c02
Merge pull request #15292 from alalek:build_warnings_xcode_10_3
2019-08-13 14:18:48 +00:00
Alexander Alekhin
15b8a8d935
build: eliminate warnings with Xcode 10.3
2019-08-13 15:06:13 +03:00
Andrey Golubev
bf0765fc7f
Merge pull request #15282 from andrey-golubev:rename_argkind_opaque
...
* G-API: rename ArgKind OPAQUE to GOPAQUE
Rename ArgKind value to GOPAQUE to fix conflict in the
user code when wingdi.h is included: it defines OPAQUE
macro that (for some reason) is chosen instead of ArgKind
value
* Add compatibility with existing API
* Renamed GOPAQUE to OPAQUE_VAL
2019-08-13 13:57:27 +03:00
AsyaPronina
59de4d9ad8
Added Preproc use case test for graph pattern matching
2019-08-12 20:14:56 +03:00
Alexander Alekhin
e0cb01e2cf
Merge pull request #15249 from dkurt:dnn_ie_tests_2019r2
2019-08-12 16:32:38 +00:00
smirnov-alexey
4c168e95de
Extend test suite on GAPI_TRANSFORM macro
2019-08-12 16:44:05 +03:00
Alexander Alekhin
183fc43a67
Merge pull request #15217 from elatkin:15163_gapi_std_math
2019-08-12 09:41:11 +00:00
Alexander Alekhin
c95407f1bc
Merge pull request #14883 from AsyaPronina:dev/asyadev/pattern_matching
2019-08-09 20:52:52 +03:00
Lubov Batanina
f1ea9d86b9
Merge pull request #15203 from l-bat:determine_inp_shape
...
* Determine input shapes
* Add test
* Remove getInputShapes
* Fix model
* Fix constructors
* Add Caffe test
* Fix predict
2019-08-09 19:51:42 +03:00
AsyaPronina
e06efd5329
G-API: Added graph pattern matching routine and basic tests
2019-08-09 18:57:56 +03:00
Alexander Alekhin
358d69956a
Merge pull request #15198 from AsyaPronina:bump_to_new_ade_release
2019-08-09 15:24:01 +00:00
Hugo Lindström
935067ee05
Merge pull request #15265 from hugolm84:wince-armv7-supports-neon
...
* WINCE 8.0 requires ARMv7 Thumb2 and thus have NEON instructions
* Only add NEON if on _ARM_
2019-08-09 18:01:37 +03:00
Alexander Alekhin
212f0fb509
Merge pull request #15262 from alalek:fix_15252
2019-08-08 19:34:33 +00:00
Chip Kerchner
d513fb4c8e
Merge pull request #15199 from ChipKerchner:hogToHal
...
Convert HOG from SSE SIMD to HAL - 35-45% faster on Power (VSX) (#15199 )
* Convert SSE SIMD to HAL. 35-45% improvement for Power (VSX)
* Remove CV_NEON code. Use v_floor instead of 3 lines of code.
* Invert comparison logic to simplify code.
* Change initialization from v_load to constructor type.
2019-08-08 18:57:03 +03:00
Alexander Alekhin
596b8a5d06
Merge pull request #15263 from alalek:videoio_skip_msmf_tests3
2019-08-08 15:47:08 +00:00
Alexander Alekhin
6f267be6f1
Merge pull request #15260 from tomoaki0705:suppressNoisyWarning
2019-08-08 15:45:29 +00:00
Jake Howard
76b40a37e7
Merge pull request #15111 from RealOrangeOne:patch-1
...
* Remove unavoidable print of CV error
The return value covers whether the device exists.
This might be better hidden behind a debug flag, but I couldn't work out how to do that nicely.
* Use `CV_LOG_WARNING` macro to log rather than removing it entirely
2019-08-08 16:56:49 +03:00
Alexander Alekhin
487d331d74
Merge pull request #15256 from dkurt:dnn_model_warps
2019-08-08 13:54:35 +00:00
Alexander Alekhin
a77275e650
videoio(test): skip unstable MSMF tests (3)
2019-08-08 16:25:19 +03:00
Alexander Alekhin
5e527d22e3
gapi: fix build with MSVS2017/2019
2019-08-08 16:13:25 +03:00
Tomoaki Teshima
40c71a2463
suppress noisy warning
...
* add -Wno-psabi when using GCC 6
* add -Wundef for CUDA 10
* add -Wdeprecated-declarations when using GCC 7
* add -Wstrict-aliasing and -Wtautological-compare for GCC 7
* replace cudaThreadSynchronize with cudaDeviceSynchronize
2019-08-08 21:49:32 +09:00
Alexander Alekhin
5ef548a985
cmake: update initialization
2019-08-08 15:23:16 +03:00
Paul E. Murphy
f38a61c66d
fast_math: implement optimized PPC routines
...
Implement cvRound using inline asm. No compiler support
exists today to properly optimize this. This results in
about a 4x speedup over the default rounding. Likewise,
simplify the growing number of rounding function overloads.
For P9 enabled targets, utilize the classification
testing instruction to test for Inf/Nan values. Operation
speedup is about 1.2x for FP32, and 1.5x for FP64 operands.
For P8 targets, fallback to the GCC nan inline. It provides
a 1.1/1.4x improvement for FP32/FP64 arguments.
2019-08-07 15:01:18 -05:00
Paul E. Murphy
3f92bcc11a
fast_math: selectively use GCC rounding builtins when available
...
Add a new macro definition OPENCV_USE_FASTMATH_GCC_BUILTINS to enable
usage of GCC inline math functions, if available and requested by the
user.
Likewise, enable it for POWER. This is nearly always a substantial
improvement over using integer manipulation as most operations can
be done in several instructions with no branching. The result is a
1.5-1.8x speedup in the ceil/floor operations.
1. As tested with AT 12.0-1 (GCC 8.3.1) compiler on P9 LE.
2019-08-07 15:01:18 -05:00
Paul E. Murphy
b2135be594
fast_math: add extra perf/unit tests
...
Add a basic sanity test to verify the rounding functions
work as expected.
Likewise, extend the rounding performance test to cover the
additional float -> int fast math functions.
2019-08-07 14:59:46 -05:00
AsyaPronina
816929c704
Bump to new ADE release v0.1.1f
2019-08-07 21:35:28 +03:00
Dmitry Kurtaev
a9839af903
Add preprocessing warps for separate parameters
2019-08-07 14:51:41 +03:00
Dmitry Kurtaev
6193e403e7
Enable some tests for 2019R2
2019-08-07 09:07:53 +03:00
Alexander Alekhin
32da0705cf
Merge pull request #15102 from dgel:force_input_format_ffmpeg
2019-08-06 20:52:57 +00:00
Alexander Alekhin
ba1a48c2ce
Merge pull request #14901 from fishjam:issue_8834
2019-08-06 20:52:21 +00:00
Alexander Alekhin
821f17d666
Merge pull request #15235 from pmur:vsx-v_signmask-vbpermq
2019-08-06 20:09:22 +00:00
Lubov Batanina
0e1ef8f8e1
Merge pull request #15184 from l-bat:IE_R2
...
Support new IE API (#15184 )
* Add support OpenVINO R2 for layers
* Add Core API
* Fix tests
* Fix expectNoFallbacksFromIE for ONNX nets
* Remove deprecated API
* Remove td
* Remove TargetDevice
* Fix Async
* Add test
* Fix detectMyriadX
* Fix test
* Fix warning
2019-08-06 22:20:26 +03:00
Douwe Gelling
96a27f4266
allow forcing the input format for ffmpeg backend with env var
2019-08-06 19:30:39 +03:00
fishjam
26ac5a3bdc
try to fix VideoCapture different time stamp
2019-08-06 19:04:22 +03:00
ilbalance
cf93a05d2d
Merge pull request #15230 from ilbalance:js_rotate
...
* in OpenCV.js added 'rotate' function and test sample
* value test added
2019-08-06 12:55:15 +03:00
Alexander Alekhin
174b4ce29d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-05 18:11:43 +00:00
Alexander Alekhin
90ccd2f37c
Merge pull request #15239 from alalek:videoio_skip_msmf_tests2
2019-08-05 18:08:48 +00:00
Alexander Alekhin
a4b4432015
videoio(test): skip unstable MSMF tests (2)
2019-08-05 19:13:17 +03:00
Vishal Chiluka
bca49b99ca
Removing static linking of cuda library
2019-08-05 21:42:10 +05:30
Dmitry Budnikov
6427744063
perf tests are added
2019-08-05 19:04:14 +03:00
Alexander Alekhin
365323afec
Merge pull request #15234 from alalek:backport
2019-08-05 15:09:22 +00:00
Alexander Alekhin
99f709ca96
Merge pull request #15233 from alalek:videoio_skip_msmf_tests
2019-08-05 15:08:41 +00:00
Alexander Alekhin
3fc02353be
Merge pull request #15228 from flyseaworld:exif/read_num_dir
2019-08-05 15:07:40 +00:00
Dmitry Matveev
0757a51e2b
Merge pull request #15090 from dmatveev:dm/ng-0001-g-api-inference-api
...
* G-API-NG/API: Introduced inference API and IE-based backend
- Very quick-n-dirty implementation
- OpenCV's own DNN module is not used
- No tests so far
* G-API-NG/IE: Refined IE backend, added more tests
* G-API-NG/IE: Fixed various CI warnings & build issues + tests
- Added tests on multi-dimensional own::Mat
- Added tests on GMatDesc with dimensions
- Documentation on infer.hpp
- Fixed more warnings + added a ROI list test
- Fix descr_of clash for vector<Mat> & standalone mode
- Fix build issue with gcc-4.8x
- Addressed review comments
* G-API-NG/IE: Addressed review comments
- Pass `false` to findDataFile()
- Add deprecation warning suppression macros for IE
2019-08-05 17:56:34 +03:00
Dmitry Budnikov
290078e0d0
copy kernels
2019-08-05 17:46:28 +03:00
Sebastián Gurin
ca79f75b32
OpenCV.js docker container build instructions
...
backport of commit: 59b0314a0e
2019-08-05 17:21:34 +03:00
Victor Romero
987bb2ca61
Fix build for UWP
...
backport of commit: f18cbd036a
2019-08-05 17:19:36 +03:00
TheGoddessInari
960bb540ec
Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2 header.
...
This fixes a compiler error on MSVC with Unreal Engine (at least).
backport of commit: 4e998c9ade
2019-08-05 17:19:12 +03:00
John Smith
b9d6fc9dad
Fix cv::selectROI rectangle rendering issue
...
backport of commit: 95c65aff75
2019-08-05 17:18:30 +03:00
Paul E. Murphy
1031b7f4bc
hal: vsx: further optimize v_signmask
...
Use the quadword bit permutation instruction to creatively move
the sign bits to create the mask. Note that values above 127 will
result in 0.
2019-08-05 09:00:22 -05:00
Alexander Alekhin
406313bbc5
videoio(test): skip unstable MSMF tests
2019-08-05 16:57:26 +03:00
yaohai [姚海]
cadb4dee14
fix exif bug
2019-08-05 16:41:07 +03:00
Alexander Alekhin
d2c64b566b
Merge pull request #15227 from tomoaki0705:fixFallThroughCarotene
2019-08-05 12:44:00 +00:00
Alexander Alekhin
c5069266dc
Merge pull request #15222 from hmaarrfk:verify_carbon
2019-08-05 12:43:13 +00:00
Sebastián Gurin
59b0314a0e
Merge pull request #15221 from cancerberoSgx:master
...
OpenCv.js docker container build instructions (#15221 )
* emscripten docker container
* docker
* typo
* typo
* whitespace issue
2019-08-05 15:41:59 +03:00
Tomoaki Teshima
d6ba235655
fix fall through warning
2019-08-05 17:42:48 +09:00
Mark Harfouche
63775320ae
Verify Carbon correctly on OSX
2019-08-04 18:26:28 -04:00
Alexander Alekhin
95eb199f41
Merge pull request #15220 from thangktran:fixbug/confusing_error_message_from_persistence
2019-08-04 21:10:06 +00:00
Thang Tran
d659eb9327
core: fixed error message to avoid confusion
2019-08-04 17:17:03 +02:00
Evgeny Latkin
f17a6b478b
GAPI: use plain-C interface to math functions, sin/cos, etc.
...
- addresses #15163 : C++11 definition issue by @neheb
2019-08-04 08:07:46 +03:00
Victor Romero
f18cbd036a
Merge pull request #15207 from vicroms:fix-uwp-build
...
Fix build for UWP (#15207 )
* Guard non-WinRT calls to fix UWP build
* Remove unnecessary guard for WinRT
2019-08-03 22:53:38 +03:00
Alexander Alekhin
b584c23061
Merge pull request #15158 from dkurt:fix_tf_ssd_configs
2019-08-02 16:08:55 +00:00
Alexander Alekhin
ba934ff1ce
Merge pull request #15202 from hugolm84:support_build_shared_for_wince
2019-08-02 15:34:02 +00:00
Alexander Alekhin
b811420d28
Merge pull request #15188 from mshabunin:fix-v4l-old
2019-08-02 12:25:23 +00:00
Maksim Shabunin
b231e91d87
Fix for building with old V4L
2019-08-02 11:19:49 +03:00
Alexander Alekhin
f9cefc84a3
Merge pull request #15098 from RealJohnSmith:master
2019-08-01 16:35:07 +00:00
Alexander Alekhin
977d2c4330
Merge pull request #15197 from mshabunin:restore-ipp-cut
2019-08-01 16:33:37 +00:00
Alexander Alekhin
3f4004ae45
Merge pull request #15195 from mshabunin:disable-pch
2019-08-01 16:33:10 +00:00
Andrey Golubev
fc85f3644d
Merge pull request #15190 from andrey-golubev:fluid_invalid_roi
...
G-API: verify y offset and height of Fluid output ROIs (#15190 )
* G-API: validate GFluidOutputRoi y and height
* Rearrange tested ROIs
2019-08-01 19:30:05 +03:00
Hugo Lindström
03fe1cb7fc
Support building shared libraries on WINCE.
2019-08-01 15:28:04 +02:00
Maksim Shabunin
4dadf17bd9
Merge pull request #15168 from dkurt:dnn_onnx_15120
2019-07-31 15:03:23 +00:00
Maksim Shabunin
6d5ac67681
Restored IPP call reduction
2019-07-31 15:41:22 +03:00
Maksim Shabunin
1275248f39
PCH: disable by default on all platforms except MSVC
2019-07-31 15:20:01 +03:00
dcouwenh
d3cf0d2c06
Bayer VNG Demosaicing Fix #2 (Merge pull request #15086 )
...
* Update demosaicing.cpp
Fixed calculation of Bs for non-green pixels.
* Fixed cvtColor perf test for bayer VNG
2019-07-30 23:49:46 +03:00
Andrey Golubev
304e3ac12f
G-API: fix Fluid reshape with unused nodes (Merge pull request #15115 )
...
* G-API: fix fluid reshape with unused nodes
* Update test names
* Add FIXME for future improvement
2019-07-30 23:48:46 +03:00
Lubov Batanina
778f42ad34
Add high level API (Merge pull request #14780 )
...
* Add high level API
* Fix Model
* Add DetectionModel
* Add ClassificationModel
* Fix classify
* Add python test
* Fix pytest
* Fix comments to review
* Fix detect
* Fix docs
* Modify DetectionOutput postprocessing
* Fix test
* Extract ref boxes
* Fix draw rect
* fix test
* Add rect wrap
* Fix wrap
* Fix detect
* Fix Rect wrap
* Fix OCL_FP16
* Fix MyriadX
* Fix nms
* Fix NMS
* Fix coords
2019-07-30 23:07:37 +03:00
Maksim Shabunin
f482050f9a
Merge pull request #15172 from TheGoddessInari:fix_windows
2019-07-30 14:28:07 +00:00
Maksim Shabunin
5ef7325874
Merge pull request #15176 from dkurt:fix_14993
2019-07-30 14:26:33 +00:00
Lubov Batanina
5a6b23e8f3
Support for several min and max sizes in PriorBox layer (Merge pull request #15076 )
...
* Support for several min and max sizes in PriorBox layer
* Fix minSize
* Check size
* Modify initInfEngine
* Fix tests
* Fix IE support
* Add priorbox test
* Remove inputs
2019-07-30 17:23:47 +03:00
Maksim Shabunin
e90438fe3c
Merge pull request #14938 from LaurentBerger:face_clip
2019-07-30 14:18:51 +00:00
Maksim Shabunin
f7d5b39ec9
Merge pull request #15169 from dkurt:dnn_onnx_drop_vgg16
2019-07-30 14:15:34 +00:00
Maksim Shabunin
eec9fa9d5e
Merge pull request #15181 from berak:java_print_blob
2019-07-30 14:13:02 +00:00
berak
4d3989817c
java: fix Mat.toString() for higher dimensions
2019-07-29 19:39:09 +02:00
Dmitry Kurtaev
59864a3bbc
Fix #14993
2019-07-28 22:32:37 +03:00
Dmitry Kurtaev
f9f160404a
Add support for slice from ONNX with multiple outputs
2019-07-28 21:20:25 +03:00
TheGoddessInari
4e998c9ade
Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2 header.
...
This fixes a compiler error on MSVC with Unreal Engine (at least).
2019-07-28 10:21:15 -07:00
Dmitry Kurtaev
ebaefbb745
Remove VGG16 from ONNX test because there is VGG16_bn
2019-07-27 23:04:25 +03:00
Dmitry Kurtaev
47c5ee5d9c
Fixes for OpenCV face detection network
2019-07-27 17:25:09 +02:00
Dmitry Kurtaev
77d4e3e8d2
Fix 2019R2 tests
2019-07-27 13:30:15 +03:00
Dmitry Kurtaev
a0c3bb70a9
Modify SSD from TensorFlow graph generation script to enable MyriadX
2019-07-26 13:57:08 +03:00
Alexander Alekhin
3debb98805
Merge tag '4.1.1'
2019-07-26 03:34:59 +00:00
Alexander Alekhin
ddbd10c001
release: OpenCV 4.1.1
...
OpenCV 4.1.1
2019-07-26 03:24:45 +00:00
Alexander Alekhin
7c0a43d425
Merge tag '4.1.1-openvino'
2019-07-26 03:23:42 +00:00
Alexander Alekhin
0cf479dd5c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-25 19:21:47 +00:00
Alexander Alekhin
2693ed9b22
Merge tag '3.4.7'
2019-07-25 19:19:49 +00:00
Alexander Alekhin
4a7ca5a291
OpenCV version++ (3.4.7)
...
OpenCV 3.4.7
2019-07-25 19:01:19 +00:00
Alexander Alekhin
7295983964
Merge pull request #15139 from alalek:openvino_2019R2
2019-07-25 18:59:56 +00:00
Alexander Alekhin
39a6889767
Merge pull request #15118 from dkurt:fix_15106
2019-07-25 18:56:32 +00:00
Chip Kerchner
0db4fb1835
Merge pull request #15136 from ChipKerchner:dotProd_unroll
...
* Unroll multiply and add instructions in dotProd_32f - 35% faster.
* Eliminate unnecessary v_reduce_sum instructions.
2019-07-25 21:21:32 +03:00
Alexander Alekhin
ac425f67e4
Merge pull request #15150 from alalek:fix_15124_15125
2019-07-25 18:19:04 +00:00
Dmitry Kurtaev
a2125594ea
Fix false positives of face detection network for large faces
2019-07-25 20:09:59 +03:00
Alexander Alekhin
1f736a95a7
Merge pull request #15131 from paroj:web
2019-07-25 16:25:57 +00:00
Alexander Alekhin
79859ebca3
Merge pull request #15145 from alalek:fix_15127
2019-07-25 16:14:25 +00:00
Alexander Alekhin
416c693b3f
dnn(test): OpenVINO 2019R2
2019-07-25 19:01:16 +03:00
Alexander Alekhin
321c74ccd6
objdetect: validate feature rectangle on reading
2019-07-25 18:58:53 +03:00
Alexander Alekhin
5691d998ea
core(persistence): added null ptr checks
2019-07-25 15:14:22 +03:00
Alexander Alekhin
6158bd2afa
Merge pull request #15103 from alalek:simd_intrinsics_in_user_code
2019-07-25 11:36:36 +00:00
Alexander Alekhin
d2911a8d41
dnn: use OpenVINO 2019R2 defines
2019-07-24 21:37:03 +00:00
Andrey Golubev
b10ec8ef8b
Merge pull request #14985 from andrey-golubev:gapi_fix_ocl_umat
...
* G-API: fix GOCLExecutable issue with UMat lifetime
Add tests on initialized/uninitialized outputs for all
backends
* Use proper clean-up procedure for magazine
* Rename InitOut test and reduce tested sizes
* Enable output allocation test
2019-07-24 23:36:18 +03:00
Alexey Smirnov
8313209704
Merge pull request #14952 from smirnov-alexey:gapi_transform_macro_rework
...
G-API: GAPI_TRANSFORM internal functionality rework (#14952 )
* Change internal pattern and substitute signatures and refactor tests
* Enhance GArrayU with type-checker function
Add a couple of new tests on GAPI_TRANSFORM
2019-07-24 23:29:52 +03:00
Alexander Alekhin
89f23a35c5
Merge pull request #15091 from anton-potapov:fluid_internal_parallellism_custom_pfor
2019-07-24 20:28:48 +00:00
Hugo Lindström
2ee00e7f7d
Merge pull request #15059 from hugolm84:improved-support-for-wince
...
* Improve support for Windows Embedded Compact
* Remove redundant set(WINCE true) and format CMake
2019-07-24 23:12:09 +03:00
Pavel Rojtberg
293729f48a
js: whitelist some more functions (calib3d , aruco)
2019-07-23 11:57:59 +02:00
Alexander Alekhin
79310a0051
Merge pull request #15105 from komakai:camera_permissions
2019-07-22 17:47:54 +00:00
Alexander Alekhin
b69bf8a897
Merge pull request #15097 from komakai:no_samples_build-option
2019-07-22 17:38:37 +00:00
Alexander Alekhin
426482e05b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-21 18:06:04 +00:00
Alexander Alekhin
ad092bf1ce
Merge pull request #15107 from dkurt:js_features2d_drawings
2019-07-21 17:57:19 +00:00
Alexander Alekhin
557990fdcf
Merge pull request #15104 from alalek:videoio_fix_debug_message
2019-07-21 17:56:41 +00:00
Dmitry Kurtaev
a66a1a24d7
Fix drawKeypoints and drawMatches for JS
2019-07-20 23:47:26 +03:00
Alexander Alekhin
099f4f9e7c
Merge pull request #15093 from tomoaki0705:fixCudaLegacyRansac
2019-07-20 08:07:14 +00:00
Giles Payne
2734291b35
Add CameraActivity utility class to automate Camera permission request handling
2019-07-20 13:40:10 +09:00
Alexander Alekhin
8bac8b513c
core: support SIMD intrinsics in user code
2019-07-19 20:33:32 +00:00
Lubov Batanina
781f4d439e
Merge pull request #15032 from l-bat:reduce_mean
...
* Added support for the ONNX "ReduceMean" Layer. (as this is the same as the GlobalAveragePool)
* Add ReduceMean test
* Fix ONNX importer
* Fix ReduceMean
* Add assert
* Split test
* Fix split test
2019-07-19 19:18:34 +03:00
Alexander Alekhin
a8a71eb200
Merge pull request #15092 from alalek:videoio_gstreamer_more_get_checks
2019-07-19 15:50:54 +00:00
John Smith
95c65aff75
Fix cv::selectROI rectangle rendering issue
2019-07-19 14:07:09 +02:00
Alexander Alekhin
61f589ddd0
videoio(gstreamer): more .get() checks
2019-07-19 13:16:58 +03:00
Alexander Alekhin
3361c59576
Merge pull request #15084 from lpea:calib3d_doc_fix
2019-07-19 10:11:35 +00:00
Anton Potapov
8936d55675
Fluid Internal Parallelism
...
- added ability to use custom implementation of "parallel for" function
2019-07-19 11:56:57 +03:00
Tomoaki Teshima
c6de84d868
cudalegacy: fix test failure of SolvePnPRansac
...
* use SOLVE_EPNP for the initial guess
2019-07-19 17:50:00 +09:00
Alexander Alekhin
228af2d617
videoio: fix debug message
2019-07-18 21:45:07 +00:00
Alexander Alekhin
199ddff13b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-18 20:25:25 +00:00
Alexander Alekhin
985e5014bc
Merge pull request #15058 from alalek:core_fix_base64_packed_struct_master
2019-07-18 19:09:08 +00:00
Alexander Alekhin
002904e445
Merge pull request #15050 from alalek:core_fix_base64_packed_struct
2019-07-18 19:07:06 +00:00
Vitaly Tuzov
e0f8bb83a6
Merge pull request #14994 from terfendail:wintr_undistort
...
WUI based implementation to initUndistortRectifyMap (#14994 )
* Add initUndistortRectifyMap performance test
* Move cv namespace boundaries
* Add wide universal intrinsics based implementation to initUndistortRectifyMap
* Dispatch undistort
2019-07-18 19:32:51 +03:00
Lubov Batanina
12fdaf895e
Merge pull request #15057 from l-bat:fix_vizualizer
...
* Fix dumpToFile
* Add test
* Fix test
2019-07-18 18:41:08 +03:00
Alexander Alekhin
8b341884d2
Merge pull request #15080 from alalek:gapi_fix_build
2019-07-18 15:15:25 +00:00
Giles Payne
a897fc91ec
Add no_samples_build option to Android SDK build
2019-07-18 21:31:02 +09:00
Alexander Alekhin
e7bb0ecee0
gapi: fix build with unique_ptr
...
avoid generation of copy ctors with unique_ptr members
2019-07-18 14:08:42 +03:00
Alexander Alekhin
c12e26ff28
Merge pull request #15071 from l-bat:tf_split
2019-07-18 08:12:42 +00:00
Guillaume Jacob
4a28ef8034
calib3d: fix format in findChessboardCornersSB doxygen
2019-07-18 10:04:47 +02:00
Liubov Batanina
0d2bc7b5fd
Fix TF Split layer
2019-07-17 15:50:50 +03:00
Alexander Alekhin
f6ec0cd827
Merge pull request #15061 from AsyaPronina:dev/fix_merge_issue
2019-07-16 21:00:50 +03:00
AsyaPronina
add1df4bcb
Fixed issue happened during merge
2019-07-16 20:47:34 +03:00
Alexander Alekhin
65d148d9a8
Merge pull request #15024 from alalek:android_stl_cxx_shared
2019-07-16 17:10:04 +00:00
Andrey Golubev
c9bd43c0f6
Merge pull request #14945 from andrey-golubev:delete_bool
...
G-API: clean up accuracy tests (#14945 )
* Delete createOutputMatrices flag
Update the way compile args function is created
Fix instantiation suffix print function
* Update comment (NB)
* Make printable comparison functions
* Use defines instead of objects for compile args
* Remove custom printers, use operator<< overload
* Remove SAME_TYPE and use -1 instead
* Delete createOutputMatrices flag in new tests
* Fix GetParam() printed values
* Update Resize tests: use CompareF object
* Address code review feedback
* Add default cases for operator<< overloads
* change throw to GAPI_Assert
2019-07-16 19:04:18 +03:00
Andrey Golubev
c11423df1e
Merge pull request #15012 from andrey-golubev:test_output
...
G-API: Add output allocation tests for backends (#15012 )
* Add output tests for backends
* Fix large size test: output is in fact reallocated
* Use cv::Mat copies for reallocation tracking
* Separate LargeSizeWithCorrectSubmatrix test
* Rename backed output allocation tests
* Address code review feedback
Update test names
Add illustrative "expect (non-)empty" checks
Rename mat "copy" to mat reference
Add more pointer checks
* Add illustrative checks
2019-07-16 19:01:45 +03:00
Alexander Alekhin
e4e0bb533d
Merge pull request #15052 from alalek:dnn_fix_required_data
2019-07-16 16:00:33 +00:00
Andrey Golubev
e629785a97
Merge pull request #15021 from andrey-golubev:gapi_fix_standalone_exports
...
* Fix G-API export specifier in standalone build
* Make dummy GAPI_EXPORTS in case of non-OpenCV builds
* Add old version under #if 0
2019-07-16 18:53:51 +03:00
Alexander Alekhin
3a2a74b655
Merge pull request #14968 from anton-potapov:fluid_internal_parallellism
2019-07-16 14:22:06 +00:00
Alexander Alekhin
f5e01f7b49
Merge pull request #15037 from hugolm84:noop-noexcept-for-vs13
2019-07-16 13:28:15 +00:00
Chip Kerchner
c9fcc12e3b
Merge pull request #15048 from ChipKerchner:reduceStoreGatheringThreshold
...
* Reduce store gathering pressures - speeds thresholds by up to 20%
* Rename temporary histogram array and initialize so that MACOSX builder is happy
2019-07-16 16:10:49 +03:00
Anton Potapov
97e88bd769
Fluid Internal Parallelism
...
- Added new graph compile time argument to specify multiple independent
ROIs (Tiles)
- Added new "executable" with serial loop other user specified
ROIs(Tiles)
- refactored graph traversal code into separate function to be called
once
- added saturate cast to Fluid AddCsimple test kernel
2019-07-16 16:09:14 +03:00
Alexander Alekhin
d4501f08b8
core(persistence): disable base64 tests due missing encoders
2019-07-16 15:37:58 +03:00
Alexander Alekhin
2df7736562
Merge branch 'core_fix_base64_packed_struct'
2019-07-16 15:35:43 +03:00
Alexander Alekhin
4ea8526e9f
core(persistence): fix writeRaw() / readRaw() struct support
...
- writeRaw(): support structs
- readRaw(): 'len' is buffer limit in bytes (documentation is fixed)
2019-07-16 14:03:39 +03:00
Alexander Alekhin
ee1de8f30d
Merge pull request #15053 from SciMad:fix-error-message
2019-07-16 09:55:06 +00:00
Alexander Alekhin
5ccb2a4cbd
dnn(test): fix required data
2019-07-16 07:53:50 +00:00
Madhav
bee510dbce
Fix error message on invalid seam finder parameter
2019-07-16 13:27:04 +05:45
Alexander Alekhin
c3b838b738
core(persistence): struct storage layout without alignment gaps
2019-07-15 21:37:20 +00:00
Alexander Alekhin
571b69bdb6
Merge pull request #15049 from alalek:disable_14850
2019-07-15 16:27:45 +00:00
Alexander Alekhin
095f44f4b2
cmake: disable WITH_NVCUVID by default due build failures
2019-07-15 17:09:07 +03:00
Alexander Alekhin
95415ac3a5
android: change ANDROID_STL='c++_shared'
...
- fixes crashes in face-detector application
- libc++_shared.so is bundled automatically via CMake helper project
2019-07-12 18:58:02 +00:00
Alexander Alekhin
f6c573880e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-12 18:45:06 +00:00
Alexander Alekhin
054c796213
Merge pull request #15026 from terfendail:gaussian_fix
2019-07-12 18:31:09 +00:00
Hugo Lindström
245c256b1c
Support compiliation for <=VS13
2019-07-12 19:02:36 +02:00
Alexander Alekhin
6aa07cdc7e
Merge pull request #15025 from alalek:issue_14281
2019-07-12 15:28:44 +00:00
Vitaly Tuzov
894ad33bf4
Fix pixel value evaluation overflow in bit-exact GaussianBlur implementation
2019-07-12 18:11:51 +03:00
Lubov Batanina
34f6b05467
Merge pull request #14996 from l-bat:ocv_deconv3d
...
* Support Deconvolution3D on IE backend
* Add test tag
* Fix tests
2019-07-12 15:51:44 +03:00
Alexander Alekhin
32c6e58bdb
imgproc: fix unaligned memory access
...
may cause crashes on ARM platform
2019-07-11 20:49:47 +00:00
Lubov Batanina
8bcd7e122a
Merge pull request #14842 from l-bat:ocv_conv3d
...
* Support Conv3D on OCV backend
* Add header
* Add perf tests
* Support pool3d
* Enable Resnet34_kinetics on OCV backend
* Add test
* Fix conv
* Optimize Conv2D
2019-07-11 20:13:52 +03:00
Alexander Alekhin
f663e8f903
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-09 19:57:57 +00:00
Alexander Alekhin
3c086fb2fe
Merge pull request #15001 from antmicro:v4l2-y10-support
2019-07-09 14:34:11 +00:00
Alexander Alekhin
32b6ebb670
Merge pull request #14989 from alalek:issue_14978
2019-07-09 14:14:06 +00:00
Alexander Alekhin
de4d304d90
Merge pull request #15000 from mshabunin:fix-videoio-writer
2019-07-09 12:59:10 +00:00
Tomasz Gorochowik
4997a6bf06
V4L2: Add V4L2_PIX_FMT_Y10 (10 bit grey) support
2019-07-09 14:36:00 +02:00
Maksim Shabunin
2a9521661e
Fixed video writer filename check for plugins
2019-07-09 14:16:49 +03:00
Maksim Shabunin
693877212d
Fixed video writer filename check for plugins
2019-07-09 14:08:29 +03:00
Alexander Alekhin
1e9e2aa95c
Merge pull request #14811 from jxu:ubuntu-doc-fix
2019-07-08 16:47:19 +00:00
jxu
b9399a5df8
Fix python setup in ubuntu dependencies
2019-07-07 15:15:31 -04:00
Alexander Alekhin
8408587341
Merge pull request #14888 from vchiluka5:NVIDIA_Optical_Flow
2019-07-07 17:20:53 +03:00
Alexander Alekhin
0fc584961c
cmake: workaround to fix link issues with stubs/libcuda.so.1
2019-07-06 16:29:59 +00:00
Alexander Alekhin
eedbd1ad59
imgcodecs: force reshaping of imdecode() input into a single row
...
OpenCV upstream stuff may reinterpret vector as column.
2019-07-06 10:11:29 +00:00
Alexander Alekhin
7589225fc0
Merge pull request #14981 from alalek:android_camera_use_calc_frame_size_method
2019-07-06 08:20:20 +00:00
Alexander Alekhin
39a975cb29
Merge pull request #14983 from tomoaki0705:fixOclCvtColorMRGBA
2019-07-05 09:31:08 +00:00
Tomoaki Teshima
594a95839c
fix test failure of OCL_ImgProc/CvtColor8u.mRGBA2RGBA
2019-07-05 11:22:22 +09:00
Alexander Alekhin
3998b41d68
android: JavaCamera2View use calculateCameraFrameSize() method
...
from CameraBridgeViewBase (common base with JavaCameraView)
2019-07-04 21:43:09 +00:00
Diego
57fae4a6a1
Merge pull request #14858 from dvd42:instancenorm_onnx
...
Instancenorm onnx (#14858 )
* Onnx unsupported operation handling
* instance norm implementation
* Revert "Onnx unsupported operation handling"
* instance norm layer test
* onnx instancenorm layer
2019-07-04 21:15:04 +03:00
Alexander Alekhin
d7744aca02
dnn: use OpenVINO 2019R2 defines
2019-07-04 19:22:48 +03:00
Alexander Alekhin
db211446f3
OpenCV version '-openvino'
2019-07-04 19:22:48 +03:00
Alexander Alekhin
43eba3d750
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-04 18:44:13 +03:00
Ruslan Garnov
ad49138fae
Merge pull request #14917 from rgarnov:gapi_planar_kernels
...
G-API planar kernels (#14917 )
* Added resizeP with tests
* NV12 planar filters
* fix warnings in ResizeP test
* fix out mat ocv warning
* sz_on - > sz rename
* cpu tests new signature
* try to fix resizeP test
* trailing spaces remove
* doxygen doc fixed
* doxygen minor fix
* more doxygen fixes
* Doxygen corrected and extended after review.
2019-07-04 18:19:09 +03:00
Alexander Alekhin
3200fe0e53
Merge pull request #14970 from terfendail:undistort_avx2_fix
2019-07-04 14:01:27 +00:00
Vitaly Tuzov
82e5b961d3
Fixed initUndistortRectifyMap AVX2 implementation
2019-07-04 15:49:33 +03:00
Alexander Alekhin
e00b0f6f47
Merge pull request #14860 from vonchenplus:ocv_maxpoolgrad
2019-07-04 09:57:14 +03:00
Diego
6dfe2ddc21
Merge pull request #14959 from dvd42:onnx_clip
...
* onnx clip operation
2019-07-04 08:56:00 +03:00
Alexander Alekhin
fee87c5fdb
Merge pull request #14975 from alalek:clang_suppress_warnings
2019-07-03 22:33:26 +00:00
Alexander Alekhin
07fe1cd6b8
videoio: eliminate build warnings (clang)
2019-07-03 21:57:05 +00:00
Alexander Alekhin
ac14cee71c
Merge pull request #14974 from alalek:ts_optional_files_runtime_check
2019-07-03 19:14:43 +00:00
Alexander Alekhin
f795878d1a
Merge pull request #14973 from alalek:itt_aarch64_support
2019-07-03 19:13:57 +00:00
Alexander Alekhin
bc95c609ff
ts: runtime check for misused 'optional' test data files
2019-07-03 20:07:44 +03:00
Alexander Alekhin
ca022fdb4c
3rdparty(itt): support AARCH64
2019-07-03 18:35:43 +03:00
gal0is
206b546e5a
tensroflow support maxpoolgrad
2019-07-03 09:53:17 +08:00
Alexander Alekhin
097d81363b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-02 21:17:45 +00:00
Alexander Alekhin
2370079220
Merge pull request #14954 from rafagjordana:fix_blob_detection_insertion_sort
2019-07-02 21:14:02 +00:00
Alexander Alekhin
02936dcf86
Merge pull request #14926 from alalek:tbb_version_2019u8
2019-07-02 21:12:00 +00:00
Alexander Alekhin
ff877af2af
Merge pull request #14929 from alalek:cmake_rpath_link_support
2019-07-02 20:31:33 +00:00
Rafa Gomez-Jordana
9a24886282
Fix blob detector insertion sort
2019-07-02 19:54:27 +00:00
Alexander Alekhin
350532ea2c
Merge pull request #14964 from arnaudbrejeon:bug_fix_14955
2019-07-02 19:50:47 +00:00
Alexander Alekhin
3b8701e97e
Merge pull request #14963 from alalek:pr14925_fix
2019-07-02 19:43:09 +00:00
arnaudbrejeon
a37201abee
Fix crash, add assert and test
2019-07-02 09:56:31 -07:00
Alexander Alekhin
e3e8a58799
Merge pull request #14958 from tomoaki0705:fixArmFp16Behavior
2019-07-02 16:40:21 +00:00
Alexander Alekhin
275579a835
Merge pull request #14925 from StefanBruens:handle_absolute_include_path
2019-07-02 16:05:53 +00:00
Andrey Golubev
2bf8793632
Merge pull request #14946 from andrey-golubev:obj_not_ref
...
G-API: Use object instead of reference in extended lifetime case (#14946 )
* Use object instead of reference
* Make the object const
2019-07-02 19:03:45 +03:00
Tomoaki Teshima
db6a6ccaba
re-enable CPU_BASELINE=FP16 on Armv7 platform
2019-07-02 21:57:15 +09:00
Alexander Alekhin
69560588fe
Merge pull request #14953 from alalek:core_static_analysis_eval_expr
2019-07-02 09:44:29 +00:00
armenpoghosov
edf2cbd5f7
Merge pull request #14828 from armenpoghosov:parmen_RANSACPointSetRegistrator_getSubset_disaster_cleanup
...
Parmen ransac point set registrator get subset disaster cleanup (#14828 )
2019-07-01 21:57:28 +03:00
Alexander Alekhin
b00e19a8da
Merge pull request #14837 from Cartucho:fix_laplace_operator_on_python
2019-07-01 17:00:25 +00:00
Alexander Alekhin
6dea8309c5
Merge pull request #14880 from dkurt:dnn_ie_tests
2019-07-01 16:58:57 +00:00
Vitaly Tuzov
9befb7a1d7
Merge pull request #14916 from terfendail:wsignmask_deprecated
...
* Avoid using v_signmask universal intrinsic and mark it as deprecated
* Renamed v_find_negative to v_scan_forward
2019-07-01 19:53:51 +03:00
Alexander Alekhin
bff90d4684
Merge pull request #14951 from alalek:issue_14937
2019-07-01 16:48:05 +00:00
Alexander Alekhin
44836c7f78
core: evaluate CV_Error() parameters during static scans
2019-07-01 18:17:03 +03:00
Alexander Alekhin
65552bf403
dnn: fix build with Vulkan
2019-07-01 17:54:40 +03:00
LaurentBerger
97681d0607
Add clip to deploy.prototxt
2019-06-30 18:39:05 +02:00
StefanBruens
3e4a195b61
Merge pull request #14936 from StefanBruens:crosscorr_cleanup
...
Crosscorr cleanup (#14936 )
* Simplify code for convolution destination type/size
For the 2d filter code, destination size equals source size, and the
crossCorr function even (re-)creates the output matrix with the given size.
The number of channels also have to match. The destination type() is the
one used to create the output matrix, so we can use its type() here.
This is a preparatory patch.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de >
* Remove redundant destination size and type parameters from crossCorr
All calling sites of crossCorr already use (...,
mat, mat.size(), mat.type(), ...), so the parameters are redundant.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de >
2019-06-30 19:04:25 +03:00
Alexander Alekhin
915427621f
Merge pull request #14934 from StefanBruens:silence_assignment_operator_warning
2019-06-30 07:47:07 +00:00
Stefan Brüns
e9a2e665b2
Explicitly default operator= for Vec<T, n>
...
Due to the explicitly declared copy constructor Vec<T, n>::Vec(Vec <T,n>&)
GCC 9 warns if there is no assignment operator, as having one typically
requires the other (rule-of-three, constructor/desctructor/assginment).
As the values are just a plain array the default assignment operator does
the right thing. Tell the compiler explicitly to default it.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de >
2019-06-29 22:11:00 +02:00
Alexander Alekhin
6fdce865b8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-29 17:27:48 +00:00
Alexander Alekhin
25d62cc929
Merge pull request #14931 from dkurt:fix_dnn_js_sample_v4
2019-06-29 17:26:31 +00:00
Alexander Alekhin
93ef27aeba
Merge pull request #14920 from StefanBruens:fix_arm_on_aarch64_detection
2019-06-29 17:17:16 +00:00
Dmitry Kurtaev
a04ab2298b
Fix JS sample of dnn
2019-06-29 19:21:14 +03:00
Alexander Alekhin
43e457c883
3rdparty: TBB version 2018u1 => 2019u8
...
- make it configurable via OPENCV_TBB_RELEASE + OPENCV_TBB_RELEASE_MD5
- remove legacy support
2019-06-29 11:16:49 +00:00
Alexander Alekhin
bc79f477dd
cmake: support rpath-link linker option
...
- builds with CMAKE_SKIP_RPATH=ON should properly find project .so files from <build>/lib directory
- $ORIGIN doesn't work properly in cross-compilation mode
2019-06-29 11:03:45 +00:00
Alexander Alekhin
e3aa96ccf2
cmake: normalize include directories in OpenCVConfig.cmake
2019-06-28 20:57:58 +00:00
Alexander Alekhin
453466eb1a
Merge pull request #14885 from anton-potapov:common_flow_explanatory_test_cases
2019-06-28 16:52:03 +00:00
Alexander Alekhin
49805f976a
Merge pull request #14923 from andrey-golubev:imgproc_tests_update_clean
2019-06-28 16:01:32 +00:00
Andrey Golubev
1666195984
Merge pull request #14922 from andrey-golubev:operators_tests_update_clean
...
G-API: Align operators tests to new test model (#14922 )
* Align operators tests to new test model
* Change init function in NotOperatorTest
2019-06-28 17:59:52 +03:00
Anton Potapov
3d345ca4c4
Async API for GAPI
...
- explanatory test cases for common usage models
2019-06-28 17:40:00 +03:00
atalaman
8dd596b7ba
Merge pull request #14892 from TolyaTalamanov:at/parameterized-render-tests
...
G-API: Parameterized render tests (#14892 )
* Init commit
* Add mat size as test parameter
* Add test for text render
* Add test for rect render
* Add tests for line and circle
* Remove old render tests
* Init output mats
* Remove methods input arguments
* Add comment about data loss in BGR2NV12 conversion
* Add edge test cases
* Replace default color for out mats black -> white
2019-06-28 17:11:03 +03:00
Stefan Brüns
0a45b8c478
Handle absolute OPENCV_INCLUDE_INSTALL_PATH correctly
...
In case OPENCV_INCLUDE_INSTALL_PATH is absolute (i.e. starts with a "/"),
the path ends up with a double "/".
While this is mostly equivalent to a single slash, it may have a nasty
side effect when:
- OpenCV_INSTALL_PATH is empty
- OPENCV_INCLUDE_INSTALL_PATH is "/usr/include"
- the calling build script uses "-isystem" to specify the path to the
headers of dependencies (to avoid warnings)
Specifying "-isystem /usr/include" breaks the path ordering, and GCC can
no longer find its "stdlib.h", thus CMake filters such statements.
Unfortunately it fails to do so when using "//usr/include".
2019-06-28 15:44:45 +02:00
Dmitry Kurtaev
75f4c1abf2
Enable some tests for Inference Engine backend
2019-06-28 15:52:31 +03:00
Stefan Brüns
e10c01047c
Fix detection of 32bit ARM builds on Aarch64
...
It is perfectly possible to compile ARM binaries on Aarch64. Generalize
the code to no only swap X86 with X86_64, but also ARM and AARCH64.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de >
2019-06-28 14:17:30 +02:00
Andrey Golubev
719912e46e
Align imgproc tests to new model
2019-06-28 14:31:50 +03:00
Andrey Golubev
75c567b6ab
Merge pull request #14757 from andrey-golubev:core_tests_update
...
G-API: Introduce new approach to write accuracy tests (#14757 )
* G-API: Introduce new common accuracy test fixture
* Enable Range<> to Seq<> implicit conversion
* Fix shadowing parameters
* Update license headers
* Rename ALIGNED_TYPE to SAME_TYPE
* Move MkRange to tests
* Fix TODO(agolubev) in test instantiations
* Squash simple fixture declarations in one line
* Remove unused line
* Fix Windows issues with macro expansion
* Choose between 1 or 2 matrix initialization
* Redesign common class behavior
Use "views" for GetParam() provided by GTest
base class instead of doing segregation
(with copy!) of common and specific parameters:
request common or specific parameter directly
by index from GetParam()-returned parameters
* Refine user-level API and usage of new test model
* Fix -fpermissive errors
* Remove unnecessary init calls
* Replace GCompileArgs member variable with func ptr
* Rename initMatsRandN to make its behavior explicit
Rename initMatsRandN to initMatrixRandN to eliminate confusion:
initMatsRandN only initialized first matrix (similarly to
initMatrixRandU)
* Fix common of initNothing
* Update copyright dates in missed files
* Add check for specific parameters
* Fix coment stlye
2019-06-28 13:07:41 +03:00
Vishal Chiluka
0e9a865bbf
Moved NVIDIA_Optical_Flow sample app to opencv_contrib
...
Description:
Moved NVIDIA_Optical_flow sample app and comparison app to
opencv_contrib branch. Added CUDA_CUDA_LIBRARY in CMakeLists.txt for
resolving linker errors.
2019-06-28 09:19:26 +05:30
Alexander Alekhin
8937e8756e
Merge pull request #14918 from alalek:dnn_ie_compilation
2019-06-27 21:34:41 +00:00
Alexander Alekhin
a743de0e24
dnn: adjust compilation options
2019-06-27 17:37:31 +03:00
Alexander Alekhin
c531e275cc
Merge pull request #14914 from Nuzhny007:3.4
2019-06-27 14:22:15 +00:00
Alexander Alekhin
e59c6caee5
Merge pull request #14905 from savuor:fix/inst_region_unique
2019-06-27 10:16:59 +00:00
Alexander Alekhin
54fc60eb37
Merge pull request #14881 from dkurt:dnn_ie_num_threads
2019-06-27 10:14:24 +00:00
Nuzhny007
031e57b359
Fixed names conflict with dldt
2019-06-27 13:13:48 +03:00
Dmitry Kurtaev
96a2f80bf2
Limit number of threads in CPU plugin of IE by OpenCV's getNumThreads
2019-06-27 12:09:00 +03:00
Rostislav Vasilikhin
f2f600f807
fixed multi instrumentations
2019-06-27 01:17:26 +03:00
Alexander Alekhin
b95e93c20a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-26 20:19:04 +00:00
Alexander Alekhin
24790e4061
Merge pull request #14899 from alalek:dnn_fix_bnll_layer
...
* dnn: fix BNLLLayer implementation
details: https://github.com/BVLC/caffe/blame/1.0/src/caffe/layers/bnll_layer.cpp#L17
* dnn: enable OCV/OpenCL BNLL layer
2019-06-26 23:04:26 +03:00
Alexander Alekhin
c251915198
Merge pull request #14895 from alalek:dnn_ie_extensions_path
2019-06-26 20:03:57 +00:00
Alexander Alekhin
4112866821
Merge pull request #14886 from alalek:fix_grabcut_kmeans_call_14879
2019-06-26 20:03:04 +00:00
Apoorv Goel
5b521bb778
Merge pull request #14898 from UnderscoreAsterisk:flann-warnings-and-4376
...
Keep a local copy of `features` from `flann::GenericIndex ` constructor (#14898 )
* Fix warnings on Windows
* Fix #4376
2019-06-26 19:35:11 +03:00
Alexander Alekhin
3cfd8cc1fe
Merge pull request #14900 from opencv:dnn_fix_js_sample_v3
2019-06-26 15:54:46 +00:00
Dmitry Kurtaev
411ca87a86
Remove extra ")"
2019-06-26 17:27:56 +03:00
Alexander Alekhin
2172544bb7
Merge pull request #14890 from alalek:dnn_consistent_protobuf_readers
2019-06-26 14:13:03 +00:00
Alexander Alekhin
df7049d465
Merge pull request #14889 from alalek:issue_14863
2019-06-26 14:10:14 +00:00
Alexander Alekhin
01a41d86bc
Merge pull request #14775 from cudawarped:master
2019-06-26 13:35:21 +00:00
Alexander Alekhin
0a461e7922
Merge pull request #13252 from take1014:filter2d_13179
2019-06-26 13:34:10 +00:00
James Bowley
daa308f81c
Update obsolete flag in Intel video decoder.
...
Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
2019-06-26 12:32:20 +03:00
Alexander Alekhin
333e51b217
dnn: configure plugin path for InferenceEngine
2019-06-26 06:41:01 +00:00
Alexander Alekhin
8fd87033ef
Merge pull request #14869 from alalek:samples_msvs2019_support
2019-06-25 22:07:02 +00:00
Alexander Alekhin
44d146af9a
Merge pull request #14814 from alalek:dnn_skip_test_tags
2019-06-25 22:00:25 +00:00
Alexander Alekhin
f3e9eb3371
dnn: both protobuf readers have similar behavior
...
- ReadProtoFromTextFile
- ReadProtoFromTextBuffer
2019-06-25 18:03:04 +03:00
Alexander Alekhin
63e4b35c19
Merge pull request #14849 from thangktran:thangktran/feature/fillPoly_and_fillConvexPoly_js_binding
2019-06-25 15:01:12 +00:00
Alexander Alekhin
e8a703a71d
core(intrin): v_load_low() workaround for aarch64+clang
2019-06-25 17:29:04 +03:00
Alexander Alekhin
9b9e04a061
Merge pull request #14875 from Legoless:master
2019-06-25 10:53:49 +00:00
Alexander Alekhin
4a6888ccf6
imgproc: fix kmeans() call from grabCut()
2019-06-25 13:42:04 +03:00
Dal Rupnik
e755c66418
[ #14873 ] Fix code signing issue in Try Compile script
2019-06-25 10:02:54 +02:00
Alexander Alekhin
b58b2c5ae8
Merge pull request #14878 from JoeHowse:4.1.0-patches
2019-06-24 18:29:30 +00:00
Alexander Alekhin
e8ff5cac1d
Merge pull request #14876 from dkurt:fix_js_face_recognition_v2
2019-06-24 18:29:05 +00:00
atalaman
de60600126
Merge pull request #14820 from TolyaTalamanov:at/circle_and_line
...
G-API: Implement line and circle draw operations (#14820 )
* Implement line and circle draw operations
* Fix comments to review
2019-06-24 17:37:32 +03:00
Dmitry Kurtaev
d17d3b66aa
Fix face recognition JS sample
2019-06-24 16:41:37 +03:00
Alexander Alekhin
f4ca2c8e72
Merge pull request #14874 from alalek:videoio_fix_gstreamer_plugin_build
2019-06-24 12:37:53 +00:00
Maksim Shabunin
46205a7235
videoio: fix GStreamer plugin build
2019-06-24 13:56:43 +03:00
Feng Chen
5620306c70
Merge pull request #14845 from vonchenplus:ocv_mirrorpad
...
* tensorflow support mirror pad
* revert macro define
* revert macro define
* reduce code duplication
* revert macro define
2019-06-24 12:27:42 +03:00
tribta
e8283f94ed
Fix Python code, for the tutorial_laplace_operator, to get the same result between the Cpp, Java and Python
2019-06-23 18:03:01 +01:00
Alexander Alekhin
894f208de3
dnn(test): replace SkipTestException with tags
2019-06-23 13:12:23 +00:00
Alexander Alekhin
f8c96cb18a
Merge pull request #14847 from alalek:dnn_fix_test_data_searching
2019-06-23 12:42:27 +00:00
Alexander Alekhin
e72f451173
Merge pull request #14305 from cameron-martin:calib3d-js
2019-06-22 16:43:40 +00:00
Alexander Alekhin
5c63be3c6e
samples: support MSVS 2019 compiler
...
requires CMake 3.14+
2019-06-22 16:24:21 +00:00
Alexander Alekhin
974491f93d
Merge pull request #14861 from alalek:update_version_4.1.1-pre
2019-06-22 13:57:10 +00:00
Alexander Alekhin
e21f89a16d
Merge pull request #14864 from dkurt:fix_js_face_recognition
2019-06-22 07:15:02 +00:00
Lubov Batanina
16294437d5
Merge pull request #14833 from l-bat:ocv_eltwise3d
...
* Support Eltwise3d
* Refactoring
* Fix test
2019-06-22 10:13:28 +03:00
Dmitry Kurtaev
d75a089690
Fix face recognition sample for JS
2019-06-21 21:53:52 -07:00
Alexander Alekhin
442bc80cd7
pre: OpenCV 4.1.1 (version++)
2019-06-21 19:18:50 +03:00
Alexander Alekhin
f84b08ff08
dnn: bump API version
2019-06-21 19:18:23 +03:00
Alexander Alekhin
f33f88de31
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-21 17:27:14 +03:00
Alexander Alekhin
4b205680df
Merge pull request #14855 from alalek:update_version_3.4.7-pre
2019-06-21 17:26:40 +03:00
Alexander Alekhin
779f59da6b
pre: OpenCV 3.4.7 (version++)
2019-06-21 16:57:17 +03:00
Alexander Alekhin
f5ddaef46b
experimental version++
2019-06-21 16:57:17 +03:00
Alexander Alekhin
aa6c66aa54
Merge pull request #14848 from alalek:build_warnings_avx512
2019-06-21 13:53:52 +00:00
Alexander Alekhin
e69ff71302
Merge pull request #14846 from alalek:videoio_gstreamer_issues_master
2019-06-21 13:51:22 +00:00
Alexander Alekhin
6b32bd5f15
Merge pull request #14834 from alalek:videoio_gstreamer_issues
2019-06-21 13:38:34 +00:00
Alexander Alekhin
2b2633c11f
videoio(gstreamer): port changes from 14834
2019-06-21 14:42:58 +03:00
Alexander Alekhin
31a22c27fe
Merge pull request #14836 from alalek:static_analysis_issues_3.4
2019-06-21 10:26:09 +00:00
Cameron Martin
0ae053fdf8
js: Add findHomography js bindings.
...
Removed constants from legacy C api and switched out header with shorter version.
Removed blank line that was failing CI.
2019-06-21 13:13:53 +03:00
Alexander Alekhin
d8c5bd92ae
Merge pull request #14737 from Wenzhao-Xiang:master
2019-06-20 19:01:32 +00:00
Thang Tran
2a67375239
js: added fillPoly() and fillConvexPoly()
2019-06-20 19:56:23 +02:00
Alexander Alekhin
5ac55fc132
core: eliminate AVX512 build warnings
...
from MSVS2017 and GCC8 -O1 mode
2019-06-20 20:00:09 +03:00
Joe Howse
729848caeb
core: revise syntax to support Visual C++ 2013
2019-06-20 13:57:17 -03:00
Alexander Alekhin
13a782c039
test: fix usage of findDataFile()
...
misused 'optional' mode
2019-06-20 18:20:14 +03:00
Alexander Alekhin
8ab6efb8c0
videoio: refactor GStreamer backend
...
- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)
2019-06-20 17:48:18 +03:00
Alexander Alekhin
ab24325df3
videoio(test): avoid raw ptr in ffmpeg tests
...
causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0
2019-06-20 17:48:18 +03:00
Alexander Alekhin
681e0323f2
core: backport toLowerCase()/toUpperCase()
2019-06-20 17:48:18 +03:00
Alexander Alekhin
baf372ad3d
videoio(test): add extra videoio tests
2019-06-20 17:48:18 +03:00
Alexander Alekhin
9cb239247d
Merge pull request #14689 from anton-potapov:gapi_async_cacnel
2019-06-20 13:48:05 +00:00
Alexander Alekhin
1b7b2c3a62
Merge pull request #14844 from rgarnov:gapi_contains_tuple
2019-06-20 12:52:07 +00:00
Ruslan Garnov
7c0a9ff4c1
Added overload of contains<> for tuple
2019-06-20 14:40:14 +03:00
Alexander Alekhin
95d9cfb5c3
static analysis issues
2019-06-20 13:55:20 +03:00
Anton Potapov
8d75bfae47
Cancelation support fo Async GAPI
...
-
2019-06-19 13:41:39 +03:00
Alexander Alekhin
1d2ef6b2a1
Merge pull request #14774 from alalek:videoio_ffmpeg_plugin_win32
2019-06-17 14:47:48 +00:00
Alexander Alekhin
264679a725
Merge pull request #14816 from gal0is:gal0is-branch
2019-06-17 13:54:53 +00:00
Alexey Smirnov
7f9a9f2a09
Merge pull request #14648 from smirnov-alexey:as/gapi_transform
...
* Introduce GAPI_TRANSFORM initial interface
Comes along with simple tests and kernel package changes
* Fix documentation and adjust combine() function
* Fix stuff after rebasing on master
* Remove redundant functionality
* Refactoring according to review feedback provided
* Fixes according to review feedback
* Reconsider transformations return and fix a warning
* Fixes from code review
* Add a new simple test
* Cleanup, added tests on GScalar, GMatP, GArray
2019-06-17 16:26:28 +03:00
Alexander Alekhin
26dfa5e77c
ffmpeg: win32 wrapper update
2019-06-16 16:20:40 +00:00
Alexander Alekhin
7b099e0fe2
videoio: plugins support on Win32
2019-06-16 15:25:25 +00:00
gal0is
bb7dc5f992
Solve the import issue in Python2.
2019-06-16 06:10:00 +08:00
Alexander Alekhin
66d7956e67
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-15 16:25:11 +00:00
Alexander Alekhin
1f519eea89
Merge pull request #14815 from alalek:valgrind_suppress_openexr_threadpool
2019-06-15 16:18:57 +00:00
Alexander Alekhin
b8c080de12
valgrind: suppress OpenEXR ThreadPool
2019-06-15 14:38:37 +00:00
Alexander Alekhin
b6e41ebf27
Merge pull request #14808 from alalek:issue_14807
2019-06-14 22:44:43 +00:00
Kang Yifei
ba0ed79635
Merge pull request #14800 from FanaticsKang:add_undistortPoint_test
...
Test request by #14583 (#14800 )
* add test to show the undistort bug
* move test to calib3d
2019-06-14 22:57:21 +03:00
Alexander Alekhin
8ca4252303
Merge pull request #14583 from FanaticsKang:fix_undistortPoint_bug
2019-06-14 18:30:26 +00:00
Alexander Alekhin
b909df5531
Merge pull request #14747 from dkurt:fix_14683
2019-06-14 16:41:55 +00:00
Ruslan Garnov
3df83dce7e
Merge pull request #14741 from rgarnov:gapi_fix_includes
...
Changed quotes to brackets when including public includes (#14741 )
2019-06-14 19:27:19 +03:00
Alexander Alekhin
3697ebef47
cmake: typo in hook name
2019-06-14 19:07:54 +03:00
Kang
549c53121a
fix the bug, when k[4] is negative, icdist may be negative at the edge of image.
2019-06-14 19:00:36 +03:00
Dmitry Kurtaev
dfdc91f8c9
dnn: fix MVN layer (issue 14683)
2019-06-14 18:38:05 +03:00
atalaman
d3c0f4ef98
Merge pull request #14700 from TolyaTalamanov:at/cv_gapi_render
...
G-API: Render (#14700 )
* cv::Render
Implement OCVRedner for BGR as input
* Support two plane cv::Render::run
* Snapshot
* Add RenderCreator
* text2Points
* Snapshot
* Refactoring tests
* Remove text2points
* Fix render input data type in tests
* Refactoring
* Fix headers
* Change struct fields name
* Fix headers
* Fix warnings
* Replace cv::Scalar -> cv::gapi::own::Scalar
* Add test
* PutText and rectangle case
* Fix comments to review
* Fix comments to review
* Fix comments to review
* Create render_priv.hpp
* Implement BGR2NV12
* Fix NV12 test
* Fix comments to review
* Add header for GAPI_Assert
2019-06-14 18:29:49 +03:00
Dmitry Kurtaev
eba696a41e
Merge pull request #14792 from dkurt:dnn_ie_min_version_r5
...
* Remove Inference Engine 2018R3 and 2018R4
* Fix 2018R5
2019-06-14 18:17:02 +03:00
Alexander Alekhin
54a14c877c
Merge pull request #14794 from terfendail:wui512_interleavenames
2019-06-14 14:20:34 +00:00
Alexander Alekhin
cf9bddcb89
Merge pull request #14805 from alalek:fix_valgrind_issues
2019-06-14 14:15:01 +00:00
Alexander Alekhin
fc0498b5bd
Merge pull request #14790 from alalek:update_ffmpeg_3.4
2019-06-14 13:40:59 +00:00
Alexander Alekhin
3af1b6ecdc
valgrind: fix issues
2019-06-14 14:31:38 +03:00
Alexander Alekhin
4623e6220f
Merge pull request #14804 from mshabunin:fix-mediasdk-detect
2019-06-14 11:20:37 +00:00
Vitaly Tuzov
a29e59a770
Rename parameters in AVX512 implementation of v_load_deinterleave and v_store_interleave
2019-06-14 14:16:30 +03:00
Maksim Shabunin
ae31115017
Improved MediaSDK detection mechanism
2019-06-14 12:37:49 +03:00
Alexander Alekhin
f9eab2de5e
Merge pull request #14673 from janstarzy:hidden-vis-with-java7
2019-06-13 17:59:39 +00:00
Jan Starzynski
e9ed7eb68d
make -fvisibility=hidden work with java 1.7
2019-06-13 17:39:10 +02:00
Alexander Alekhin
6389303c1c
Merge pull request #14793 from mshabunin:fix-plugin-install
2019-06-13 14:05:55 +00:00
Maksim Shabunin
5015829ce8
Fixed plugin installation location on Windows
2019-06-13 16:06:06 +03:00
wenzhao
3f5c85e933
opencv.js: fix the loading issue of opencv.js(WASM) in face recognition
2019-06-13 11:26:27 +08:00
Alexander Alekhin
6aab6a251c
ffmpeg: update 3.4.6
...
libvpx: 1.8.0
2019-06-12 16:54:47 +00:00
Alexander Alekhin
81fad9e247
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-11 20:43:40 +00:00
Alexander Alekhin
1c661e7548
Merge pull request #14784 from alalek:backport_14779
2019-06-11 20:36:16 +00:00
Alexander Alekhin
a457fbdb58
Merge pull request #14783 from alalek:backport_14777
2019-06-11 20:12:01 +00:00
Alexander Alekhin
e7dbc4ff28
Merge pull request #14782 from alalek:core_fix_log_level_default
2019-06-11 20:11:32 +00:00
Vitaly Tuzov
d2aadabc5e
Merge pull request #14743 from terfendail:wui512_fixvswarn
...
Fix for MSVS2019 build warnings (#14743 )
* AVX512 arch support for MSVS
* Fix for MSVS2019 build warnings: updated integral() AVX512 implementation
* Fix for MSVS2019 build warnings: reworked v_rotate_right AVX512 implementation
* fix indentation
2019-06-11 23:07:39 +03:00
Alexander Alekhin
f8791f072d
core: avoid function type cast, make happy UBSAN
...
backporting of commit: d3d13c41c4
2019-06-11 19:36:47 +00:00
Alexander Alekhin
db7f689728
imgcodecs(tiff): add more checks
...
backporting of commit: f6230ae019
2019-06-11 19:22:24 +00:00
Alexander Alekhin
b4d3ff378e
Merge pull request #14720 from rgarnov:gapi_remove_lut3d
2019-06-11 16:24:54 +00:00
Alexander Alekhin
6c8ffe81d0
core: repair default log level
2019-06-11 19:19:10 +03:00
Alexander Alekhin
1706a7609a
Merge pull request #14781 from mshabunin:minimal-python-3-master
2019-06-11 14:19:37 +00:00
Alexander Alekhin
b3e6c97d98
Merge pull request #14736 from mshabunin:minimal-python-3
2019-06-11 13:01:05 +00:00
Maksim Shabunin
d60ac98ef2
Limited API support for Python3
2019-06-11 15:20:43 +03:00
Maksim Shabunin
10d61a2b44
Limited API support for Python3
2019-06-11 15:15:49 +03:00
Alexander Alekhin
3f67623c26
Merge pull request #14779 from alalek:oss_fuzz_14115
2019-06-11 11:35:28 +00:00
Alexander Alekhin
59f4a2e0f3
Merge pull request #14777 from alalek:oss_fuzz_15154
2019-06-11 11:34:46 +00:00
Alexander Alekhin
d3d13c41c4
core: avoid function type cast, make happy UBSAN
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14115
2019-06-11 07:06:29 +00:00
Alexander Alekhin
f6230ae019
imgcodecs(tiff): add more checks
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15154
2019-06-10 21:00:20 +00:00
Alexander Alekhin
11b020b9f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-10 19:05:28 +00:00
Alexander Alekhin
878af7ada8
Merge pull request #14725 from alalek:update_openexr_2.3.0
...
3rdparty: update OpenEXR 2.3.0 (#14725 )
* openexr 2.2.1
* openexr 2.3.0
* openexr: build fixes
* openexr: build dwa tables on-demand
2019-06-10 20:04:23 +03:00
Alexander Alekhin
987061d800
Merge pull request #14771 from mshabunin:fix-world-build
2019-06-10 12:02:39 +00:00
Maksim Shabunin
f99f58d99f
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
2019-06-10 14:13:54 +03:00
atalaman
1aefa6779f
Merge pull request #14513 from TolyaTalamanov:at/color-convert-kernels
...
G-API: Implement color-convert kernels (#14513 )
* Implement color-convert kernels
* Fix rgb2yuv422 reference version
* Fix comments to review
* Restore NV12toBGR in imgproc.hpp
* Add accuracy tests
* Fix doxygen
* Fix ref version yuv422
* Fix warnings
* Fix typos
* Fix simd version yuv422
* Fix warnings
* Fix compile error
* Fix warning
* Remove comment
2019-06-10 14:09:30 +03:00
Alexander Alekhin
d2f9cfcf81
Merge pull request #14760 from ChipKerchner:3.4
2019-06-09 17:43:02 +00:00
Alexander Alekhin
52644f067e
Merge pull request #14764 from alalek:core_intrin_drop_hasSIMD_checks
2019-06-09 17:11:45 +00:00
Alexander Alekhin
417ac94456
Merge pull request #14767 from alalek:imgcodecs_test_exr
2019-06-08 22:44:37 +00:00
Alexander Alekhin
02bfd20760
imgcodecs(test): add OpenEXR I/O test
2019-06-08 21:30:26 +00:00
Alexander Alekhin
6d916c5bb4
Merge pull request #14440 from alalek:async_array
2019-06-08 20:57:15 +00:00
Alexander Alekhin
1e9ad5476d
core(intrin): drop hasSIMD128 checks
...
- use compile-time checks instead (`#if CV_SIMD128`)
- runtime checks are useless
2019-06-08 19:20:20 +00:00
Lubov Batanina
5e80191d27
Merge pull request #14697 from l-bat:Slice_ONNX
...
* Support Slice layer in ONNX importer
* Add IE support
* Fix ONNX importer
* Fix Slice
2019-06-08 16:52:40 +03:00
Chip Kerchner Chip.Kerchner@ibm.com
058367f34c
Rewrite code in BGR2Gray functions so that auto vectorizer does a better job.
2019-06-07 11:48:05 -05:00
Alexander Alekhin
ddcf388270
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-07 19:02:55 +03:00
Alexander Alekhin
254f88f805
Merge pull request #14759 from alalek:java_gen_unicode
2019-06-07 16:02:12 +00:00
Alexander Alekhin
60fb1fde75
java: wrap StringIO() to support unicode strings
2019-06-07 17:05:58 +03:00
Alexander Alekhin
00367289bd
Merge pull request #14754 from allnes:java_qr_code
2019-06-07 12:49:25 +00:00
Alexander Nesterov
a9769b9202
Remove check and added binding tests
2019-06-07 14:53:40 +00:00
Alexander Alekhin
6d62be55b3
Merge pull request #14756 from mshabunin:fix-avx512-detection
2019-06-07 12:35:39 +00:00
Alexander Alekhin
002925466b
Merge pull request #14717 from alalek:core_visibility_handling
2019-06-07 11:49:30 +00:00
Alexander Alekhin
8fae361768
Merge pull request #14750 from alalek:sample_fix_encoding
2019-06-07 11:12:28 +00:00
Maksim Shabunin
65919ed839
AVX 512 detection: workaround for older GCC
2019-06-07 13:58:09 +03:00
Alexander Alekhin
cdee3d33b4
Merge pull request #14752 from SchultzC:3.4
2019-06-07 10:44:39 +00:00
Alexander Alekhin
f5ca9d3fe1
python: visibility
2019-06-07 07:23:15 +00:00
Alexander Alekhin
4a8fd71a2e
core: fix visibility handling
2019-06-07 07:23:15 +00:00
SchultzC
1e6e18ff05
Changed to integer division
2019-06-06 14:50:45 -07:00
Alexander Alekhin
5c05b7bc01
Merge pull request #14749 from alalek:fix_android_javadoc
2019-06-06 21:07:23 +00:00
Alexander Alekhin
a51d46cbf9
samples: skip findFile() in encoding mode
2019-06-06 20:42:55 +00:00
Alexander Alekhin
c6deba6003
android: fix javadoc
2019-06-06 20:22:42 +00:00
Alexander Alekhin
08019732e2
Merge pull request #14729 from arnaudbrejeon:bug_fix_14722
2019-06-06 19:44:06 +00:00
Alexander Alekhin
aab9ef4290
Merge pull request #14667 from asashour:javadoc
2019-06-06 10:57:39 +00:00
utibenkei
03382d29cc
Merge pull request #14693 from utibenkei:fix_java_simpleblobdetector
...
* java: fix java SimpleBlobDetector
* add SIMPLEBLOBFeatureDetectorTest
* add package org.opencv.test.features2d;
* fix SIMPLEBLOBFeatureDetectorTest
2019-06-06 13:05:41 +03:00
SchultzC
3833d86f0f
Merge pull request #14733 from SchultzC:3.4
...
* cast positional arguments to int
* Changed to integer division based
* removed white space
* removed white space
2019-06-06 13:02:45 +03:00
Alexander Alekhin
94ec0e9b74
Merge pull request #14724 from asashour:typos
2019-06-06 10:01:03 +00:00
arnaudbrejeon
e8e020ffb7
Add test
2019-06-05 09:15:18 -07:00
arnaudbrejeon
e9b8571afc
Fix bug
2019-06-05 09:15:04 -07:00
Alexander Alekhin
f3de2b4be7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-05 19:11:52 +03:00
Alexander Alekhin
51631b90af
Merge pull request #14726 from alalek:backport_14716
2019-06-05 15:54:46 +00:00
Alexander Alekhin
a2445c44cb
imgcodecs: sanitize PAM decoding
...
backporting of commit: 76fca0e755
2019-06-05 18:12:43 +03:00
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
2019-06-05 12:44:03 +02:00
Ahmed Ashour
1aca1d582e
Fix some typos
2019-06-05 12:24:13 +02:00
Lubov Batanina
3efd2df87f
Merge pull request #14682 from l-bat:axpy_layer
...
* Add Axpy layer
* Fix test
* fix caffe importer
2019-06-05 00:18:06 +03:00
Ted Steiner
f1fb002682
Merge pull request #14678 from tedsteiner:qnx
...
Fix build issue on QNX platform (#14678 )
* QNX compatibility
* core: unify gettimeofday() usage
2019-06-04 19:45:21 +03:00
Alexander Alekhin
d5a0d6783a
Merge pull request #14710 from bommo1:bommo1-14265
2019-06-04 16:44:42 +00:00
Alexander Alekhin
5fde16ba90
Merge pull request #14712 from SchultzC:master
2019-06-04 16:43:45 +00:00
rasmus25
394bc91e07
Merge pull request #14718 from rasmus25:3.4
...
* Revert the bad parts of b085158d59 to fix https://github.com/opencv/opencv/issues/11131
but preserve the good parts to keep https://github.com/opencv/opencv/issues/10791 fixed
* calib3d: add regression test for stereoCalibrate to fix https://github.com/opencv/opencv/issues/11131
2019-06-04 18:43:42 +03:00
SchultzC
edb3337ead
Remove divide by 1000
...
because t = (time.time() - t) will return seconds, dividing by 1000 to obtain seconds will be incorrect.
2019-06-04 08:17:37 -07:00
Ruslan Garnov
25e4bce1a6
Removed LUT3D API entry
2019-06-04 17:13:21 +03:00
Alexander Alekhin
fa96507fe7
Merge pull request #14719 from alalek:update_protobuf_3.5.2
2019-06-04 13:10:17 +00:00
Alexey Smirnov
e329c84d5e
Merge pull request #14684 from smirnov-alexey:as/convert2_test_extension
...
G-API: Add parameters alpha and beta in tests on ConvertTo kernel (#14684 )
* Add parameters alpha and beta in tests on ConvertTo kernel
* Change tolerance function
* Reduce number of test cases
2019-06-04 15:54:09 +03:00
Alexander Alekhin
1febb12942
3rdparty: apply protobuf v3.5.1..v3.5.2 patch
...
https://github.com/protocolbuffers/protobuf/compare/v3.5.1..v3.5.2
2019-06-04 12:57:34 +03:00
Alexander Alekhin
03a3be0844
Merge pull request #14716 from alalek:oss_fuzz_13282
2019-06-04 09:24:32 +00:00
Alexander Alekhin
9802b4e123
Merge pull request #14707 from alalek:update_libwebp_1.0.2
2019-06-04 09:21:35 +00:00
Alexander Alekhin
e1ef7a2288
Merge pull request #14705 from alalek:update_libjpeg_9c
2019-06-04 09:21:17 +00:00
Alexander Alekhin
f768f89803
Merge pull request #14704 from alalek:fix_missing_files_libjpeg_turbo_2.0.2
2019-06-04 09:19:58 +00:00
Alexander Alekhin
1f75c67c56
Merge pull request #14701 from alalek:update_libpng_1.6.37
2019-06-04 09:19:26 +00:00
Alexander Alekhin
f1b6228d4f
3rdparty(webp): enable -std=c99
2019-06-03 22:23:34 +00:00
Alexander Alekhin
d58f9ae824
3rdparty: update libwebp 1.0.0 => 1.0.2
...
https://github.com/webmproject/libwebp/releases/tag/v1.0.2
2019-06-03 22:23:34 +00:00
Alexander Alekhin
76fca0e755
imgcodecs: sanitize PAM decoding
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13282
2019-06-03 22:19:42 +00:00
bommo1
a38157a1f4
Fix https://github.com/opencv/opencv/issues/14265
2019-06-03 23:05:03 +02:00
Alexander Alekhin
f355b3505f
Merge pull request #14661 from dkurt:ie_deconv_adj
2019-06-03 16:58:17 +00:00
Vitaly Tuzov
3b015dfc7d
Merge pull request #14210 from terfendail:wui_512
...
AVX512 wide universal intrinsics (#14210 )
* Added implementation of 512-bit wide universal intrinsics(WIP)
* Added implementation of 512-bit wide universal intrinsics: implemented WUI vector types(WIP)
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented load/store
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented fp16 load/store
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented recombine and zip, implemented non-saturating and saturating arithmetics
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented bit operations
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented comparisons
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented lane shifts and reduction
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented absolute values
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented rounding and cast to float
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented LUT
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented type extension/narrowing and matrix operations
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented load_deinterleave for 2 and 3 channels images
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented load_deinterleave for 2- and implemented for 4-channel images
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented store_interleave
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented signmask and checks
* Added implementation of 512-bit wide universal intrinsics(WIP): build fixes
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented popcount in case AVX512_BITALG is unavailable
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented zip
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented rotate for s8 and s16
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented interleave/deinterleave for s8 and s16
* Added implementation of 512-bit wide universal intrinsics(WIP): updated v512_set macros
* Added implementation of 512-bit wide universal intrinsics(WIP): fix for GCC wrong _mm512_abs_pd definition
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_zip to avoid AVX512_VBMI intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_invsqrt to avoid AVX512_ER intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_rotate, v_popcount and interleave/deinterleave for U8 to avoid AVX512_VBMI intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed integral image SIMD part
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed warnings
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed load_deinterleave for u8 and u16
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed v_invsqrt accuracy for f64
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed interleave/deinterleave for u32 and u64
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed interleave_pairs, interleave_quads and pack_triplets
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed rotate_left
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed rotate_left/right, part 2
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed 512-wide universal intrinsics based resize
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed findContours by avoiding use of uint64 dependent 512-wide v_signmask()
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed trailing whitespaces
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked specific intrinsic sets dependent parts to check availability of intrinsics based on CPU feature group defines
* Added implementation of 512-bit wide universal intrinsics(WIP):Updated AVX512 implementation of v_popcount to avoid AVX512VPOPCNTDQ intrinsics if unavailable.
* Added implementation of 512-bit wide universal intrinsics(WIP): Fixed universal intrinsics data initialisation, v_mul_wrap, v_floor, v_ceil and v_signmask.
* Added implementation of 512-bit wide universal intrinsics(WIP): Removed hasSIMD512()
* Added implementation of 512-bit wide universal intrinsics(WIP): Fixes for gcc build
* Added implementation of 512-bit wide universal intrinsics(WIP): Reworked v_signmask, v_check_any() and v_check_all() implementation.
2019-06-03 18:05:35 +03:00
Alexander Alekhin
0ec72cbd10
3rdparty: update libjpeg 9c
...
https://www.ijg.org/
2019-06-03 16:21:02 +03:00
Alexander Alekhin
68e220e7bb
3rdparty: fix missing files from libjpeg-turbo 2.0.2
2019-06-03 15:42:51 +03:00
Alexander Alekhin
143b3d2b5b
3rdparty(libpng): re-apply OpenCV patches
2019-06-03 15:04:51 +03:00
Alexander Alekhin
e96c94c4e4
3rdparty: update libpng 1.6.37
...
http://www.libpng.org/pub/png/libpng.html
https://github.com/glennrp/libpng/releases
2019-06-03 14:49:44 +03:00
Dmitry Kurtaev
9c0af1f675
Enable more deconvolution layer configurations with IE backend
2019-06-03 08:15:52 +03:00
Alexander Alekhin
db900af8c7
Merge pull request #14696 from devnexen:fbsd_build_fix
2019-06-02 20:54:32 +00:00
David Carlier
9fd95b93f7
FreeBSD build fix
2019-06-02 20:25:42 +01:00
Yashas Samaga B L
ae279966c2
Merge pull request #14660 from YashasSamaga:dnn-cuda-build
...
add cuDNN dependency and setup build for cuda4dnn (#14660 )
* update cmake for cuda4dnn
- Adds FindCUDNN
- Adds new options:
* WITH_CUDA
* OPENCV_DNN_CUDA
- Adds CUDA4DNN preprocessor symbol for the DNN module
* FIX: append EXCLUDE_CUDA instead of overwrite
* remove cuDNN dependency for user apps
* fix unused variable warning
2019-06-02 14:47:15 +03:00
Alexander Alekhin
3289a0aff9
Merge pull request #14687 from terfendail:wint_reducefix
2019-05-31 14:52:50 +00:00
Vitaly Tuzov
723165f878
fix for AVX2 version of v_reduce_min intrinsic
2019-05-31 16:14:54 +03:00
Alexander Alekhin
805ab6331f
Merge pull request #14662 from dkurt:dnn_tf_fix_identity_switch
2019-05-30 20:22:17 +00:00
Alexander Alekhin
738435b1dd
Merge pull request #14679 from alalek:cmake_update_option_enable_fast_math
2019-05-30 18:24:30 +00:00
Alexander Alekhin
d8b42792a6
cmake: update ENABLE_FAST_MATH option
2019-05-30 19:44:35 +03:00
Lubov Batanina
f94253b82b
Merge pull request #14627 from l-bat:demo_kinetics
...
* Support 3D ResNet-34-kinetics
* Update sample
* Remove preprocess
* Change test
* Fix sample
2019-05-30 17:36:00 +03:00
Alexander Alekhin
3ccb1d67c2
Merge pull request #14670 from alalek:gapi_fix_visibility_conflict
2019-05-30 11:21:50 +00:00
Alexander Alekhin
8ea2f59d33
Merge pull request #14671 from alalek:dnn_test_fast_read
2019-05-30 06:48:34 +00:00
Alexander Alekhin
d6d4571628
Merge pull request #14675 from alalek:backport_14664
2019-05-29 21:09:24 +00:00
Alexander Alekhin
43de95eb19
3rdparty(libpng): fix leak in png_handle_eXIf
...
backporting of commit: 419a6d51b3
2019-05-29 20:15:55 +00:00
mehlukas
0ecc2b8c17
Merge pull request #14674 from mehlukas:3.4-moveObjdetect
...
Merge two Haar Cascade tutorials (#14674 )
* move haar cascade introduction, add code explanation, mark content as moved
* switch to ref for include to provide correct breadcrumb navigation
2019-05-29 23:13:27 +03:00
Alexander Alekhin
52548bde05
dnn(test): replace file content reading
2019-05-29 23:08:33 +03:00
Alexander Alekhin
d2d8535a31
Merge pull request #14664 from alalek:oss_fuzz_13314
2019-05-29 20:05:33 +00:00
Alexander Alekhin
29b3f66507
Merge pull request #14606 from asashour:java_inline_return
2019-05-29 20:03:54 +00:00
Alexander Alekhin
419a6d51b3
3rdparty(libpng): fix leak in png_handle_eXIf
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13314
ported commit: https://github.com/glennrp/libpng/commit/a142b7a543d16d271b8aba3ef7ca4aa9a368f55d
2019-05-29 18:51:52 +00:00
Dmitry Kurtaev
081d9bc73f
Fix Identity Switch from Keras
2019-05-29 17:13:21 +03:00
Alexander Alekhin
9f68376c91
gapi: fix visibility conflict in OpenCV builds
2019-05-29 15:06:08 +03:00
Alexander Alekhin
216988b0b1
Merge pull request #14582 from alalek:android_update_debug
2019-05-29 11:22:53 +00:00
Alexander Alekhin
53c771551c
Merge pull request #14473 from alalek:video_dis_update_opencl
...
video(DISOpticalFlow): update OpenCL implementation (#14473 )
* video(DIS): add code for profiling
* video(DIS): fix test parameters
* video(DIS): simplify OpenCL kernels
- parameters -> defines
- avoid float3
- const / local scope
- improve readability, replace Kernel::set() -> args()
* video(DIS): use CV_32FC2 buffers
2019-05-29 14:22:21 +03:00
Alexander Alekhin
43467a2ac7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-28 18:29:48 +00:00
Alexander Alekhin
0d477d7364
Merge pull request #14651 from alalek:dnn_test_update_debug_tags
2019-05-28 16:26:49 +00:00
Alexander Alekhin
e0d88cb7a4
Merge pull request #14614 from mehlukas:3.4-movevideo
2019-05-28 16:22:56 +00:00
Alexander Alekhin
571dfa7605
Merge pull request #14652 from LaurentBerger:I14644
2019-05-28 11:11:27 +00:00
Ahmed Ashour
ca8a1d2cff
java: generated code inline return
2019-05-28 08:34:02 +02:00
Alexander Alekhin
38a3c1ce6b
dnn(test): update test tags for Debug build
2019-05-27 20:12:30 +00:00
LaurentBerger
a3be8d7cd7
dead link
2019-05-27 21:57:10 +02:00
Alexander Alekhin
483e9f341c
Merge pull request #14626 from dkurt:dnn_ie_slice_layer
2019-05-27 16:27:14 +00:00
Alexander Alekhin
aaf56c2839
Merge pull request #14649 from savuor:fix/luv_hls_read_oob
2019-05-27 16:24:55 +00:00
Alexander Alekhin
ed96864892
Merge pull request #14641 from thangktran:thangktran/bugfix/DISOpticalFlow-segfault-for-small-images
2019-05-27 16:23:08 +00:00
Alexey Nikolaev
05563f5bc4
Merge pull request #14592 from aleksey-nikolaev:master
...
VideoCapture Direct Show. Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties. (#14592 )
* Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties.
Some refactoring.
* One space less.
2019-05-27 19:18:36 +03:00
Lubov Batanina
61d3222a22
Merge pull request #14537 from l-bat:fix_network_vizualizer
...
Fix dnn visualizer (#14537 )
* Fixed print layer params
* Fix print
2019-05-27 19:17:07 +03:00
Alexander Alekhin
a81c0e6db9
Merge pull request #14447 from catree:fix_issue_14423
2019-05-27 15:00:21 +00:00
Alexander Alekhin
d73261844e
Merge pull request #14622 from asashour:junit
2019-05-27 14:55:45 +00:00
Alexander Alekhin
b07f951e6b
Merge pull request #14591 from thangktran:thangktran/feature/floodFill-on-opencv.js
2019-05-27 14:54:46 +00:00
Alexander Alekhin
42484f3bcb
Merge pull request #14647 from alalek:fix_coverity_issues
2019-05-27 14:32:02 +00:00
Alexander Alekhin
d7c465d49e
Merge pull request #14643 from mshabunin:fix-ie-status
2019-05-27 14:31:10 +00:00
Alexander Alekhin
c5204a74c0
Merge pull request #14633 from alalek:java_test_filter
2019-05-27 14:13:25 +00:00
Alexander Alekhin
4a2544ff4b
Merge pull request #14632 from alalek:java_test_debug
2019-05-27 14:13:10 +00:00
Alexander Alekhin
c9b3e718db
Merge pull request #14609 from janstarzy:tiff-orientation-fix
2019-05-27 13:39:51 +00:00
Dmitry Kurtaev
44d21e5a79
Enable Slice layer on Inference Engine backend
2019-05-27 16:28:01 +03:00
Rostislav Vasilikhin
8c698262ea
rgb2hls_b: out of bounds read fixed
2019-05-27 16:19:52 +03:00
Alexander Alekhin
1094ed64e9
Merge pull request #14605 from terfendail:wsignmask_fixavx
2019-05-27 13:19:39 +00:00
Rostislav Vasilikhin
791ebd05fc
out of bounds read fixed in rgb2luv_b
2019-05-27 16:19:01 +03:00
Alexander Alekhin
483f28723c
calib3d: initialize local vars, fix indentation in for loops
2019-05-27 14:39:47 +03:00
Maksim Shabunin
a550e50683
Fix IE status message on MacOS
2019-05-27 10:26:16 +03:00
Maksim Shabunin
472f3b7347
Fix TBB debug
2019-05-27 10:26:06 +03:00
Thang Tran
d1615ba11a
video:fixed DISOpticalFlow segfault from small img
2019-05-27 08:18:26 +02:00
utibenkei
898cf70210
Merge pull request #14597 from utibenkei:fix_java_missing_consts
...
* java: fix java missing_consts
* java: test Calib3d constants
2019-05-26 19:43:34 +03:00
Alexander Alekhin
b958498074
java(test): test package filtering
...
Usage example:
- run.py -a -t java --package=calib3d
2019-05-26 15:12:05 +00:00
Alexander Alekhin
171dd9eff5
java(test): enable debug mode to show useful stacktraces
2019-05-26 14:54:44 +00:00
Alexander Alekhin
6c6dd16acf
Merge pull request #14628 from devnexen:openbsd_build_fix
2019-05-25 13:53:53 +00:00
David Carlier
a6144b8e1a
OpenBSD build fix
2019-05-25 10:18:34 +01:00
Rostislav Vasilikhin
e07ffe902e
Merge pull request #14616 from savuor:hsv_wide
...
HSV and HLS color conversions rewritten to wide intrinsics (#14616 )
* RGB2HSV_b vectorized
* RGB2HSV_f: widen
* RGB2HSV_f: shorten, more intuitive
* HSV2RGB_f and HSV2RGB_b widen
* hls2rgb_f widen
* instrumentation instead vx_cleanup
* RGB2HLS_f widen
* RGB2HLS_b rewritten to wide universal intrinsics
* define guard against no SIMD code
* hls2rgb_b rewritten
* extra define removed
* warning fixed
* hls2rgb_b: performance fixed
2019-05-24 23:01:08 +03:00
Alexander Alekhin
9b130efbb3
Merge pull request #14623 from alalek:fix_14617
2019-05-24 19:57:54 +00:00
Alexander Alekhin
22701f0c27
imgcodecs(CAP_IMAGES): fix handling of input pattern
2019-05-24 22:13:25 +03:00
Vitaly Tuzov
f0fb91f2d4
Fixed v_signmask implementation for AVX2, updated universal intrinsics tests.
2019-05-24 19:34:54 +03:00
Ahmed Ashour
f9564e053d
java: test: use assertNotNull and assertFalse
2019-05-24 10:45:09 +02:00
Alexander Alekhin
166ecaeda8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-23 19:50:20 +03:00
Lukas Mehl
2acc7c96e7
remove bgsgm tutorial, set references to OpenCV-Tutorials
2019-05-23 17:11:44 +02:00
Alexander Alekhin
1810702bf0
Merge pull request #14610 from mshabunin:fix-gtk-gl
2019-05-23 15:05:18 +00:00
Alexander Alekhin
96e2126ade
Merge pull request #14602 from asashour:java_lang_
2019-05-23 15:04:38 +00:00
Jan Starzynski
fb9c083a51
handle all orientations properly
2019-05-23 16:51:25 +02:00
Maksim Shabunin
dc28a1aba2
highgui: fixed build GTK2+OpenGL
2019-05-23 16:30:22 +03:00
Alexander Alekhin
2080e06f7b
Merge pull request #14601 from asashour:14211_CvType
2019-05-23 12:26:19 +00:00
Ahmed Ashour
f3319f6140
java: remove redundant declaration of java.lang package
2019-05-23 14:06:34 +02:00
Ahmed Ashour
1050b5351e
java: add CvType.CV_16F
2019-05-23 08:49:01 +02:00
Alexander Alekhin
def8fa2248
Merge pull request #14557 from mshabunin:win-lapack
2019-05-22 18:59:31 +00:00
Alexander Alekhin
2fd1a4eef7
Merge pull request #14520 from kupferb:patch-1
2019-05-22 18:16:48 +00:00
Alexander Alekhin
8bf9dda604
Merge pull request #14514 from mshabunin:fix-videoio-docs
2019-05-22 18:15:43 +00:00
Ruslan Garnov
54ff72a1cc
Merge pull request #14599 from rgarnov:gapi_aux_kernels
...
G-API aux kernels (#14599 )
* Removed gcpuimgproc.hpp and gcpucore.hpp
* Changed GModel::orderedInputs and orderedOutputs to get ConstGraph&
* Added auxiliaryKernels() method of GBackend::Priv
2019-05-22 21:13:13 +03:00
atalaman
cbb699efd2
Merge pull request #14151 from TolyaTalamanov:at/own-mat-output-doesnt-support
...
G-API: own::Mat as output computation doesn't work (#14151 )
* Fix bug with output own::Mat
* Fix comments to review
* Fix preprocess condition
* Fix comments to review
2019-05-22 19:57:08 +03:00
atalaman
d9dac9cd1b
Merge pull request #14150 from TolyaTalamanov:at/computation-doesnt-work-with-out-vector
...
G-API: GComputation doesn't work with output vector<cv::Mat> (#14150 )
* Fix bug with gcomputation output vector
* Add test fixture
* Fix comments to review
* Fix alignment
2019-05-22 19:13:15 +03:00
Maksim Shabunin
fff7b7e459
LAPACK: add support for complex numbers for MSVC
2019-05-22 18:43:45 +03:00
Maksim Shabunin
bcf7286ad9
Docs: updated videoio module overview
2019-05-22 15:35:34 +03:00
catree
7ed858e38e
Fix issue with solvePnPRansac and Nx3 1-channel input when the number of points is 5. Try to uniform the input shape of projectPoints and undistortPoints.
2019-05-22 14:19:16 +02:00
atalaman
935c02c0a3
Merge pull request #13851 from TolyaTalamanov:at/new-kernel-package-design
...
G-API: Kernel package design (#13851 )
* Remove cv::unite_policy from API
* Add check that all id in kernel package are unique
* Refactor checker id procedure
* Remove cv::gapi::GLookupOrder from API
* Implement cv::gapi::use_only
* Fix samples
* Fix docs
* Fix comments to review
* Remove unite_policy
* Fix GKernelPackage::backends()
* Fix comments to review
* Fix all_unique
* Fix comments to review
* Fix comments to review
* Remove out of date tests
2019-05-22 14:53:44 +03:00
Alexander Alekhin
f629cdfe2c
Merge pull request #14459 from dkurt:tf_strided_slice
2019-05-22 11:30:34 +00:00
Dmitry Kurtaev
26e426adb1
StridedSlice from TensorFlow
2019-05-22 12:45:52 +03:00
Alexander Alekhin
190467b6c1
Merge pull request #14586 from dianlujitao:master
2019-05-21 18:30:02 +00:00
Thang Tran
eb243847eb
js: added floodFill function to JS binding
...
previously floodFill() is white-list without any implementation.
floodFill() is now fully functional in JS.
2019-05-21 14:19:50 +02:00
Alexander Alekhin
de977cc9c8
Merge pull request #14474 from alalek:ocl_kernel_args_variadic
2019-05-20 18:18:02 +00:00
Alexander Alekhin
a433394870
Merge pull request #14362 from catree:feat_ippe
2019-05-20 18:16:52 +00:00
Rostislav Vasilikhin
e90e0ef9aa
Merge pull request #14106 from savuor:lab_wide
...
Lab, Luv and XYZ conversions rewritten to wide intrinsics (#14106 )
* rgb2xyz<float> re-vectorized
* rgb2xyz_i vectorized for ushort and uchar
* xyz2rgb<float> vectorized
* xyz2rgb_i vectorized for both uchar and ushort
* intermediate conversions (int->float) rewritten
* packed rgb2luv rewritten
* (some) float conversions rewritten
* burnt volatile int _3 and similar
* RGB2Lab_b rewritten
* tests: logging made better
* RGB2Lab_f (LRGB path) rewritten
* Lab2RGBfloat rewritten
* Lab2RGBinteger and Lab2RGB_b rewritten to wide universal intrinsics
* Luv2RGBinteger wide vectorized
* RGB2Lab_b fixed: v_sub_wrap instead of saturated sub
* warnings fixed
* trying to fix compilation on older compilers
* using 16x8 registers for 8-element dot product
* cleanup added
* splineInterpolate: loop unrolled, perf fix for f32x4
* Lab2RGBfloat: grab 2x more data to process on f32x4
* nrepeats for Luv2RGBfloat, +20% perf
* minor
* nrepeats to RGB2Lab_f
* Lab2RGBinteger: no tab for linear BGR
* nrepeats for RGB2Luvfloat
* Luv2RGBinteger: no tab for linear RGB
* +10% more to perf of Luv2RGBfloat
* nrepeats for 256-simd for Lab2RGBfloat
* less warnings
* BOM removed
* CV_SIMD_WIDTH used for lanes number checking
* trilinearPackedInterpolate: 128-bit specialization added
* fix build; no vx_cleanup(), instrumentation instead
2019-05-20 21:10:20 +03:00
Sergiu Deitsch
bc4b2d521c
Merge pull request #13337 from sergiud:eigen-cross-compile
...
* added support for Eigen cross-compilation
* cmake: fix Eigen detection
2019-05-20 21:05:42 +03:00
dianlujitao
f0f50b757d
Fix LogSoftmax for ONNX
...
Fix wrong indentation as well while at it
2019-05-20 22:55:31 +08:00
catree
33cb9c5ca5
Add SOLVEPNP_IPPE for planar pose estimation. Add solvePnPGeneric function that returns all the pose solutions and the reprojection errors.
2019-05-20 11:56:54 +02:00
Alexander Alekhin
e4b9a58c15
Merge pull request #14578 from mshabunin:add-mfx-plugin
2019-05-19 19:36:16 +00:00
Alexander Alekhin
3c1267dbe6
android: update 'debug' information support
2019-05-19 16:09:45 +00:00
Alexander Alekhin
132253c9f3
dnn: use AsyncArray
2019-05-18 19:32:23 +00:00
Alexander Alekhin
9340af1a8a
core: Async API / AsyncArray
2019-05-18 19:32:23 +00:00
Alexander Alekhin
447116a93c
Merge pull request #14524 from kohei-us:onnx-load-binary-blob
2019-05-18 16:19:34 +00:00
Alexander Alekhin
d848594deb
Merge pull request #14445 from l-bat:batchnorm3d
2019-05-17 17:03:53 +00:00
Alexander Alekhin
b4ec8fe3ef
Merge pull request #14539 from rgarnov:gapi_fix_nv12_odd_slices
2019-05-17 16:59:52 +00:00
Maksim Shabunin
6fc6207e93
Added videoio plugin for MediaSDK
2019-05-17 17:24:53 +03:00
Alexander Alekhin
dbc7faca46
Merge pull request #14574 from catree:fix_norm_type_typo
2019-05-17 04:19:05 +00:00
catree
b5e2ec4ea4
Fix typo in NormTypes documentation.
2019-05-16 19:22:41 +02:00
Kohei Yoshida
7b4aefedea
Add support for loading ONNX model from in-memory buffer.
2019-05-16 11:26:20 -04:00
Alexander Alekhin
30a595789c
Merge pull request #14463 from thangktran:thangktran/fix-imgproc-intersectConvexConvex
2019-05-16 14:50:20 +00:00
Alexander Alekhin
9003b60d65
Merge pull request #14567 from alalek:core_drop_ostream_string_overload
2019-05-16 11:32:13 +00:00
Alexander Alekhin
d93588dfeb
Merge pull request #14562 from alalek:calid3d_fix_examples_paragraph
2019-05-16 11:23:16 +00:00
Alexander Alekhin
6ca3c7f59f
Merge pull request #14517 from FadyEssam:remove_redundant_imports
2019-05-16 11:03:44 +00:00
Alexander Alekhin
e21262deba
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-16 04:40:39 +00:00
Alexander Alekhin
84fd8190f3
Merge pull request #14232 from terfendail:popcount_rework
2019-05-15 17:58:11 +00:00
Vitaly Tuzov
7a55f2af3b
Updated AVX2 implementation of v_popcount for u8.
2019-05-15 19:39:25 +03:00
Alexander Alekhin
88996323b6
Merge pull request #14569 from alalek:fixup_14558
2019-05-15 16:21:31 +00:00
Alexander Alekhin
8b192b76c0
Merge pull request #14561 from alalek:fix_ctors_with_uninitialized_vars
2019-05-15 16:21:07 +00:00
Daniel Ingram
962d57b4d6
Merge pull request #14559 from daniel-s-ingram:master
...
* Fix typo: 'divisble' -> 'divisible'
* Fix typo: 'One of arguments' -> 'One of the arguments'
2019-05-15 18:41:43 +03:00
Alexander Alekhin
18151e79bb
cmake(samples): use LINK_PRIVATE in target_link_libraries
2019-05-15 18:38:00 +03:00
Alexander Alekhin
a70e1eecd9
Merge pull request #14552 from dkurt:fixed_detections_out_blob
2019-05-15 15:17:05 +00:00
Alexander Alekhin
3e876c5066
Merge pull request #14505 from alalek:android_fix_14477
2019-05-15 12:58:23 +00:00
mehlukas
6bff0e24f8
Merge pull request #14314 from mehlukas:3.4-opticalflow
...
Extend optical flow tutorial (#14314 )
* extend python optical flow tutorial with cpp example code and add it to general tutorial directory
* remove unused parameters, fix comparison between signed and unsigned int
* fix hsv range problem
* switch to samples::findFile for sample file location
* switch to command line parameter for path
* remove old tutorial as in 14393
* minor fixes
2019-05-15 15:13:57 +03:00
Alexander Alekhin
b8f9076de0
core: drop 'operator << (ostream, String)' overload
...
'cv::String' is 'std::string' in OpenCV 4.x
2019-05-15 14:00:02 +03:00
mehlukas
47c45e5bd3
Merge pull request #14393 from mehlukas:3.4-meanshift
...
Extend meanshift tutorial (#14393 )
* copy original tutorial and python code
* add cpp code, fix python code
* add camshift cpp code, fix bug in meanshift code
* add description to ToC page
* fix shadowing previous local declaration
* fix grammar: with -> within
* docs: remove content of old py_meanshift tutorial, add link
* docs: replace meanshift tutorial subpage in Python tutorials
* switch to ref to fix wrong breadcrumb navigation
* switch to cmdline for path as in #14314
* Apply suggestions from code review
* order programming languages alphabetically
2019-05-15 13:34:20 +03:00
Alexander Alekhin
8936a0f3a5
android: fix JavaCamera2View UV plane handling
2019-05-15 07:57:50 +00:00
Alexander Alekhin
d784b40e24
calib3d(docs): examples paragraph is related to findHomography()
2019-05-14 19:20:40 +00:00
Alexander Alekhin
68012bfbf9
calib3d: fix uninitialized fields in ctors
2019-05-14 19:15:13 +00:00
Alexander Alekhin
9fabc3406f
Merge pull request #14558 from alalek:cmake_samples_threading_3.4
2019-05-14 19:02:23 +00:00
Alexander Alekhin
e7338024f6
Merge pull request #14516 from dkurt:dnn_async_samples
2019-05-14 19:01:43 +00:00
Dmitry Kurtaev
63bb97cc19
Asynchronous C++ sample
2019-05-14 19:09:07 +03:00
Vitaly Tuzov
1220dd4877
Updated v_popcount description, reference implementation and test.
2019-05-14 18:59:40 +03:00
Vitaly Tuzov
96ab78dc4f
Reworked v_popcount implementation to provide number of bits in a single lane
2019-05-14 18:59:38 +03:00
Ruslan Garnov
50af4df1d7
Fixed roi inference to always produce even sizes for nv12
2019-05-14 18:37:33 +03:00
Alexander Alekhin
3201ea89d6
cmake: enable threading in samples
...
- moved code into separate file due issue with handling of CMake policies
2019-05-14 17:29:46 +03:00
Liubov Batanina
dfa753c6b4
Support OCV backend
2019-05-14 16:44:57 +03:00
Dmitry Kurtaev
6389dfe49c
Fixed DetectionOutput output blob shape
2019-05-14 15:09:32 +03:00
Liubov Batanina
dadb1473c1
Add BatchNorm3d layer
2019-05-14 12:44:48 +03:00
Dmitry Kurtaev
c3b0a68a2b
Async mode for dnn's object detection sample
2019-05-14 09:58:47 +03:00
kupferb
f024425dd0
Update haarfeatures.cpp
...
Detailed description for my proposal can be found here
https://github.com/opencv/opencv/issues/14128
2019-05-13 16:41:03 +03:00
Fady Essam
1b294c013a
remove unnecessary imports in knn tutorials
2019-05-09 00:01:57 +02:00
Alexander Alekhin
b2abd8ca41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-07 16:04:54 +00:00
Alexander Alekhin
b998c06d08
Merge pull request #14501 from LaurentBerger:MatchLayer_text_graph_ssd
2019-05-07 15:49:54 +00:00
Alexander Alekhin
5ba8aa781c
Merge pull request #14460 from dkurt:dnn_tf_no_extra_clone
2019-05-07 14:48:50 +00:00
Alexander Alekhin
455323ed58
Merge pull request #14500 from mshabunin:backport-avfoundation
2019-05-07 14:44:33 +00:00
Alexander Alekhin
eb161942de
Merge pull request #14486 from alalek:cmake_dispatch_all
2019-05-07 14:25:02 +00:00
LaurentBerger
fa8e301c69
extends regex matching for conv group of layers
2019-05-07 16:17:25 +02:00
Alexander Alekhin
2aed9aea47
Merge pull request #14492 from anton-potapov:gapi_async_review_updates
2019-05-07 14:15:45 +00:00
Alexander Alekhin
55c02ff628
Merge pull request #14491 from mshabunin:add-clang-hardening
2019-05-07 14:13:07 +00:00
Maksim Shabunin
9a81ff7315
Backported AVFoundation fixes from master branch
2019-05-07 13:57:44 +03:00
Anton Potapov
c2e26c1527
Async API for GAPI
...
- minor cosmetic changes : comments, typos
2019-05-07 13:12:15 +03:00
Maksim Shabunin
5acfa524cb
Added support for Clang build hardening (including Apple)
2019-05-07 13:00:43 +03:00
Alexander Alekhin
94c7d99d0d
Merge pull request #14489 from dkurt:fix_14464
2019-05-06 19:16:26 +00:00
Dmitry Kurtaev
471b83ccd5
Modify paddings computation for SAME pad mode
2019-05-06 10:49:10 +03:00
Alexander Alekhin
7bb8d89ef3
Merge pull request #14484 from dkurt:dnn_ie_fix_async_u8
2019-05-05 11:51:54 +00:00
Alexander Alekhin
6b6222bfbb
cmake: support CPU_DISPATCH=ALL, fix misused CPU_DISPATCH
...
- CPU_DISPATCH_FINAL should be used for filtering
2019-05-05 11:24:21 +00:00
Sayed Adel
5a77f4cee3
Merge pull request #14007 from seiko2plus:core_avx512_infa
...
* core: improve AVX512 infrastructure by adding more CPU features groups
* cmake: use groups for AVX512 optimization flags
* core: remove gap in CPU flags enumeration
* cmake: restore default CPU_DISPATCH
2019-05-05 14:19:49 +03:00
Dmitry Kurtaev
adc1ef9308
Fix uint8 input data for Async mode of dnn
2019-05-05 12:49:38 +03:00
Alexander Alekhin
610f5481c1
core(ocl): ocl::Kernels::args() via variadic template
2019-05-04 00:06:31 +00:00
Alexander Alekhin
03ec1ca0a4
Merge pull request #14403 from alalek:issue_14372
2019-05-03 20:41:51 +00:00
Alexander Alekhin
04caf0549d
video(DIS): OpenCL workaround for AMDGPU
2019-05-03 19:01:14 +00:00
Alexander Alekhin
0e1dd63f5e
video(DIS): use OpenCL shared mem
...
- fix perf test iterations
2019-05-03 18:58:26 +00:00
Alexander Alekhin
fc57129300
Merge pull request #14431 from catree:feat_solvePnPRefine
2019-05-02 20:44:58 +00:00
Alexander Alekhin
b7ca3d77a6
Merge pull request #14465 from unrandomness:master
2019-05-01 22:00:02 +00:00
seungju
ceff82877d
fix a typo in md file
...
fix a typo in ml_intro.md, tress -> trees
2019-05-01 14:05:33 +02:00
Thang Tran
1aff378ae8
imgproc: fixed bug from intersectConvexConvex
...
Added checks for all of vertices from each contour instead of checking
only for the first vertex.
2019-05-01 11:06:30 +02:00
Alexander Alekhin
e28e3c9491
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-01 08:27:45 +00:00
Alexander Alekhin
163d5e4d39
Merge pull request #14368 from dkurt:dnn_ie_tests
2019-04-30 19:35:00 +00:00
Alexander Alekhin
bc9893799d
Merge pull request #14457 from alalek:dnn_fix_msvc_build
2019-04-30 16:49:33 +00:00
Alexander Alekhin
076ee65c85
Merge pull request #14448 from rgarnov:gapi_gmatp
2019-04-30 16:48:34 +00:00
Alexander Alekhin
1c092a181d
Merge pull request #14454 from dkurt:dnn_tf_subgraph_fusion
2019-04-30 16:24:32 +00:00
Dmitry Kurtaev
a6ed8f268a
Remove extra weights cloning from TensorFlow importer
2019-04-30 19:18:41 +03:00
Alexander Alekhin
ddfaa41f07
Merge pull request #14452 from alalek:issue_14432
2019-04-30 16:15:46 +00:00
Ruslan Garnov
834d438d6e
Added GMatP type
2019-04-30 17:25:29 +03:00
Lubov Batanina
77fa59c3da
Merge pull request #14301 from l-bat:conv3d
...
Support Convolution3D layer on IE backend (#14301 )
* Add Convolution3D layer
* Disable CXX11
* Fixed tests
* Add Pooling3D layer
* Merge Conv2d with Conv3d and Pool2d with Pool3d layers
* Split pads
* Add Deconvolution layer
* Refactoring
* Deduplication
* Refactoring
* Add utils for Convolution and Pooling layers
2019-04-30 17:08:17 +03:00
Alexander Alekhin
3bcbd2a078
Merge pull request #14451 from alalek:fix_perf_calibation
2019-04-30 14:01:13 +00:00
Alexander Alekhin
85ea37ac01
Merge pull request #14450 from alalek:ts_hide_zero_memory_message
2019-04-30 14:00:36 +00:00
catree
dac31e84fb
Add solvePnPRefineLM to refine a pose according to a Levenberg-Marquardt iterative minimization process. Add solvePnPRefineVVS to refine a pose using a virtual visual servoing scheme.
2019-04-30 14:31:11 +02:00
Alexander Alekhin
138a80611c
build: avoid MSVC ICE
2019-04-30 14:16:01 +03:00
Alexander Alekhin
2da00161c5
Merge pull request #14446 from mshabunin:old-v4l
2019-04-30 10:41:33 +00:00
anton-potapov
f5801ee7da
Merge pull request #14346 from anton-potapov:gapi_async
...
* Async API for GAPI
- naive implementation as a starting point
* Fix namespace comment in header
2019-04-30 13:11:56 +03:00
Dmitry Kurtaev
9408c3e640
Refactored TensorFlow subgraphs fusion
2019-04-30 09:21:05 +03:00
Alexander Alekhin
1c180f4c7f
imgproc: fix RemoveOverlaps() with empty input vector
2019-04-29 21:15:23 +00:00
Alexander Alekhin
cd4926778e
ts: fix perf calibation
...
properly handle "check" mode with:
"--perf_min_samples=1 --perf_force_samples=1"
2019-04-29 19:10:38 +00:00
Alexander Alekhin
38c0278be3
ts: silence zero memory usage messages
2019-04-29 18:28:54 +00:00
Alexander Alekhin
ffd4a27901
Merge pull request #14443 from dkurt:fix_14435
2019-04-29 18:21:22 +00:00
Maksim Shabunin
683acd9ae2
Support very old V4L
2019-04-29 18:14:58 +03:00
Alexander Alekhin
faca45a7ea
Merge pull request #14429 from rgarnov:gapi_fluid_fix_small_rois
2019-04-29 15:08:11 +00:00
ostarling
643d9df42d
Merge pull request #14411 from ostarling:3.4_fix_for_14242
...
* Fix for Homogenous precision #14242 :
- moved scale computation to an inline function
- use std::numeric_limits<float>::epsilon() instead of != 0.0
* Fix for Homogenous precision #14242 :
- fixed warnings for type conversion
* Fix for Homogenous precision #14242 :
- use float epsilon() for truncation of doubles
2019-04-29 17:12:04 +03:00
Alexander Alekhin
84847cf4c3
Merge pull request #14342 from Victorlouisdg:bugfix-JavaCamera2View-green
2019-04-29 10:54:34 +00:00
Dmitry Kurtaev
61b928d9bd
Add an assertion for Async request status
2019-04-29 08:16:28 +03:00
Alexander Alekhin
e8a626d43a
Merge pull request #14407 from dkurt:dnn_ie_fix_batch_detection
2019-04-27 21:48:56 +00:00
Alexander Alekhin
025f679dbc
Merge pull request #14434 from seiko2plus:vsx_fix_reduce_sad
2019-04-27 18:01:29 +00:00
Sayed Adel
afb157df67
core:vsx fix sum of v_reduce_sad
2019-04-27 02:01:24 +02:00
Alexander Alekhin
82be2d6210
Merge pull request #14430 from alalek:cmake_fix_include_pkgconfig_3.4
2019-04-26 20:18:59 +00:00
Alexander Alekhin
e8ac7a34dd
Merge pull request #14426 from alalek:cmake_fix_include_pkgconfig
2019-04-26 20:18:38 +00:00
Alexander Alekhin
b95fdc1992
Merge pull request #14394 from alalek:build_support_memory_sanitizers
2019-04-26 16:13:52 +00:00
Alexander Alekhin
d17699363c
Merge pull request #14385 from terfendail:intrin_sad
2019-04-26 15:34:02 +00:00
Alexander Alekhin
90c34c5c17
cmake: fix pkg-config handling
...
backporting commit c9f3f4d1d3
2019-04-26 18:25:47 +03:00
Alexander Alekhin
c9f3f4d1d3
cmake: fix pkg-config handling
...
Avoid non-intentional call of "include(FindPkgConfig)"
It should be handled in the root CMakeLists.txt (safely for cross-compiling)
2019-04-26 18:19:03 +03:00
Alexander Alekhin
7b8ce63730
Merge pull request #14402 from rgarnov:gapi_planar_mats
2019-04-26 14:59:12 +00:00
Ruslan Garnov
ffaf4d5da4
Fixed incorrect first window setting for fluid FilterAgent
2019-04-26 17:34:44 +03:00
Ruslan Garnov
fb326a3589
Added a reproducer
2019-04-26 17:33:50 +03:00
Ruslan Garnov
f81886d17c
Added planar flag to GMatDesc, intergated into framework, added tests
2019-04-26 14:04:44 +03:00
Alexander Alekhin
0023d8a106
Merge pull request #14410 from adamrankin:master
2019-04-25 18:45:14 +00:00
Dmitry Kurtaev
4f6be11c0e
Check if Inference Engine networks are fully supported by backend
2019-04-25 11:27:17 +03:00
Adam Rankin
a164a131f9
BUG: Qt5 components not correctly detected if only Qt5_DIR is provided, when this is supported by Qt CMake system.
...
Fixed by updating Qt5 find_package call to use modern CMake syntax
2019-04-24 15:46:30 -04:00
Alexander Alekhin
0431ecb9e2
Merge pull request #14408 from l-bat:onnx_deconv
2019-04-24 14:30:09 +00:00
Vitaly Tuzov
18d10d6b86
Fixed v_reduce_sad intrinsics implementation and added tests
2019-04-24 14:53:59 +03:00
Alexander Alekhin
cd879bedb4
Merge pull request #14406 from thangktran:thangktran/java-wrapper-for-find4QuadCornerSubpix
2019-04-24 11:44:05 +00:00
Liubov Batanina
45ced8e022
Fix ONNX deconvolution
2019-04-24 14:37:52 +03:00
Dmitry Kurtaev
520e351489
Fix batching in DetectionOutput layer
2019-04-24 12:08:49 +03:00
Thang Tran
2f7fc1a598
calib3d: add find4QuadCornerSubpix java wrapper
...
Fixes: https://github.com/opencv/opencv/issues/14169
2019-04-24 08:45:28 +02:00
Sheel-Patel
ec39f0dc9e
Merge pull request #14122 from Sheel-Patel:patch-1
...
Grammatical errors for help() in detect_mser.cpp (#14122 )
* Grammatical errors for help() statement
Corrected spelling of "synthetic" and added grammatical clarification for keys to press to change view or use mouse.
* Adjustment of superfluous spaces
2019-04-24 01:45:27 +03:00
Alexander Alekhin
e98222dfb3
Merge pull request #14260 from allanrodriguez:sample-digits-cpp
2019-04-23 22:38:07 +00:00
Alexander Alekhin
3b3347857f
Merge pull request #14395 from alalek:ts_catch_missing_files
2019-04-23 14:46:05 +00:00
Alexander Alekhin
7d2190a5d4
ts: +ENV{OPENCV_TEST_REQUIRE_DATA}
...
similar to '--test_require_data' parameter
2019-04-22 21:42:06 +00:00
Alexander Alekhin
c1981f28ad
build: +OPENCV_ENABLE_MEMORY_SANITIZER flag
2019-04-22 21:35:25 +00:00
Alexander Alekhin
d0032b0717
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-22 18:17:28 +00:00
Alexander Alekhin
8eb685de9d
Merge pull request #14390 from dkurt:dnn_onnx_const_reshape
2019-04-22 15:55:19 +00:00
Alexander Alekhin
9bfaf4fe40
Merge pull request #14389 from alalek:cmake_fix_pch_build_with_vtk
2019-04-22 15:54:08 +00:00
Alexander Alekhin
8120595c3e
Merge pull request #14387 from alalek:fix_winpack_build
2019-04-22 15:53:13 +00:00
Alexander Alekhin
de4be8e610
Merge pull request #14384 from terfendail:fp16_depint
2019-04-22 15:52:53 +00:00
Alexander Alekhin
0bbd28e0d4
Merge pull request #14382 from alalek:backport_14373
2019-04-22 15:52:10 +00:00
Alexander Alekhin
8fac166b66
Merge pull request #14379 from sturkmen72:upd_GeneralizedHough
2019-04-22 15:51:47 +00:00
masa-iwm
5c404bb142
Merge pull request #14376 from masa-iwm:3.4
...
* fix getting platformIDs in initializeContextFromD3D11Device
2019-04-22 18:50:31 +03:00
Dmitry Kurtaev
9b635830bc
Run Reshape layer for const input from ONNX models
2019-04-22 17:57:46 +03:00
Alexander Alekhin
319e891d7d
cmake: guard macro definitions in PCH scripts
...
fixes build with VTK
2019-04-22 17:43:32 +03:00
Alexander Alekhin
44bd849697
build: reduce usage of constexpr
...
some compilers has lack of proper support for that
2019-04-22 15:41:27 +03:00
Vitaly Tuzov
4a54aa3fbd
Cleared up deprecated intrinsics for FP16
2019-04-22 10:35:37 +03:00
Suleyman TURKMEN
3f9343e238
Update imgproc.hpp
2019-04-22 00:48:11 +03:00
Ryan Wong
8af96248bf
Merge pull request #13909 from kinchungwong:logging_20190220
...
OE-11 Logging revamp (#13909 )
* Initial commit for log tag support.
Part of #11003 , incomplete. Should pass build.
Moved LogLevel enum to logger.defines.hpp
LogTag struct used to convey both name and log level threshold as
one argument to the new logging macro. See logtag.hpp file, and
CV_LOG_WITH_TAG macro.
Global log level is now associated with a global log tag, when a
logging statement doesn't specify any log tag. See getLogLevel and
getGlobalLogTag functions.
A macro CV_LOGTAG_FALLBACK is allowed to be re-defined by other modules
or compilation units, internally, so that logging statements inside
that unit that specify NULL as tag will fall back to the re-defined tag.
Line-of-code information (file name, line number, function name),
together with tag name, are passed into the new log message sink.
See writeLogMessageEx function.
Fixed old incorrect CV_LOG_VERBOSE usage in ocl4dnn_conv_spatial.cpp.
* Implemented tag-based log filtering
Added LogTagManager. This is an initial version, using standard C++
approach as much as possible, to allow easier code review. Will
optimize later.
A workaround for all static dynamic initialization issues is
implemented. Refer to code comments.
* Added LogTagConfigParser.
Note: new code does not fully handle old log config parsing behavior.
* Fix log tag config vs registering ordering issue.
* Started testing LogTagConfigParser, incomplete.
The intention of this commit is to illustrate the capabilities of
the current design of LogTagConfigParser.
The test contained in this commit is not complete. Also, design changes
may require throwing away this commit and rewriting test code from
scratch.
Does not test whitespace segmentation (multiple tags on the config);
will do in next commit.
* Added CV_LOGTAG_EXPAND_NAME macro
This macro allows to be re-defined locally in other compilation units
to apply a prefix to whatever argument is passed as the "tag" argument
into CV_LOG_WITH_TAG. The default definition in logger.hpp does not
modify the argument. It is recommended to include the address-of
operator (ampersand) when re-defined locally.
* Added a few tests for LogTagManager, some fail.
See test_logtagmanager.cpp
Failed tests are: non-global ("something"), setting level by name-part
(first part or any part) has no effect at all.
* LogTagManagerTests substring non-confusion tests
* Fix major bugs in LogTagManager
The code change is intended to approximate the spec documented in
https://gist.github.com/kinchungwong/ec25bc1eba99142e0be4509b0f67d0c6
Refer to test suite in test_logtagmanager.cpp
Filter test result in "opencv_test_core" ...
with gtest_filter "LogTagManager*"
To see the test code that finds the bugs, refer to original commits
(before rebase; might be gone)
.. f3451208 (2019-03-03T19:45:17Z)
.... LogTagManagerTests substring non-confusion tests
.. 1b848f5f (2019-03-03T01:55:18Z)
.... Added a few tests for LogTagManager, some fail.
* Added LogTagManagerNamePartNonConfusionTest.
See test_logtagmanager.cpp in modules/core/test.
* Added LogTagAuto for auto registration in ctor
* Rewritten LogTagManager to resolve issues.
* Resolves code review issues around 2019-04-10
LogTagConfigParser::parseLogLevel - as part of resolving code review
issues, this function is rewritten to simplify control flow and to
improve conformance with legacy usage (for string values "OFF",
"DISABLED", and "WARNINGS").
2019-04-22 00:01:10 +03:00
Alexander Alekhin
f7856a0f35
imgcodecs(tiff): update tile size checks
...
backporting of commit: 25247b9f6e
2019-04-21 18:36:39 +00:00
Alexander Alekhin
f439fc4306
Merge pull request #14373 from alalek:oss_fuzz_14185_14321
2019-04-20 20:53:07 +00:00
Alexander Alekhin
25247b9f6e
imgcodecs(tiff): update tile size checks
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14185
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14321
2019-04-20 20:13:47 +00:00
Alexander Alekhin
5c0a98cfb6
Merge pull request #14369 from ManthanKeim:patch-1
2019-04-20 19:30:54 +00:00
Manthan Keim
269c28e69e
Update py_svm_opencv.markdown
...
Fixes a broken link for histograms of Oriented Gradients.
2019-04-20 18:52:13 +00:00
Dmitry Kurtaev
a5c92c2029
Merge pull request #13694 from dkurt:dnn_ie_async
...
Asynchronous API from Intel's Inference Engine (#13694 )
* Add forwardAsync for asynchronous mode from Intel's Inference Engine
* Python test for forwardAsync
* Replace Future_Mat to AsyncMat
* Shadow AsyncMat
* Isolate InferRequest callback
* Manage exceptions in Async API of IE
2019-04-19 21:01:19 +03:00
Alexander Alekhin
c024edb9a8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-19 15:43:58 +03:00
Alexander Alekhin
3abae3c511
Merge pull request #14366 from alalek:win32_fix_pdb
2019-04-19 12:42:16 +00:00
Alexander Alekhin
2e4d771005
cmake: fix PDB handling
2019-04-19 14:53:35 +03:00
Alexander Alekhin
4f764b812e
Merge pull request #14315 from dkurt:tf_squeeze_and_slim_softmax_v2
2019-04-18 16:01:24 +00:00
Alexander Alekhin
f7b6e30156
Merge pull request #14354 from alalek:workaround_apple_dyld_bug
2019-04-17 19:09:15 +00:00
Alexander Alekhin
9dccfe2a96
Merge pull request #13917 from sturkmen72:removed_c_api
2019-04-17 19:04:33 +00:00
Alexander Alekhin
2b84039a16
Merge pull request #14313 from alalek:cmake_pch_fix_defines_from_interface_targets
2019-04-17 19:02:28 +00:00
Alexander Alekhin
96610c7ee1
Merge pull request #14332 from LaurentBerger:loadknearest
2019-04-17 19:00:42 +00:00
Ruslan Garnov
1f517b8a02
Merge pull request #13943 from rgarnov:export_headers_for_backend_development
...
G-API external backend development (#13943 )
* Moved HostCtor and ConstVal from gapi_priv.hpp to objref.hpp
* Added gmodel_priv.hpp, added export of symbols from gmodel.hpp
* Added export of binInArg and bindOutArg
* Renamed gapi_priv.*pp -> gorigin.*pp
* Added a fixme on collecting exports inside one class
2019-04-17 21:54:47 +03:00
Alexander Alekhin
52f16e0f55
tests: workaround for DYLD_LIBRARY_PATH on Apple MacOSX
2019-04-17 15:19:33 +03:00
Alexander Alekhin
dedd966002
Merge pull request #14345 from dkurt:fix_dnn_ie_mac
2019-04-16 19:18:49 +00:00
Alexander Alekhin
6d3ae8d4ca
Merge pull request #14341 from alalek:cmake_fix_pkgconfig_libs
2019-04-16 19:04:07 +00:00
Alexander Alekhin
c667de9b68
dnn: force visibility(default) for IE headers
2019-04-16 18:18:31 +03:00
LaurentBerger
621e3eaed8
Add Ptr KNearest::load and python binding
2019-04-16 16:32:37 +02:00
Alexander Alekhin
3ef046b6c9
Merge pull request #14338 from alalek:fix_13849
2019-04-16 13:42:27 +00:00
Alexander Alekhin
74d5cdb6d8
Merge pull request #14343 from alalek:dnn_static_scans_namespace
2019-04-16 13:11:23 +00:00
Alexander Alekhin
7ad5d21900
Merge pull request #14339 from alalek:cmake_fix_std_cxx11
2019-04-16 13:10:24 +00:00
Alexander Alekhin
ebe13a9613
Merge pull request #14337 from alalek:ts_flush_stdout
2019-04-16 13:08:40 +00:00
Alexander Alekhin
7c1d9fea8b
Merge pull request #14308 from m000:master
2019-04-16 11:58:21 +00:00
Alexander Alekhin
59e4f85898
Merge pull request #14347 from dkurt:dnn_samples
2019-04-16 11:50:46 +00:00
Dmitry Kurtaev
a304069687
Remove preprocessing parameters from README
2019-04-16 13:29:33 +03:00
Dmitry Kurtaev
62d079fa69
Fix Normalize layer for Mac
2019-04-16 12:39:04 +03:00
Alexander Alekhin
3902694075
static scans: preserve namespace name
2019-04-16 06:49:47 +00:00
vdgussem
00861b668a
Changed the way Images are converted into rgba Mats so that JavaCamera2View also shows correct colors when the Image contains I420 or YV12 data
2019-04-16 01:38:59 +02:00
Alexander Alekhin
dfb9832a25
cmake(protobuf): ensure using of own headers
2019-04-15 22:28:33 +00:00
Alexander Alekhin
0d747daf47
cmake: use absolute library paths from 'pkgconfig'
...
- drop legacy check_module() macro
- drop 'ALIASOF_'
2019-04-15 22:11:49 +00:00
Alexander Alekhin
78384d8923
build: avoid highgui dependency
2019-04-15 18:59:51 +00:00
Alexander Alekhin
a56c12278e
cmake: fix C++11 flags (ENABLE_CXX11 is not required)
2019-04-15 20:00:55 +03:00
Alexander Alekhin
c9a76ede94
Merge pull request #14328 from lainy:3.4
2019-04-15 11:03:37 +00:00
lain
246733382f
Fix OpenCVConfig.cmake for Arch Linux.
2019-04-14 12:22:57 -07:00
Alexander Alekhin
d1387b25eb
Merge pull request #14318 from dkurt:fix_ie_github
2019-04-14 17:33:11 +00:00
Allan Rodriguez
86561fef90
Added C++ version of digits.py.
2019-04-13 22:29:30 -07:00
Alexander Alekhin
64fd1c95a5
ts: flush stdout/stderr before test launch
2019-04-13 21:08:06 +00:00
Alexander Alekhin
4635356435
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-13 20:00:54 +00:00
Manolis Stamatogiannakis
ef16e4203e
Fix compile error with external TBB and -DBUILD_SHARED_LIBS=OFF.
...
Adds IMPORTED for the TBB::tbb alias target as otherwise cmake produces
the following error:
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "tbb" that is not in the export set.
This problem occurs with the defaults used by homebrew on macOS, which
compiles both static and shared versions of TBB and OpenCV.
2019-04-13 21:53:04 +02:00
Dmitry Kurtaev
92cbec6fb1
Fix dnn with IE from GitHub
2019-04-13 19:02:03 +03:00
Dmitry Kurtaev
0cfd95c097
Fix TensorFlow's Squeeze and a new fusion for SoftMax from slim backend
2019-04-13 17:04:31 +03:00
Nick Yang
169dc9c311
Merge pull request #14297 from shxuy:patch-1
...
fix just a typo of the word 'word' (#14297 )
2019-04-12 19:32:08 +03:00
Lubov Batanina
60a841c797
Merge pull request #14255 from l-bat:networks_visualization
...
* Add networks visualization
* Disable CXX11
* Fixed multy inputs support
* Added output shapes
* Added color for DLIE/CPU
* Fixed graph colors
2019-04-12 19:31:07 +03:00
michal-kowalczyk
a246d8d8e9
Merge pull request #13709 from michal-kowalczyk:flush-processed-samples-number
...
* Add flushing to printing number of processed positive/negative samples so that user is informed of updates quickly.
* use flush C api instead of C++ api
2019-04-12 18:51:35 +03:00
Alexander Alekhin
64629cb94e
Merge pull request #12783 from alalek:test_tag
2019-04-12 15:35:41 +00:00
Alexander Alekhin
9515137cb2
cmake: fix PCH generation
...
process defines from INTERFACE targets
2019-04-12 17:39:02 +03:00
Alexander Alekhin
5f500692f1
Merge pull request #14284 from dkurt:fix_14236
2019-04-12 13:05:38 +00:00
Alexander Alekhin
227ec19929
Merge pull request #14277 from dkurt:ie_enable_tests_2019r1
2019-04-12 13:05:19 +00:00
Dmitry Kurtaev
a2bbfa1db5
Enable some tests for Inference Engine 2019R1
2019-04-12 15:21:42 +03:00
Alexander Alekhin
a9ddf12187
Merge pull request #14078 from alalek:test_python_from_modules
2019-04-12 11:39:12 +00:00
Alexander Alekhin
d68e722b71
Merge pull request #11748 from paroj:cap_except
2019-04-12 11:36:17 +00:00
Maksim Shabunin
5cb0eded64
Merge pull request #14278 from mshabunin:fix-osx-camera-auth-rt
...
* AVFoundation: Use runtime check for camera authorization
2019-04-11 19:16:50 +03:00
Alexander Alekhin
39630e076a
Merge pull request #14294 from alalek:issue_14286
...
cmake: fix WITH_OPENCL_D3D11_NV check
2019-04-11 17:50:15 +03:00
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
2019-04-11 17:46:28 +03:00
kiwixz
c8056b3e27
Merge pull request #14276 from kiwixz:pr/fix_compound
...
Do not use compound literals (fix MSVC C4576) (#14276 )
* do not use compound literals (compat cpp98)
* only fix msvc path
* remove unnecessary cplusplus check
2019-04-11 17:44:28 +03:00
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
2019-04-10 18:35:35 +00:00
Pavel Rojtberg
15bb0b86ce
VideoCapture: add exception error mode similar to fstream + test
2019-04-10 13:41:57 +02:00
Dmitry Kurtaev
7ce2397b62
Fix a bug in FusedBatchNorm (TensorFlow) layer importer
2019-04-09 13:35:34 +03:00
Alexander Alekhin
e0841f3d6e
dnn(test-tags): add time / memory tags
2019-04-08 19:18:25 +00:00
Alexander Alekhin
b38de57f9a
ts: test tags for flexible/reliable tests filtering
...
- added functionality to collect memory usage of OpenCL sybsystem
- memory usage of fastMalloc() (disabled by default):
* It is not accurate sometimes - external memory profiler is required.
- specify common `CV_TEST_TAG_` macros
- added applyTestTag() function
- write memory usage / enabled tags into Google Tests output file (.xml)
2019-04-08 19:12:49 +00:00
Alexander Alekhin
64168fc20a
'-dev' version
2019-04-08 14:34:32 +03:00
Alexander Alekhin
072b524e02
Merge tag '4.1.0'
2019-04-08 08:10:29 +00:00
Alexander Alekhin
371bba8f54
release: OpenCV 4.1.0
...
OpenCV 4.1.0
2019-04-07 17:09:10 +00:00
Alexander Alekhin
2eaf35eb63
Merge tag '4.1.0-openvino'
2019-04-07 17:07:27 +00:00
Alexander Alekhin
0b9d53829f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-07 12:35:15 +00:00
Alexander Alekhin
dad2247b56
Merge tag '3.4.6'
2019-04-07 11:02:40 +00:00
Alexander Alekhin
33b765d797
OpenCV version++ (3.4.6)
...
OpenCV 3.4.6
2019-04-06 21:43:23 +00:00
Alexander Alekhin
4368f04afa
Merge pull request #14271 from alalek:issue_14259
2019-04-06 21:37:10 +00:00
Alexander Alekhin
b5961cc5d1
calib3d: don't change input data
...
- estimateAffine2D/estimateAffinePartial2D() calls
2019-04-06 19:28:41 +00:00
Alexander Alekhin
c9fc27b337
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-05 19:08:23 +00:00
Maksim Shabunin
aa1359dc19
Merge pull request #14267 from mshabunin:fix-osx-camera-auth
...
* Added authorization request to AVFoundation camera backend (OSX 10.14+)
2019-04-05 21:58:01 +03:00
Alexander Alekhin
28925572f6
Merge pull request #14268 from alalek:fix_ossfuzz_13283
2019-04-05 18:56:19 +00:00
Alexander Alekhin
0c490accae
imgcodecs(tiff): check TIFF tile size
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13280
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13283
2019-04-05 18:13:15 +03:00
Dmitry Kurtaev
4c2100e02c
Merge pull request #14266 from dkurt:fix_qrcode_decode_java
...
* Fix decode and detectAndDecode Java wrappers for QRCodeDetector
* revert changes in objdetect
* java: fix wrapping of std::string type
2019-04-05 17:15:51 +03:00
Alexander Alekhin
1b5a9c9718
Merge pull request #14256 from alalek:fix_docs_links_3.4
2019-04-05 12:45:50 +00:00
Alexander Alekhin
bd43e4f28b
Merge pull request #14251 from dkurt:dnn_tf_manage_switch
2019-04-05 12:43:22 +00:00
Dmitry Kurtaev
ec41a4897a
Remove Switch and Merge nodes from TensorFlow networks
2019-04-05 12:32:35 +03:00
Alexander Alekhin
473941c341
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-04 18:09:24 +00:00
Alexander Alekhin
1fb93b62c0
Merge pull request #14249 from alalek:imgcodecs_tiff_update_3.4
2019-04-04 16:17:09 +00:00
Alexander Alekhin
d38869eb76
docs: fix links
...
- replace tutorial links via docs.opencv.org
- remove link on OpenCV 2.4
- avoid links on outdated packages
2019-04-04 18:57:22 +03:00
mehlukas
ab21dc6d47
Merge pull request #14245 from mehlukas:3.4-fixtutorial
...
* improve thresholding tutorial, fix grammar issues and incorrections
* keep full list of simple thresholding types
2019-04-04 17:44:03 +03:00
BALACHANDAR S
aa167434e6
Merge pull request #14252 from balachandarsv:master-mac-openvino-support
...
* Mac support for op inference engine
Adding condition to check for mac and add corresponding libraries
* Adding mac support in test cases
2019-04-04 17:37:45 +03:00
Alexander Alekhin
ba5ddd6499
imgcodecs(tiff): sanitize tiff decoder
...
- more checks
- drop separate branches for 32FC1/32FC3(read) handling
- added for 32F/64F non-compressed
- added tests for 32FC3 (RAW + hdr SGILOG compression)
- added test 64FC1
- dump tiff errors on stderr
2019-04-04 14:16:53 +03:00
Alexander Alekhin
4001346a30
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-03 19:33:52 +00:00
Alexander Alekhin
d8b8c3b145
Merge pull request #14233 from alalek:cmake_fix_license_install
2019-04-03 19:30:47 +00:00
Alexander Alekhin
ba6c2df15d
Merge pull request #14229 from alalek:ffmpeg_downloader_elevated_run
2019-04-03 19:29:28 +00:00
Alexander Alekhin
c300070b8a
Merge pull request #14241 from alalek:openvino_2019R1
2019-04-03 19:26:46 +00:00
103yiran
4bb6edf176
Merge pull request #14117 from 103yiran:103yiran-patch-dnn
...
* Postpone variable definitions
* dnn: reduce scope of 'Mat image' variable
2019-04-03 22:13:11 +03:00
Alexander Alekhin
cafa010389
dnn(test): skip tests
2019-04-03 17:49:05 +03:00
Alexander Alekhin
ee7255aac4
Merge pull request #14144 from alalek:issue_14143
2019-04-03 14:35:54 +00:00
Alexander Alekhin
8bc8a94645
dnn: update DNNTestOpenVINO.models tests
...
- models are moved out from OpenVINO package
- need to download them separatelly
2019-04-03 15:39:47 +03:00
Alexander Alekhin
8483801eab
dnn: use OpenVINO 2019R1 defines
2019-04-03 15:39:47 +03:00
Alexander Alekhin
5dc606097c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-02 20:54:41 +00:00
Alexander Alekhin
d4a96b699e
Merge pull request #14234 from alalek:backport_14203
2019-04-02 16:34:41 +00:00
Alexander Alekhin
14843679af
Merge pull request #14217 from alalek:fix_world_gapi_tests
2019-04-02 16:27:12 +00:00
Alexander Alekhin
4fa4bef41d
cmake: fix licenses install rules
2019-04-02 19:24:14 +03:00
Alexander Alekhin
785a540ebd
Merge pull request #14175 from paroj:copyto
2019-04-02 16:18:00 +00:00
Alexander Alekhin
c4ec46c195
imgcodecs(sunras): avoid undefined shift
...
backporting of commit: f2803aba07
2019-04-02 18:38:01 +03:00
Alexander Alekhin
d2854448c2
Merge pull request #14203 from alalek:fix_ossfuzz_13292
2019-04-02 15:15:13 +00:00
Alexander Alekhin
69ff7a76d6
Merge pull request #14228 from dkurt:conv_1x1
2019-04-02 14:35:50 +00:00
Alexander Alekhin
3ca6a72457
Merge pull request #14222 from alalek:cmake_remove_test_include_dirs
2019-04-02 14:34:36 +00:00
Alexander Alekhin
7d2118e324
Merge pull request #14223 from alalek:backport_14201
2019-04-02 14:33:57 +00:00
Alexander Alekhin
97548b01c7
FFmpeg: try to download wrapper with elevated privileges
2019-04-02 16:40:11 +03:00
Dmitry Kurtaev
e3286c9055
Enable 1x1 convolution optimization
2019-04-02 14:05:17 +03:00
Alexander Alekhin
cd6d8048bb
gapi: fix tests build
2019-04-02 13:46:25 +03:00
Alexander Alekhin
3d7a3a51a7
cmake: don't add tests dirs as include directories
...
- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)
2019-04-02 13:46:25 +03:00
Alexander Alekhin
df1f62b34c
Merge pull request #14225 from zuoshaobo:my3.4
2019-04-02 09:57:26 +00:00
Alexander Alekhin
2f288f94e5
Merge pull request #14227 from dkurt:fix_build_with_ie
2019-04-02 09:38:05 +00:00
Alexander Alekhin
2a2d195240
cmake: don't add tests dirs as include directories
...
- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)
2019-04-02 12:28:25 +03:00
Dmitry Kurtaev
07655c2b4d
Fix build with IE > 2018R5
2019-04-02 11:54:50 +03:00
zuoshaobo
a34c02a001
add support for tf.add_n operation
2019-04-02 03:20:53 -04:00
Alexander Alekhin
b4e2c99346
Merge pull request #14201 from alalek:fix_ossfuzz_13295
2019-04-01 18:47:00 +00:00
Alexander Alekhin
33dde339fe
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-04-01 18:11:55 +03:00
Alexander Alekhin
341e2fa72d
Merge pull request #14214 from alalek:backport_14202
2019-04-01 14:39:25 +00:00
Alexander Alekhin
21f0146402
Merge pull request #14212 from dkurt:reduce_ie_models_tests
2019-04-01 14:38:07 +00:00
Alexander Alekhin
45169577ca
Merge pull request #14207 from alalek:fix_leak_eigenvalue_decomposition
2019-04-01 14:17:37 +00:00
Alexander Alekhin
2ece029fe0
imgcodecs(tiff): avoid leak of helper struct on malformed inputs
...
backporting of commit: 45428b897f
2019-04-01 14:08:40 +00:00
Alexander Alekhin
06193f28ef
Merge pull request #14194 from alalek:backport_14193
2019-04-01 14:03:13 +00:00
Dmitry Kurtaev
144b1f4d9d
Reduce number of tested models from OpenVINO
2019-04-01 15:15:00 +03:00
Alexander Alekhin
bda90dae77
Merge pull request #14200 from alalek:fix_imgcodecs_stream_set_pos
2019-04-01 11:04:20 +00:00
Alexander Alekhin
1e583942b9
core(lda): don't perform calculations in constructor
...
- exceptions from constructor will not cause destructor calls
2019-03-31 21:48:44 +00:00
Alexander Alekhin
066c074b66
Merge pull request #14206 from alalek:issue_14205
2019-03-31 20:58:17 +00:00
Alexander Alekhin
142a524d2f
cmake: fix CUDA world build
2019-03-31 19:56:30 +00:00
Alexander Alekhin
7142f46d1c
Merge pull request #14202 from alalek:fix_ossfuzz_13285
2019-03-31 14:39:20 +00:00
Alexander Alekhin
6894651027
Merge pull request #14198 from alalek:issue_14195
2019-03-31 12:56:57 +00:00
Alexander Alekhin
6dfb6a3016
imgcodecs: fix RBaseStream::setPos() outside of current block
...
Seeking outside of the current block doesn't update actual data,
so getByte()/etc will get wrong data from stalled buffer.
2019-03-31 12:55:32 +00:00
Alexander Alekhin
f2803aba07
imgcodecs(sunras): avoid undefined shift
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13292
2019-03-31 12:14:42 +00:00
Alexander Alekhin
45428b897f
imgcodecs(tiff): avoid leak of helper struct on malformed inputs
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13285
2019-03-31 11:50:33 +00:00
Alexander Alekhin
4b91dfd215
Merge pull request #14199 from devnexen:openbsd_build_fix
2019-03-31 11:14:42 +00:00
Alexander Alekhin
ccb89a889a
imgcodecs(bmp): limit size of processed images
...
2Gb+ images can't be handled properly by current implementation
backporting of commit: 50a6f9d251
2019-03-31 10:52:33 +00:00
Alexander Alekhin
50a6f9d251
imgcodecs(bmp): limit size of processed images
...
2Gb+ images can't be handled properly by current implementation
ozz-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13295
2019-03-31 10:48:07 +00:00
David Carlier
06a4c20f60
OpenBSD build fix
...
required for close calls.
2019-03-31 10:54:47 +01:00
Alexander Alekhin
fcb07c64f3
cmake: fix build of dnn tests with shared common code
...
- don't share .cpp files (PCH support is broken)
2019-03-31 08:52:25 +00:00
Alexander Alekhin
6316b3ed91
Merge pull request #14196 from seiko2plus:issue14195
2019-03-31 08:18:55 +00:00
Sayed Adel
de22442046
dnn:perf add missing definition __OPENCV_TEST to fix pch
2019-03-31 03:28:33 +02:00
Alexander Alekhin
10ce935823
3rdparty(zlib): prevent uninitialized use of state->check
...
backporting of commit: 8afb2f0cb7
2019-03-30 20:26:49 +00:00
Alexander Alekhin
360758e8ae
Merge pull request #14193 from alalek:fix_ossfuzz_13317
2019-03-30 20:26:15 +00:00
Alexander Alekhin
8afb2f0cb7
3rdparty(zlib): prevent uninitialized use of state->check
...
ozz-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13317
PR: https://github.com/opencv/opencv/pull/14193
zlib upstream bug: madler/zlib#245
Ported fix: https://chromium.googlesource.com/chromium/src/+/ee376c65abdd5afe787bfb63af9f2e82fdc35c2e
2019-03-30 18:46:10 +00:00
Alexander Alekhin
7442100caa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-29 19:29:36 +00:00
Maksim Shabunin
52cd1dacbf
Merge pull request #14156 from mshabunin:videowriter-bad-test
...
* videoio: added bad parameters handling to VideoWriter
* AVFoundation/Writer: support UTF-8, check input parameters
2019-03-29 17:52:22 +03:00
Lubov Batanina
7d3d6bc4e2
Merge pull request #13932 from l-bat:MyriadX_master_dldt
...
* Fix precision in tests for MyriadX
* Fix ONNX tests
* Add output range in ONNX tests
* Skip tests on Myriad OpenVINO 2018R5
* Add detect MyriadX
* Add detect MyriadX on OpenVINO R5
* Skip tests on Myriad next version of OpenVINO
* dnn(ie): VPU type from environment variable
* dnn(test): validate VPU type
* dnn(test): update DLIE test skip conditions
2019-03-29 16:42:58 +03:00
Pavel Rojtberg
62775660d1
core: python - test cv::copyTo with pre-allocated dst
2019-03-29 13:56:26 +01:00
George Wilson
982e6fc721
Merge pull request #14154 from GeorgeWilson96:bugfix/14148
...
* Fixed #14148 Broken Documentation Link
* fixup: use 3.4 branch
2019-03-28 22:31:38 +03:00
Alexander Alekhin
f75152a597
gapi: fix build with Intel Compiler 2019
2019-03-28 19:24:43 +00:00
Alexander Alekhin
b761ec0132
Merge pull request #14177 from alalek:fix_14173
2019-03-28 14:57:07 +00:00
Alexander Alekhin
3cd6e3b304
Merge pull request #14166 from dkurt:fix_slim_mobilenet_v2
2019-03-28 14:37:35 +00:00
Alexander Alekhin
1fb8dcb0de
Merge pull request #14170 from alalek:cmake_hide_helper_modules
2019-03-28 14:25:27 +00:00
Alexander Alekhin
428ff431df
Merge pull request #14168 from alalek:dnn_fix_drop_IE_2018R2
2019-03-28 14:23:39 +00:00
Alexander Alekhin
c7c987843c
cmake: emit error if CUDA is enabled without opencv_contrib
2019-03-28 16:51:11 +03:00
Alexander Alekhin
73191ad3ec
Merge pull request #14172 from smirnov-alexey:gapi_fix_nv12_valgrind
2019-03-28 13:45:45 +00:00
smirnov-alexey
769d2f4c44
Fix valgrind issue in NV12 test
2019-03-28 12:59:51 +03:00
Alexander Alekhin
8ce7d9a4d1
cmake: hide helper modules
...
- bindings generators
- keep "ts" module
2019-03-27 21:43:25 +00:00
Alexander Alekhin
e8c20bfae6
dnn: fix support drop for IE<2018R3
...
- fix build with IE 2018R3
2019-03-27 20:36:48 +00:00
Alexander Alekhin
d6b82dcd65
Merge pull request #14162 from alalek:eliminate_coverity_scan_issues
...
core: eliminate coverity scan issues (#14162 )
* core(hal): avoid using of r,g,b,a parameters in interleave/deinterleave
- static analysis tools blame on possible parameters reordering
- align AVX parameters with corresponding SSE/NEO/VSX/cpp code
* core: avoid "i,j" parameters in Matx methods
- static analysis tools blame on possible parameters reordering
* core: resolve coverity scan issues
2019-03-27 15:48:00 +03:00
Alexander Alekhin
5368a4ac41
Merge pull request #14102 from alalek:core_refactor_eigenvalues
2019-03-27 12:46:51 +00:00
Dmitry Kurtaev
9cfd219d70
Fix Mobilenet v2 from TensorFlow slim
2019-03-27 15:10:57 +03:00
Alexander Alekhin
90df5e00b4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-26 18:56:54 +00:00
Alexander Alekhin
9340fc0c50
Merge pull request #14146 from alalek:cmake_cmp0068
2019-03-26 17:16:59 +00:00
Alexander Alekhin
f738e490a3
Merge pull request #13989 from kohei-us:onnx-conv-transpose-output-shape
2019-03-26 17:04:52 +00:00
Alexander Alekhin
55366caecd
Merge pull request #14155 from alalek:fix_macos_ocl_warnings_3.4
2019-03-26 15:34:49 +00:00
Kohei Yoshida
212420516f
Add a test case for handling output_shape property for deconvolution layer.
2019-03-26 10:46:17 -04:00
Kohei Yoshida
3bcff7f941
Make use of explicit output shape for the de-convolution layer.
...
This is relevant to cases where the net is loaded from an ONNX model
containing ConvTranspose layers, which may include the output_shape
attribute.
c.f. https://github.com/onnx/onnx/blob/master/docs/Operators.md#ConvTranspose
2019-03-26 10:46:09 -04:00
Alexander Alekhin
6686559c70
ocl: define CL_SILENCE_DEPRECATION on MacOSX
2019-03-26 13:11:53 +03:00
Alexander Alekhin
cedd78d526
Merge pull request #14142 from mshabunin:fix-c-api-3.4
2019-03-25 18:58:28 +00:00
Alexander Alekhin
c443a3d657
cmake: set CMP0068 => NEW
2019-03-25 19:25:51 +03:00
Alexander Alekhin
5f88bbe3d5
Merge pull request #14141 from dkurt:dnn_ie_relax_lrn
2019-03-25 13:45:26 +00:00
Maksim Shabunin
41da3ef1d2
Fixed cvdef.h for MSVC C users
2019-03-25 16:44:08 +03:00
Dmitry Kurtaev
714b38360f
Extend LRN layer support with IE backend
2019-03-25 12:53:34 +03:00
iPanda
097fc1a271
Merge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop
...
* Add CUDA support for D3D11 interop. #13888
color_detail.hpp: fixed build error : dynamic initialization is not supported for a __constant__ variable.
directx.cpp: Add CUDA support(cl_nv_d3d11_sharing) for D3D11 interop. #13888
Update directx.cpp
Format adjustment.
Update directx.cpp
fix error.
Update directx.cpp
Format adjustment
Update directx.cpp
fix trailing whitespace.
fix format errors
convert indentation to spaces .
Trim trailing whitespace.
Add information about source of cl_d3d11_ext.h
Avoid unrelated changes.
Increase compile-time conditional judgment.
Increase the judgment of whether the OCL device has the required extensions at compile time.
Add compilation option `HAVE_CLNVEXT`.Check CL support in runtime.
Check result of `clGetExtensionFunctionAddressForPlatform` for KHR is invalid.It always can get the address(from OpenCL.dll),So I check NV support(from nvopencl64.dll) before KHR when `HAVE_CLNVEXT` is enabled.
Delete cl_d3d11_ext.h
Modified parameter list
fix "cannot open include file: 'CL/cl_d3d11_ext.h'"
remove not referenced var
fix C2143: syntax error
Improve compile-time judgment.
dlrectx.cpp Modify the detection order.
initializeContextFromD3D11Device:
```
// try with NV(Need to check it first)
// try with KHR
```
fix warnig C4100
Revert "fix warnig C4100"
This reverts commit 76e5becb67780071d0cbde61cc4f5f807ad7c5ac.
fix warning C4100
fix warning C4505
Format alignment
Format adjustment and automatically detect header files.
Automatically detect header files when users are not configured or configuration errors occur.
avoid unrelated changes.
Update .cmake
Update .cmake
* fix build errors
* fix warning:defined but not used
* Revert "fix warning:defined but not used"
This reverts commit 7ab3537cd0 .
* fix warning:defined but not used
* fix build error for mac
* fix build error for win
* optimizing branch judgment
* Revert "optimizing branch judgment"
This reverts commit 88b72b870e .
* fix warning C4702: unreachable code
* remove unused code
* Fix problems that may lead to undefined behavior
* Add status check
* fix error C2664,C2665 : cannot convert argument
* Format adjustment
VSCODE will automatically format the indentation to 4 spaces in some situation.
* fix error C2440
* fix error C2440
* add cl_d3d11_ext.h
* Format adjustment
* remove unnecessary checks
2019-03-24 18:34:09 +03:00
Alexander Alekhin
2bd0844be3
Merge pull request #14126 from brad-kelly:integral_avx512_cn1
2019-03-23 12:09:46 +00:00
Brad Kelly
0fe17eeb68
Implementing AVX512 Support for 1 channel mats for CV_64F format
2019-03-22 09:44:23 -07:00
Alexander Alekhin
8c25a8eb7b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-03-22 19:31:31 +03:00
Alexander Alekhin
f147ba16e2
Merge pull request #14124 from alalek:fix_python_samples
2019-03-22 15:10:46 +00:00
Alexander Alekhin
b82ecaf48c
Merge pull request #14125 from alalek:cmake_ie_env_vars
2019-03-22 15:10:25 +00:00
Alexander Alekhin
c43371f190
Merge pull request #14101 from alalek:core_fix_constexpt_fallback
2019-03-22 10:34:19 +00:00
Alexander Alekhin
65fc863d86
cmake: support OpenVINO env variable: INTEL_OPENVINO_DIR
2019-03-22 00:03:03 +03:00
Pedro Ferreira da Costa
9cef78b685
Merge pull request #14109 from PedroFerreiradaCosta:adding_python_version_to_anisotropic_tutorial
...
* Created python version of the code for the anisotropic image segmentation tutorial. Created python/cpp toggles for the markdown file.
* fix doxygen warnings
2019-03-21 22:53:12 +03:00
Alexander Alekhin
fbed33cc1f
samples: fix python samples compatibility with demo.py
2019-03-21 19:42:34 +00:00
Alexander Alekhin
865bd7abff
Merge pull request #14121 from seiko2plus:cmake_vsx_fix_aligned_test
2019-03-21 13:25:39 +00:00
Alexander Alekhin
a509ec0d91
Merge pull request #14112 from alalek:android_pack_default_api21
2019-03-21 13:23:11 +00:00
Alexander Alekhin
49f43b03b1
Merge pull request #14108 from alalek:fix_python_samples_3.4
2019-03-21 13:22:55 +00:00
Alexander Alekhin
58835eeb78
Merge pull request #14113 from Bharat123rox:calibration
2019-03-21 09:55:31 +00:00
Sayed Adel
0df607e5dd
cmake:vsx Fix compilation fail on aligned runtime test when c++11 enabled
2019-03-21 11:21:00 +02:00
Bharat123Rox
ea68f7ea1e
Remove dead link in calib3d.hpp
2019-03-21 07:41:32 +05:30
Alexander Alekhin
40da61a314
Merge pull request #14096 from oseiskar:fix-android-sample-menus
2019-03-20 21:58:49 +00:00
Alexander Alekhin
f473b61585
android: build package with API 21
...
enables Video I/O backend via Media NDK
2019-03-20 19:21:43 +03:00
Alexander Alekhin
e09a464242
Merge pull request #14092 from mattismyname:fix-kmeans
2019-03-20 16:20:46 +00:00
Alexander Alekhin
4e60db9030
Merge pull request #14110 from seiko2plus:core_vsx_fp16
2019-03-20 16:04:20 +00:00
Matthew K. Gumbel
74e3403620
flann/kmeans: Fix non-determinism of KMeans index
...
When running with >1 OpenCV thread, KMeans index generation was
non-deterministic because of a RWW race. Issue is resolved by removing
the offending logic from the parallel section.
2019-03-20 08:44:31 -07:00
Alexander Alekhin
a8e635f177
Merge pull request #14069 from terfendail:transform_wintr
2019-03-20 15:39:40 +00:00
Alexander Alekhin
6501cb93a4
Merge pull request #14104 from alalek:android_build_sdk_reduce_mem_usage
2019-03-20 15:35:05 +00:00
Alexander Alekhin
04fad57fc1
samples: fix python samples compatibility with demo.py
2019-03-20 18:32:34 +03:00
Sayed Adel
f41359688b
core:vsx Add support for VSX3 half precision conversions
2019-03-20 10:19:42 +02:00
Giles Payne
0d1a0b126b
Merge pull request #14005 from komakai:android-video-cap
...
* Add Android Media NDK video i/o file capture back-end
* Fix failing test
* Improve error handling/prevent resource leaks
* Add license text
* Modify default for WITH_ANDROID_MEDIANDK option
* Fix spelling of deleter_AMediaExtractor
2019-03-19 21:28:45 +03:00
Alexander Alekhin
9a202c1522
Merge pull request #14090 from andrey-golubev:gapi_unused_node_fluid_fix
2019-03-19 15:15:53 +00:00
Alexander Alekhin
6c862fae13
Merge pull request #14099 from seiko2plus:vsx_improvements_3
2019-03-19 14:59:58 +00:00
Alexander Alekhin
ce1432e42d
Merge pull request #14103 from alalek:fixup_test_14089
2019-03-19 14:19:00 +00:00
Alexander Alekhin
e8a0bc5794
android: reduce memory consumption by gradle builds
2019-03-19 16:50:08 +03:00
Alexander Alekhin
93a402d0f2
core: fix Core_EigenNonSymmetric.convergence test
2019-03-19 15:18:43 +03:00
Alexander Alekhin
e783e6677e
Merge pull request #14091 from alalek:core_cache_dir_version_update
2019-03-19 10:33:36 +00:00
Alexander Alekhin
f4c2c4412b
Merge pull request #14089 from alalek:fix_14088
2019-03-19 10:33:03 +00:00
Sayed Adel
4fe2d9bdbc
core:vsx Several improvements(3)
...
* optimize v_lut_deinterleave
* optimize v_interleave_/pairs/quads/triplets
* optimize v_lut, use vec_extract instead of aligned store
2019-03-19 12:30:50 +02:00
Alexander Alekhin
8518d078d7
core: fix fallback CV_CONSTEXPR definition
...
keep it empty to avoid failures of these declarations:
static CV_CONSTEXPR const int var = ...;
2019-03-19 13:02:22 +03:00
Otto Seiskari
3a1ccd5f43
Remove fullscreen android:theme where it hides the menu
...
Many of the Android samples rely on an options menu to work properly
but, at least on newer devices, the menu is permanently hidden by the
Android theme "Theme.NoTitleBar.Fullscreen", which means that most
of the examples were dysfunctional.
2019-03-18 21:23:47 +02:00
Vitaly Tuzov
d43597c199
transform() implementation updated to utilize wide universal intrinsics
2019-03-18 20:33:19 +03:00
Alexander Alekhin
6e90b85cae
core: cache dir version update
2019-03-18 19:17:54 +03:00
Alexander Alekhin
5451b89aed
core: refactor EigenvalueDecomposition (hqr2)
...
- fix resource allocation management
- reduce variables scope
- fix complex_div
- fix comments, constants
- simplify add/sub operations
2019-03-18 19:07:34 +03:00
Alexander Alekhin
fdf6323942
Merge pull request #14026 from Palmitoxico:android-ndk
2019-03-18 15:40:03 +00:00
Andrey Golubev
dd2823aaec
[G-API] Allow unused nodes in Fluid backend
...
Allow nodes produced after some operation to be
"unused": not being an output and not being used
as inputs to other operations
Add fluid test to cover this case
2019-03-18 18:20:11 +03:00
Augusto Fraga Giachero
032e458085
Avoid unexpected line breaks in version_string.inc
...
The Android NDK 16b has a bug that sets the ANDROID_NDK_REVISION
variable incorrectly, generating an unexpected line break in the
middle of the string. This breaks the build as the generated
version_string.inc presents an invalid C string.
Remove leading and trailing line breaks, warns for line breaks in the
middle of 'msg' and escape them before appending to
OPENCV_BUILD_INFO_STR.
2019-03-18 11:57:05 -03:00
Alexander Alekhin
a7c4ee9ae1
core: add iterations limit check in eigenNonSymmetric()
2019-03-18 17:49:17 +03:00
Alexander Alekhin
ec25689b42
Merge pull request #14083 from PedroFerreiradaCosta:adding_quick_navigation_between_tutorials
2019-03-18 13:13:40 +00:00
Pedro Ferreira da Costa
4fac12c8d3
adding missing quick navigation to ImageProc module
2019-03-18 09:45:41 +00:00
Alexander Alekhin
cae1859324
Merge pull request #14079 from npochhi:cmake_change
2019-03-16 16:54:11 +00:00
npochhi
352f4fead6
changes cmake_system_name matching condition
2019-03-16 20:24:06 +05:30
take1014
e0b664f390
fix dftFilter2D
2019-03-13 00:27:56 +09:00
Suleyman TURKMEN
3d1dbd2ccd
clean up C API
2019-03-03 21:43:27 +03:00
catree
576ab3df9a
Add division operators for Matx.
2019-02-27 19:36:23 +01:00
Alexander Alekhin
f6ee03471d
imgproc: use Matx23d as result type of getRotationMatrix2D() call
2018-11-18 09:02:40 +00:00
Alexander Alekhin
fd46684bf8
[move sift.cpp] opencv: use cv::AutoBuffer<>::data()
...
original commit: https://github.com/opencv/opencv_contrib/commit/fc69aa57bc021422d825a4331f7ddf7d9f7534e7
2018-06-13 19:11:18 +00:00
Alexander Alekhin
9badb0d903
[move sift.cpp] xfeatures2d: apply CV_OVERRIDE/CV_FINAL
...
original commit: https://github.com/opencv/opencv_contrib/commit/ec65e5b29c1c4928aee3d56a44bb399d4af6b61a
2018-03-28 16:50:00 +03:00
Vitaly Tuzov
c5f06814bc
[move sift.cpp] Updated internal calls to linear resize to use bit-exact version
...
original commit: https://github.com/opencv/opencv_contrib/commit/8c394a4f2e02994f21c3cf88706ad62d65b53431
2017-12-14 13:00:09 +03:00
woody.chow
69d43e2997
[move sift.cpp] Remove unnecessary _mm256_round_ps
...
original commit: https://github.com/opencv/opencv_contrib/commit/b5340f6428b6d48445947b16ef2df04552451330
2017-09-26 10:12:30 +09:00
Woody Chow
0f0dea79fc
[move sift.cpp] Use TLS instead of mutex in SIFT
...
original commit: https://github.com/opencv/opencv_contrib/commit/ab43a3b2d99c490be8635987923e7571fd95a0c9
2017-05-31 15:08:32 +09:00
Woody Chow
b6d636214e
[move sift.cpp] Multithreading findScaleSpaceExtremaComputer. Sort the keypoints afterwards to make the output stable
...
original commit: https://github.com/opencv/opencv_contrib/commit/6be2945abb0dcff2e038b5f23c7c7716da69ede9
2017-05-31 10:02:09 +09:00
Woody Chow
4b64955a12
[move sift.cpp] Parallelize calcDescriptors and buildDoGPyramid. Simplify 2 lines of AVX2 instructions
...
original commit: https://github.com/opencv/opencv_contrib/commit/443f68cb71128d5ae27e8771a91f7641f9450685
2017-03-24 16:31:18 +09:00
Woody Chow
546239a3a8
[move sift.cpp] Optimize SIFT with AVX2
...
original commit: https://github.com/opencv/opencv_contrib/commit/c5e55dfde96307fef12fc55f63d6a600fd784582
2017-03-08 10:08:50 +09:00
Suleyman TURKMEN
8be0a3452d
[move sift.cpp] Update sift.cpp
...
original commit: https://github.com/opencv/opencv_contrib/commit/cb7b59f203bf06586d6176ac812e0ee382cedcf1
2016-12-23 13:21:30 +03:00
Martin Nowak
99d914ea3b
[move sift.cpp] fix overflow issue when computing diagonal
...
- with big images the int multiplication can overflow
original commit: https://github.com/opencv/opencv_contrib/commit/d4df727d380887fdd880fdb5430cf4680a4ad19b
2016-06-11 17:51:46 +02:00
Maksim Shabunin
24284d3d17
[move sift.cpp] Fixed HAL headers location
...
original commit: https://github.com/opencv/opencv_contrib/commit/f529a1df2b17bcada1179ddcaf1352e3a5ba97b8
2015-12-15 18:41:26 +03:00
Vadim Pisarevsky
9fc872b70b
[move sift.cpp] fixed contrib code to match the HAL
...
original commit: https://github.com/opencv/opencv_contrib/commit/cdddcc8237627f667d66daffb3fcb3af39a3e673
2015-04-16 22:52:05 +03:00
Vadim Pisarevsky
e3654d5416
[move sift.cpp] refactored xfeatures2d in the same style as features2d
...
original commit: https://github.com/opencv/opencv_contrib/commit/0cfd795303c414aada6d10701e0de4995841210c
2014-10-16 16:33:21 +04:00
Alexander Alekhin
d92bee821d
Merge upstream branch
2020-04-21 06:20:05 +00:00
Alexander Alekhin
df10411e05
features2d(sift): patent expiration note
2020-04-21 06:19:16 +00:00
Alexander Alekhin
44e9fb306d
features2d(sift): code from nonfree module
2020-04-21 04:14:18 +00:00