Great tutorial. I’d like to open a discussion about integrating Tensor models into Android devices.
As I know google released TensorFlow Lite which provides an ability to load and teach models. The way it does it is by providing a .so file(C++ lib) that wraps the the TensorFlow C++ SDK and a class TensorFlowInferenceInterface which wraps JNI calls to 2 classes APIs — Graph and Session.
It means that in order to use the above samples one need to check if the TensorFlowInferenceInterface contains the APIs and if it does, but maybe in a different names or constellation — to rewrite them.
It’d be great if someone could share here how he manage to import this samples to Android.