From e6bff8ddeecd52fc2ec02a66884177f9936864a7 Mon Sep 17 00:00:00 2001 From: y-matsumoto-git <55866660+y-matsumoto-git@users.noreply.github.com> Date: Sat, 21 Sep 2024 12:15:50 +0900 Subject: [PATCH] Add files via upload --- 20240921/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20240921/index.html b/20240921/index.html index 5a6b1f0..5887209 100644 --- a/20240921/index.html +++ b/20240921/index.html @@ -308,7 +308,7 @@

Webcam Demo with OpenCV.js

function drawContours(src, largestContour) { if (largestContour) { const rect = cv.boundingRect(largestContour); - cv.rectangle(src, new cv.Point(rect.x, rect.y), new cv.Point(rect.x + rect.width, rect.y + rect.height), [255, 0, 0, 255], 4); + cv.rectangle(src, new cv.Point(rect.x, rect.y), new cv.Point(rect.x + rect.width, rect.y + rect.height), [0, 0, 255, 255], 8); } }