Hey thanks a lot for your help! 
FYI I get the uzn from a QT rubberband/rectangle.
It looks like your results are what I want but the visualization is wrong.
For me the visualization is correct but the results are wrong.
Anyway, you put me on the right track.
Thanks again.

On Sunday, April 28, 2019 at 2:24:41 PM UTC+2, zdenop wrote:
>
> Which mean if you create correct uzn file you will get what you need...
> Zdenko
>
>
> ne 28. 4. 2019 o 14:19 Zdenko Podobny <[email protected] <javascript:>> 
> napísal(a):
>
>> Your uzn file is wrong. Did you tried to visualize?  
>> [image: Load_visualize_uzn.png]
>> If I tried attached uzn file (tesseract Load.tiff - --psm 4) I got this 
>> result:
>>
>> LOAD CONFIRMATION
>> Load# 11928
>> Date 02042019
>> Equipment Reefer
>> Equipment Length ~~ 53'
>> Temperature 55°F
>> Weight 28923 Ibs.
>> Commodity Dry Goods (Food)
>> Distance 328 miles
>>
>> 9393 W 110th Street
>> 51 Corporate Woods Suite 500 #5093
>> Overland Park, KS 66210
>> Docket: MC053431
>> Phone: 816.463.3060
>> Fax: 816.463.3039
>>
>> COYNE INC
>> 32830 IH 10 WEST
>> BOERNE, TX 75006
>> (3303319959
>>
>> RECEIVING / TRAFFIC
>> Phone: 717-218-5991
>> Email: carlsleordermat@metroscg. com
>>
>> Zdenko
>>
>>
>> ne 28. 4. 2019 o 10:20 Philcat <[email protected] <javascript:>> 
>> napísal(a):
>>
>>> Any suggestion? Provided example in the thread.
>>> Thanks
>>>
>>> On Friday, April 26, 2019 at 12:23:00 PM UTC+2, zdenop wrote:
>>>>
>>>> Provide testing case (image + uzn) + details about version of 
>>>> tesseract language data.
>>>>
>>>> Zdenko
>>>>
>>>>
>>>> pi 26. 4. 2019 o 12:13 Philcat <[email protected]> napísal(a):
>>>>
>>>>> I am able to create a UZN file from rectangle coordinates drawn around 
>>>>> text.
>>>>> Example (pretend the blue background is a rectangle):
>>>>>
>>>>> Unwanted text.
>>>>> This is the text I want    
>>>>> It could be an address   
>>>>> Mr. Smith                       
>>>>> 10 Fake Street               
>>>>> Fake Town                      
>>>>> Phone: 123456 54545    
>>>>> Email: [email protected]
>>>>> More unwanted text.
>>>>>
>>>>> The result I get will be something like:
>>>>>
>>>>> Unwanted text.
>>>>> This is the text I want    
>>>>> It could be an address   
>>>>> Mr. Smith                       
>>>>> 10 Fake Street               
>>>>> Fake Town    
>>>>>
>>>>> This would be the same for each line in the UZN file. How do I fix 
>>>>> this without manually adjusting the UZN coordinates for each text box?
>>>>>
>>>>> Thanks.             
>>>>>
>>>>> -- 
>>>>> 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].
>>>>> To post to this group, send email to [email protected].
>>>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/tesseract-ocr/1b83b759-6e6b-4f83-b85f-609b8328e9be%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/tesseract-ocr/1b83b759-6e6b-4f83-b85f-609b8328e9be%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> 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 unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tesseract-ocr/7a3e883c-2cb2-4523-ab0d-b399b468c71a%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tesseract-ocr/7a3e883c-2cb2-4523-ab0d-b399b468c71a%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/5ca6261a-8804-4598-984d-9422e54ba7b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to