Face detection implemented by python