Added ability to segment stills instead of video feed