I am using OpenCV canny edge detection module to find the contours of an image which gives me a B&W output image.
Here's the code for that:
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
blurred = cv2.GaussianBlur(gray, (3, 3), 0)
edged = cv2.Canny(blurred, 180, 200)
Now I want to write this image to disk in SVG file format. How do I obtain the same from the cannied image?