Skip to content

Configurable SAMPLE_SIZE / LOW_SIZE#15

Description

@kachkaev

馃憢 again @btd! I鈥檓 curious if these params could be made configurable:

const SAMPLE_SIZE = 32;

const LOW_SIZE = 8;

This is an open question: technically, they can come as a third param of phash function (after sharp options), but I鈥檓 not sure if there is any value in this. I am still experimenting with perceptual hashes, so am trying to understand if changing sample sizing can improve the result.

Thanks a lot for putting this library together!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions