SHA256
1
0
forked from pool/opencv

Compare commits

...

5 Commits

Author SHA256 Message Date
Ana Guerrero
cb15227c84 Accepting request 1238759 from science
Update

OBS-URL: https://build.opensuse.org/request/show/1238759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=104
2025-01-21 20:09:33 +00:00
651b80e0ac OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=42 2025-01-19 04:33:55 +00:00
eace3eb8c6 - update to 4.11.0, highlights below, for details check
https://github.com/opencv/opencv/wiki/OpenCV-Change-Logs#version4110
  * Generic:
    + Internal C API cleanup and back-ports for 5.x.
    + RISC-V/AArch64: disable CPU features detection
    + Support C++20 standard
    + algoHint parameter for some functions to allow potentially
      faster, but not bit-exact implementation
  * Core Module:
    + Added int64 data type support for FileStorage
    + Fixed invalid attribute value handling in FileStorage
    + Extended LUT for FP16 support
    + Fixed stdDev tail filling with zeros with HAL in meanStdDev
    + Set and check allocator pointer for all cv::Mat instances
    + Improved accuracy of Rect::contains
    + Fixed result offset in minMaxIdx with HAL in some cases
    + Replaced C++ operators with wrapper functions on universal
      intrinsics backends
    + Extended cv::TickMeter
    + Rewrote OpenCL-OpenGL-interop device discovery routine
      without extensions and with Apple support
    + Marked cv::Mat(Mat&&) as noexcept
    + Multiple Eigen library interop improvements
  * Calib3d module:
    + Multiple chessboard detector improvements
    + Enabled checkerboard detection with a central / corner
      marker on a black tile
    + Fixed Rodrigues CV_32F and CV_64F type mismatch in
      projectPoints
    + Added fisheye::distort with non-identity projection matrix
    + SQPnP solver updates
    + Fixed vector access in USAC
  * Imgproc Module:
    + Added a new function that approximates the polygon bounding
      a convex hull with a certain number of sides
    + Added Weighted Hough Transform
    + Fixed bug in contours approximation
    + Fixed bug in divSpectrums
    + Fixed result buffer overflow in intersectConvexConvex_ for
      non-convex input
    + Added flag to GaussianBlur for faster but not bit-exact
      implementation
    + Added flag to cvtColor for faster but not bit-exact
      implementation
    + Fixed fillPoly drawing over boundaries
  * DNN Module:
    + [GSoC] Blockwise quantization support
    + Faster implementation of blobFromImages for cpu nchw output
    + DNN optimization with RISC-V RVV
    + Added DepthToSpace and SpaceToDepth
    + Yolo v10 support and related samples
    + Parallel implementation of nary elementwise operations
    + Support for Unflatten operation required by Attention layer
    + Erf and GELU layers optimization
    + Activations optimization with v_exp
    + Fixed compilation errors with different OpenVINO versions
    + Fixed matmul crash with CuDNN
    + Fixed CuDNN runtime version check for CuDNN 9+
    + Added ONNX TopK
    + Fixed buffer allocation in einsum (fixed random crash on
      32-bit platforms)
    + Added Leaky RELU support for TFLite
    + Switched to run-time dispatcher for Winograd
  * Objdetect module:
    + Properly check markers when none are provided
    + Fixed invalid vector access in QR decoder and encoder
  * Highgui module:
    + Added new Highgui backend on top of Framebuffer
    + Fixed HWND_TOP window handling on Windows
    + [GSoC] Added OpenGL support with GTK3
    + Several OpenGL related fixed on Linux
    + Fixed leak in cvGetWindowRect_COCOA
  * Imgcodecs module:
    + [GSoC] New API for Animations with WEBP, AVIF and Animated
      PNG support
    + [GSoC] Add GIF decode and encode for imgcodecs
    + Added experimental JPEG XL (jxl) codec support
    + Initial RGB layout support in imread and imdecode
    + Fixed imread output type for some cases
    + Fixed file descriptor leak in HDR decoder
    + Fixed corrupted JPEG decoding
    + Improved error handling in image codecs
    + Fixed Bayer2Gray SIMD for U8
    + Avoid uninitialized value read in AVIF
    + Implemented imencodemulti()
    + Fixed compatibility with different OpenEXR versions
  * VideoIO module:
    + Added VideoCapture constructor for in-memory data stream
    + Fixed bugs in native video encoding on Android
    + Added BGRA streams support in GStreamer back-end
    + Updated materials for Orbbec cameras support
    + Fixed cv::VideoWriter with FFmpeg timestamps encapsulation
    + Fixed memory leak in Dshow back-end
    + Fixed V4L NV12 color conversion
    + Android native camera feature enhancements
    + AndroidMediaNdkCapture pixel format enhancement
    + Fixed VideoCapture fails to read single image with digits
      in name
    + Fixed writer setProperty with FFmpeg plugin
  * Video module:
    + Fixed VitTrack in the case where crop size grows until
      out-of-memory when the input is black
  * Features2d:
    + Fixed out of bounds access in SIFT
  * G-API module:
    + Fixed input buffer read overflow in vectorized G-API
      convertTo implementation
    + Extended G-API onnx::Params to pass arbitrary session
      options
    + Handling I32/I64 data types in G-API ONNX back-end
    + G-API: Introduce level optimization flag for ONNXRT backend
  * Optimizations:
    + New FastCV-based HAL for Qualcomm SoCs (-DWITH_FASTCV=ON
      CMake option)
    + Added own vectorized version of v_expv_log, v_erf, v_sin
      and v_cos
    + KleidiCV HAL for ARM updated to KleidiCV 0.3
    + Initial version of HAL for RISC-V RVV 1.0 and RISC-V RVV
      0.7.1 extensions
    + Used LMUL=2 in the RISC-V Vector (RVV) backend of Universal
      Intrinsic.
    + More functions in NDSRVP HAL for RISC-V P extension
    + Updated built-in IPP to version 2021.12. Fixed build issues
      with old and new Intel IPP layouts
  * Platforms:
    + HWAsan support on Android
    + Several CUDA fixes for old GPUs without FP16 support
    + Added getStdAllocator() to cv::cuda::GpuMat
    + Updated NPP calls to use the new NppStreamContext API if
      available
    + More convenient GpuMatND constructor
    + Added run-time GPU check to haveCUDA
    + Add support for QNX
  * OpenCV.js
    + Extended API white-list and added more tests
    + Split white-list per module. Added opportunity to cover
      opencv_contrib modules
    + Fix incorrect string format in js build script
    + Emscripten build fixes with SIMD intrinsics
    + Added more public types for USAC support
    + Rename Mat::clone binding because it is used in Emscripten
    + Fixed C preprocessor stringification
    + Fix enum generation issues
    + Multiple test improvements

OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=41
2025-01-19 04:28:27 +00:00
Ana Guerrero
1078d9bfd3 Accepting request 1226857 from science
OBS-URL: https://build.opensuse.org/request/show/1226857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=103
2024-11-27 21:10:43 +00:00
Dmitry Roshchin
2e61cba436 - fix build with python 3.13 (needs python-setuptools)
LUT #25554, meanStdDev #25483, moments 25490,
      normHamming #25491. HAL entries for transpose #25342,
    + Added in-place support for cartToPolar and polarToCart
      Otsu threshold #25509. Added new HAL entries for
    + Fixed several bugs in findHomography implementation
    + Multiple improvements in findChessboardCorners
    + Fixed bugs in several ONNX layers: Slice #25660, Range
      #25414, Clip #25319, ReduceMean #25120, Einsum #25100,
    + Optimized fastDepthwiseConv for RISC-V P Packed SIMD
    + Added broadcasting if a.rank() != b.rank() with
    + Added Vulkan backend for NaryEltwiseLayer in DNN
    + New LAPACK interface support on MacOS and derivatives
    + CANN backend: bug fix, support HardSwish,
    + LayerNormalization: support OpenVINO, OpenCL and
      - Introduced "inferenence only" ("benchmark") mode
      TrackerVit for a vision transformer-based VitTrack.
    - Supported OpenVINO 2021.4.1 LTS release
  * Planned migration on Apache 2 license for next releases

OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=40
2024-11-27 10:09:37 +00:00
7 changed files with 183 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b2171af5be6b26f7a06b1229948bbb2bdaa74fcf5cd097e0af6378fce50a6eb9
size 94993429

3
opencv-4.11.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a7c11f924eff5f8d8070e297b322ee68b9227e003fd600d4b8122198091665f
size 95051012

1
opencv-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("opencv.*SUSE_Backports_policy-SLE_conflict")

View File

@ -1,3 +1,156 @@
-------------------------------------------------------------------
Sat Jan 18 09:20:42 UTC 2025 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- update to 4.11.0, highlights below, for details check
https://github.com/opencv/opencv/wiki/OpenCV-Change-Logs#version4110
* Generic:
+ Internal C API cleanup and back-ports for 5.x.
+ RISC-V/AArch64: disable CPU features detection
+ Support C++20 standard
+ algoHint parameter for some functions to allow potentially
faster, but not bit-exact implementation
* Core Module:
+ Added int64 data type support for FileStorage
+ Fixed invalid attribute value handling in FileStorage
+ Extended LUT for FP16 support
+ Fixed stdDev tail filling with zeros with HAL in meanStdDev
+ Set and check allocator pointer for all cv::Mat instances
+ Improved accuracy of Rect::contains
+ Fixed result offset in minMaxIdx with HAL in some cases
+ Replaced C++ operators with wrapper functions on universal
intrinsics backends
+ Extended cv::TickMeter
+ Rewrote OpenCL-OpenGL-interop device discovery routine
without extensions and with Apple support
+ Marked cv::Mat(Mat&&) as noexcept
+ Multiple Eigen library interop improvements
* Calib3d module:
+ Multiple chessboard detector improvements
+ Enabled checkerboard detection with a central / corner
marker on a black tile
+ Fixed Rodrigues CV_32F and CV_64F type mismatch in
projectPoints
+ Added fisheye::distort with non-identity projection matrix
+ SQPnP solver updates
+ Fixed vector access in USAC
* Imgproc Module:
+ Added a new function that approximates the polygon bounding
a convex hull with a certain number of sides
+ Added Weighted Hough Transform
+ Fixed bug in contours approximation
+ Fixed bug in divSpectrums
+ Fixed result buffer overflow in intersectConvexConvex_ for
non-convex input
+ Added flag to GaussianBlur for faster but not bit-exact
implementation
+ Added flag to cvtColor for faster but not bit-exact
implementation
+ Fixed fillPoly drawing over boundaries
* DNN Module:
+ [GSoC] Blockwise quantization support
+ Faster implementation of blobFromImages for cpu nchw output
+ DNN optimization with RISC-V RVV
+ Added DepthToSpace and SpaceToDepth
+ Yolo v10 support and related samples
+ Parallel implementation of nary elementwise operations
+ Support for Unflatten operation required by Attention layer
+ Erf and GELU layers optimization
+ Activations optimization with v_exp
+ Fixed compilation errors with different OpenVINO versions
+ Fixed matmul crash with CuDNN
+ Fixed CuDNN runtime version check for CuDNN 9+
+ Added ONNX TopK
+ Fixed buffer allocation in einsum (fixed random crash on
32-bit platforms)
+ Added Leaky RELU support for TFLite
+ Switched to run-time dispatcher for Winograd
* Objdetect module:
+ Properly check markers when none are provided
+ Fixed invalid vector access in QR decoder and encoder
* Highgui module:
+ Added new Highgui backend on top of Framebuffer
+ Fixed HWND_TOP window handling on Windows
+ [GSoC] Added OpenGL support with GTK3
+ Several OpenGL related fixed on Linux
+ Fixed leak in cvGetWindowRect_COCOA
* Imgcodecs module:
+ [GSoC] New API for Animations with WEBP, AVIF and Animated
PNG support
+ [GSoC] Add GIF decode and encode for imgcodecs
+ Added experimental JPEG XL (jxl) codec support
+ Initial RGB layout support in imread and imdecode
+ Fixed imread output type for some cases
+ Fixed file descriptor leak in HDR decoder
+ Fixed corrupted JPEG decoding
+ Improved error handling in image codecs
+ Fixed Bayer2Gray SIMD for U8
+ Avoid uninitialized value read in AVIF
+ Implemented imencodemulti()
+ Fixed compatibility with different OpenEXR versions
* VideoIO module:
+ Added VideoCapture constructor for in-memory data stream
+ Fixed bugs in native video encoding on Android
+ Added BGRA streams support in GStreamer back-end
+ Updated materials for Orbbec cameras support
+ Fixed cv::VideoWriter with FFmpeg timestamps encapsulation
+ Fixed memory leak in Dshow back-end
+ Fixed V4L NV12 color conversion
+ Android native camera feature enhancements
+ AndroidMediaNdkCapture pixel format enhancement
+ Fixed VideoCapture fails to read single image with digits
in name
+ Fixed writer setProperty with FFmpeg plugin
* Video module:
+ Fixed VitTrack in the case where crop size grows until
out-of-memory when the input is black
* Features2d:
+ Fixed out of bounds access in SIFT
* G-API module:
+ Fixed input buffer read overflow in vectorized G-API
convertTo implementation
+ Extended G-API onnx::Params to pass arbitrary session
options
+ Handling I32/I64 data types in G-API ONNX back-end
+ G-API: Introduce level optimization flag for ONNXRT backend
* Optimizations:
+ New FastCV-based HAL for Qualcomm SoCs (-DWITH_FASTCV=ON
CMake option)
+ Added own vectorized version of v_expv_log, v_erf, v_sin
and v_cos
+ KleidiCV HAL for ARM updated to KleidiCV 0.3
+ Initial version of HAL for RISC-V RVV 1.0 and RISC-V RVV
0.7.1 extensions
+ Used LMUL=2 in the RISC-V Vector (RVV) backend of Universal
Intrinsic.
+ More functions in NDSRVP HAL for RISC-V P extension
+ Updated built-in IPP to version 2021.12. Fixed build issues
with old and new Intel IPP layouts
* Platforms:
+ HWAsan support on Android
+ Several CUDA fixes for old GPUs without FP16 support
+ Added getStdAllocator() to cv::cuda::GpuMat
+ Updated NPP calls to use the new NppStreamContext API if
available
+ More convenient GpuMatND constructor
+ Added run-time GPU check to haveCUDA
+ Add support for QNX
* OpenCV.js
+ Extended API white-list and added more tests
+ Split white-list per module. Added opportunity to cover
opencv_contrib modules
+ Fix incorrect string format in js build script
+ Emscripten build fixes with SIMD intrinsics
+ Added more public types for USAC support
+ Rename Mat::clone binding because it is used in Emscripten
+ Fixed C preprocessor stringification
+ Fix enum generation issues
+ Multiple test improvements
-------------------------------------------------------------------
Sat Nov 23 16:54:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix build with python 3.13 (needs python-setuptools)
-------------------------------------------------------------------
Sun Jun 9 01:48:55 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org>
@ -9,13 +162,13 @@ Sun Jun 9 01:48:55 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org
cv::Mat::convertTo and analogs.
+ Fixed undefined behaviour in some cases related to FP16
arithmetic #25598 + Extended HAL API for minMaxIdx #25563,
LUT #25554, meanStdDev #25483, moments 25490,
normHamming #25491. HAL entries for transpose #25342,
LUT #25554, meanStdDev #25483, moments 25490,
normHamming #25491. HAL entries for transpose #25342,
some arithmetic functions #25574, #25506
+ Persistence: output reals as human-friendly expression.
#25351
+ Added cgroups v2 support to parallel framework #25285
+ Added in-place support for cartToPolar and polarToCart
+ Added in-place support for cartToPolar and polarToCart
#24893
* Imgproc Module:
+ Added relative displacement field option to cv::remap #24621
@ -23,14 +176,14 @@ Sun Jun 9 01:48:55 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org
+ Refactored EMD algorithm to get rid of C-API usage #25469
+ Fixed bug in stackBlur with large kernels #25513
+ Extended HAL for projectPoints #25511, equalizeHist #25565,
Otsu threshold #25509. Added new HAL entries for
Otsu threshold #25509. Added new HAL entries for
gaussianBlur#25397, remap #25399, bilaterialFilter #25343.
* Calib3d Module:
+ Fixed several bugs in hand-eye calibration methods #24897,
#25423
+ Fixed several bugs in findHomography implementation
+ Fixed several bugs in findHomography implementation
#25308, #25665
+ Multiple improvements in findChessboardCorners
+ Multiple improvements in findChessboardCorners
implementation: #25365, 25195, 25177, 25182, 25145, 24779,
24710, 24833, 25090
+ Improved symmetric circles grid pattern detection #25258
@ -45,22 +198,22 @@ Sun Jun 9 01:48:55 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org
+ Added support for several TFLite layers: Global_Pool_2D
#25613, Transpose #25297, HardSwishInt8 #24985, split, fully
connected, SoftMax, Cast #25273.
+ Fixed bugs in several ONNX layers: Slice #25660, Range
#25414, Clip #25319, ReduceMean #25120, Einsum #25100,
+ Fixed bugs in several ONNX layers: Slice #25660, Range
#25414, Clip #25319, ReduceMean #25120, Einsum #25100,
Norm #24808, negative axis support in Concat #24865.
+ Added new ONNX layers: Mod #24765, GroupNorm layer #24610.
+ Added more DNN layers with OpenVINO #25524, #25291, 25518.
+ Optimized fastDepthwiseConv #25361 and int8 layers 25230 for
RISC-V with RVV extension
+ Optimized fastDepthwiseConv for RISC-V P Packed SIMD
+ Optimized fastDepthwiseConv for RISC-V P Packed SIMD
Extension v0.5.2 #24556
+ Optimized Attention #24476, #25271, #25238, #24613, 25076.
+ Added parallel version for scatter and scatterND #24813
+ Added broadcasting if a.rank() != b.rank() with
+ Added broadcasting if a.rank() != b.rank() with
CuDNN backend #24834
+ Tuned Winograd algorithm usage for convolutions #24709
+ Added Raft model support and tracking sample with it #24913
+ Added Vulkan backend for NaryEltwiseLayer in DNN
+ Added Vulkan backend for NaryEltwiseLayer in DNN
module #24768
+ Imporved modern Yolo detectors support. Added sample and
documentation #24898, #24611
@ -101,7 +254,7 @@ Sun Jun 9 01:48:55 UTC 2024 - Alessandro de Oliveira Faria <cabelo@opensuse.org
* Platforms support:
+ CUDA 12.4+ support #25658
+ Wayland back-end for Linux #25551, #25510, #25502
+ New LAPACK interface support on MacOS and derivatives
+ New LAPACK interface support on MacOS and derivatives
#24804, #25625
+ Added initial version of HAL for RISC-V processors with
P-extension (v0.5.2, Andes platforms) #25167
@ -146,13 +299,13 @@ Sat Dec 30 15:54:41 UTC 2023 - Alessandro de Oliveira Faria <cabelo@opensuse.org
+ 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,
+ CANN backend: bug fix, support HardSwish,
LayerNormalization and InstanceNormalization
+ LayerNormalization: support OpenVINO, OpenCL and
+ LayerNormalization: support OpenVINO, OpenCL and
CUDA backend.
* G-API module:
+ Intel® OpenVINO™ DL inference backend:
- Introduced "inferenence only" ("benchmark") mode
- 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.
@ -183,7 +336,7 @@ Sat Dec 30 15:54:41 UTC 2023 - Alessandro de Oliveira Faria <cabelo@opensuse.org
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.
TrackerVit for a vision transformer-based VitTrack.
This work is done by LIU Pengyu.
* VideoIO:
+ Videoio: Add raw encoded video stream encapsulation
@ -610,7 +763,7 @@ Wed Nov 24 21:53:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
- New layers and models support
- Some existing layers have been fixed
- Soft-NMS implementation
- Supported OpenVINO 2021.4.1 LTS release
- Supported OpenVINO 2021.4.1 LTS release
-------------------------------------------------------------------
Mon Aug 30 09:20:06 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
@ -808,7 +961,7 @@ Sun Sep 13 16:55:46 UTC 2020 - Dirk Mueller <dmueller@suse.com>
* BIMEF: A Bio-Inspired Multi-Exposure Fusion Framework for Low-light Image Enhancement
* Enable Otsu thresholding for CV_16UC1 images
* Add Stroke Width Transform algorithm for Text Detection
* Planned migration on Apache 2 license for next releases
* Planned migration on Apache 2 license for next releases
- remove opencv-includedir.patch (obsolete)
-------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
#
# spec file for package opencv
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@
%endif
%define libname lib%{name}
%define soname 410
%define soname 411
# disabled by default as many fail
%bcond_with tests
%bcond_without gapi
@ -35,7 +35,7 @@
%endif
Name: opencv
Version: 4.10.0
Version: 4.11.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
@ -45,6 +45,7 @@ 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
Source99: opencv-rpmlintrc
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: libeigen3-devel
@ -83,6 +84,7 @@ BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%else
BuildRequires: python3-base
BuildRequires: python3-setuptools
%endif
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
BuildRequires: pkgconfig(Qt5Gui) >= 5.2.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65597f8fb8dc2b876c1b45b928bbcc5f772ddbaf97539bf1b737623d0604cba1
size 55387316

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dfc5957201de2aa785064711125af6abb2e80a64e2dc246aca4119b19687041
size 55450097