Smaller thermal sensors show clearer images and help portable devices detect and recognize things faster.