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