|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ocrad] reading color images |
Date: | Fri, 17 Feb 2006 17:40:27 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.12) Gecko/20050923 |
I've noticed that GNU Ocrad 0.14 implements reading of color images and looked at the code (without testing it). You seem to use the formula greyvalue = min(red, green, blue) which does not at all work like the human eye.
You are right in that it does not at all work like the human eye, but I tried several formulas and this gave the best results for detecting color letters on a white background. Your formulas seem to give better results for images of real objects.
Of course I am willing to change the formula as soon as I have proof that some other works better.
Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |