Commit cae215bb authored by liukaiwen's avatar liukaiwen
Browse files

fix table recognition bug#321

parent ec7271fa
...@@ -76,11 +76,6 @@ def get_device(): ...@@ -76,11 +76,6 @@ def get_device():
else: else:
return device return device
def get_table_recog_config():
config = read_config()
table_config = config.get("table-config")
return table_config
def get_table_recog_config(): def get_table_recog_config():
config = read_config() config = read_config()
......
from loguru import logger from loguru import logger
import os import os
import time import time
from pypandoc import convert_text
os.environ['NO_ALBUMENTATIONS_UPDATE'] = '1' # 禁止albumentations检查更新 os.environ['NO_ALBUMENTATIONS_UPDATE'] = '1' # 禁止albumentations检查更新
......
...@@ -8,6 +8,4 @@ fast-langdetect==0.2.0 ...@@ -8,6 +8,4 @@ fast-langdetect==0.2.0
wordninja>=2.0.0 wordninja>=2.0.0
scikit-learn>=1.0.2 scikit-learn>=1.0.2
pdfminer.six==20231228 pdfminer.six==20231228
pypandoc
struct-eqtable==0.1.0
# The requirements.txt must ensure that only necessary external dependencies are introduced. If there are new dependencies to add, please contact the project administrator. # The requirements.txt must ensure that only necessary external dependencies are introduced. If there are new dependencies to add, please contact the project administrator.
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