Linked Questions

Popular Questions

I would like to know if it is possible to draw bounding boxes using Tensorflow lite. I have been able to draw them using tensorflow-android in version 1.12 but I have no example for drawing bounding boxes in tensorflow lite.

In the code below you can see my way in tensorflow-android 1.12 to get the outputLocations which is working., logStats);
LOGGER.d("End Section run " + System.currentTimeMillis());

// Copy the output Tensor back into the output array.
LOGGER.d("Begin Section fetch " + System.currentTimeMillis());
outputLocations = new float[MAX_RESULTS * 4];
outputScores = new float[MAX_RESULTS];
outputClasses = new float[MAX_RESULTS];
outputNumDetections = new float[1];
inferenceInterface.fetch(outputNames[0], outputLocations);

It would be great if you could tell me how to get outputLocations using runInference() from trensorflow-lite instead.

Related Questions