Learnings from training a font recognition model from scratch (mixfont.com)

23 points by justswim 5 days ago

6 comments:

by hank_z an hour ago

I’m curious to know how this model tackles newly released fonts. How difficult would it be if this model needs to recognise font in a different language?

by codemog 41 minutes ago

Curious why the model architecture wasn’t talked about at all? Did I miss that part?

by g58892881 a minute ago

pretty basic

``` from torchvision import models

# Avoid downloading pretrained weights; we load trained checkpoint weights. model = models.resnet18(weights=None) model.fc = nn.Linear(model.fc.in_features, num_classes) ```

https://github.com/mixfont/lens/blob/main/lens_inference.py#...

by Terretta 4 days ago

Instructive, with a rewarding repo for your time.

by Tommix11 2 hours ago

Graphic designer here. A font recognition ai is sorley needed. Gemini and its competitors flat out lie when asked and Adobe Illustrators Retype is laughably bad. The problem I face almost every day is not to find a close match but to find the actual font in use, commercial or not.

by WillAdams an hour ago

whatthefont and identifont used to work well, but they've been overwhelmed by new designs which are not used often enough to warrant inclusion.

I just use Rookledge's Type Finder and a battered copy of Precision Type 5.0

Data from: Hacker News, provided by Hacker News (unofficial) API