Add asserts and more comments to displayImageFeed
Adds a function to segment foreground, and a function to draw the bounding rectangles of the segmentations