GraphganReader
crochet graph pattern reader
Install / Use
/learn @Kbowers789/GraphganReaderREADME
graphganReader
Program to take in a "graphghan" chart (grid with colored boxes) and process the image in order to read the chart in alternating diagonals.
These diagonals are then turned into the pattern rows, and are printed out in plain text, as shown in the example below:

This project contains 5 test images, with varying color, shapes, and image quality to see what works best for as many as possible.
Test Image details:
####c2c_paw.jpg: Chart size: 30 rows x 25 columns
Colors (2): black and white
####stitchfiddle_image.png: Chart size: 80 rows x 70 columns
Colors (2): Grey and Dark Red
####CoffeeGranny_Graph.jpg: Chart size: 12 rows x 12 columns
Colors (3): Dark Browm, Light Brown, and White
####c2c_dog.jpg: Chart size: 25 rows x 25 columns
Colors (5): Light Blue, Tan, Brown, Red, and Black
####c2c_owl.jpg: Chart size: 41 rows x 41 columns
Colors (7): Tan, Teal, Blue, Blue-Grey, White, Black, and Orange
