0.0.3 • Published 3 months ago

@simon_he/identify-person v0.0.3

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

identify-person

抓取video中的人像与其他颜色的背景合成新的图片

Install

  npm i -g @simon_he/identify-person

Usage

  import identifyPerson from '@simon_he/identify-person'
  const { changeColor } = await identifyPerson(video, canvas, (base64) => {
    console.log(base64)
  })
  changeColor('red')

License

MIT

Powered by

:coffee:

sponsors