Open Aspirinkb opened 4 years ago
labeloffset should be zero. And your original bitmap is [300 * 300]?
@LL-Lee labeloff is 1 since the first label is "???", and the original bitmap is 300*300 RGB image.
The code seems right, maybe the problem is incorrect initialization of TFLiteObjectDetectionAPIModel
I don't use the TFLiteObjectDetectionAPIModel.
I trained a mobilenet_v2_ssd and quantized to uint8. It runs ok on the official android demo, but detect nothing on my own app when input a same image.
The method as following, no detection result in
outputMap
.