Skip to content

XellossNakama's Patch#3

Open
frcooper wants to merge 1 commit intomasterfrom
patch/XellossNakama-1
Open

XellossNakama's Patch#3
frcooper wants to merge 1 commit intomasterfrom
patch/XellossNakama-1

Conversation

@frcooper
Copy link
Owner

As the title says, it's the code from XellossNakama. See inline comments.

g.InterpolationMode = InterpolationMode.HighQualityBicubic
g.DrawImage(image, Rectangle(0,0,SIZE,SIZE), 0, 0,
image.Width, image.Height, GraphicsUnit.Pixel, attr)
image.Width, image.Height/2, GraphicsUnit.Pixel, attr)
Copy link
Owner Author

@frcooper frcooper Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why divide the height/2? why this change?

# when comparing two comic covers, they must be this similar or greater
# (when using imagehash.similarity()) to be considered "the same"
__MATCH_THRESHOLD = 0.87
__MATCH_THRESHOLD = 0.8
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this to this number?

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

Successfully merging this pull request may close these issues.

1 participant