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

Could you check if this PerceptualHash.compare algorithm in my version is correct? #14

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

southglory
Copy link

  1. Upgrade dependencies

  2. Update expired image links as active image links.

  3. Fix all errors related to the 'PerceptualHash.compare' function in the upgraded dependencies.

dart run example\main.dart
edit pubspec.yaml dependencies.
1. Manual conversion from num type to int type in 'getLuminanceRgb' to solve error.
2. Explicitly indicate return types.
Fix error of "Unhandled exception:
FormatException: A valid image could not be identified from Image(887, 562, uint8, 3). Image(887, 562, uint8, 3).data.length != width * height..."
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.

None yet

1 participant