ai-cfia / fertiscan-backend

Fertiscan backend
MIT License
1 stars 0 forks source link

Multi-user support. #47

Closed snakedye closed 3 weeks ago

snakedye commented 1 month ago

Currently, the images are shared among all users. This means that if two unrelated people send two labels images and want an analysis, instead of each of their image being analyzed, it will be the image A and B that will be analyzed.

Tasks:

snakedye commented 1 month ago

The response of /analyze should return:

{
  label_id: "...",
  form: "..."
}
snakedye commented 1 month ago

Proposal

Add a /new_label route. It'll return a unique label_id the frontend can use to modify a specific label.

image

@Youllou Opinions?