facial detection thread added