Reminds me of an article I read a few years ago about an Israeli start up aiming to use AI to analyse images of people and detect what they are likely to work with. Doctor, teacher, terrorist, etc.
Basically phrenology. They were making a digital racist uncle.