"git@developer.sourcefind.cn:dcuai/dlexamples.git" did not exist on "1f4ba99368b2997e18c1891f385f2f5232c9f1a6"
Unverified Commit 933326a1 authored by MissPenguin's avatar MissPenguin Committed by GitHub
Browse files

Update README.md

parent 637d9ae1
# Table structure # Table Recognition
## 1. pipeline ## 1. pipeline
The ocr of the table mainly contains three models The table recognition mainly contains three models
1. Single line text detection-DB 1. Single line text detection-DB
2. Single line text recognition-CRNN 2. Single line text recognition-CRNN
3. Table structure and cell coordinate prediction-RARE 3. Table structure and cell coordinate prediction-RARE
The table ocr flow chart is as follows The table recognition flow chart is as follows
![tableocr_pipeline](../../doc/table/tableocr_pipeline_en.jpg) ![tableocr_pipeline](../../doc/table/tableocr_pipeline_en.jpg)
...@@ -94,4 +94,4 @@ python3 table/eval_table.py --det_model_dir=path/to/det_model_dir --rec_model_di ...@@ -94,4 +94,4 @@ python3 table/eval_table.py --det_model_dir=path/to/det_model_dir --rec_model_di
cd PaddleOCR/ppstructure cd PaddleOCR/ppstructure
python3 table/predict_table.py --det_model_dir=path/to/det_model_dir --rec_model_dir=path/to/rec_model_dir --table_model_dir=path/to/table_model_dir --image_dir=../doc/table/1.png --rec_char_dict_path=../ppocr/utils/dict/table_dict.txt --table_char_dict_path=../ppocr/utils/dict/table_structure_dict.txt --rec_char_type=EN --det_limit_side_len=736 --det_limit_type=min --output ../output/table python3 table/predict_table.py --det_model_dir=path/to/det_model_dir --rec_model_dir=path/to/rec_model_dir --table_model_dir=path/to/table_model_dir --image_dir=../doc/table/1.png --rec_char_dict_path=../ppocr/utils/dict/table_dict.txt --table_char_dict_path=../ppocr/utils/dict/table_structure_dict.txt --rec_char_type=EN --det_limit_side_len=736 --det_limit_type=min --output ../output/table
``` ```
After running, the excel sheet of each picture will be saved in the directory specified by the output field After running, the excel sheet of each picture will be saved in the directory specified by the output field
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment