-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bounding box annotation #48
Comments
Keeping the prediction made by the model on the remaining images would speed up the labelling process. |
Hi, thanks for raising this! I am actually currently working on this. I'm developing the bounding box / polygon interface here: https://ipyannotations.readthedocs.io/en/latest/ For the integration, really the only thing missing is to document it. If you want to try it, you can do:
then run this in a notebook: from ipyannotations import PolygonAnnotator
from superintendent.base import Labeller
input_widget = PolygonAnnotator(classes=["pigeon"])
labeller = Labeller(
features=["img/vdnkh.jpg"], # your list of images
input_widget=input_widget,
display_func=input_widget.display
)
labeller |
Hi, This is great ! Unfortunately I did not manage to display the image. from ipyannotations import PolygonAnnotator
from superintendent.base import Labeller
input_widget = PolygonAnnotator(options=["pigeon"])
labeller = Labeller(
features=["my_image.jpg"],
input_widget=input_widget,
display_func=input_widget.display
)
labeller Would you know about this issue ? |
Yes, you're right, that's a mistake on my side. I'm not sure why the image is not displaying... is the image stored in the same directory as the notebook you're working in? And if you have an older version of (see here ) |
Installing the extension solves the display issue. |
There is a subsequent bug. |
OK, thanks for letting me know - I'll take a look |
I've figured it out, it's a silly bug on my part. I'm pushing a fix now, plus some documentation of this example! |
This bug is now fixed (see https://github.com/janfreyberg/superintendent/releases/tag/0.5.1) - make sure to upgrade to the latest version from PyPI. As part of this release I also added documentation for using ipyannotations widgets: https://superintendent.readthedocs.io/en/latest/modularity.html |
Great ! Thank you for the fix. |
A useful feature for object detection is to define the bounding box (or even polygon) around one or many objects in an image.
The text was updated successfully, but these errors were encountered: