TurtleMaker uses Python’s turtle graphics module and opencv to convert any image into a polygon format that can be drawn on turtle cavas. This pipeline uses:
- SLIC superpixel segmentation
- Polygon simplification
git clone https://github.com/JacobPercy/turtlemaker.git
cd turtlemaker
Then run
cd tm
python app.py
Open your browser and go to:
Upload an image to see it rendered in turtle graphics form, and get the generated code to recreate it.