diff --git a/opencv-4.6.0.tar.gz b/opencv-4.6.0.tar.gz deleted file mode 100644 index fb32ac0..0000000 --- a/opencv-4.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ec1cba65f9f20fe5a41fda1586e01c70ea0c9a6d7b67c9e13edf0cfe2239277 -size 90208971 diff --git a/opencv-4.7.0.tar.gz b/opencv-4.7.0.tar.gz new file mode 100644 index 0000000..a4dd9a2 --- /dev/null +++ b/opencv-4.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8df0079cdbe179748a18d44731af62a245a45ebf5085223dc03133954c662973 +size 91027497 diff --git a/opencv-ffmpeg5.patch b/opencv-ffmpeg5.patch deleted file mode 100644 index 93646cc..0000000 --- a/opencv-ffmpeg5.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 496eed950f6d0e7fd92619d47e3cec8f06e96ace Mon Sep 17 00:00:00 2001 -From: Jochen Sprickerhof -Date: Mon, 8 Aug 2022 21:10:13 +0200 -Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT - ---- - modules/videoio/src/ffmpeg_codecs.hpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/modules/videoio/src/ffmpeg_codecs.hpp b/modules/videoio/src/ffmpeg_codecs.hpp -index 61788e0345a6..faad2596edc5 100644 ---- a/modules/videoio/src/ffmpeg_codecs.hpp -+++ b/modules/videoio/src/ffmpeg_codecs.hpp -@@ -60,6 +60,7 @@ extern "C" { - #include - #endif - -+#include - #include - - #ifdef __cplusplus diff --git a/opencv.changes b/opencv.changes index aaca5fd..822c11a 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,58 @@ +------------------------------------------------------------------- +Thu Dec 29 09:59:55 UTC 2022 - Stefan BrĂ¼ns + +- update to 4.7.0, highlights below, for details check + https://github.com/opencv/opencv/wiki/ChangeLog#version470 + Highlights of this release: + * DNN: + + New ONNX layers: Scatter and ScatterND, Tile, ReduceL1, + ReduceMin and more. + + Signinficant performance optimization for convolutions. + Winograd algoritm implementation. + + Element-wise operation (add, sub, mul, div, ...): + Broadcasting. + + OpenVino 2022.1 support. + + CANN backend support. + * Algorithms: + + ArUco markers and April tags support including ChAruco and + diamond boards detection and calibration. + + QR code detection and decoding quality imrovement. Alignment + markers support. Benchmark for QR codes: link + + Nanotrack v2 tracker based on neural networks. + + Stackblur algoruthm implementation. + * Multimedia: + + FFmpeg 5.x support. + + CUDA 12.0 support. Hardware accelerated video codecs support + on NVIDIA platforms with modern Video Codec SDK (NVCUVID and + NVENCODEAPI). + + CV_16UC1 read/write video support with FFmpeg. + + Orientation meta support on Mac with native media API. + + New iterator-based API for multi-page image formats. + + libSPNG support for PNG format. + + SIMD acceleration for self-built libJPEG-Turbo + + H264/H265 support on Android. Multiple fixes for video + decoder, endcoder and camera memory layout. + * G-API + + Exposed all core APIs to Python, including stateful kernels. + * Optimization: + + New universal intrinsics backend for scalable vector + instructions. The first scalable implementation for + RISC-V RVV 1.0. + + DNN module patches: + - Improved layers / supported more models: + * Scatter and ScatterND #22529, Tile #22809 + * Fixes in Slice (support negative step #22898) + * Support some reduce layers of ONNX #21601 + - Added CANN backend support #22634. Link to the manual: + https://github.com/opencv/opencv/wiki/Huawei-CANN-Backend. + - Added bacthed NMS for multi-class object detection #22857 + - Accelerating convolution, especially for ARM CPU. + - Winograd's convolution optimization + + And many other contributions: + + Added n-dimensional flip to core #22898 + + Add StackBlur for imgproc #20379 +- Removed upstream opencv-ffmpeg5.patch + ------------------------------------------------------------------- Tue Aug 23 11:22:38 UTC 2022 - Christophe Giboudeaux diff --git a/opencv.spec b/opencv.spec index 9c7ef7f..1e10e63 100644 --- a/opencv.spec +++ b/opencv.spec @@ -22,7 +22,7 @@ %endif %define libname lib%{name} -%define soname 406 +%define soname 407 # disabled by default as many fail %bcond_with tests %bcond_without gapi @@ -30,7 +30,7 @@ %bcond_without python3 %bcond_without openblas Name: opencv -Version: 4.6.0 +Version: 4.7.0 Release: 0 Summary: Collection of algorithms for computer vision # GPL-2.0 AND Apache-2.0 files are in 3rdparty/ittnotify which is not build @@ -40,8 +40,6 @@ URL: https://opencv.org/ Source0: https://github.com/opencv/opencv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # Several modules from the opencv_contrib package Source1: https://github.com/opencv/opencv_contrib/archive/%{version}.tar.gz#/opencv_contrib-%{version}.tar.gz -# PATCH-FIX-UPSTREAM FFmpeg 5 include fix -Patch0: opencv-ffmpeg5.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel diff --git a/opencv_contrib-4.6.0.tar.gz b/opencv_contrib-4.6.0.tar.gz deleted file mode 100644 index 8fcbde3..0000000 --- a/opencv_contrib-4.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1777d5fd2b59029cf537e5fd6f8aa68d707075822f90bde683fcde086f85f7a7 -size 59667769 diff --git a/opencv_contrib-4.7.0.tar.gz b/opencv_contrib-4.7.0.tar.gz new file mode 100644 index 0000000..a8e2735 --- /dev/null +++ b/opencv_contrib-4.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42df840cf9055e59d0e22c249cfb19f04743e1bdad113d31b1573d3934d62584 +size 59421940