Updated demo with edges and contours.