cdPaddleOCR/ppstructure
## download modelmkdirinference&&cdinference
## Download the detection model of the ultra-lightweight English PP-OCRv3 model and unzip ithttps://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_det_infer.tar&&tarxfen_PP-OCRv3_det_infer.tar
## Download the recognition model of the ultra-lightweight English PP-OCRv3 model and unzip itwgethttps://paddleocr.bj.bcebos.com/PP-OCRv3/english/en_PP-OCRv3_rec_infer.tar&&tarxfen_PP-OCRv3_rec_infer.tar
## Download the ultra-lightweight English table inch model and unzip itwgethttps://paddleocr.bj.bcebos.com/ppstructure/models/slanet/en_ppstructure_mobile_v2.0_SLANet_infer.tar
tarxfen_ppstructure_mobile_v2.0_SLANet_infer.tar
## Download the layout model of publaynet dataset and unzip itwgethttps://paddleocr.bj.bcebos.com/ppstructure/models/layout/picodet_lcnet_x1_0_fgd_layout_infer.tar
tarxfpicodet_lcnet_x1_0_fgd_layout_infer.tar
cd..
Then use the following command inference in the /ppstructure/ directory¶
cdPaddleOCR/ppstructure
## download modelcdinference
## Download the detection model of the ultra-lightweight Chinese PP-OCRv3 model and unzip itwgethttps://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_det_infer.tar&&tarxfch_PP-OCRv3_det_infer.tar
## Download the recognition model of the ultra-lightweight Chinese PP-OCRv3 model and unzip itwgethttps://paddleocr.bj.bcebos.com/PP-OCRv3/chinese/ch_PP-OCRv3_rec_infer.tar&&tarxfch_PP-OCRv3_rec_infer.tar
## Download the ultra-lightweight Chinese table inch model and unzip itwgethttps://paddleocr.bj.bcebos.com/ppstructure/models/slanet/ch_ppstructure_mobile_v2.0_SLANet_infer.tar
tarxfch_ppstructure_mobile_v2.0_SLANet_infer.tar
## Download the layout model of CDLA dataset and unzip itwgethttps://paddleocr.bj.bcebos.com/ppstructure/models/layout/picodet_lcnet_x1_0_fgd_layout_cdla_infer.tar
tarxfpicodet_lcnet_x1_0_fgd_layout_cdla_infer.tar
cd..
Upload the following test image "2.png" to the directory ./docs/table/¶
Then use the following command inference in the /ppstructure/ directory¶