Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
57da72d
Fixed invalid cast and unaligned memory access
seanm Jun 2, 2023
d25d441
removing unreachable codes in `gbackend`
kai-waang Jul 2, 2023
68968ed
videoio: doc: add odd width or height limitation for FFMPEG
Kumataro Aug 1, 2023
bea0c1b
cuda: Fix GpuMat::copyTo and GpuMat::converTo python bindings
cudawarped Aug 1, 2023
e1d0f07
highgui(cocoa): fix fullscreen behavior
0xMihir Aug 2, 2023
e4ad7e3
VideoCapture: remove decoder initialization when CAP_PROP_FORMAT== -1…
cudawarped Jul 19, 2023
afb406f
style: remove trailing whitespace
0xMihir Aug 7, 2023
ba70ec9
Merge pull request #24122 from fengyuentau:remove_tengine
fengyuentau Aug 9, 2023
9b5b254
Merge pull request #24086 from Kumataro:fix24081
asmorkalov Aug 9, 2023
eccfd98
Merge pull request #24089 from cudawarped:cuda_gpumat_fix_convertTo_c…
asmorkalov Aug 9, 2023
4a12707
Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_P…
Aug 9, 2023
f834736
Merge pull request #24116 from chaebkimm/update-samples-python-tst_sc…
chaebkimm Aug 9, 2023
53dfd95
videoio: fix camera opening with GStreamer plugin
mshabunin Aug 10, 2023
3421b95
Merge pull request #24133 from alexlyulkov:al/fixed-msmf-webcam
asmorkalov Aug 10, 2023
82de5b3
Fix GNU/Hurd build
sthibaul Aug 10, 2023
0dd7769
Merge pull request #23980 from hanliutong:rewrite-core
hanliutong Aug 11, 2023
5b41134
Merge pull request #24012 from cudawarpedЖvideocapture_raw_read
asmorkalov Aug 11, 2023
232c67b
Merge pull request #24140 from sthibaul:4.x
asmorkalov Aug 11, 2023
747b7ca
Merge pull request #23734 from seanm:unaligned-copy
asmorkalov Aug 11, 2023
a300e7e
Adding support for Streamlabs Desktop Virtual Webcam
DeePingXian Aug 13, 2023
27d718b
Merge pull request #24138 from mshabunin:fix-gst-plugin-camera
alalek Aug 13, 2023
a301d1c
fix ipp_warpAffine return value error
Ginkgo-Biloba Aug 14, 2023
fb34f36
style: remove extraneous std::cout
0xMihir Aug 14, 2023
ad7ecf1
Mark OpenVINO models for G-API tests optional
dkurt Aug 15, 2023
ace7817
Merge pull request #24153 from Ginkgo-Biloba:ipp-warp-affine
alalek Aug 15, 2023
8e52c01
gapi: update ADE library to 0.1.2b
mshabunin Aug 15, 2023
16681d1
fix the issue in layer fused
Aug 16, 2023
8d1c73a
Merge pull request #24156 from zihaomu:fix_24041
alalek Aug 16, 2023
8ad5eb5
Merge pull request #24120 from dkurt:actualize_dnn_links
dkurt Aug 16, 2023
abda763
Merge pull request #24150 from DeePingXian:4.x
alalek Aug 16, 2023
d792ebc
Fixed buffer overrun; removed the last two uses of sprintf
seanm May 26, 2023
f5a1453
Merge pull request #24167 from autoantwort:missing-include
autoantwort Aug 17, 2023
70a58d7
Use STRING instead of PATH to fix #24141
CSBVision Aug 17, 2023
6b3b8c5
Merge pull request #24172 from CSBVision:CSBVision-patch-1-1
alalek Aug 18, 2023
2b87e78
Merge pull request #24157 from dkurt:gapi_ov_optional
alalek Aug 18, 2023
bb7c35b
Merge pull request #24160 from mshabunin:update-ade
alalek Aug 18, 2023
d88ad46
Remove explitit transB attribute from MatMul perf test
dkurt Aug 18, 2023
613ff7c
Merge pull request #24176 from dkurt:correct_perf_test
alalek Aug 18, 2023
ca0bd70
Merge pull request #24143 from seanm:sprintf4
alalek Aug 18, 2023
a0debc3
Enable OpenVINO max pooling with indices since 2022.1
dkurt Aug 23, 2023
bb43927
Merge pull request #24189 from dkurt:skip_ov_max_pool_ov
alalek Aug 23, 2023
81cc89a
Merge pull request #24179 from Kumataro:fix24145
Kumataro Aug 23, 2023
588ddf1
Merge pull request #24186 from dkurt:ts_fixture_constructor_skip
dkurt Aug 25, 2023
4b1a4bd
imgcodecs: fix libtiff homepage
Kumataro Aug 27, 2023
8a1b998
Merge pull request #24194 from vrabaud:compilation_fix
vrabaud Aug 27, 2023
c20febd
Fix compilation on arm64 with FP16 when disabled
thesamesam Aug 29, 2023
a308dfc
core: add broadcast (#23965)
fengyuentau Aug 30, 2023
c53b3c5
Merge pull request #24203 from thesamesam:arm64-fp16
asmorkalov Sep 4, 2023
72bb8bb
core: arm64: v_round() works with round to nearest, ties to even.
Kumataro Sep 2, 2023
d3bccd7
Merge pull request #24199 from Kumataro:fixlibTiffSite
asmorkalov Sep 4, 2023
d19fc12
Merge pull request #24178 from dmatveev:dm/streaming_queue
dmatveev Sep 4, 2023
4dd7554
Merge pull request #24215 from Kumataro:fix24213
asmorkalov Sep 4, 2023
e274e72
Merge pull request #24098 from 0xMihir:4.x
asmorkalov Sep 4, 2023
748279d
Merge pull request #23904 from kai-waang:removing-unreachable
asmorkalov Sep 4, 2023
114c23e
Merge pull request #23607 from alexander-varjo:alexander-varjo-patch-1
alexander-varjo Sep 4, 2023
ca52704
fix refineDetectedMarkers, add test
Sep 4, 2023
c91c631
Fix "use after free" issue in `essential_solver.cpp`
philsc Aug 31, 2023
84f32bb
increase Fast Math threshold
WanliZhong Sep 5, 2023
9eba360
Merge pull request #24221 from WanliZhong:issue_24016
asmorkalov Sep 5, 2023
f280e3c
Fixed bug with the last 4 bytes in MJPEG encoder.
Aug 31, 2023
6ae7caa
Merge pull request #24216 from dkurt:inter_lines_less_compute
dkurt Sep 5, 2023
639836e
Added CMake configuration OPENCV_DNN_BACKEND_DEFAULT
CSBVision Sep 4, 2023
21fb10c
Merge pull request #24209 from alexlyulkov:al/fixed-mjpeg
asmorkalov Sep 5, 2023
cca4ee2
Revert PR 24186 as it force skip tests.
asmorkalov Sep 5, 2023
c4c2e2e
Merge pull request #24214 from dkurt:distanceTransform_big_step
dkurt Sep 5, 2023
c9d70d4
Merge pull request #24139 from AleksandrPanov:fix_refineDetectedMarkers
asmorkalov Sep 5, 2023
af9be78
Merge pull request #24223 from asmorkalov:as/24186_revert
asmorkalov Sep 5, 2023
2c53e3f
Merge pull request #24204 from georgthegreat:mser-license
georgthegreat Sep 5, 2023
178fdbb
Merge pull request #24196 from dkurt:ov_backend_cleanups
dkurt Sep 5, 2023
91808e6
Merge pull request #24211 from philsc:fix-asan-crash
asmorkalov Sep 5, 2023
494d201
Add missing <sstream> includes
georgthegreat Aug 28, 2023
f647382
Merge pull request #24227 from georgthegreat:missing-includes
asmorkalov Sep 6, 2023
674c618
Update dnn_utils.cpp
CSBVision Aug 8, 2023
8a415c8
Add missing std namespace qualifiers
georgthegreat Sep 6, 2023
5350fba
Merge pull request #24128 from CSBVision:CSBVision-patch-1
asmorkalov Sep 6, 2023
1ebea1e
Merge pull request #24232 from georgthegreat:missing-qualifiers
asmorkalov Sep 6, 2023
d0de575
Merge pull request #24142 from beanjoy:4.x
beanjoy Sep 7, 2023
e8f9418
Merge pull request #24180 from MambaWong:4.x
MambaWong Sep 7, 2023
e5ff41e
fixes extendDictionary, add test
Sep 7, 2023
ceeb01d
Replaced torch7 by onnx model in fast-neural-style dnn sample
Sep 8, 2023
757d296
Merge pull request #24228 from AleksandrPanov:fix_extendDictionary
asmorkalov Sep 8, 2023
0367a12
Check that cv::merge input matrices are not empty.
asmorkalov Sep 8, 2023
5a042af
Merge pull request #24246 from asmorkalov:as/merge_input_check2
asmorkalov Sep 8, 2023
e60825e
Merge pull request #24218 from CSBVision:patch-5
asmorkalov Sep 8, 2023
910db5c
changed readNetFromONNX to readNet
Sep 8, 2023
91cf0d1
Merge pull request #24244 from alexlyulkov:al/update-dnn-js-face-reco…
alexlyulkov Sep 8, 2023
1a8d37d
Merge pull request #24245 from alexlyulkov/al/update-fast-neural-styl…
asmorkalov Sep 8, 2023
c319735
js: include LUT support
alalek Sep 9, 2023
5dc5b27
Enable build with OpenVINO in Debug
dkurt Sep 9, 2023
c552e9e
Merge pull request #24251 from dkurt:ov_build_debug
alalek Sep 10, 2023
02525ab
cmake: revise OPENCV_DNN_BACKEND_DEFAULT integration
alalek Sep 10, 2023
62c0556
Merge pull request #24252 from opencv-pushbot:gitee/alalek/refactor_2…
asmorkalov Sep 11, 2023
ee867ea
Merge pull request #24248 from opencv-pushbot:gitee/alalek/issue_22751
asmorkalov Sep 11, 2023
fdab565
Merge branch 4.x
asmorkalov Sep 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 0 additions & 80 deletions 3rdparty/libtengine/tengine.cmake

This file was deleted.

4 changes: 3 additions & 1 deletion 3rdparty/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ libspng Portable Network Graphics library.
libtiff Tag Image File Format (TIFF) Software
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.
See libtiff home page http://www.libtiff.org/
See libtiff home page #1 http://www.simplesystems.org/libtiff/
#2 https://libtiff.gitlab.io/libtiff/
#3 http://libtiff.maptools.org/
for details and links to the source code

WITH_TIFF CMake option must be ON to add libtiff & zlib support to imgcodecs.
Expand Down
14 changes: 4 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,6 @@ OCV_OPTION(WITH_ANDROID_MEDIANDK "Use Android Media NDK for Video I/O (Android)"
OCV_OPTION(WITH_ANDROID_NATIVE_CAMERA "Use Android NDK for Camera I/O (Android)" (ANDROID_NATIVE_API_LEVEL GREATER 23)
VISIBLE_IF ANDROID
VERIFY HAVE_ANDROID_NATIVE_CAMERA)
OCV_OPTION(WITH_TENGINE "Include Arm Inference Tengine support" OFF
VISIBLE_IF (ARM OR AARCH64) AND (UNIX OR ANDROID) AND NOT IOS
VERIFY HAVE_TENGINE)
OCV_OPTION(WITH_ONNX "Include Microsoft ONNX Runtime support" OFF
VISIBLE_IF TRUE
VERIFY HAVE_ONNX)
Expand Down Expand Up @@ -768,9 +765,6 @@ if(WITH_LAPACK)
endif()
include(cmake/OpenCVFindProtobuf.cmake)
include(cmake/OpenCVDetectFlatbuffers.cmake)
if(WITH_TENGINE)
include(cmake/OpenCVFindTengine.cmake)
endif()
if(WITH_TIMVX)
include(cmake/OpenCVFindTIMVX.cmake)
endif()
Expand Down Expand Up @@ -1623,10 +1617,6 @@ if(WITH_VA OR HAVE_VA)
status(" VA:" HAVE_VA THEN "YES" ELSE NO)
endif()

if(WITH_TENGINE OR HAVE_TENGINE)
status(" Tengine:" HAVE_TENGINE THEN "YES (${TENGINE_LIBRARIES})" ELSE NO)
endif()

if(WITH_LAPACK OR HAVE_LAPACK)
status(" Lapack:" HAVE_LAPACK THEN "YES (${LAPACK_LIBRARIES} ${LAPACK_VERSION})" ELSE NO)
endif()
Expand Down Expand Up @@ -1693,6 +1683,10 @@ else()
endif()
endif()

if(BUILD_opencv_dnn AND OPENCV_DNN_BACKEND_DEFAULT)
status(" Default DNN backend:" ${OPENCV_DNN_BACKEND_DEFAULT})
endif()

if(WITH_EIGEN OR HAVE_EIGEN)
status(" Eigen:" HAVE_EIGEN THEN "YES (ver ${EIGEN_WORLD_VERSION}.${EIGEN_MAJOR_VERSION}.${EIGEN_MINOR_VERSION})" ELSE NO)
endif()
Expand Down
1 change: 1 addition & 0 deletions apps/visualisation/opencv_visualisation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Created by: Puttemans Steven - April 2016

#include <fstream>
#include <iostream>
#include <sstream>

using namespace std;
using namespace cv;
Expand Down
2 changes: 1 addition & 1 deletion cmake/OpenCVDetectPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ if(NOT ${found})
set(${include_path} "${_include_path}" CACHE INTERNAL "")
set(${include_dir} "${_include_dir}" CACHE PATH "Python include dir")
set(${include_dir2} "${_include_dir2}" CACHE PATH "Python include dir 2")
set(${packages_path} "${_packages_path}" CACHE PATH "Where to install the python packages.")
set(${packages_path} "${_packages_path}" CACHE STRING "Where to install the python packages.")
set(${numpy_include_dirs} ${_numpy_include_dirs} CACHE PATH "Path to numpy headers")
set(${numpy_version} "${_numpy_version}" CACHE INTERNAL "")
endif()
Expand Down
78 changes: 0 additions & 78 deletions cmake/OpenCVFindTengine.cmake

This file was deleted.

7 changes: 2 additions & 5 deletions cmake/mirrors/custom.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
# Gitlab-style mirror
# CMake scripts look for opencv/opencv_3rdparty,
# OAID/Tengine, 01org/tbb(oneAPI/oneTBB), opencv/ade
# 01org/tbb(oneAPI/oneTBB), opencv/ade
# from OPENCV_DOWNLOAD_MIRROR
ocv_update(OPENCV_DOWNLOAD_MIRROR_URL "")

######
# Download via commit id
######
# Tengine
ocv_update(TENGINE_PKG_MD5_CUSTOM "")
ocv_update(TENGINE_PKG_MD5_ORIGINAL 23f61ebb1dd419f1207d8876496289c5) # same as tengine_md5sum for TENGINE commit of e89cf8870de2ff0a80cfe626c0b52b2a16fb302e
# NVIDIA_OPTICAL_FLOW
ocv_update(NVIDIA_OPTICAL_FLOW_PKG_MD5_GITCODE "")
ocv_update(NVIDIA_OPTICAL_FLOW_PKG_MD5_ORIGINAL a73cd48b18dcc0cc8933b30796074191)
Expand Down Expand Up @@ -77,7 +74,7 @@ else()
ocv_download_url_custom_usercontent(opencv)
elseif(DL_ID STREQUAL "wechat_qrcode")
ocv_download_url_gitcode_usercontent(WeChatCV)
elseif((DL_ID STREQUAL "TENGINE") OR (DL_ID STREQUAL "NVIDIA_OPTICAL_FLOW") OR (DL_ID STREQUAL "TIM-VX"))
elseif((DL_ID STREQUAL "NVIDIA_OPTICAL_FLOW") OR (DL_ID STREQUAL "TIM-VX"))
ocv_download_url_custom_archive_commit_id()
elseif(DL_ID STREQUAL "TBB")
ocv_download_url_custom_archive_release()
Expand Down
5 changes: 1 addition & 4 deletions cmake/mirrors/gitcode.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
######
# Download via commit id
######
# Tengine
ocv_update(TENGINE_PKG_MD5_GITCODE 1b5908632b557275cd6e85b0c03f9690)
ocv_update(TENGINE_PKG_MD5_ORIGINAL 23f61ebb1dd419f1207d8876496289c5) # same as tengine_md5sum for TENGINE commit of e89cf8870de2ff0a80cfe626c0b52b2a16fb302e
# NVIDIA_OPTICAL_FLOW
ocv_update(NVIDIA_OPTICAL_FLOW_PKG_MD5_GITCODE 8d5b7eeb24d6ca9c6bcfdff4196d5b47)
ocv_update(NVIDIA_OPTICAL_FLOW_PKG_MD5_ORIGINAL a73cd48b18dcc0cc8933b30796074191)
Expand Down Expand Up @@ -74,7 +71,7 @@ if((DL_ID STREQUAL "FFMPEG") OR (DL_ID STREQUAL "IPPICV") OR (DL_ID STREQUAL "da
ocv_download_url_gitcode_usercontent(opencv)
elseif(DL_ID STREQUAL "wechat_qrcode")
ocv_download_url_gitcode_usercontent(mirrors/WeChatCV)
elseif((DL_ID STREQUAL "TENGINE") OR (DL_ID STREQUAL "NVIDIA_OPTICAL_FLOW") OR (DL_ID STREQUAL "TIM-VX"))
elseif((DL_ID STREQUAL "NVIDIA_OPTICAL_FLOW") OR (DL_ID STREQUAL "TIM-VX"))
ocv_download_url_gitcode_archive_commit_id()
elseif(DL_ID STREQUAL "TBB")
ocv_download_url_gitcode_archive_release(OPENCV_TBB_SUBDIR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,16 @@ Following options can be used to produce special builds with instrumentation or
@see [Link time optimization](https://gcc.gnu.org/wiki/LinkTimeOptimization)
@see [ThinLTO](https://clang.llvm.org/docs/ThinLTO.html)

## Enable IPP optimization

Following options can be used to enables IPP optimizations for each functions but increases the size of the opencv library. All options are disabled by default.

| Option | Functions | + roughly size |
| -------| --------- | -------------- |
| `OPENCV_IPP_GAUSSIAN_BLUR` | GaussianBlur() | +8Mb |
| `OPENCV_IPP_MEAN` | mean() / meanStdDev() | +0.2Mb |
| `OPENCV_IPP_MINMAX` | minMaxLoc() / minMaxIdx() | +0.2Mb |
| `OPENCV_IPP_SUM` | sum() | +0.1Mb |

# Functional features and dependencies {#tutorial_config_reference_func}

Expand Down Expand Up @@ -484,7 +494,6 @@ OpenCV have own DNN inference module which have own build-in engine, but can als
| `OPENCV_DNN_CUDA` | _OFF_ | Enable CUDA backend. [CUDA](https://en.wikipedia.org/wiki/CUDA), CUBLAS and [CUDNN](https://developer.nvidia.com/cudnn) must be installed. |
| `WITH_HALIDE` | _OFF_ | Use experimental [Halide](https://en.wikipedia.org/wiki/Halide_(programming_language)) backend which can generate optimized code for dnn-layers at runtime. Halide must be installed. |
| `WITH_VULKAN` | _OFF_ | Enable experimental [Vulkan](https://en.wikipedia.org/wiki/Vulkan_(API)) backend. Does not require additional dependencies, but can use external Vulkan headers (`VULKAN_INCLUDE_DIRS`). |
| `WITH_TENGINE` | _OFF_ | Enable experimental [Tengine](https://github.com/OAID/Tengine) backend for ARM CPUs. Tengine library must be installed. |


# Installation layout {#tutorial_config_reference_install}
Expand Down Expand Up @@ -566,6 +575,7 @@ Following options can be used to change installation layout for common scenarios
| ------ | ------- | ----------- |
| `OPENCV_ENABLE_NONFREE` | _OFF_ | Some algorithms included in the library are known to be protected by patents and are disabled by default. |
| `OPENCV_FORCE_3RDPARTY_BUILD`| _OFF_ | Enable all `BUILD_` options at once. |
| `OPENCV_IPP_ENABLE_ALL`| _OFF_ | Enable all `OPENCV_IPP_` options at once. |
| `ENABLE_CCACHE` | _ON_ (on Unix-like platforms) | Enable [ccache](https://en.wikipedia.org/wiki/Ccache) auto-detection. This tool wraps compiler calls and caches results, can significantly improve re-compilation time. |
| `ENABLE_PRECOMPILED_HEADERS` | _ON_ (for MSVC) | Enable precompiled headers support. Improves build time. |
| `BUILD_DOCS` | _OFF_ | Enable documentation build (_doxygen_, _doxygen_cpp_, _doxygen_python_, _doxygen_javadoc_ targets). [Doxygen](http://www.doxygen.org/index.html) must be installed for C++ documentation build. Python and [BeautifulSoup4](https://en.wikipedia.org/wiki/Beautiful_Soup_(HTML_parser)) must be installed for Python documentation build. Javadoc and Ant must be installed for Java documentation build (part of Java SDK). |
Expand Down
Loading