hunglc007 / tensorflow-yolov4-tflite

YOLOv4, YOLOv4-tiny, YOLOv3, YOLOv3-tiny Implemented in Tensorflow 2.0, Android. Convert YOLO v4 .weights tensorflow, tensorrt and tflite
https://github.com/hunglc007/tensorflow-yolov4-tflite
MIT License
2.25k stars 1.24k forks source link

Detections on Android device #257

Open wintoncape opened 4 years ago

wintoncape commented 4 years ago

I was successful in doing the conversion to tflite. Was able to convert the weights file and run the detect.py with amazing speed of detection..... on my laptop. However, when I copy the file to my android assets folder and run a detection on the kite picture, it takes about 4 seconds to draw detection boxes in the picture and when in camera mode no boxes are draws.

I have lowered the MINIMUM_CONFIDENCE_TF_OD_API to 0.1 and still no detections. Any ideas of what I am doing wrong?

Adithia99 commented 3 years ago

Can u give me the repo how to use in in andorid? And when i converted the yolov4 to tflite it success but the size of tflite still to big? Is that normal?

NavneetSajwan commented 3 years ago

My tflite file size is around 22mb. But the detections are very slow. Any success yet?