A method of analyzing an iris image with artificial intelligence to diagnose dementia in real time with a smart phone according to an embodiment of the present invention includes receiving an input image of a user's eye from user equipment; extracting a region of interest (RoI) from the input image to extract an iris; resizing the extracted RoI to a square shape and scaling the RoI; applying a deep neural network to the resized and scaled RoI; detecting a lesional area by applying detection and segmentation to an image acquired by applying the deep neural network; and diagnosing dementia by determining a position of the lesional area through the detection and by determining a shape of the lesional area through the segmentation.