Commit 51f56aa3 authored by liukaiwen's avatar liukaiwen

feat: merge formula update

parent ece7f8d5
...@@ -29,10 +29,10 @@ TABLE_MASTER_DICT = "table_master_structure_dict.txt" ...@@ -29,10 +29,10 @@ TABLE_MASTER_DICT = "table_master_structure_dict.txt"
TABLE_MASTER_DIR = "table_structure_tablemaster_infer/" TABLE_MASTER_DIR = "table_structure_tablemaster_infer/"
# pp detect model dir # pp detect model dir
DETECT_MODEL_DIR = "ch_PP-OCRv3_det_infer" DETECT_MODEL_DIR = "ch_PP-OCRv4_det_infer"
# pp rec model dir # pp rec model dir
REC_MODEL_DIR = "ch_PP-OCRv3_rec_infer" REC_MODEL_DIR = "ch_PP-OCRv4_rec_infer"
# pp rec char dict path # pp rec char dict path
REC_CHAR_DICT = "ppocr_keys_v1.txt" REC_CHAR_DICT = "ppocr_keys_v1.txt"
......
...@@ -433,3 +433,7 @@ class CustomPEKModel: ...@@ -433,3 +433,7 @@ class CustomPEKModel:
logger.info(f"-----page total time: {round(time.time() - page_start, 2)}-----") logger.info(f"-----page total time: {round(time.time() - page_start, 2)}-----")
return layout_res return layout_res
if __name__ == '__main__':
print()
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