Package | Description |
---|---|
org.springframework.cloud.fn.image.recognition |
Modifier and Type | Method and Description |
---|---|
static ImageRecognition |
ImageRecognition.inception(String inceptionModelUri,
int normalizedImageSize,
int responseSize,
boolean cacheModel)
The Inception graph uses "input" as input and "output" as output.
|
static ImageRecognition |
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.
|
static ImageRecognition |
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.
|
Copyright © 2022. All rights reserved.