qf6101/tensorflow_serving_examples

How to query an image file?

Closed this issue · 1 comments

This project works for me . But it consumes a file containing many images. How can I adapt your code to work with one image file?

Please refer to the following usage.

TensorProto imageTensor = createImageTensor(images.get(i));
if(imageTensor != null) requestService(imageTensor, labels[i]);