Text this: Foreground and background detection of thermal image for h1ni screening