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.
inferenceInterface.run(outputNames, logStats); LOGGER.d("End Section run " + System.currentTimeMillis()); Trace.endSection(); // Copy the output Tensor back into the output array. Trace.beginSection("fetch"); 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; inferenceInterface.fetch(outputNames, outputLocations);
It would be great if you could tell me how to get outputLocations using runInference() from trensorflow-lite instead.