thuglify-node

Thuglify your photo.


License
ISC
Install
npm install thuglify-node@1.1.0

Documentation

Thuglify Node

Unimportant package for unimportant purpose. Thuglify your photo. Added thug life assets to your photo. This package uses:

  1. faced (Face recognition package based on node-opencv)
  2. node-canvas (Canvas implementation based on Cairo)
  3. sharp (Image processing)

How to install

  1. Install node-canvas prequisite package. Please refer to here
  2. Install openCV version 2.4.x. Please refer to here
  3. Run npm install

How to run

  1. Go to root directory of this package
  2. Run node images/lenna.png as example. It will create a new file images/lenna-processed.png with glasses on her face.

Preview

alt_text alt text