Skip to content

Commit

Permalink
修正:输出单独txt与完成自动打开文件功能的冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroi-sora committed Nov 8, 2022
1 parent d7e07b9 commit 30301ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ocr/output_separate_txt.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@

class OutputSeparateTxt(Output):

def __init__(self):
self.panelOutput = Config.main.panelOutput # 输出接口
self.isDebug = Config.get('isDebug') # 是否输出调试
self.outputPath = Config.get('outputFilePath') # 输出文件夹,用于计划任务的完成后打开文件夹

def print(self, text, highlight=''):
pass

Expand All @@ -24,6 +19,10 @@ def debug(self, text):
def text(self, text):
pass

def openOutputFile(self):
# 不需要打开输出文件
pass

def img(self, textBlockList, imgInfo, numData, textDebug):
'''输出图片结果'''
# 收集ocr文字
Expand Down

0 comments on commit 30301ab

Please sign in to comment.