Add support for input images with no faces

Signed-off-by: Ilya Nelkenbaum <ilya@nelkenbaum.com>