Rectangle detection
Scott Rossi
scott at tactilemedia.com
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.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 9/4/15, 4:42 PM, "Scott Rossi" <scott at tactilemedia.com> 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?
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, UX/UI Design
>
>
>
>
>On 9/4/15, 4:04 PM, "Peter Reid" <preid at reid-it.co.uk> 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?
>>
>>Thanks.
>>--
>>Peter Reid
>>Loughborough, UK
More information about the use-livecode
mailing list