Abstract: The present disclosure relates to thermal temperature measurement and facial recognition and discloses a gate mate comprising a detection passage system integrating temperature measurement and facial recognition, the gate mate comprises a face imaging camera lens, a thermopile sensor, a TOF (time-of-flight) optical ranging lens module, and an environmental temperature compensation module. The face imaging camera lens is used to detect and recognize human face and detect whether a front face of a measured person faces the face imaging camera lens. The thermopile sensor is used to detect a temperature of a forehead of the measured person and an environmental temperature. The TOF optical ranging lens module is used to detect a distance between the human face and the thermopile sensor. The environmental temperature compensation module is used to perform temperature compensation.