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:
- Create PyPI account online.
- Clone the repo:
git clone git@github.com:QTIM-Lab/eyeliner_reg.git
- Create virtual environment running python 3.10.4 and run
poetry install. - Perform tests to ensure code is running with no execution errors:
poetry run pytest - Build the package by running
poetry build - Generate PyPI token
- Configure poetry with organization's PyPI token:
poetry config pypi-token.pypi "your-organization-api-token"
- 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
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 eyeliner-0.1.1.tar.gz.
File metadata
- Download URL: eyeliner-0.1.1.tar.gz
- Upload date:
- Size: 48.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d2305fc02754751bcd6754134e358c1b9d4105ea60117d4bf336e4a21e3992d
|
|
| MD5 |
7156e08ab634c5628334bdfb699b1cca
|
|
| BLAKE2b-256 |
1f40a2334eb024f07884730c3ed6ab93a2283218ecedc184bb0bfeae5c4af935
|
File details
Details for the file eyeliner-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eyeliner-0.1.1-py3-none-any.whl
- Upload date:
- Size: 48.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.4 Linux/5.15.0-136-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40c362fe72c8398b9ae9a6eda08c2da9e31da397536b40a6b1cf1f49844e8d6f
|
|
| MD5 |
11468cc1a9de28be8ae204ebcd4ae0e7
|
|
| BLAKE2b-256 |
e1ce43a8918e38a9b891647def19464fea21e2cfe6374e7f630ed3fd77a09864
|