I wrote an api using flask. This api runs the ocr engine that receives an image, detects the characters in it, and sends the result. However, every time api is called, the virtu