Look at the config file called digits Also look up User-words and user-patterns
For your requirement tesseract 4 may not be a good fit since it is line based. There are other releases on 3.0x branch, maybe others can suggest if a newer release will be more helpful. On Sat 17 Mar, 2018, 6:36 PM Sergio Nadal, <sna...@maubic.es> wrote: > Hello, > > I've just started using Tesseract some weeks ago, so maybe this question > has been addressed before. I've searched but didn't found a response. > > I need to scan a set of documents searching for > - people names > - ID numbers (8 digits) > > Is it possible to train Tesseract or configure it so that only words in a > wordfile and digits are returned? I am currently using Tesseract 3.02, but > I guess I could also upgrade to 4 if necessary. > > Thank you in advance. > > -- > 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 https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/790cbb5b-2e25-4d3d-b87b-27c492673266%40googlegroups.com > . > 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 tesseract-ocr+unsubscr...@googlegroups.com. To post to this group, send email to tesseract-ocr@googlegroups.com. 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/CAG2NduVATF_cwo_yNdhyTYAS7twh05JwmdmEi-jqc8OTVbfT-w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.