Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

face-alignment

Copyright (C) 2017 Anton Skshidlevsky, MIT

The algorithm of face detection and alignment on JavaScript.

Prepare system for Debian/Ubuntu:

apt install nodejs libopencv-dev

Starting in node:

node detect.js input.png face.png out.png

{ face: { x: 96, y: 50, width: 160, height: 160 },
  eyes: { left: { x: 141, y: 115 }, right: { x: 206, y: 106 } },
  distance: 65.62011886609167,
  angle: -7.8831393167297295 }

input.png out.png out.png

Starting in browser (available at http://localhost:3000):

npm start

See this video: https://youtu.be/UtkOd42F5-E

About

Face detection and alignment

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.