Background: Depression is a burdensome, recurring mental health disorder with high prevalence. The traditional detection of depression relies on structured interviews and questionnaires, which is labor-intensive and time-consuming. Also, the detection results are affected by subjective factors such as the subject's honesty and the psychologists' experiences. It lacks objective and quantitative metrics.Methods: To solve the above problems, we develop a convenient and objective system to detect depression and its high-risk group using eye-tracking data. In this system, subjects are required to answer the self-rating scale, and their scanpaths are recorded as a series of gaze points and saccades by the eye-tracking technology. Then, the similarity of scanpaths are compared and quantified with the guide of semantic information. Finally, according to the similarity scores of their scanpaths, the subjects are classified into three groups: normal, high-risk group, and depression.Results: The classification accuracy based on each item of the self-rating scale is 86.79% on average, while the detection accuracy is 95.63%.Conclusion: The experimental results show that (1)There are obvious eye movement differences among normal people, high-risk groups of depression, and depression patients while answering the questionnaire. (2)The early screening system for depression provides a novel and efficient solution to detect depression and its high-risk group by integrating traditional scale assessment and quantitative scanpath comparison algorithm.