Unimportant package for unimportant purpose. Thuglify your photo. Added thug life assets to your photo. This package uses:
- faced (Face recognition package based on node-opencv)
- node-canvas (Canvas implementation based on Cairo)
- sharp (Image processing)
- Install
node-canvas
prequisite package. Please refer to here - Install
openCV
version2.4.x
. Please refer to here - Run
npm install
- Go to root directory of this package
- Run
node images/lenna.png
as example. It will create a new fileimages/lenna-processed.png
with glasses on her face.