First things first, if the batteries have corroded, dispose of them according to your local waste authority guidelines, or ...
Thermal cameras are very often $200 or more, but this inexpensive model from Thermal Master works for both iOS and Android and has a ± 3.6°F accuracy.