From 377f7db0ad3b20eb04e625e6868216ef5fbf5137 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Mon, 14 Jul 2025 15:22:10 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20add=20confidence=20field=20?= =?UTF-8?q?to=20the=20result=20of=20from=5Fgoogle=5Fgemini=5F2=5F5=20funct?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/detection/vlm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/supervision/detection/vlm.py b/supervision/detection/vlm.py index bc9e6f6b..acee6826 100644 --- a/supervision/detection/vlm.py +++ b/supervision/detection/vlm.py @@ -435,7 +435,9 @@ def from_google_gemini_2_5( { "box_2d": [x1, y1, x2, y2], "mask": "data:image/png;base64,...", - "label": "some class name"}, + "label": "some class name", + "confidence": 0.95, + }, ... ] ```