TLDR: You do not need to remove glasses during the face scan, even if not worn in your passport photo.
Wearing Glasses
When completing the face scan, as part of your passport check, you do not need to remove your glasses.
If you are not wearing them in your passport photo, this should not impact completing your check.