remove prob from label again

This commit is contained in:
anetla 2024-01-19 12:19:01 +01:00
parent d53eafaecf
commit 9ec28f7488
1 changed files with 1 additions and 1 deletions

View File

@ -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;