Rectangle detection

Scott Rossi scott at
Fri Sep 4 19:57:30 EDT 2015

Oops, meant to add: if the size/location of the rectangle is always the
same, a simple option would be to import (or export) a snapshot from the
rectangle's rect.


Scott Rossi
Creative Director
Tactile Media, UX/UI Design

On 9/4/15, 4:42 PM, "Scott Rossi" <scott at> wrote:

>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

More information about the use-livecode mailing list