Thermal hand gesture recognition