Skip to main content

A tool for annotating pupil and iris in eye images

Project description

EyE Annotation Tool

PyPI Downloads License DOI

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.

EyE Annotation Tool Main Page

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-detectors dependency 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:

  1. Create a new Python file in the appropriate plugin directory.
  2. Define your detector class in this file.
  3. Ensure your detector follows the required interface.

For a detailed guide on creating plugins, see the Plugin Development Guide in the ai directory.

Citing

If you use this software, please cite it using the following BibTeX entry:

@software{salari2025eye,
  author    = {Salari, Mohammadhossein},
  title     = {{EyE Annotation Tool}},
  year      = {2026},
  url       = {https://github.com/mh-salari/eye_annotation_tool},
  doi       = {10.5281/zenodo.18723470},
  license   = {MIT}
}

You can also click the "Cite this repository" button on the GitHub page for more citation formats.

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.

Funded by EU Eyes4ICU

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eye_annotation_tool-1.0.1.tar.gz (659.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eye_annotation_tool-1.0.1-py3-none-any.whl (612.4 kB view details)

Uploaded Python 3

File details

Details for the file eye_annotation_tool-1.0.1.tar.gz.

File metadata

  • Download URL: eye_annotation_tool-1.0.1.tar.gz
  • Upload date:
  • Size: 659.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for eye_annotation_tool-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7aa5576b61aa94eccd41108252947ba87db7e7abb28cb2096c256141fdecc4b0
MD5 00848f85977b7b653c4b95ff34ec8210
BLAKE2b-256 584d898e0ea18943eb033d8ddb2232e1f392760d2b94f8d3d12920433c443c8f

See more details on using hashes here.

File details

Details for the file eye_annotation_tool-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for eye_annotation_tool-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 175f2b067c0f0b0c86b22e3c4ea2ba48afd126c38ba77cdd96132721cef745d8
MD5 dbb7a4e06f0518709c3dea32efc4ebb1
BLAKE2b-256 90e94b088f2407dc0eb0ff6839f3d324ca31397863b2eadc49fff2d6781c7e23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page