AlexeyAB/Yolo_mark

Relative coordinates wrong

thhart opened this issue · 1 comments

I checked my dataset and there is an offset for all annotations visible in Yolo_mark. IMHO the relative coordinates are not calculated correct by Yolo_mark. I created a test file with a rectangle. The rectangle starts exactly in the center of the image x-wise. So I expect the coordinate at 0.5. Yolo_mark is setting the coordinate to 0.6161.

PS: When I turn on the coordinate display in the program it is shown correct. However in the final file it is not.

I have attached the files:

class0001

class0001.txt

Sorry, coordinates are centered instead of cornered.