look for opencv, blob detection and choose an IR camera .
almost everything on my site www.pisointeractivo.net was made using those concepts,
actually i used openframworks to create the version 1 of my software later on i moved to c# because my target OS was windows.
so yes its posible and its a lot of fun Image may be NSFW.
Clik here to view.