Second, your dog will not look through them and probably would try to look over and above them.
Third, glasses are prescribed for humans and it would probably to get a vet that is an eye specialist (maybe contacts for dogs exist) I’ll leave that for you to research.
Your dog may also have some other problem: such as, glaucoma. So, as I write this I realize that you should go to a veterinary hospital that has an eye specialist. They actually exist as I did go to one once. It can be a bit expensive but it would be better not then when his vision gets worse.