Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
justin200914 committed Aug 16, 2023
1 parent 715e159 commit e34f520
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const PITCH_THRESHOLD = 7;
const YAW_THRESHOLD = 7;
const ROLL_THRESHOLD = 10;
const ROLL_THRESHOLD = 13;
const MASK_THRESHOLD = 0.5;
const SUNGLASS_THRESHOLD = 0.5;
const EYE_DIST_THRESHOLD_MIN = 90;
Expand Down Expand Up @@ -245,10 +245,10 @@ function checkFaceQuality() {
}

document.getElementById("cap_message").innerHTML = msg;
// document.getElementById("res_yaw").innerHTML = "Yaw: " + qaqarray[4 + 1];
document.getElementById("res_yaw").innerHTML = video.videoWidth;
// document.getElementById("res_pitch").innerHTML = "Pitch: " + qaqarray[5 + 1];
document.getElementById("res_pitch").innerHTML = video.videoHeight;
document.getElementById("res_yaw").innerHTML = "Yaw: " + qaqarray[4 + 1];
// document.getElementById("res_yaw").innerHTML = video.videoWidth;
document.getElementById("res_pitch").innerHTML = "Pitch: " + qaqarray[5 + 1];
// document.getElementById("res_pitch").innerHTML = video.videoHeight;
document.getElementById("res_roll").innerHTML = "Roll: " + qaqarray[6 + 1];
document.getElementById("res_eyeDist").innerHTML = "Eye Dist: " + qaqarray[8 + 1];
document.getElementById("res_eyeClosed").innerHTML = "Eye Closed: " + qaqarray[11 + 1];
Expand Down

0 comments on commit e34f520

Please sign in to comment.