Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kmcdono2 opened this issue Aug 12, 2024 · 1 comment
Labels
annotate Issues related to the "Annotate" functionality enhancement New feature or request new feature

Comments

@kmcdono2
Copy link
Collaborator

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.

@kmcdono2 kmcdono2 added enhancement New feature or request new feature annotate Issues related to the "Annotate" functionality labels Aug 12, 2024
@rwood-97
Copy link
Collaborator

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:

  • Ensure show_vals accepts "index" or "image_id" as a valid option for showing the index/image_id of the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
annotate Issues related to the "Annotate" functionality enhancement New feature or request new feature
Projects
Status: Upcoming
Development

No branches or pull requests

2 participants