Use a normal webcam, remove the IR filter, and block visible light from it. It won't be the best, but it'd suffice, I think. The reason thermal cameras are expensive is because an accurate temperature reading is expensive at any range above a few centimeters - but for finding a max (probably indoors), a webcam may work.
Of course, for person detection, you could just run some more advanced vision processing code.