string_art_of_images

A simple algorithm designed to produce a string/thread representation of an image.

Stars
9

String Art of Images

A simple algorithm designed to produce a string/thread representation of an image.

Original idea by Petros Vrellis: A new way to knit (2016).

Examples

Prerequisites

  • Numpy

  • OpenCV

Running

Usage: ./string_line.py [ image_name ] [ number_lines (optional) ]

If number_lines not included in command line arguments, it will default to 1000 lines.

./string_line.py image.jpg

or

./string_line.py image.png 500

Image must be in same directory. Result file will be appended with "_results".

Acknowledgments