GitXplorerGitXplorer
k

string_art_of_images

public
9 stars
6 forks
0 issues

Commits

List of commits on branch master.
Unverified
7411b5b9f2dd0dcae9485d5aaa015316aca53e5d

removing extra image files

committed 6 years ago
Unverified
bdc9ffc15358b9f90ee21832f539f0309bbc3849

removing extra images and organizing examples in folder

committed 6 years ago
Unverified
822b1aa406139789c2a94e378b82349d982b5156

added comments/function blocks

committed 6 years ago
Unverified
35bf7d2869bca009cfc64a134dce5f76a26d825b

added pins to image

committed 6 years ago
Unverified
4369ef148c2227a7864d57ccff5aa71e6cbbf9be

changed image/num lines to commandline args

committed 6 years ago
Unverified
29ff3feab4482965800abecfb25fae5867bfc788

added main and cleaned up code a bit

committed 6 years ago

README

The README file for this repository.

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

ScreenShot ScreenShot

ScreenShot ScreenShot

ScreenShot ScreenShot

ScreenShot ScreenShot

ScreenShot ScreenShot

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