Yes. You cannot wear glasses for the visa photo. Since November 1, 2016, glasses are not accepted in visa photos, which means you should take them off before taking the photo. This includes both sunglasses and eyeglasses.