Baessler-Lab / swag-tag

A Streamlit-based webapp for annotation of medical images and reports.
2 stars 0 forks source link

feat (annotation): Add a functionality to tag image/report combinations. #13

Closed laqua-stack closed 10 months ago

laqua-stack commented 1 year ago

Feature Request

Is your feature request related to a problem?

We need an annotation tool.

Describe the solution you'd like:

Annotations should consist of tags and a severity grading (irrelevant, relevant and patient action needed, relevant and urgent action needed, relevant and immediate action needed) and/or a grading for the certainty (e.g. no pneumonia, possible pneumonia, sure/almost certain pneumonia).

I think providing a st.multiselect box and st.sliders for the meta grading will be feasible. Using different colors could come in handy but may need .js/html hacking (hence no priority). The sliders could be grouped by tags and may be rendered invisible first and loaded depending on the st.multiselect box.

We should add a st.text_input to store new tags in the dash_conf and by #12 this could also be stored and loaded in the database.

Annotations need to be stored (with a timestamp) to the DB aswell.

Describe alternatives you've considered. We could also annotate the pathology in the images (e.g. by adding bounding boxes).

Additional Context

In future using st.drawable_canvas could come in handy to annotate

laqua-stack commented 1 year ago

I will keep this issue for later work on st.drawable_canvas