[mob][photos] Cleanup face models

This commit is contained in:
laurenspriem
2024-06-22 18:30:55 +05:30
parent 897245d6c1
commit a0d8dd9b9e
2 changed files with 0 additions and 11 deletions

View File

@@ -46,10 +46,6 @@ class Detection {
);
}
int getFaceArea(int imageWidth, int imageHeight) {
return (box.width * imageWidth * box.height * imageHeight).toInt();
}
FaceDirection getFaceDirection() {
if (isEmpty) {
return FaceDirection.straight;

View File

@@ -31,13 +31,6 @@ class Face {
bool get isHighQuality => (!isBlurry) && hasHighScore;
int area({int? w, int? h}) {
return detection.getFaceArea(
fileInfo?.imageWidth ?? w ?? 0,
fileInfo?.imageHeight ?? h ?? 0,
);
}
Face(
this.faceID,
this.fileID,