Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pragyanur committed Jul 31, 2023
1 parent 3825ba2 commit e863312
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/ml/first.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;"></canvas>
<script src="../../scripts/ml/first.js"></script>
<div
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;">
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;">
<p id="p1">
Prediction will be displayed here.<br>
It's confidence will be displayed below.
Expand Down
3 changes: 2 additions & 1 deletion scripts/ml/first.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ function setup() {
}

function draw() {
img = image(video, 0, 0, width, height);
image(video, 0, 0, width, height);
filter(GRAY);
}

0 comments on commit e863312

Please sign in to comment.