Lurker News

Comments (74) 30 threads

Earlier comments
jonah2 replies#
Hijacking this post a bit, but does anyone know of a library or API service to convert SVGs to PLT (AutoCad Plotter format, based on HPGL) files. I need them to feed to a laser engraver.

I found convertio[o], but it doesn't support SVG embedded fonts so the text defaults to Times.
[0] https://convertio.co/svg-plt/

efortis#
Inkscape does it. Change the text to paths (Path -> Object to Path)
Aspos#
Using mobilenet to detect facial features. Smart! Would suggest to go one step further and remove background before processing the face.
pfd19861 reply#
I wonder if the number of lines can be a measure of Kolmogorov complexity for an image...

Neat idea regardless.

chriswarbo#
It can certainly be a Minimum Description Length (MDL), which is a more general measure based on an arbitrary language (like "lines on a canvas").

Kolmogorov Complexity is the MDL when the language is Turing-complete; in that case I think the number of lines would be less interesting than the patterns in their arrangement. For example, we can arrange millions of lines in a spiral with very low Kolmogorov Complexity; whilst a handful of "random" lines could have a much higher complexity (since, without a pattern, we have to specify them all individually).
I mentioned it in a sibling, but I've written a very simple Python script which can be used as a test-bed for finding the Kolmogorov complexity of plotter-based images (using turtle graphics) http://chriswarbo.net/projects/turtleview

wodenokoto#
I dabbled with making something similar (transparent colored triangles, instead of lines), and had a lot of trouble getting something good.

Are there any text describing theories for doing this, or does everybody just trial and error their way through?

Load more comments