[magick-users] Shell or Perl script to detect object on image

Fred Weinhaus fmw at alink.net
Tue Mar 17 10:26:28 PDT 2009


In command line you can get it simply from the txt: image format.

see http://www.imagemagick.org/Usage/files/#txt

for example using the IM internal image rose:

convert rose: txt:-

or using -fx and debug

convert rose: -fx "debug(u)" null:

note: x and y coords are reversed in the latter listing.




>Is it possible to get a list of x-coord, y-coord, color code for each pixel
>contained in an image using IM? (I know, depending on the image, the list
>can be VERY long, but if I had a list like that an algorithm could work
>through that list and manip the image so that it is useful for OCR).


More information about the Magick-users mailing list