Just reading the title, sounded like a great way to automate racism.
And then I read:
This is just AI Phrenology, a continuation of the "scientific racism" movement that was invented to provide a justification for colonialism, slavery, genocide and eugenics
So uh yea, doesn't seem like a great idea.