From fcc3daebe69c97f3caaa8611dd30d871f6d3b2a2 Mon Sep 17 00:00:00 2001 From: Adir Amsalem Date: Tue, 7 Jul 2026 16:23:04 +0300 Subject: [PATCH] fix(realtime): correct lucy-2.5 resolution to 1280x720 lucy-2.5 had inherited lucy-2.1's 1088x624 geometry. Set it to its actual 1280x720 resolution and update the model registry tests. --- src/models.cpp | 2 +- tests/test_models.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models.cpp b/src/models.cpp index b497c55..b65ad8c 100644 --- a/src/models.cpp +++ b/src/models.cpp @@ -24,7 +24,7 @@ struct Entry { constexpr std::array kRealtime = {{ // Canonical {"lucy-2.1", 30, 1088, 624, true}, - {"lucy-2.5", 30, 1088, 624, true}, + {"lucy-2.5", 30, 1280, 720, true}, {"lucy-vton-2", 30, 1088, 624, true}, {"lucy-vton-3", 30, 1088, 624, true}, {"lucy-restyle-2", 30, 1280, 704, true}, diff --git a/tests/test_models.cpp b/tests/test_models.cpp index d644183..46b4a11 100644 --- a/tests/test_models.cpp +++ b/tests/test_models.cpp @@ -22,8 +22,8 @@ TEST_CASE("realtime() resolves canonical models with correct geometry") { CHECK(lucy25.name == "lucy-2.5"); CHECK(lucy25.urlPath == "/v1/stream"); CHECK(lucy25.fps == 30); - CHECK(lucy25.width == 1088); - CHECK(lucy25.height == 624); + CHECK(lucy25.width == 1280); + CHECK(lucy25.height == 720); } TEST_CASE("realtime() accepts latest and deprecated aliases") {