Thermal imaging using a thermal camera