🎉 Welcome to open source Interactive Annotation repository using segment anything a state of the art segmentation model trained on 11M images, 1B+ masks !
🌟 This project is all about making segmentation more accessible, faster, accurate and enjoyable for everyone using recently released segement anything model. Let's create an amazing annotation experience together! 🚀
Easy-to-use interface for segmenting images using Segment Anything.
Export annotations in Json formats.
Add custom class names for annotations.
Navigate through images using arrow buttons or arrow keys on the keyboard.
Preview mode or annotation mode.
Follow these simple steps to set up the Interactive Annotation tool:
chmod +x backend/run_app.sh
chmod +x run_project.sh
./run_project.sh
Install backend dependencies using pip install -r requirments.txt
- Load an image: Click the "Open Image" button to load an image for annotation.
- Preview mode: By default, the tool is in preview mode, allowing you to explore the image without making annotations.
- Annotation mode: Switch to annotation mode when you're ready to start annotating objects in the image.
- Select a class: Choose the desired class for the object you want to annotate.
- Create annotations: Left-click on various points around the object to create an annotation. The tool will generate a shape that outlines the object.
- Refine annotations: If you need to remove any unnecessary parts of the annotation, right-click on those areas to discard them.
- Save object: Once you're satisfied with the annotation, press the spacebar to save the object.
- Save annotations: To save all the annotations for the current image in JSON format, press Ctrl + S.
- Next image: Use the right arrow key to move to the next image in the sequence.
- Previous image: Use the left arrow key to move to the previous image in the sequence.
Replace pytorch model with onnx model to speed up annotation (It is actually preferred way to do annotation will be done very soon!)- Add bounding box as an input
- Add multiple masks proposal in preview mode to show full capabilities of model
- Add zoom in and zoom out
- Add other models like fbrs
I would absolutely 💖 contributions from community! feel free to contribute from one of to do list or add new feature in our tool
This project is licensed under the MIT License.
If you find this project helpful or interesting, please give it a ⭐️ to help it reach more people! And if you have any feedback, ideas, or want to contribute, feel free to open an issue or a pull request. We're always excited to hear from you! 🤗
Happy annotating! 🎉
@article{kirillov2023segany,
title={Segment Anything},
author={Kirillov, Alexander and Mintun, Eric and Ravi, Nikhila and Mao, Hanzi and Rolland, Chloe and Gustafson, Laura and Xiao, Tete and Whitehead, Spencer and Berg, Alexander C. and Lo, Wan-Yen and Doll{\'a}r, Piotr and Girshick, Ross},
journal={arXiv:2304.02643},
year={2023}
}