Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
y-matsumoto-git authored Sep 21, 2024
1 parent 645a4ab commit e6bff8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 20240921/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ <h1>Webcam Demo with OpenCV.js</h1>
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);
}
}

Expand Down

0 comments on commit e6bff8d

Please sign in to comment.