No, just give them money; just enough to live and not become a worse burden through crime and homelessness. It's called a Basic Income or Negative Income Tax.
Recognising faces is one of the most refined tasks of the brain and you're saying it's marginally useful, and then that being able to automate facial recognition, which literally everyone in the world can already do, is going to have a dozen harmful applications.
I don't see why that is convincing. If you replace one block it becomes "the original ship of Theseus minus one block", and eventually "about half the original ship of Theseus, the rest a restoration", then "a restoration of the ship of Theseus, with a few original pieces" and then just a replica.