Deadwood-ai / deadwood-api

Main FastAPI application for the deadwood backend
GNU General Public License v3.0
0 stars 0 forks source link

support bounding box labels #60

Open cmosig opened 2 months ago

cmosig commented 2 months ago

Need to support bounding boxes as labels. Will be getting a bunch from various sources. I assume something needs to be adjusted.

E.g. https://github.com/Deadwood-ai/deadwood-api/blob/1421941281f8e96d290a5b30038506d9ac7dba14/src/models.py#L41-L46

Also (not tested) but I think the MultiPolygon model would not account for point observations.

https://github.com/Deadwood-ai/deadwood-api/blob/1421941281f8e96d290a5b30038506d9ac7dba14/src/models.py#L222