chnages has been made for the interactive face camera

This commit is contained in:
Daniah Ayad Al-sultani
2026-02-17 16:14:37 +03:00
parent 08b16df68d
commit 2022245810
9 changed files with 1510 additions and 62 deletions

View File

@@ -0,0 +1,28 @@
import 'package:flutter/material.dart';
enum FaceHintType {
noFace,
tooDark,
tooClose,
tooFar,
notCentered,
lookStraight,
holdStill,
good,
}
class FaceFeedback {
final FaceHintType type;
final String message;
final double quality; // 0..1 (used for progress ring)
final Color borderColor;
FaceFeedback({
required this.type,
required this.message,
required this.quality,
required this.borderColor,
});
bool get isGood => type == FaceHintType.good;
}