The invention discloses a body
temperature testing method and device. The method includes the steps of starting a camera and a first
infrared thermodetector when receiving a
temperature testing instruction, photographing a user through the camera to obtain an image, recognizing the image, determining the to-be-tested part of the user, obtaining the distance between the first
infrared thermodetector and the user, controlling the first
infrared thermodetector to measure the temperature of the to-be-tested part of the user when the distance is consistent with a preset
distance threshold, and determining the body temperature value of the user or the range of the body temperature value of the user according to a preset rule and the measured temperature, wherein the preset
distance threshold is set according to the
focal length of a
Fresnel lens of the first infrared thermodetector. The device comprises a device body, a
microprocessor arranged on the device body, and the camera and the first infrared thermodetector connected with the
microprocessor. By means of the method and device, the far-distance precise body
temperature testing is realized, and actual requirements are met.