identifying text chars in an image

hh hh at hyperhh.de
Mon Oct 28 20:43:39 EDT 2019


> Phil D. wrote:
> So maybe I should first be asking about detecting the grid
> established by the scrabble letters. 

You need some criteria to find the topleft of the grid and the
size of one letter: color/transparency/a marker(fixed image part)...
You could also use pattern recognition for that.

Then it's the easy part to get all possible letters by computing the
grid and crop (get from imageData) the grid elements by script.
Then doing the OCR for each single char.

If you need that for a standalone, then 'tesseract' with its huge
language packs is probably not appropriate and 'ocrad' could be
good enough for that.




More information about the use-livecode mailing list