Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.28 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.28 KB

ai-infra

NPM version CI Test coverage node version npm download

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)