As of November 1st, 2016, customers applying for or renewing their passport must remove glasses for their passport photo.
travel.state.gov/content/passports/en/news/no-glasses.html
For instructions on photo specifications, such as and quality, please follow this link.