pdf2markdown/helper/page_detection/start.sh

7 lines
255 B
Bash

export FLAGS_enable_pir_api=0
python3 pdf_detection.py \
--model_dir=/mnt/research/PaddleOCR/PaddleDetection/inference_model/picodet_lcnet_x1_0_fgd_layout_cdla_infer \
--image_file=/mnt/research/PaddleOCR/demo-75-images/12.jpg \
--device=GPU