fix
This commit is contained in:
parent
c2fb041285
commit
b035bee682
@ -66,9 +66,9 @@ def perform_ocr(screenshot: bytes) -> list[dict]:
|
||||
# vertical line
|
||||
draw.line((x, y - size, x, y + size), fill=color, width=width)
|
||||
screenshot_with_circles.save("screenshot_with_circles.png", format='PNG')
|
||||
# save in a file
|
||||
logger.debug("Debug, saving ocr results screenshot with circles")
|
||||
screenshot_with_circles.save("ocr_results.png", format='PNG')
|
||||
# save in a file
|
||||
logger.debug("Debug, saving ocr results screenshot with circles")
|
||||
screenshot_with_circles.save("ocr_results.png", format='PNG')
|
||||
return results
|
||||
|
||||
def screenshot_to_base64(screenshot: bytes) -> str:
|
||||
|
Loading…
Reference in New Issue
Block a user