-
install TF 1b) https://www.tensorflow.org/install/pip
-
TensorFlow for poets: https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0
-
get your own images: https://www.raymond.cc/blog/extract-video-frames-to-images-using-vlc-media-player/
-
retrain with your new images
-
shrink your model
-
create an app
-
brand new app -> empty activity
-
gradle.build add: Dependency{ implementation 'org.tensorflow:tensorflow-android:+' }
android { aaptOptions { noCompress "tflite" noCompress "lite" } } 8) Android manifest
#Useful link:
https://www.raymond.cc/blog/extract-video-frames-to-images-using-vlc-media-player/
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