[Top][All Lists]
[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
- [Bug-ocrad] Re: OCRAD project: library is needed, (continued)
- [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov [Contr], 2010/07/13
- [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov [Contr], 2010/07/15
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/14
- [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov, 2010/07/14
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/15
- [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov, 2010/07/15
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/16
- [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov, 2010/07/16
- [Bug-ocrad] Re: OCRAD project: library is needed, Dmitry Katsubo, 2010/07/15
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/15
- [Bug-ocrad] Re: OCRAD project: library is needed,
Dmitry Katsubo <=
- Re: [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/16
- Re: [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov [Contr], 2010/07/15
[Bug-ocrad] Re: OCRAD project: library is needed, Dmitry Katsubo, 2010/07/15
[Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/14