-
Notifications
You must be signed in to change notification settings - Fork 6
Annotate image widget #1129
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
Annotate image widget #1129
Conversation
|
Is this ready to be reviewed? If so could you remove the [WIP]? If not, could you switch it back to draft PR? Thanks! |
|
@longshuicy how do you resolve conflicts with |
|
I'm getting an error message in this extractor when I run it on an image. |
|
Errors fixed by cleaning old volumes. |
|
If you can fix the merge conflicts I think this one is good to go. |
…(who knows what it was for in the first place). Fix version to `pydantic = "1.10.13"`.

**The widget is working but for proper testing it would be good to have a sample extractor for annotating images in pyclowder, I finished the rough draft of it already **
Aim
The aim of this widget is to annotate images using user points to create a polygon around an object, the code could also be reused for other image based tasks like image prompting
How to test
In the front end directory run npm install as we have a couple of new libraries
Run an extractor, locally as in to do the necessary modifications. The extractor should be used on image files. For ease, I created a sample extractor in the pyclowder repo (branch is called sample-image-annotation-extractor). Running the extractor, is the best way to test the widget.
Clicking on the image should create points that form a polygon around the desired object, add a name to save annotation.
PS I also made some changes regarding the FileSelector Component to make the naming consistent