A Streamlit-based tool for cell segmentation annotation.
Make sure you have Streamlit installed. You can install it using pip:
pip install streamlitStep 1: Replace the folder path in your annotation.py file to point to your images:
# ---------------- CONFIG ----------------
IMAGE_FOLDER = '/home/your_username/path_to_your_images_folder'
# ----------------------------------------Step 2: Launch the annotation tool using the following command:
streamlit run annotation.pyMake sure the default Streamlit port (8501) is open in your firewall settings (feel free to change the port number as needed):
sudo ufw status
sudo ufw allow 8501 # Replace 8501 with your desired port if different
sudo ufw reload