Going from PNG to gcode

Let’s say I wanted to carve a shallow 1/8" groove everywhere there is a black line in this image? I have Photoshop and Inkscape but so far all of my png → svg conversion attempts have been a mess. I would appreciate some guidance on which tools in those massive applications to use and how to use them.

Dave

1 Like

Edge Detection is the thing you need here.

I can’t remember what Photoshop can do, but there should be online pages that will likely let you run an edge detection routine over an image if not.

You’ll probably need to smooth / post-process the output with some thresholding / smoothing to get it nice, then convert it to an SVG as a final step.

2 Likes

Edge detection ( Edge detection - Wikipedia )
is a subset of feature detection (Feature (computer vision) - Wikipedia)
is a branch of Computer Vision (Computer vision - Wikipedia )

If you’re interested in some background :slight_smile:

3 Likes

Carbide create has a tool for doing this (its not free though)

Here’s what the traced image looks like in that case. It’s not exactly the cleanest file

Traced

Version 6 is still free, though unsupported. I still use it tons.

1 Like