Class ObjectDetectionInputConverter
java.lang.Object
org.springframework.cloud.fn.object.detection.ObjectDetectionInputConverter
public class ObjectDetectionInputConverter
extends Object
implements Function<byte[][],Map<String,org.tensorflow.Tensor<?>>>
Converts byte array image into a input Tensor for the Object Detection API. The computed image tensors uses the
'image_tensor' model placeholder.
- Author:
- Christian Tzolov
-
Field Details
-
IMAGE_TENSOR_FEED_NAME
Make checkstyle happy.- See Also:
-
-
Constructor Details
-
ObjectDetectionInputConverter
public ObjectDetectionInputConverter()
-
-
Method Details