-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
118 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_mobile_vision/flutter_mobile_vision.dart'; | ||
|
||
class FaceDetails extends StatefulWidget { | ||
final Face face; | ||
|
||
FaceDetails(this.face); | ||
|
||
@override | ||
_FaceDetailsState createState() => new _FaceDetailsState(); | ||
} | ||
|
||
class _FaceDetailsState extends State<FaceDetails> { | ||
@override | ||
Widget build(BuildContext context) { | ||
return new Scaffold( | ||
appBar: new AppBar( | ||
title: new Text('Face Details'), | ||
), | ||
body: new ListView( | ||
children: <Widget>[ | ||
new ListTile( | ||
title: new Text(widget.face.id.toString()), | ||
subtitle: const Text('Id'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.eulerY.toString()), | ||
subtitle: const Text('Euler Y'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.eulerZ.toString()), | ||
subtitle: const Text('Euler Z'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.leftEyeOpenProbability.toString()), | ||
subtitle: const Text('Left Eye Open Probability'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.rightEyeOpenProbability.toString()), | ||
subtitle: const Text('Right Eye Open Probability'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.smilingProbability.toString()), | ||
subtitle: const Text('Smiling Probability'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.top.toString()), | ||
subtitle: const Text('Top'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.bottom.toString()), | ||
subtitle: const Text('Bottom'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.left.toString()), | ||
subtitle: const Text('Left'), | ||
), | ||
new ListTile( | ||
title: new Text(widget.face.right.toString()), | ||
subtitle: const Text('Right'), | ||
), | ||
], | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: flutter_mobile_vision | ||
description: Flutter implementation for Google Mobile Vision. Scan Barcodes, Recognize Text and Detect Faces. | ||
version: 0.0.3 | ||
version: 0.0.4 | ||
author: Eduardo Folly <[email protected]> | ||
homepage: https://github.com/edufolly/flutter_mobile_vision | ||
|
||
|