Facial recognition software can pick a person out of a crowd, but the vending machine at work can’t recognize a dollar bill with a bent corner.