Skip to content

Files

Latest commit

32e0bca · Sep 18, 2018

History

History

flutter_nothotdog

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018
Sep 18, 2018

Not Hotdog Flutter App

Demo

The app shows the bounding box and confidence (if there's any) when you click on the preview image.

Sharing image is not yet supported by the Flutter share plugin.

  • iOS

ios

Dependencies

Prerequisites

Copy quantized_yolov2-tiny-hotdog.pb in ../yolo directory to

  • flutter_nothotdog/android/app/src/main/assets/
  • flutter_nothotdog/ios/Runner/TensorFlow/

Installation

  • For iOS, TensorFlow Mobile is installed using POD:
cd flutter_nothotdog/ios
pod install
  • Install other dependencies:
cd flutter_nothotdog/
flutter packages get

Run the App

flutter run

Or for Android:

  • Install the flutter_hotdog.apk (released version) in flutter_nothotdog directory.

Native Module in Flutter

I created my own native module to interact with Tensorflow Mobile.

  • iOS:

    The native code is in flutter_nothotdog/ios/Runner/TensorFlow/

  • Android:

    The native code is in flutter_nothotdog/android/app/src/main/java/com/nothotdog/tensorflow/

Thanks to: