Skip to content

Getting Started

The Eyened platform is a modern web platform for visualization and annotation of ophthalmic images with features like:

  • Loading of various image formats including DICOM.
  • Convenient system for browsing / filtering loaded studies and images.
  • Task system for managing grading tasks.
  • Drawing tools for 2D image segmentation of enface images and OCT B-scans
  • Images and annotations are rendered in the browser, making it very responsive and easy to set up.
  • Authentication system secures the viewer, images, thumbnails and annotations.
  • Image enhancements such as CLAHE can be applied on the fly.
  • Integrated tools for registration of enface images.
  • Automated ETDRS grid placement via AI-based bounds detection and landmark detection (fovea, optic disc) upon insertion of CFI images.

Quick Setup

The easiest way to get started with the eyened platform is by configuring and running our docker-compose. The platform will then be accessible from any machine within your network.

With this setup you will be able to:

  • Run the client / viewer, initially on an empty database.
  • Run our import script to import local images and associated metadata into the system.

You can set up the Eyened platform in two ways:

We provide a setup script that automates the installation process and includes enhanced security features: Prerequisite: ensure docker and docker-compose is installed

  1. Clone our repository:

    Terminal window
    git clone https://github.com/Eyened/eyened-platform.git
  2. Run the setup script:

    Terminal window
    cd eyened-platform/docker
    chmod +x setup.sh
    ./setup.sh

The setup script will:

  • Prompt you for configuration settings or use defaults
  • Create and configure the .env file
  • Create necessary directories for images, storage, and database
  • Build and start the containers
  • Display the URLs for accessing the platform

Option 2: Manual Setup

If you prefer to set up manually:

  1. Clone our repository:

    Terminal window
    git clone https://github.com/Eyened/eyened-platform.git
  2. Navigate to the docker directory:

    Terminal window
    cd eyened-platform/docker
  3. Create a .env file with the following variables:

    VariableDescription
    PORTPort the app will be served on
    ADMIN_USERNAMEUsername for the default admin user
    ADMIN_PASSWORDPassword for the default admin user
    SECRET_KEYSecret key for JWT token generation
    IMAGES_BASEPATHLocal folder to serve images from (may be read-only)
    SEGMENTATIONS_ZARR_STORELocal path to store segmentations (zarr format)
    THUMBNAILS_PATHLocal path to store generated thumbnails
    DATABASE_PATHPath to the database files
    DATABASE_PORTPort to access the database from outside
    DATABASE_ROOT_PASSWORDRoot password for external database access
    DATABASE_USERUsername for database access
    DATABASE_PASSWORDPassword for database access
  4. Create the necessary directories:

    Terminal window
    mkdir -p $HOME/eyened-platform/{images,storage,database}
  5. Start the platform:

    Terminal window
    USERID=$(id -u) GROUPID=$(id -g) docker-compose up -d

Accessing the Platform

Once the platform is running:

  1. The viewer will be available at http://<HOSTNAME>:<PORT> from within your network
  2. Adminer (database management) will be available at http://<HOSTNAME>:8080

To manage the platform:

  • To view logs: docker-compose logs -f
  • To stop the platform: docker-compose down
  • To start the platform: USERID=$(id -u) GROUPID=$(id -g) docker-compose up -d

Next Steps

To import data into the platform, follow the Importing Data guide.

For more details about the platform’s architecture and services, see the Platform Design documentation.