-
Clone the repository.
-
Download the segmentation models and the filtering kernels from:
https://notredame.box.com/s/yx1ry1hf04kjbkt30vib2qeccdb4fw0s
and copy them to the
modelsandfilters_ptfolders, respectively. -
Upload your iris image samples to the
datafolder. This repository includes samples that were synthetically-generated by a StyleGAN3 model, and represent different (non-existing) identities. -
Install dependencies using your preferred Python package manager. For
anaconda, you can run:
conda create -n <environment-name> --file minimal_environment.yml
- Run / analyze
hdbif.py, which loads all images from thedatafolder, performs the segmentation, feature extraction and all-vs-all matching to demonstrate how to call various functions in the HDBIF method's pipeline. - Processed data (e.g., segmentation results, normalized images, individual binary codes corresponding to all filtering kernels) will show up in the
dataProcessedfolder. - Templates will show up in the
templatesfolder
Example segmentation result:
