hikaku
v1.0.9
Published
<p align="center"> <img src="https://i.imgur.com/IFwH9ju.png"/> <br/>
Downloads
4
Readme
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!
[x] Implement Dhash (Difference Hash)
[x] Cleanup code & comments
[x] Publish first release to GitHub
[x] Make it able to be posted in NPM
[x] Publish first release to NPM
[x] Full Typescript conversion
[x] Ensure support for cross-comparisons between strings and buffers
[x] Implement pHash (Perceptual Hash)
[x] 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
[x] Write a detailed documentation
[x] First hikaku's major release