danainan0
I up loaded Tesseract-OCR Folder on gitup but on railway cant't find
custom_oem_psm_config = r'--oem 1 --psm 1'
tessdata_dir_config = f'--tessdata-dir {settings.OCR_PATH}'
text = image_to_string(media_path,lang='tha+eng',config=custom_oem_psm_config+''+tessdata_dir_config)
print(text) This my code
9 replies
I up loaded Tesseract-OCR Folder on gitup but on railway cant't find
can i update tesseract 5 That my error raise TesseractError(proc.returncode, get_errors(error_string))
pytesseract.pytesseract.TesseractError: (-11, 'Cube ERROR (CubeRecoContext::Load): unable to read cube language model params from /nix/store/hh4igg5xn97p777dmf4j2kgxp2casksf-tesseract-3.05.00/share/tessdata/tha.cube.lm Cube ERROR (CubeRecoContext::Create): unable to init CubeRecoContext object init_cube_objects(false, &tessdata_manager):Error:Assert failed:in file tessedit.cpp, line 210')
9 replies