remove prob from label
This commit is contained in:
parent
e619bd31ad
commit
7cbad19bc3
@ -248,7 +248,7 @@
|
||||
ctx.lineWidth = 5;
|
||||
ctx.font = "20px serif";
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user