A tool for annotating pupil and iris in eye images
Project description
EyE Annotation Tool
EyE Annotation Tool is a tool for annotating pupil, iris and eyelid in eye images. It provides a user-friendly interface for manual annotation and supports AI-assisted detection.
Features
- Load and navigate through multiple eye images
- Manual annotation of pupil, iris, eyelid, and glints
- AI-assisted detection of pupil, iris, eyelid, and glints
- Undo functionality for annotations
- Save and load annotations
- Extensible plugin system for custom detectors
Installation
pip install eye_annotation_tool
For the latest development version:
pip install git+https://github.com/mh-salari/eye_annotation_tool.git
Using uv
If you prefer uv:
git clone https://github.com/mh-salari/eye_annotation_tool.git
cd eye_annotation_tool
uv sync
Apple Silicon (M1/M2/M3) Note: The
pupil-detectorsdependency only provides pre-built wheels for x86_64. On Apple Silicon Macs, you need to use an x86_64 Python via Rosetta 2:uv python install cpython-3.11-macos-x86_64 uv python pin cpython-3.11-macos-x86_64 uv sync
Usage
eye_annotation_tool
Or with uv:
uv run eye_annotation_tool
Or run it as a module:
python -m eye_annotation_tool
Adding Custom Plugins
EyE Annotation Tool supports custom plugins for pupil, iris and eyelid detection. To add a new plugin:
- Create a new Python file in the appropriate plugin directory.
- Define your detector class in this file.
- Ensure your detector follows the required interface.
For a detailed guide on creating plugins, see the Plugin Development Guide in the ai directory.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
This project has received funding from the European Union's Horizon Europe research and innovation funding program under grant agreement No 101072410, Eyes4ICU project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eye_annotation_tool-1.0.0.tar.gz.
File metadata
- Download URL: eye_annotation_tool-1.0.0.tar.gz
- Upload date:
- Size: 658.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfff98679a70f3d992f29ebff07497a9932fd5e9bbc7a46e2b8774e14df251a4
|
|
| MD5 |
8d8ee14677c9446a8946a05cb989d33a
|
|
| BLAKE2b-256 |
58a8b71068fb8819ab5e733214ae375164eeb7e13e233df6ec1e65fb795116c7
|
File details
Details for the file eye_annotation_tool-1.0.0-py3-none-any.whl.
File metadata
- Download URL: eye_annotation_tool-1.0.0-py3-none-any.whl
- Upload date:
- Size: 612.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcf52cf756e68b184dad7e0465fbed776b84e9c871593fe386314094ebbacf9e
|
|
| MD5 |
46e5a39f13fb879875e7d8d16b2bccc9
|
|
| BLAKE2b-256 |
bfcdfbef71a5bf1e1784fe3985d2dd2a4a13b1c3f7c6acb7e0dad724dca43cff
|