Open jamessmith90 opened 4 years ago
x_center = yolo_x image_width y_center = yolo_y image_height width = yolo_width image_width height = yolo_height image_height
x_left = (yolo_x - yolo_width/2) image_width y_top = (yolo_y - yolo_height/2) image_height
I am in a tough situation and need to verify the dataset by cropping. Can someone post a simple function to convert yolo format to x,y,w,h so that i can crop images.