-
ImageRecognition.inception(String inceptionModelUri,
int normalizedImageSize,
int responseSize,
boolean cacheModel)
The Inception graph uses "input" as input and "output" as output.
ImageRecognition.mobileNetV1(String mobileNetV1ModelUri,
int normalizedImageSize,
int responseSize,
boolean cacheModel)
Convenience for MobileNetV1 pre-trained models:
https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet_v1.md#pre-trained-models
The MobileNetV1 graph uses "input" as input and "MobilenetV1/Predictions/Reshape_1" as output.
ImageRecognition.mobileNetV2(String mobileNetV2ModelUri,
int normalizedImageSize,
int responseSize,
boolean cacheModel)
Convenience for MobileNetV2 pre-trained models:
https://github.com/tensorflow/models/tree/master/research/slim/nets/mobilenet#pretrained-models
The normalized image size is always square (e.g.