artificialpicasso.StrokeExtractor.getStrokes#
- artificialpicasso.StrokeExtractor.getStrokes(image)[source]#
Generates the strokes of the image that need to be drawn.
Uses canny edge detection and other contour-finding algorithms in Open CV to generate the strokes of the image.
- Parameters:
image (np.ndarray) – A 3-d list of pixels that represent an image
- Returns:
Returns a list of all the strokes of the image
- Return type:
_type_