Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Drawing rectangles for OCR Regions

Last post 28 Apr 2007, 4:18 AM by skjpatel. 1 replies.
Sort Posts: Previous Next
  •  26 Apr 2007, 6:59 AM 11916

    Drawing rectangles for OCR Regions

    I want to draw rectangles onto an AtalaImage - these will ultimately be used for defining OCR regions/zones - my question is: should I be using the Annotate tools to do this or go a bit more low level and use the rubber-band object or other.
    Filed under: , ,
  •  28 Apr 2007, 4:18 AM 11923 in reply to 11916

    Re: Drawing rectangles for OCR Regions

    I think I might have answered this myself. I have been getting to know the Annotation classes and athough I don't want to create annotations as such, classes such as the RectangleAnnotation contain much of the implementation that I would have had to code such as selection, moving, resizing etc. My only gripe is that if I draw the rectangles onto a 300 dpi image - and subsequently overlay the same rectangles over the same image at a different dpi - the rectangles don't auto scale - i.e. they appear at different sizes and locations - I guess it would be simple to perform some scaling manually.

View as RSS news feed in XML