Skip to content

Code to allow a cnc machine to take photos of you then draw you

Notifications You must be signed in to change notification settings

Wil-Ro/CNSelfie

Repository files navigation

CNSelfie

CNC machine that draws your selfies!

Requirements

To run this you will need to install opencv-python and an altered version of svg_to_gcode, to do this make sure you dont have any other open-cv versions installed then run:

pip install opencv-python and pip install svg-to-gcode

Once you've installed svg-to-gcode, replace its file (in site-packages) with the zip file in this repo

This should also install numpy if you dont already have that

You might also find knowing a bit about G-Code will be helpful too, I didnt know much about how it actually worked until now, I found this guide very helpful

Todo

  • Allow user to take photos
  • Generate edges from photo
  • Convert edges to vector (probably using potrace)
  • Convert vector to G-Code (give this a look)
  • QoL changes to edge detection

About

Code to allow a cnc machine to take photos of you then draw you

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published