ZJULearning / ttfnet

Apache License 2.0
481 stars 96 forks source link

BoundingBox format in CustomDataset #13

Closed torleivf closed 4 years ago

torleivf commented 4 years ago

Hi, I was reading through ttfnet/mmdet/datasets/custom.py and https://github.com/ZJULearning/ttfnet/blob/master/GETTING_STARTED.md, as I will train TTFNet with a custom dataset. The getting started page is very helpful.

The question is what format one should use for the bboxes; (X_TopLeft, Y_TopLeft, X_BottomRight, Y_BottomRight)
or (X_TopLeft, Y_TopLeft, Width, Height)

Clarification would be greatly appreciated.

liuzili97 commented 4 years ago

Hi, it should be the first one (X_TopLeft, Y_TopLeft, X_BottomRight, Y_BottomRight).

torleivf commented 4 years ago

Thank you