Is it possible to get font size from an image using pyocr
or Tesseract
?
Below is my code.
tools = pyocr.get_available_tools()
tool = tools[0]
txt = tool.image_to_string(
Imagee.open(io.BytesIO(req_image)),
lang=lang,
builder=pyocr.builders.TextBuilder()
)
Here i get text from image using function image_to_string
. And now, my question is, if i can get font-size
(number) too of my text.