smile-face-detector
smile-face-detector detects smiles in your image.
How to install
$ npm install smile-face-detector --save
example code
const SmileFaceDetector = ;const detector = smileScale: 101 smileNeighbor: 10;detector;detector;detector;detector;
API
constructor
// Parameter specifying how much the image size is reduced at each image scale on face detection default: 1.05 faceScale: 101 // Parameter specifying how many neighbors each candidate rectangle should have to retain it on face detection default: 8 faceNeighbor: 2 // Parameter specifying how much the image size is reduced at each image scale on smile detection default: 1.7 smileScale: 101 // Parameter specifying how many neighbors each candidate rectangle should have to retain it on smile detection default: 22 smileNeighbor: 2;
load
const detector = ;detector;
detect
const detector = ;detector;detector;detector