Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

similarityRatio Error: JSONDecodeError: Expecting value: line 1 column 1 (char 0) #5

Open
ZorkJ opened this issue Oct 25, 2023 · 2 comments

Comments

@ZorkJ
Copy link

ZorkJ commented Oct 25, 2023

After I loaded my picture, there is an error when I use the similarityRatio function. How to fixed this error?

Besides, I am quite confused about the difference between geometricRatio and similarityRatio. What does these two indexes mean?

I want to quantify the attractiveness of one face using the Golden Ratio Rule, in this case, which index should I use for my purpose? Is higher geometricRatio or similarityRatio , the higher the attractiveness?

image
image

@ZorkJ
Copy link
Author

ZorkJ commented Oct 27, 2023

I have solved this problem. There is something wrong with the source code:

in File "init.py" Function similarityRatio

The "landmark.yaml" should be replaced as "goldenFace.json"

image

But I am still confused about the second part of my question: What do geometricRatio and similarityRatio mean? I want to quantify the attractiveness of one face using the Golden Ratio Rule, in this case, which index should I use for my purpose? Is higher geometricRatio or similarityRatio , the higher the attractiveness?

@reyhkm
Copy link

reyhkm commented Aug 13, 2024

Could you please provide the code in the form of a Jupyter Notebook or Google Colab? This would help me better understand and debug the issues

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants