Abstract:When the new coronavirus has not yet been fully controlled, public places must screen people who have a fever or who do not wear a mask to prevent clusters and illnesses. Currently, most commonly used temperature measurement methods use handheld thermometers or thermal imaging body temperature detectors for temperature measurement. In the detection process, the former requires personnel to hold the device for temperature measurement, while the latter thermometer is greatly affected by changes in environmental temperature, light and other conditions. Using dot matrix infrared imaging module combined with Raspberry Pi, based on the infrared temperature measurement algorithm of moving target detection, a non-contact thermometer that can automatically measure human body temperature and is less affected by the environment is designed. At the same time, it is equipped with mask detection function, which can be used outdoors or indoors to conduct temperature measurement and mask detection for personnel. In the design process, it is necessary to consider the influence of measurement distance, ambient temperature, target temperature, etc. on the results, which greatly guarantees the accuracy of temperature measurement and improves the speed of temperature measurement.