change get_image_string to include check processes
This commit is contained in:
parent
54bb479e39
commit
1004769e80
1 changed files with 4 additions and 1 deletions
|
@ -87,4 +87,7 @@ def get_room_data(img: bytes) -> list[Room]:
|
|||
return rooms
|
||||
|
||||
def get_image_string(img: bytes) -> str:
|
||||
return image_to_string(Image.open(BytesIO(img)))
|
||||
img_string = image_to_string(Image.open(BytesIO(img)))
|
||||
img_string = correct_newlines(img_string)
|
||||
img_string = correct_commas(img_string)
|
||||
return img_string
|
Loading…
Reference in a new issue