GitHub - vvalouch/AndroidTensorFlowMiniWorkshop

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

3 Commits

Repository files navigation

AndroidTensorFlowMiniWorkshop

  1. install TF 1b) https://www.tensorflow.org/install/pip

  2. TensorFlow for poets: https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0

  3. get your own images: https://www.raymond.cc/blog/extract-video-frames-to-images-using-vlc-media-player/

  4. retrain with your new images

  5. shrink your model

  6. create an app

  7. brand new app -> empty activity

  8. gradle.build add: Dependency{ implementation 'org.tensorflow:tensorflow-android:+' }

android { aaptOptions { noCompress "tflite" noCompress "lite" } } 8) Android manifest

#Useful link:

How to convert video to pictures

https://www.raymond.cc/blog/extract-video-frames-to-images-using-vlc-media-player/

Basic intro

https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0 https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2-tflite/#0

##Useful blogs https://proandroiddev.com/re-training-the-model-with-images-using-tensorflow-7758e9eb8db5 https://github.com/tensorflow/models/blob/master/research/slim/README.md https://github.com/tensorflow/hub/tree/master/examples/image_retraining

##Cool to try: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite/examples/android/app

Models: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/lite/g3doc/models.md

About

No description, website, or topics provided.

Resources

Readme

Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks

Releases

No releases published