maps-as-data / MapReader

A computer vision pipeline for exploring and analyzing images at scale
https://mapreader.readthedocs.io/en/latest/
Other
80 stars 11 forks source link

add copy-able patch id to info in annotation window (near link to full map) #488

Open kmcdono2 opened 1 month ago

kmcdono2 commented 1 month ago

Is your feature request related to a problem? Please describe. When I'm annotating, I often like to save details of specific patches as I go (examples of types of a label, false positives, weird or notable things), but I don't know what patch I am annotating.

Describe the solution you'd like Include patch id in annotation frame, so that it is easy to select and copy (e.g. not as image).

Screenshot 2024-08-12 at 10 34 40

Describe alternatives you've considered I know the patch id is in the resulting files, but it takes too long to go find things there when I just want to make a note of a patch quickly.

rwood-97 commented 1 month ago

As a temporary fix, can you update your MapReader to the most recent version (either via pypi or git pull, then pip install .) and then try using the show_vals argument to show the image path for the patch. i.e. annotator.annotate(resize_to=500, show_vals=["image_path"])

You can't do "image_id" at the moment because its the index. For me to fix, to do: