From 3825ba2b2b69ae16af1dc8ed82349ca8e2eb3902 Mon Sep 17 00:00:00 2001 From: Pragyanur Date: Tue, 1 Aug 2023 00:25:21 +0530 Subject: [PATCH] update --- pages/ml/first.html | 4 ++-- scripts/ml/first.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/ml/first.html b/pages/ml/first.html index 5b5478d..f4b78ef 100644 --- a/pages/ml/first.html +++ b/pages/ml/first.html @@ -16,9 +16,9 @@ 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(182, 82, 82); padding: 30px; text-align: center; font-size: 20px; border-radius: 0px 0px 20px 20px;">

- Prediction would be displayed here.
+ 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 daa9d5d..b097db5 100644 --- a/scripts/ml/first.js +++ b/scripts/ml/first.js @@ -38,5 +38,5 @@ function setup() { } function draw() { - image(video, 0, 0, width, height); + img = image(video, 0, 0, width, height); } \ No newline at end of file