title: TF Lite object detection only returning 10 detections
body: <p>I am using a custom object detection model with TensorFlow Lite on native Android. At this point I'm only detecting 2 custom objects. I am using the TensorFlow Object Detection API, and I have a pipeline in place that produces optimized .tflite files.</p>
  
  <p>However, at inference time, the model only returns up to 10 individual detections. According to <a href="https://www.tensorflow.org/lite/models/object_detection/overview" rel="nofollow noreferrer">https://www.tensorflow.org/lite/models/object_detection/overview</a>, this is expected. The problem is that my images have a relatively large object density. I need to be able to detect up to 30 individual objects per image/inference call.</p>
  
  <p>If I change NUM_DETECTIONS in the sample Android app from the TF repo from 10 to, say, 20, I get a runtime exception due to shape mismatch. How can I produce .tflite files capable of yielding more than 10 object detection instances?</p>
  
  <p>Thank you!</p>