mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
fix
This commit is contained in:
parent
6f9f384943
commit
4308a3dfb5
@ -136,7 +136,7 @@ class baseocr(commonbase):
|
||||
# 若无标注,则合并显示
|
||||
boxs = [[0, 0, 0, 0, 0, 0, 0, 0]]
|
||||
textonly = self.space.join(texts)
|
||||
texts = [textonly]
|
||||
texts = ["\n".join(texts)]
|
||||
else:
|
||||
textonly = self.space.join(self.sort_text_lines(boxs, texts))
|
||||
# 对齐box成4点格式
|
||||
|
Loading…
x
Reference in New Issue
Block a user