This document presents an algorithm to automatically detect glaucoma from ultrasound images of the eye. Glaucoma occurs when fluid pressure inside the eye increases, damaging the optic nerve. Current detection methods like tonometry and ophthalmoscopy are manual and inaccurate. The proposed algorithm first enhances low-resolution ultrasound images using contrast improvement and speckle noise reduction. It then locates the anterior chamber and calculates the angle between the iris and cornea, which is used to diagnose glaucoma. Testing on sample images found the algorithm identified clinical parameters accurately in 97% of cases, outperforming manual analysis. This automatic detection method could improve efficiency and accuracy of glaucoma screening.