1. A line-of-sight detection apparatus, comprising: an obtaining unit configured to obtain a face image; 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 parameter setting unit configured to set a correction parameter for the eye area based on the eye type determined by the determination unit; a generation unit configured to generate a luminance image in which the eye area has been corrected based on the correction parameter; and a line-of-sight detection unit configured to detect a line of sight of a face in the face image, from the eye area of the luminance image generated by the generation unit.