Create a Python + Tk script that detects the contour of a picture and creates a Bezier in Scribus that can be used as a contour line.