Thermal imaging for agriculture and food manufacturing