added code to capture face photos