I am trying to improve the result by changing params using pytesseract config. I am wondering if there is a possibility to change load_system_dawg and load_freq_dawg as specified in https://github.com/tesseract-ocr/tesseract/wiki/ImproveQuality#page-segmentation-method since the words I am trying to get are not really english, but co-ords like XYZ ### and some other unique sequences of letters. See screenshot
I can adjust the config of --psm but get error of no such command line argument or a file not existing if I try --load_system_dawg 0. I dunno, seemed like it was worth a shot...
params = r'--psm 11'
string = pytesseract.image_to_string(img, config = params)
I'm assuming there isn't a way to do this through python but if I could be directed as to how to change it I would appreciate it as I don't know much in the way of C++. Will this change be initialized through pytesseract? Additionally I have also tried changing user-patterns but not sure if this is the better way to go