Have a look at https://github.com/pvorb/jtesseract

Am Mittwoch, 26. März 2014 15:09:15 UTC+1 schrieb Rajpal Marpu:
>
> I need java API example. I am planning to implement this using java API.
> What i am trying to achieve is get the text value from the boxes. I can 
> specify the rectangle coordinates if required.
> Is there any java version for the C++ example given in below URL.
>
> Thanks
> Raj
>
> On Wednesday, March 26, 2014 3:56:28 AM UTC-4, zdenop wrote:
>>
>> I am not sure what do you mean by single step, but have a look 
>>  GetComponentImages? example[1] - you can replaceGetComponentImages with 
>> your custom function to create vector/Boxa object  and then you can do OCR 
>> in loop....
>>
>> [1] https://code.google.com/p/tesseract-ocr/wiki/APIExample#example
>>
>> Zdenko
>>
>>
>> On Tue, Mar 25, 2014 at 8:37 PM, Rajpal Marpu <[email protected]> wrote:
>>
>>>
>>>
>>> On Tuesday, March 25, 2014 2:56:22 PM UTC-4, Rajpal Marpu wrote:
>>>
>>>> Hello,
>>>> I have a PDF form with rows and columns. See the following screen shot.
>>>>
>>>>
>>>> I want to extract the data from the boxes. Trying to do with OCR 
>>>> rectangle. Is there any example how can i do this in single step.
>>>> I tried it by defining a rectangle object and passing it to OCR method. 
>>>> Is there any way i can define the rectangles in vector and get the data in 
>>>> a loop from image?
>>>>
>>>> see the attached form as image.
>>>>
>>>>  -- 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "tesseract-ocr" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/tesseract-ocr?hl=en
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "tesseract-ocr" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to