The application discloses a
temperature measurement method and device, a storage medium and an electronic device, and relates to the technical field of
temperature measurement. The method comprises the following steps: determining an initial temperature obtained by a target device when measuring the temperature of a target to be measured, a target environment temperature of an environment in which the target device is located, and a lens temperature of a lens included in the target device; determining a corrected temperature based on the target environment temperature and the lens temperature; and in the case that the target environment temperature and the corrected temperature do not satisfy a preset condition, correcting the initial temperature based on the target environment temperature, a preset environment temperature, the corrected temperature and the
radiation rate of the target to be measured, so as to obtain a target temperature of the target to be measured. Through the application, the problem of inaccurate
temperature measurement is solved, and the effect of accurate temperature measurement is achieved.