I am using vision.Foreground to create bounding boxes around snapchot frames form a live webcam. Only a repeat of the frames taken are being shown.
for i = 1: