python or java wrapper that can let us set parameters

32 views
Skip to first unread message

Jingjing Lin

unread,
Jun 21, 2019, 10:05:28 AM6/21/19
to tesseract-ocr
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!

Jingjing Lin

unread,
Jun 21, 2019, 10:14:04 AM6/21/19
to tesseract-ocr
Oh I find tesserocr actually works. you can use PyTessBaseAPI.SetVariable()

在 2019年6月21日星期五 UTC-4上午10:05:28,Jingjing Lin写道:
Reply all
Reply to author
Forward
0 new messages