Image storage
@B-JackMao Sorry for the late response!
Could you please follow this [page](https://www.tensorflow.org/lite/inference_with_metadata/lite_support) which explains about processing input and output data into tflite model?
Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. @sushreebarsa ,

> When TFLite processes image data, which variable will the read in image data be stored in? Is it TfLiteTensor.data?

Could you please confirm your reply to this? I am unable to find whether attached resource has the information required.
 Hello, @JyotiPDLr!  That above page is referring to the process of input and output data in TFlite. To process an image data we have to set the tensor, invoke it and lastly we can get the tensor.
@B-JackMao We can store any image data in the form of a tensor while processing it. We have to consider only the size and type of the image. Please have a look at this [example](https://www.tensorflow.org/lite/performance/post_training_quant) where you can see how a model can be tested on a single image.  Sample code is as below;
```
test_image = np.expand_dims(test_images[0], axis=0).astype(np.float32)

input_index = interpreter.get_input_details()[0]["index"]
output_index = interpreter.get_output_details()[0]["index"]

interpreter.set_tensor(input_index, test_image)
interpreter.invoke()
predictions = interpreter.get_tensor(output_index)
```
Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61676">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/61676">No</a>

When TFLite processes image data, which variable will the read in image data be stored in? Is it TfLiteTensor.data?


How can I directly process a single image using TensorFlow Lite source code without relying on an Android app?