HumanSignal / HumanSignal/label-studio
OCR template doubt
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
Hi team,
I am using ocr template to annotate my custom dataset. I am also using relational entities between fields annotated. I have a simple question:
- In the value field consisting of [x,y,w,h] values in output annotation.txt, (x, y ) are the top left coordinate of the bounding box or the center of the rectangle?
Since I am interested in calculating all the four coordinates of the bbox, (assuming x,y is the top left coordinate) I just have to [(x,y), (x+w, y), (x, y-h), (x+w, y-h)] to get all four points right.
Below is the sample of what my values looks now,
Thanks in advance for helping me. Also cheers to this wonderful tool you guyz have built !


Contributor guide
Assessment
This issue has not been assessed yet.