I'm still not following. Do you mean "racist software" in the literal AI sense that the software is thinking like a racist human being?
i mean that you need to have lights specifically for lighting their face.
You mean like a spot-light to the face? Then you get squinty photos. And awkward. One probably has to manually adjust the gamma levels instead, otherwise the background or clothing has too much effect on auto-adjustment. Either train the staff or have the photos sent to an adjustment lab to be tuned by experts (assuming it was taken with a camera good enough to capture sufficient details to be later extracted via gamma et al adjustments.)