No detection box
Hi, I had success run the swift project on my device, but there is no any detection box even I move my 6s around, can you help me fix it?
It is possible the graph failed to load. Do you see any errors in the console?
There is no any error message in the console
If everything is running okay you should periodically see something like this in the console:
Avg. prediction time: 0.184770
To track down the problem you can try different lighting and use different phone orientations. The list of objects it should recognize is in the file mscoco_label_map.txt . Also, I recommend building with ssd_mobilenet_v1 (the default). The processing time on faster_rcnn and inception_v2 can be much longer.
ok, thank you for your recommend, i will try it soon.
Ok, let me know how it goes. Another thing you can try is to set the PredictionThreshold lower at the top of TensorflowGraph.mm. Bounding boxes are only drawn for percentages greater than this amount.