mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
d07893a794
commit
be494e79c8
@ -43,10 +43,5 @@ class OCR(baseocr):
|
||||
|
||||
res = ""
|
||||
text = lens_object["data"][3][4][0]
|
||||
print(text)
|
||||
if len(text) > 0:
|
||||
lines = text[0]
|
||||
for line in lines:
|
||||
res += line + "\n"
|
||||
|
||||
return "\n".join(["\n".join(_) for _ in text])
|
||||
return self.space.join([self.space.join(_) for _ in text])
|
||||
|
Loading…
x
Reference in New Issue
Block a user