Acceleration of facial detection for improvement of person identification accuracy in entering and exiting management system