Text this: Foreground segmentation-based human detection with shadow removal