opencv: update contrib and test data (#459592)

This commit is contained in:
Martin Weinelt
2025-11-12 20:52:31 +00:00
committed by GitHub
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -121,14 +121,14 @@ let
owner = "opencv";
repo = "opencv_contrib";
tag = version;
hash = "sha256-YNd96qFJ8SHBgDEEsoNps888myGZdELbbuYCae9pW3M=";
hash = "sha256-3tbscRFryjCynIqh0OWec8CUjXTeIDxOGJkHTK2aIao=";
};
testDataSrc = fetchFromGitHub {
owner = "opencv";
repo = "opencv_extra";
tag = version;
hash = "sha256-EqlGlemztYlk03MX1LAviArWT+OA3/qL3jfgHYC+SP8=";
hash = "sha256-f8PZyFLdfixt1ApjMc9Cvj9nfEaDRUszSeEfCsWziis=";
};
# Contrib must be built in order to enable Tesseract support:
+3 -3
View File
@@ -49,7 +49,7 @@ runCommand "opencv4-tests"
inherit runAccuracyTests;
accuracyTestNames = [
"calib3d"
# "calib3d" # reached a month of CPU time without completing
"core"
"features2d"
"flann"
@@ -69,7 +69,7 @@ runCommand "opencv4-tests"
inherit runPerformanceTests;
performanceTestNames = [
"calib3d"
# "calib3d" # reached a month of CPU time without completing
"core"
"features2d"
"imgcodecs"
@@ -83,7 +83,7 @@ runCommand "opencv4-tests"
testRunner = optionalString (!isDarwin) "${getExe xvfb-run} -a ";
requiredSystemFeatures = optionals cudaSupport [ "cuda" ];
requiredSystemFeatures = [ "big-parallel" ] ++ optionals cudaSupport [ "cuda" ];
}
''
set -euo pipefail