[mob] Trim face score
This commit is contained in:
parent
1d527f9e02
commit
5f468e6c63
1 changed files with 7 additions and 2 deletions
|
@ -99,6 +99,12 @@ class FaceWidget extends StatelessWidget {
|
|||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
),
|
||||
if (kDebugMode)
|
||||
Text(
|
||||
'S: ${face.score.toStringAsFixed(3)}',
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
maxLines: 1,
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
@ -193,9 +199,8 @@ class FaceWidget extends StatelessWidget {
|
|||
),
|
||||
if (kDebugMode)
|
||||
Text(
|
||||
'Score: ${face.score}',
|
||||
'S: ${face.score.toStringAsFixed(3)}',
|
||||
style: Theme.of(context).textTheme.bodySmall,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 1,
|
||||
),
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue