Combine IRCamPreview with other functions to process the images from the camera and IR sensor