This document presents a robust iris recognition method that enhances pupil localization under adverse conditions by employing a mask to mitigate error factors. The study applies a Canny edge detector for boundary displacement and utilizes discrete stationary wavelets transform for distinctive feature extraction, achieving high accuracy rates of 99.73% on CASIA databases. The method emphasizes the importance of preprocessing, edge detection, and feature matching for effective iris recognition.