This commit is contained in:
rdkartono
2025-05-20 10:32:55 +07:00
24 changed files with 60 additions and 82 deletions

View File

@@ -919,7 +919,6 @@ public class Cameradetail {
if (theface.getFace()!=null){
LiveMatROI = new Rect(theface.getFace().x(), theface.getFace().y(), theface.getFace().width(), theface.getFace().height());
//System.out.println("Frontal Face Detected from camera "+cameratitle+" "+RectToString(LiveMatROI));
}
if (theface.getEyesCount()>=2){
@@ -930,7 +929,6 @@ public class Cameradetail {
if (event!=null) event.onEyeDetector(true);
LabelVisible(eye_indicator,true);
//System.out.println("Valid Eye Detected from camera "+cameratitle);
// Valid eye condition
if (eye_state.get()!=1){
@@ -939,7 +937,6 @@ public class Cameradetail {
System.out.println("First Eye Detected from camera "+cameratitle.getText());
eye_state.set(1);
} else {
//System.out.println("Transition from close to open eyes");
eye_state.set(1);
blink_counter.incrementAndGet();
@@ -975,7 +972,6 @@ public class Cameradetail {
if (eye_state.get()!=0){
//System.out.println("Transition from open to close eyes");
eye_state.set(0);
}