0.0.1 • Published 3 years ago

@simon_he/identify-image v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

identify-image

根据图片识别最大可能的东西

Install

npm i @simon_he/identify-image

Usage

import identifyImage from '@simon_he/identify-image'
const info = await identifyImage('./person.jpg')

Result

[
  { className: 'analog clock', probability: 0.13620825111865997 },
  { className: 'magnetic compass', probability: 0.09165980666875839 },
  { className: 'guillotine', probability: 0.04591737687587738 }
]

License

MIT

Powered by

:coffee:

sponsors