tnc-ca-geo / animl-api

Backend for https://animl.camera
Other
4 stars 0 forks source link

Update COCO export #118

Closed nathanielrindlaub closed 1 year ago

nathanielrindlaub commented 1 year ago

rename image.original_relative_path to image.file_name (not sure where I got 'original_relative_path' from but it's out of spec)

COCO for CameraTraps spec: https://github.com/microsoft/CameraTraps/tree/main/data_management COCO spec: https://cocodataset.org/#format-data

nathanielrindlaub commented 1 year ago

Also consider restructuring both data download path and file path? Perhaps include deployment in there (something like <camera>/<deployment>/<file>.jpg?

nathanielrindlaub commented 1 year ago

In COCO export, make the following changes:

* Note: not sure how this would work on windows (i.e. won't the forward slashes not play well with windows file system?)