The image I am going to pass to tesseract is:

<https://lh6.googleusercontent.com/-raB_8Uh5f04/U8A0RX0E7EI/AAAAAAAAAl4/hejnXkSJcK8/s1600/credit.png>

tesseract CREDIT.png output bazaar


I put cred1t into user-words. 
I changed the letter 'I' to '1' on purpose to see whether tesseract can 
match the words I put in user-words first. 

It returned 'CREDIT' still, not CRED1T as I expected. 

I tried put capital format: 'CRED1T' there also,
same result. 

My question is: 
1. how to make tesseract match the words in user-words first?

Do I need user-pattern for that? 

2. I read posts saying that bazaar is used for match patterns. 

Any one had a successful try here?


I did the following:


/path/to/user-patterns:

CRED\n\* 

/path/to/configs/bazaar:
load_system_dawg F load_freq_dawg F user_words_suffix user-words
user_patterns_suffix user-patterns

I tried to match CREDIT. 

while got "Segmentation fault".

Question: How is user-patterns supposed to do?

what is the expected result, return? 


thank you. 





/path/to/eng.user-words:
cred1t

/path/to/configs/bazaar:
load_system_dawg F load_freq_dawg F user_words_suffix user-words

-- 
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 tesseract-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/e4d1575f-78d0-419b-b885-c09f2a2e476d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to