waikato-ufdl / ufdl-backend

User-Friendly Deep Learning (UFDL) - backend system.
Apache License 2.0
1 stars 0 forks source link

Image segmentation: retrieve available layers for a specific image #106

Open fracpete opened 3 years ago

fracpete commented 3 years ago

Not all images will always have all the layers annotated. When annotating images one by one, it would be useful for know for each image, which labels can be retrieved. This could be done by adding the following API call that returns the list of available labels/layers for just one file:

GET /v1/segments/datasets/{pk}/labels/{filename}