From: Becky Franklin Date: 2009-02-28T00:14:40+09:00 Subject: Re: Image/Pattern Recognition Serabe wrote: > 2009/2/27 Becky Franklin : >> Hey folks, >> >> I have a project I'm trying to work out the feasibility of being able to >> do - I want to process images that consist of a grid of squares >> containing symbols, and I want to be able to break down the grid so that >> the program can work out how many of each symbol there are and where it >> is on the grid. Not sure if this is something that's going to be do-able >> from what I've googled! Does RMagick or any of the gems have a possible >> solution to this? > > You can use get_pixels ( > http://www.imagemagick.org/RMagick/doc/image2.html#get_pixels ) for > getting pixels in a region and store_pixels for (yes, you guessed it) > store pixels in a image. > > Regards, > > Serabe Wow that's pretty simple! Gotta love Ruby :o) Thanks so much for the quick response :o) -- Posted via http://www.ruby-forum.com/.