bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ocrad] Re: OCRAD project: library is needed


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] Re: OCRAD project: library is needed
Date: Fri, 16 Jul 2010 17:48:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Dmitry Katsubo wrote:
I mean "to have an additional function" with no loss of flexibility:

The "loss of flexibility" is in the API itself. Once one function is introduced it is difficult to modify it or remove it.


OCRAD_recognize_first_character() = OCRAD_recognize() +
OCRAD_result_characters() + OCRAD_result_first_character()

This is pretty misleading and not very useful. It does not recognize the first character, but the whole image. In fact it always fails, after performing expensive recognition, if the image contains more than one character, and OCRAD_result_chars_total must then be called to see if this is the case.


Maybe you can introduce #defined macro? Maybe you see more potentially
useful combinations?

No thanks! First thing I remove from a project are macros. :-)


Anyway, I leave it for you, as I have no experience, about how demanded
it can be.

By the reasons given above, I guess it won't be demanded at all.


Best regards,
Antonio.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]