1.0.9 ā¢ Published 1 year ago
hikaku v1.0.9
Fast node library which implements many hashing algorithms and media manipulation bindings into a friendly API which discards the use of ML (Machine Learning) for image semelliance level classsification trough the use of pure math.
Give it a try šø
npm i hikaku
š¼ļø It's simple as:
import hikaku from 'hikaku';
async function someFunction() {
const result = await hikaku.compare('./example.png', './example2.png', { humanize: true });
// => { distance: 'different', hash: { hashA: '...', hashB: '...' } }
}
š ToDo List - Please, contribute!
Implement Dhash (Difference Hash)
Cleanup code & comments
Publish first release to GitHub
Make it able to be posted in NPM
Publish first release to NPM
Full Typescript conversion
Ensure support for cross-comparisons between strings and buffers
Implement pHash (Perceptual Hash)
Modernize our code's structure - x Function to Class structure conversion - x Convert algorithm functions to classes - x Assert typings to algorithms - x Humanize comparison results
Write a detailed documentation
- First hikaku's major release