opencv: Added fix for Cluster Euclidean and Box Filter

Updated FastCV libs hash to include fix for Cluster Euclidean and Box Filter
and support for FastCV SVD API

Signed-off-by: Pulkit Singh Tak <quic_ptak@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Pulkit Singh Tak 2025-05-08 14:24:13 +05:30 committed by Khem Raj
parent 7dd27c2050
commit 817e5876a2
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 53 additions and 2 deletions

View File

@ -0,0 +1,50 @@
From ba6eb8d95292f4631a3b8de09bfaa59e43c17226 Mon Sep 17 00:00:00 2001
From: adsha-quic <quic_adsha@quicinc.com>
Date: Wed, 16 Apr 2025 18:54:40 +0530
Subject: [PATCH] FROMLIST: Merge pull request #27214 from CodeLinaro:fastcv_lib_hash_update
Signed-off-by: Alexander Smorkalov <alexander.smorkalov@opencv.ai>
Upstream-Status: Submitted [https://github.com/opencv/opencv/pull/27214]
---
3rdparty/fastcv/fastcv.cmake | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/3rdparty/fastcv/fastcv.cmake b/3rdparty/fastcv/fastcv.cmake
index 5c81c11300..6fee4ce4ce 100644
--- a/3rdparty/fastcv/fastcv.cmake
+++ b/3rdparty/fastcv/fastcv.cmake
@@ -1,23 +1,23 @@
function(download_fastcv root_dir)
# Commit SHA in the opencv_3rdparty repo
- set(FASTCV_COMMIT "f4413cc2ab7233fdfc383a4cded402c072677fb0")
+ set(FASTCV_COMMIT "8d86e68dad8b80b8575a8d3cf401d3ee96c24148")
# Define actual FastCV versions
if(ANDROID)
if(AARCH64)
message(STATUS "Download FastCV for Android aarch64")
- set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2024_12_11.tgz")
- set(FCV_PACKAGE_HASH "9dac41e86597305f846212dae31a4a88")
+ set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2025_04_08.tgz")
+ set(FCV_PACKAGE_HASH "e028966a1d1b2f3f0bc5967d316e8b64")
else()
message(STATUS "Download FastCV for Android armv7")
- set(FCV_PACKAGE_NAME "fastcv_android_arm32_2024_12_11.tgz")
- set(FCV_PACKAGE_HASH "fe2d30334180b17e3031eee92aac43b6")
+ set(FCV_PACKAGE_NAME "fastcv_android_arm32_2025_04_08.tgz")
+ set(FCV_PACKAGE_HASH "6fc1e812a4b3ef392469d2283e037ffe")
endif()
elseif(UNIX AND NOT APPLE AND NOT IOS AND NOT XROS)
if(AARCH64)
- set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_02_12.tgz")
- set(FCV_PACKAGE_HASH "33ac2a59cf3e7d6402eee2e010de1202")
+ set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_04_08.tgz")
+ set(FCV_PACKAGE_HASH "062a26639cd2788beee2e0dd8743d680")
else()
message("FastCV: fastcv lib for 32-bit Linux is not supported for now!")
endif()
--
2.34.1

View File

@ -16,7 +16,7 @@ SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26"
SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d"
SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12"
SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252"
SRCREV_fastcv = "f4413cc2ab7233fdfc383a4cded402c072677fb0"
SRCREV_fastcv = "8d86e68dad8b80b8575a8d3cf401d3ee96c24148"
SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg_fastcv"
@ -26,7 +26,7 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=ht
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=git/vgg;name=vgg;protocol=https \
git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=git/face;name=face;protocol=https \
git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https \
git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250212;destsuffix=git/fastcv;name=fastcv;protocol=https \
git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250410;destsuffix=git/fastcv;name=fastcv;protocol=https \
file://0003-To-fix-errors-as-following.patch \
file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \
file://0001-Dont-use-isystem.patch \
@ -35,6 +35,7 @@ SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=ht
file://0008-Do-not-embed-build-directory-in-binaries.patch \
file://0001-core-fixed-VSX-intrinsics-implementation.patch \
file://0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch \
file://0001-FROMLIST-FastCV-latest-libs-hash-update.patch \
"
SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib"