[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-ocrad] Re: OCRAD project: library is needed
From: |
Antonio Diaz Diaz |
Subject: |
[Bug-ocrad] Re: OCRAD project: library is needed |
Date: |
Thu, 15 Jul 2010 18:04:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Igor Filippov wrote:
Thank you, I implemented it along those lines and it works perfectly.
The string length actually seems be 2 for a single character but that's
probably due to null termination or a carriage return?
Yes, I forgot OCRAD_result_line adds a newline at the end.
I propose 0.20 release as soon as you can make it!
I have just released 0.20-rc2 where I have implemented (among others)
the function OCRAD_result_chars_total. The resulting osra code with the
new function could be like this:
if( ocrdes && OCRAD_get_errno( ocrdes ) == OCRAD_ok &&
OCRAD_set_image( ocrdes, opix, 0 ) == 0 &&
( height >= 10 || OCRAD_scale( ocrdes, 2 ) == 0 ) &&
OCRAD_recognize( ocrdes, 0 ) == 0 &&
OCRAD_result_chars_total( ocrdes ) == 1 )
c2 = OCRAD_result_first_character( ocrdes );
http://download.savannah.gnu.org/releases-noredirect/ocrad/ocrad-0.20-rc2.tar.gz
http://download.savannah.gnu.org/releases-noredirect/ocrad/ocrad-0.20-rc2.tar.lz
If 0.20-rc2 solves all problems, I can release 0.20 in 24h.
Regards,
Antonio.
- [Bug-ocrad] Re: OCRAD project: library is needed, Dmitry Katsubo, 2010/07/06
- Re: [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/06
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/11
- Re: [Bug-ocrad] Re: OCRAD project: library is needed, Igor Filippov [Contr], 2010/07/13
- [Bug-ocrad] Re: OCRAD project: library is needed, Antonio Diaz Diaz, 2010/07/13
- [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 <=
- [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, 2010/07/15
- 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