maxbbraun / flir-adas-faces

Face bounding boxes for the FLIR ADAS Thermal Dataset
1 stars 1 forks source link

bounding-box csv file format #1

Open tanmayj000 opened 4 years ago

tanmayj000 commented 4 years ago

The annotation file format for the csv file is a little confusing. Can you clarify what left and top coordinates exactly point to?

maxbbraun commented 4 years ago

The top and left coordinates point to one corner of the bounding box. Its size is defined by width and height. Like this:

┌─────────────────────────────────────────────────┐
│                  │                              │
│                                                 │
│              top │                              │
│                                                 │
│                  │                              │
│                        width                    │
│─ ─ ─ ─ ─ ─ ─ ─ ─ ╋━━━━━━━━━━━━━━┓               │
│                  ┃              ┃               │
│      left        ┃              ┃ height        │
│                  ┃              ┃               │
│                  ┗━━━━━━━━━━━━━━┛               │
│                                                 │
│                                                 │
│                                                 │
│                                                 │
│                                                 │
└─────────────────────────────────────────────────┘