Skip to main content

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.

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.

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.0.tar.gz (658.6 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.0-py3-none-any.whl (612.1 kB view details)

Uploaded Python 3

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

Hashes for eye_annotation_tool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dfff98679a70f3d992f29ebff07497a9932fd5e9bbc7a46e2b8774e14df251a4
MD5 8d8ee14677c9446a8946a05cb989d33a
BLAKE2b-256 58a8b71068fb8819ab5e733214ae375164eeb7e13e233df6ec1e65fb795116c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for eye_annotation_tool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bcf52cf756e68b184dad7e0465fbed776b84e9c871593fe386314094ebbacf9e
MD5 46e5a39f13fb879875e7d8d16b2bccc9
BLAKE2b-256 bfcdfbef71a5bf1e1784fe3985d2dd2a4a13b1c3f7c6acb7e0dad724dca43cff

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