From 09c5d4f266d5c536bdf41ef2b653a744b20c738923a21243fe4fb6b25fde42c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Fri, 19 Jan 2024 19:46:30 +0000 Subject: [PATCH] Accepting request 1139607 from home:cabelo:branches:science MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - update to 4.9.0, highlights below, for details check https://github.com/opencv/opencv/wiki/ChangeLog#version490 Highlights of this release: * Core Module: + Added cv::broadcast + Fixed several rounding issues on ARM platform + Added detection & dispatching of some modern NEON instructions (NEON_FP16, NEON_BF16) + Added optimization for LoongArch 128-bit vector, detection & dispatching of LoongArch * DNN module patches: + Experimental transformers support + ONNX Attention layer support + ONNX Einsum layer support + OpenVINO backend for INT8 models + ONNX Gather Elements layer + ONNX InstanceNorm layer + Better support of ONNX Expand layer with cv::broadcast + Improved DNN graph fusion with shared nodes and commutative operations + New fastGEMM implementation and several layers on top of it + Winograd fp16 optimizations on ARM + Tests and multiple fixes for Yolo family models support + New layers support and bug fixes in CUDA backend: GEMM, Gelu, Add + CANN backend: bug fix, support HardSwish, LayerNormalization and InstanceNormalization + LayerNormalization: support OpenVINO, OpenCL and CUDA backend. * G-API module: + Intel® OpenVINO™ DL inference backend: - Introduced "inferenence only" ("benchmark") mode in the OV2.0 backend. - Fixed model layout setting issue in the OV2.0 backend. - Fixed/relaxed various asserts in the OV2.0 backend. + Core and image processing functionality: - Fluid kernels were rewritten to new universal intrinsics. Thanks for this contribution! + Streaming and video functionality: - Introduced a QueueSource: an alternative way to manually push input frames to the G-API pipeline in the streaming mode. - Introduced VAS Object Tracker (OT) for the various video analytics scenarios. + Python bindings: - Exposed VAS OT in G-API Python bindings. + Other changes and fixes: - Updated ADE (the G-API's graph library) to the latest version. - Various code clean-ups and warning fixes. * Objdetect module: + Implemented own QR code decoder as replacement for QUIRC library + Bug fixes in QR code encoder version estimation + More accurate Aruco marker corner refinement with dynamic window + Fixed contour filtering in ArUco + QR code detection sample for Android + Multiple local bug fixes and documentation update for Aruco makers, Charuco boards and QR codes. * Video: + Google Summer of Code: added a new object tracking API TrackerVit for a vision transformer-based VitTrack. This work is done by LIU Pengyu. * VideoIO: + Videoio: Add raw encoded video stream encapsulation to cv::VideoWriter with CAP_FFMPEG + Fix GStreamer backend with manual pipelines. * Calibration module: + Multiple fixes and improvements chess board calibration rig detector. + calibrateCamera throws exception, if calibration system is underconstrained. + Fixed bug in findEssentialMat with USAC + Fixed out-of-image access in cv::cornerSubPix + Fixed crash in ap3p + Fixed stereoRectify image boundaries + Fixed "use after free" issue in essential_solver.cpp * Python Bindings: + Added type stub generation for missed types and manually wrapped types. + Added read-only flag handling for Numpy arrays. + Fixed exception handling and bindings for in module. + Improved error messages in Numpy array type handling. + Fixed constructors documentation in Python. * Platforms and hardware Support: + Experimental CUDA support as first class language in CMake + Added experimental support for Apple VisionOS platform + Add support Orbbec Gemini2 and Gemini2 XL camera + Fix fullscreen behavior on macOS * Other: + OpenCV Summer of Code: semi-automated refactoring across multiple pull requests by HAN Liutong made our CPU-optimized code compatible with SIMD with variable vector length (RISC-V RVV) OBS-URL: https://build.opensuse.org/request/show/1139607 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=37 --- opencv-4.8.1.tar.gz | 3 -- opencv-4.9.0.tar.gz | 3 ++ opencv.changes | 99 +++++++++++++++++++++++++++++++++++++ opencv.spec | 4 +- opencv_contrib-4.8.1.tar.gz | 3 -- opencv_contrib-4.9.0.tar.gz | 3 ++ 6 files changed, 107 insertions(+), 8 deletions(-) delete mode 100644 opencv-4.8.1.tar.gz create mode 100644 opencv-4.9.0.tar.gz delete mode 100644 opencv_contrib-4.8.1.tar.gz create mode 100644 opencv_contrib-4.9.0.tar.gz diff --git a/opencv-4.8.1.tar.gz b/opencv-4.8.1.tar.gz deleted file mode 100644 index b849c1c..0000000 --- a/opencv-4.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62f650467a60a38794d681ae7e66e3e8cfba38f445e0bf87867e2f2cdc8be9d5 -size 92006711 diff --git a/opencv-4.9.0.tar.gz b/opencv-4.9.0.tar.gz new file mode 100644 index 0000000..1013853 --- /dev/null +++ b/opencv-4.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ddf76f9dffd322c7c3cb1f721d0887f62d747b82059342213138dc190f28bc6c +size 92788647 diff --git a/opencv.changes b/opencv.changes index 4f6814d..779974d 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,102 @@ +------------------------------------------------------------------- +Sat Dec 30 15:54:41 UTC 2023 - Alessandro de Oliveira Faria + +- update to 4.9.0, highlights below, for details check + https://github.com/opencv/opencv/wiki/ChangeLog#version490 + Highlights of this release: + * Core Module: + + Added cv::broadcast + + Fixed several rounding issues on ARM platform + + Added detection & dispatching of some modern NEON + instructions (NEON_FP16, NEON_BF16) + + Added optimization for LoongArch 128-bit vector, + detection & dispatching of LoongArch + * DNN module patches: + + Experimental transformers support + + ONNX Attention layer support + + ONNX Einsum layer support + + OpenVINO backend for INT8 models + + ONNX Gather Elements layer + + ONNX InstanceNorm layer + + Better support of ONNX Expand layer with cv::broadcast + + Improved DNN graph fusion with shared nodes and commutative + operations + + New fastGEMM implementation and several layers on top of it + + Winograd fp16 optimizations on ARM + + Tests and multiple fixes for Yolo family models support + + New layers support and bug fixes in CUDA backend: GEMM, + Gelu, Add + + CANN backend: bug fix, support HardSwish, + LayerNormalization and InstanceNormalization + + LayerNormalization: support OpenVINO, OpenCL and + CUDA backend. + * G-API module: + + Intel® OpenVINO™ DL inference backend: + - Introduced "inferenence only" ("benchmark") mode + in the OV2.0 backend. + - Fixed model layout setting issue in the OV2.0 backend. + - Fixed/relaxed various asserts in the OV2.0 backend. + + Core and image processing functionality: + - Fluid kernels were rewritten to new universal intrinsics. + Thanks for this contribution! + + Streaming and video functionality: + - Introduced a QueueSource: an alternative way to manually + push input frames to the G-API pipeline in the streaming + mode. + - Introduced VAS Object Tracker (OT) for the various video + analytics scenarios. + + Python bindings: + - Exposed VAS OT in G-API Python bindings. + + Other changes and fixes: + - Updated ADE (the G-API's graph library) to the latest + version. + - Various code clean-ups and warning fixes. + * Objdetect module: + + Implemented own QR code decoder as replacement for QUIRC + library + + Bug fixes in QR code encoder version estimation + + More accurate Aruco marker corner refinement with + dynamic window + + Fixed contour filtering in ArUco + + QR code detection sample for Android + + Multiple local bug fixes and documentation update for + Aruco makers, Charuco boards and QR codes. + * Video: + + Google Summer of Code: added a new object tracking API + TrackerVit for a vision transformer-based VitTrack. + This work is done by LIU Pengyu. + * VideoIO: + + Videoio: Add raw encoded video stream encapsulation + to cv::VideoWriter with CAP_FFMPEG + + Fix GStreamer backend with manual pipelines. + * Calibration module: + + Multiple fixes and improvements chess board calibration + rig detector. + + calibrateCamera throws exception, if calibration system + is underconstrained. + + Fixed bug in findEssentialMat with USAC + + Fixed out-of-image access in cv::cornerSubPix + + Fixed crash in ap3p + + Fixed stereoRectify image boundaries + + Fixed "use after free" issue in essential_solver.cpp + * Python Bindings: + + Added type stub generation for missed types and manually + wrapped types. + + Added read-only flag handling for Numpy arrays. + + Fixed exception handling and bindings for in module. + + Improved error messages in Numpy array type handling. + + Fixed constructors documentation in Python. + * Platforms and hardware Support: + + Experimental CUDA support as first class language in CMake + + Added experimental support for Apple VisionOS platform + + Add support Orbbec Gemini2 and Gemini2 XL camera + + Fix fullscreen behavior on macOS + * Other: + + OpenCV Summer of Code: semi-automated refactoring across + multiple pull requests by HAN Liutong made our CPU-optimized + code compatible with SIMD with variable vector + length (RISC-V RVV) + ------------------------------------------------------------------- Sun Oct 1 22:45:15 UTC 2023 - Stefan Brüns diff --git a/opencv.spec b/opencv.spec index e1ffffa..885fd3e 100644 --- a/opencv.spec +++ b/opencv.spec @@ -22,7 +22,7 @@ %endif %define libname lib%{name} -%define soname 408 +%define soname 409 # 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.8.1 +Version: 4.9.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 diff --git a/opencv_contrib-4.8.1.tar.gz b/opencv_contrib-4.8.1.tar.gz deleted file mode 100644 index 326e26d..0000000 --- a/opencv_contrib-4.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c082a0b29b3118f2a0a1856b403bb098643af7b994a0080f402a12159a99c6e -size 59200293 diff --git a/opencv_contrib-4.9.0.tar.gz b/opencv_contrib-4.9.0.tar.gz new file mode 100644 index 0000000..85f0ae1 --- /dev/null +++ b/opencv_contrib-4.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:070802e1983abfd5958ac59cfd8c06d3cd958d1c215d44a6b5efce4a284a1667 +size 60041240