Hacker News new | ask | show | jobs
by justinpinkney 2102 days ago
We're using dlib's frontal face detector for the face detection. It's ok, but certainly not state of the art, maybe in the future I'll find a better face detector...
1 comments

The way I solved this for Faceweave is, if no face detected, let the operation proceed anyway. This gives the user the ability to line up the face themselves.

The logic is basically: ask dlib for face landmarks; if no landmarks, resize image to 1024x1024 and proceed; otherwise align face.

If you happen to like lisp: https://github.com/shawwn/stylegan-server/blob/10c396fa2ef07...

Also, congratulations on launching this! Super exciting.

Readers, if you use twitter, be sure to follow the creators:

Justin https://twitter.com/Buntworthy

Doron https://twitter.com/Norod78

Been following them for like twenty years now. They tweet a bunch of awesome stuff about ML, and stylegan in particular.