Skip to content

ai-modules/ai-infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)