[mob] Remove unused method

This commit is contained in:
Neeraj Gupta 2024-04-02 10:43:50 +05:30
parent 814c0ad4b6
commit 4cb7334868

View file

@ -181,19 +181,6 @@ class FaceMLDataDB {
return maps.map((e) => e[faceEmbeddingBlob] as Uint8List);
}
Future<Map<int, int>> getFileIdToCount() async {
final Map<int, int> result = {};
final db = await instance.database;
final List<Map<String, dynamic>> maps = await db.rawQuery(
'SELECT $fileIDColumn, COUNT(*) as count FROM $facesTable where $faceScore > $kMinFaceDetectionScore GROUP BY $fileIDColumn',
);
for (final map in maps) {
result[map[fileIDColumn] as int] = map['count'] as int;
}
return result;
}
Future<Face?> getCoverFaceForPerson({
required int recentFileID,
String? personID,