support face detection under dirctory