I'm curious - is it possible to ahieve in PHP:
1) Send image file to server 2) Process image = detect edges and create simple strokes basing on the edges 3) Save file on server / send it to user's browser / whatever
Here is some "sample" file ;P (as You can see it wasn't made using any edge detection enabled program, but by hand - just as an example):
http://i51.tinypic.com/5vzo0x.jpg Thanks!
If you can use ImageMagick, there is the --charcoal
filter:
The charcoal effect is meant to simulate artist's charcoal sketch of the given image.
The "-charcoal" operator is in some respects similar to edge detection transforms used by Computer Vision. Basically it tries to convert the major borders and edges of object in the image into pencil and charcoal shades.
The one argument is supposed to represent the thickness of the edge lines.
The ImageMagick examples manual shows another way whose results look even better:
Artist Charcoal Sketch of Image
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With