Face recognition image preprocessing