[mob] Remove faceArea and faceVisibility from local DB
This commit is contained in:
parent
6d3e1325c4
commit
a0fa90cb50
3 changed files with 0 additions and 8 deletions
|
@ -311,8 +311,6 @@ class FaceMLDataDB {
|
|||
faceBlur,
|
||||
imageHeight,
|
||||
imageWidth,
|
||||
faceArea,
|
||||
faceVisibilityScore,
|
||||
mlVersionColumn,
|
||||
],
|
||||
where: '$fileIDColumn = ?',
|
||||
|
|
|
@ -8,8 +8,6 @@ const faceDetectionColumn = 'detection';
|
|||
const faceEmbeddingBlob = 'eBlob';
|
||||
const faceScore = 'score';
|
||||
const faceBlur = 'blur';
|
||||
const faceArea = 'area';
|
||||
const faceVisibilityScore = 'visibility';
|
||||
const imageWidth = 'width';
|
||||
const imageHeight = 'height';
|
||||
const faceClusterId = 'cluster_id';
|
||||
|
@ -24,8 +22,6 @@ const createFacesTable = '''CREATE TABLE IF NOT EXISTS $facesTable (
|
|||
$faceBlur REAL NOT NULL DEFAULT $kLapacianDefault,
|
||||
$imageHeight INTEGER NOT NULL DEFAULT 0,
|
||||
$imageWidth INTEGER NOT NULL DEFAULT 0,
|
||||
$faceArea INTEGER NOT NULL DEFAULT 0,
|
||||
$faceVisibilityScore INTEGER NOT NULL DEFAULT -1,
|
||||
$mlVersionColumn INTEGER NOT NULL DEFAULT -1,
|
||||
PRIMARY KEY($fileIDColumn, $faceIDColumn)
|
||||
);
|
||||
|
|
|
@ -35,8 +35,6 @@ Map<String, dynamic> mapRemoteToFaceDB(Face face) {
|
|||
faceScore: face.score,
|
||||
faceBlur: face.blur,
|
||||
mlVersionColumn: faceMlVersion,
|
||||
faceArea: face.area(),
|
||||
faceVisibilityScore: face.visibility,
|
||||
imageWidth: face.fileInfo?.imageWidth ?? 0,
|
||||
imageHeight: face.fileInfo?.imageHeight ?? 0,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue