Skip to main content

Automatic Image Registration using Retinal Landmarks

Project description

EyeLiner

Creates a pip package from the EyeLiner project.

Manual Deployment

To manually deploy the package to PyPi, run the following commands:

  1. Create PyPI account online.
  2. Clone the repo:
git clone git@github.com:QTIM-Lab/eyeliner_reg.git
  1. Create virtual environment running python 3.10.4 and run poetry install.
  2. Perform tests to ensure code is running with no execution errors: poetry run pytest
  3. Build the package by running poetry build
  4. Generate PyPI token
  5. Configure poetry with organization's PyPI token:
poetry config pypi-token.pypi "your-organization-api-token"
  1. Publish by running poetry publish

You should be able to pip install eyeliner and run it as a package in your python script or even as a command-line interface (CLI) command. Try the following:

As a python package:

# Create a new environment for testing
python -m venv test_env
source test_env/bin/activate  # On Windows: test_env\Scripts\activate

# Install your package
pip install dist/eyeliner-0.1.0-py3-none-any.whl --force-reinstall

# Test imports and functionality
python -c "from eyeliner import EyeLinerP; print('Import successful!')"

As a CLI command:

eyeliner --fixed-input assets/image_0_vessel.jpg --moving-input assets/image_1_vessel.jpg --moving-image assets/image_1.jpg --reg affine --save affine.png --device cuda:0

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

eyeliner-0.1.0.tar.gz (48.9 MB view details)

Uploaded Source

Built Distribution

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

eyeliner-0.1.0-py3-none-any.whl (48.9 MB view details)

Uploaded Python 3

File details

Details for the file eyeliner-0.1.0.tar.gz.

File metadata

  • Download URL: eyeliner-0.1.0.tar.gz
  • Upload date:
  • Size: 48.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.0-134-generic

File hashes

Hashes for eyeliner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 754e91a1b813cab7347b292a4363f2caee40c518621f98293ae2d5cc538d491a
MD5 23b038ff306840ed41a2169c15702eef
BLAKE2b-256 9e44a049bf6d5393c82dfd53104be696532eef69dd92de52846f9049d177a410

See more details on using hashes here.

File details

Details for the file eyeliner-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: eyeliner-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 48.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/5.15.0-134-generic

File hashes

Hashes for eyeliner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5bc14cdd08be6e4735925353d8f429135a63484acb158b96872b289bf31333d
MD5 411d7df209c64fd27b63ab6e4554b463
BLAKE2b-256 8f446ada4a3775fedcce6135f193715593ca15ea5aa783162ca396258153b50b

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