Pix2Text icon indicating copy to clipboard operation
Pix2Text copied to clipboard

如何将pdf的图片不要进行ocr识别

Open Zhengyu-Ju opened this issue 1 year ago • 0 comments

如何将pdf的图片不要进行ocr识别

p2t = Pix2Text.from_config(total_configs=total_config,
                           enable_formula=False,
                           enable_table=True,
                           device='cpu')
start = time.time()
out_md = p2t.recognize_pdf(
    img_fp,
    table_as_image=False,
    save_debug_res=f'./output-debug',
)

如果可配置,在哪里配置

Zhengyu-Ju avatar Nov 29 '24 08:11 Zhengyu-Ju