This commit is contained in:
恍兮惚兮 2024-07-15 04:48:41 +08:00
parent d07893a794
commit be494e79c8

View File

@ -43,10 +43,5 @@ class OCR(baseocr):
res = "" res = ""
text = lens_object["data"][3][4][0] 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])