bug-ocrad
[Top][All Lists]
Advanced

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

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


From: Dmitry Katsubo
Subject: [Bug-ocrad] Re: OCRAD project: library is needed
Date: Thu, 15 Jul 2010 22:56:11 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100502 Shredder/3.0.5pre

Antonio Diaz Diaz wrote on 15.07.2010 18:25:
> Dmitry Katsubo wrote:
>> 2) Maybe it makes sense to have a "combined" API function, that will
>> group OCRAD_recognize() + OCRAD_result_characters() +
>> OCRAD_result_first_character() ? This "if"-clause looks thrilling and it
>> horribly grows ...
> 
> I think it is not a good idea to lose flexibility just to save two lines
> of code. Even less in an API not yet mature.

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

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

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

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

-- 
With best regards,
Dmitry



reply via email to

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