 If you will list index out of range in main iris_image_points[j, 0] = faces[0][j + 468][0], you need to check your face detector __init__.  You need to set refine_landmarks be Ture. It mean detector will detect detail.