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.23k stars 1.24k forks source link

box location format #432

Open zxf864823150 opened 2 years ago

zxf864823150 commented 2 years ago

I find the train set val2017 is in [x1,y1,x2,y2,id] ,but the in detect,py's func (draw_bbox), coor[0] = int(coor[0] * image_h) coor[2] = int(coor[2] * image_h) coor[1] = int(coor[1] * image_w) coor[3] = int(coor[3] * image_w) boxes are in[y1,x1,y2,x2]?

Redeagle411 commented 1 year ago

you got the solution. I also want to print box coordinates