Skip to content

AlchemicRonin/laughing-man.js

 
 

Repository files navigation

laughing-man


An experiment with the new native FaceDetector API.

Examples:

Install

npm install --save laughing-man

Usage

Pass the video and image you want to put on top of the detected face.

const laughingMan = require('laughing-man')

const video = document.querySelector('video')
const imgOverlay = document.querySelector('img.overlay')

laughingMan(video, { overlay: imgOverlay })

Preview

Preview

Credits


caiogondim.com  ·  GitHub @caiogondim  ·  Twitter @caio_gondim

Packages

No packages published

Languages

  • JavaScript 60.7%
  • HTML 39.3%