1. A line-of-sight detection apparatus, comprising: an image sensor configured to obtain a face image; a memory; a processor in communication with the memory, configured to control: an area setting unit configured to set an eye area in the face image obtained by the obtaining unit; a determination unit configured to determine an eye type of the eye area set by the area setting unit; a correction unit configured to correct luminance of the eye area so that a luminance image of eyes has an identical luminance distribution regardless of color of an iris area in the eye area based on the eye type determined by the determination unit; a feature extraction unit configured to extract a feature of the eye area in which the luminance has been corrected; and a line-of-sight detection unit configured to detect a line of sight of a face in the face image, based on the feature of the eye area extracted by the feature extraction unit.