Is it possible to post an image with text to ImageMagick, and to get which font family, font style, font size is the text?
I suppose I must have samples of fonts, that will be recognizable and the process will be approximate (if possible at all).
Font recognition?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Font recognition?
IM can not recognise fonts in images. To it is is just an image.
Only OCR software can convert images to text, and then it is not trying to figure out what type of font is being used.
If you really need to know what font it is the only real way is to try annotating different fonts at different point sizes and resolutions until you get a close match. That however is still a large space and I doubt font selection itself can be automated, though pointsize may be possible.
Only OCR software can convert images to text, and then it is not trying to figure out what type of font is being used.
If you really need to know what font it is the only real way is to try annotating different fonts at different point sizes and resolutions until you get a close match. That however is still a large space and I doubt font selection itself can be automated, though pointsize may be possible.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/