danainan0
danainan0
RRailway
Created by Elber Domingos on 8/11/2023 in #✋|help
pytesseract and tesseract
@elberrd In the function image_to_string how to make it work
12 replies
RRailway
Created by danainan0 on 9/3/2023 in #✋|help
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
RRailway
Created by danainan0 on 9/3/2023 in #✋|help
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