From e863312c5836053f803ae1c80fd8725c2240ccbb Mon Sep 17 00:00:00 2001 From: Pragyanur Date: Tue, 1 Aug 2023 00:49:04 +0530 Subject: [PATCH] update --- pages/ml/first.html | 2 +- scripts/ml/first.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/ml/first.html b/pages/ml/first.html index f4b78ef..14d50d7 100644 --- a/pages/ml/first.html +++ b/pages/ml/first.html @@ -16,7 +16,7 @@ style="padding: 5px; border-left: 4px dashed white; border-top: 4px dashed white; border-right: 4px dashed white; border-radius: 20px 20px 0px 0px;">
+ style="background-color: rgb(255, 255, 255); color: rgb(101, 101, 101); padding: 10px 0px; text-align: center; font-size: 20px; border-radius: 0px 0px 20px 20px;">

Prediction will be displayed here.
It's confidence will be displayed below. diff --git a/scripts/ml/first.js b/scripts/ml/first.js index b097db5..5d0543c 100644 --- a/scripts/ml/first.js +++ b/scripts/ml/first.js @@ -38,5 +38,6 @@ function setup() { } function draw() { - img = image(video, 0, 0, width, height); + image(video, 0, 0, width, height); + filter(GRAY); } \ No newline at end of file