Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -77,7 +77,7 @@
|
|
| 77 |
if (age < 18) {
|
| 78 |
const box = detection.detection.box;
|
| 79 |
const ctx = canvas.getContext('2d');
|
| 80 |
-
ctx.fillStyle = "rgba(255, 255, 255, 0.
|
| 81 |
ctx.fillRect(box.x, box.y, box.width, box.height);
|
| 82 |
|
| 83 |
}
|
|
|
|
| 77 |
if (age < 18) {
|
| 78 |
const box = detection.detection.box;
|
| 79 |
const ctx = canvas.getContext('2d');
|
| 80 |
+
ctx.fillStyle = "rgba(255, 255, 255, 0.9)"; // Color blanco opaco
|
| 81 |
ctx.fillRect(box.x, box.y, box.width, box.height);
|
| 82 |
|
| 83 |
}
|