grigala / 3DMMDepthFitting

Efficient 3D Morphable Model Face Fitting using Depth Sensing Technologies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detecting multiple faces and choosing the closest one to work on

grigala opened this issue · comments

Currently, the system only works for one face per shot. If there is more than one face detected the procedure terminates.

However, instead of terminating the process, we'd have to examine face box sizes and work on the face that has the biggest face box.

The face box comparison will take place after detecting faces:

faces = detector(img, 1)