On Mon, 29 Jun 2009 17:17:02 -0700 (PDT)
vijay vaidya <[email protected]> wrote:

| People,
| 
| My Earlier mail contents was not correct, probably.  I do not whether 
intensity varies or not (have  tried your commands but the images still 
mismatch).  But, the input and the output images differ only in the text 
written on them.  One is having a thicker font and the other is having a 
lighter font.  Is there a way to tell Image Magick not to consider the font 
sizes but compare the contents alone?  Is there a possibility to tell IM to 
replace the font size of one image with the font size of the other image so 
that both of them becomes same.  
| 
| Have attached the two images.  
| 
The mail list will now allow attachments.  You will need to give the images
as URL to the images online somewhere.

Note that 'fonts' are a vector construct.  Once a font is drawn on a
raster image it is no longer a vector construct and you can not compare
them by content, only by shape.

If you want to compare the actual TEXT that is drawn on an image, the
best idea may be to try and convert the image back into plain text!

This is knowns as OCR,  Optical Character Recognition. and is not a
simple task.  Also in my own few experiements I find that it does not
work well at small (screen sized) resolutions, only at higher scan
resolutions (300 dpi or more), unless the OCR is specifically designed
for a specific font at that scale (rare -- anyone know of one?)



  Anthony Thyssen ( System Programmer )    <[email protected]>
 -----------------------------------------------------------------------------
  My french isn't %...@#$%^&* good either...  pardon my french ;-)
                                                  -- Anthony Thyssen
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to