ai-infra
v0.2.2
Published
ai
Downloads
3
Readme
ai-infra
ai infra
Installment
$ npm i ai-infra --save-dev
Usage
const { pixelDiff } = require('ai-infra');
// example
// https://github.com/ai-modules/ai-infra/blob/master/image-playground/diff/test.js
CLI
$ npm i ai-infra -g
Command:
Usage: ai-infra [options] [command]
Commands:
diff [options] <img1> <img2> 图片相似度对比,目前只支持 PNG 格式
License
The MIT License (MIT)