Python Forum
Is there a way to detect the text font, size and color from an image in python?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to detect the text font, size and color from an image in python?
#1
I've done a lot of research and i cannot find a way to detect the the text font, size and color from an image in python.

Here is an example of an image:
[Image: tZhxy.png]

Is there a way, or a specific function?

Thanks, Rita Maia
Reply
#2
im not sure about font size or font type but there are a few method to extract text from an iamge, one 3rd party lib could be
https://pypi.org/project/pytesseract/
Recommended Tutorials:
Reply
#3
Yes that library am aware. but my point/issue was just if it is possible in python to detect the font size and the color of that text in that image :S
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python code for alignment and font size 1418 0 314 Jan-14-2024, 03:56 AM
Last Post: 1418
  Turtle Star Fill Color Yellow-White Interchanging Color Effect codelab 9 997 Oct-25-2023, 09:09 AM
Last Post: codelab
  When does Python detect Errors? stamp1t 1 443 Oct-21-2023, 05:53 PM
Last Post: deanhystad
  howto get size of a ctk image? janeik 2 862 Oct-03-2023, 03:49 AM
Last Post: janeik
  Color a table cell based on specific text Creepy 11 1,986 Jul-27-2023, 02:48 PM
Last Post: deanhystad
  How to do "fixed size" (wrapping) math in Python? AlexanderWulf 13 1,867 Jul-19-2023, 04:13 PM
Last Post: deanhystad
  How to detect abnormal data in big database python vanphuht91 5 1,146 Jun-27-2023, 11:22 PM
Last Post: Skaperen
  Print text with big font and style tomtom 5 14,081 Mar-03-2022, 01:29 AM
Last Post: tomtom
Photo Visual studio code unable to color syntax on python interpreter tomtom 4 6,896 Mar-02-2022, 01:23 AM
Last Post: tomtom
  Upload image to Instagram using python/selenium using image URL failed, need help greenpine 5 5,472 Feb-22-2022, 09:42 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020