Oh I find tesserocr actually works. you can use PyTessBaseAPI.SetVariable()
在 2019年6月21日星期五 UTC-4上午10:05:28,Jingjing Lin写道: > > Is seems for most of the python or java wrappers, we can only set lang or > psm, but not other parameters (like 'preserve_interword_spaces', tesseract > has so many of them). Is there a wrapper that supports setting other > parameters as well? 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/1e5db745-8350-4283-8daa-f9fb305e6a7d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

