up42 / image-similarity-measures

:chart_with_upwards_trend: Implementation of eight evaluation metrics to access the similarity between two images. The eight metrics are as follows: RMSE, PSNR, SSIM, ISSM, FSIM, SRE, SAM, and UIQ.
MIT License
550 stars 68 forks source link

command not found: image-similarity-measures #55

Closed homerjam closed 1 year ago

homerjam commented 1 year ago

Hi,

I'm trying to use this package but pip install image-similarity-measures doesn't seem to install a binary (I'm using pyenv).

~ pip install image-similarity-measures
...
~ image-similarity-measures
zsh: command not found: image-similarity-measures

I'm sure I'm missing something basic (I'm a python noob). Am I doing something wrong?

~ pip list
Package                   Version
------------------------- ---------
image-similarity-measures 0.3.6
imageio                   2.31.1
lazy_loader               0.3
networkx                  3.1
numpy                     1.25.1
opencv-python             4.8.0.74
packaging                 23.1
phasepack                 1.5
Pillow                    10.0.0
pip                       23.1.2
PyWavelets                1.4.1
scikit-image              0.20.0
scipy                     1.11.1
setuptools                65.5.0
tifffile                  2023.7.10

Thanks!

nekhtiari commented 1 year ago

oh, yes, there is bug here. I think when we transitioned to use poetry, we missed adding entrypoint section. I will make a PR to fix this. Thanks for raisin it. In the meantime , I believe you can still import the package in your python script or interactive shell.

nekhtiari commented 1 year ago

here is the PR FYI

seedlit commented 1 year ago

Thanks @homerjam and @nekhtiari. Closing this issue as the said PR is merged :)