From 9ec28f74885fcb5a88f82b71f7e28148f62673e5 Mon Sep 17 00:00:00 2001 From: anetla Date: Fri, 19 Jan 2024 12:19:01 +0100 Subject: [PATCH] remove prob from label again --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index fb184b5..b885196 100644 --- a/index.html +++ b/index.html @@ -288,7 +288,7 @@ // Draw bounding boxes boxes.forEach(([x1, y1, x2, y2, object_type, prob]) => { - const label = `${object_type} ${prob.toFixed(2)}`; + const label = `${object_type}`; ctx.strokeRect(x1, y1, x2 - x1, y2 - y1); ctx.fillStyle = "#00ff00"; const width = ctx.measureText(label).width;