Pix2Text
Pix2Text copied to clipboard
如何将pdf的图片不要进行ocr识别
如何将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',
)
如果可配置,在哪里配置