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