Using thermal cameras to protect people