Rectangle detection

Scott Rossi scott at
Fri Sep 4 19:42:33 EDT 2015

Does the rectangle always appear in the same location in the image and is
it always the same dimensions?

Can you post a sample?


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 9/4/15, 4:04 PM, "Peter Reid" <preid at> wrote:

>I'm trying to detect and extract a rectangular area of an image.  The
>image is a graph with some parameters that are always contained inside a
>rectangle.  The graph consists of curves and axes in black on a white
>background.  The rectangle is a box consisting of black lines and it
>contains black text on a white background.  I need to extract the box
>alone so I can run it through an OCR process to convert the key
>parameters inside the rectangle into text for other purposes.
>Can anyone suggest a method, script or add-on for LiveCode that will help
>me extract a rectangle from its surrounding image?
>Peter Reid
>Loughborough, UK
>use-livecode mailing list
>use-livecode at
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:

More information about the use-livecode mailing list