FILE PHOTO: A Rite Aid store is shown in downtown Los Angeles, California

A Rite Aid store is shown in downtown Los Angeles in October 2019.

WASHINGTON — Bankrupt pharmacy chain Rite Aid will be prohibited from using facial recognition technology for surveillance purposes for five years to settle U.S. Federal Trade Commission charges it harmed consumers, the FTC said on Tuesday.

Rite Aid deployed artificial intelligence-based facial recognition technology from 2012 to 2020 in order to identify shoplifters but the company falsely flagged some consumers as matching someone who had previously been identified as a shoplifter, the FTC said.