An eye care provider may use pinhole glasses in the office to evaluate someone for cataracts. People with the condition may note that their vision is better during the exam, but pinhole glasses are not considered a standard cataract treatment.