HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
mixfont
lens
Python2026–2026
mixfont / lens

lens

Lens is an open-source font recognition model for finding the best Google Font from a given image.

2Distinct people
2Mentions
0Explicit recommenders
44GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Lens is an open-source font recognition model for finding the best Google Font from a given image.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by 6-hour interval2 dated mentions

Observed mentions: 2026-03-16 22:19:08 UTC to 2026-03-22 20:54:29 UTC.

012026-03-16 18:00:00 UTC to 2026-03-17 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsMar 16, 18:002026-03-17 00:00:00 UTC to 2026-03-17 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-17 06:00:00 UTC to 2026-03-17 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-17 12:00:00 UTC to 2026-03-17 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-17 18:00:00 UTC to 2026-03-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-18 00:00:00 UTC to 2026-03-18 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-18 06:00:00 UTC to 2026-03-18 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-18 12:00:00 UTC to 2026-03-18 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-18 18:00:00 UTC to 2026-03-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-19 00:00:00 UTC to 2026-03-19 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-19 06:00:00 UTC to 2026-03-19 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-19 12:00:00 UTC to 2026-03-19 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-19 18:00:00 UTC to 2026-03-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 19, 18:002026-03-20 00:00:00 UTC to 2026-03-20 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-20 06:00:00 UTC to 2026-03-20 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-20 12:00:00 UTC to 2026-03-20 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-20 18:00:00 UTC to 2026-03-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-21 00:00:00 UTC to 2026-03-21 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-21 06:00:00 UTC to 2026-03-21 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-21 12:00:00 UTC to 2026-03-21 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-21 18:00:00 UTC to 2026-03-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 00:00:00 UTC to 2026-03-22 06:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 06:00:00 UTC to 2026-03-22 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 12:00:00 UTC to 2026-03-22 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-03-22 18:00:00 UTC to 2026-03-23 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsMar 22, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Mar 16, 18:002026-03-16 18:00:00 UTC2026-03-17 00:00:00 UTC110
Mar 17, 00:002026-03-17 00:00:00 UTC2026-03-17 06:00:00 UTC000
Mar 17, 06:002026-03-17 06:00:00 UTC2026-03-17 12:00:00 UTC000
Mar 17, 12:002026-03-17 12:00:00 UTC2026-03-17 18:00:00 UTC000
Mar 17, 18:002026-03-17 18:00:00 UTC2026-03-18 00:00:00 UTC000
Mar 18, 00:002026-03-18 00:00:00 UTC2026-03-18 06:00:00 UTC000
Mar 18, 06:002026-03-18 06:00:00 UTC2026-03-18 12:00:00 UTC000
Mar 18, 12:002026-03-18 12:00:00 UTC2026-03-18 18:00:00 UTC000
Mar 18, 18:002026-03-18 18:00:00 UTC2026-03-19 00:00:00 UTC000
Mar 19, 00:002026-03-19 00:00:00 UTC2026-03-19 06:00:00 UTC000
Mar 19, 06:002026-03-19 06:00:00 UTC2026-03-19 12:00:00 UTC000
Mar 19, 12:002026-03-19 12:00:00 UTC2026-03-19 18:00:00 UTC000
Mar 19, 18:002026-03-19 18:00:00 UTC2026-03-20 00:00:00 UTC000
Mar 20, 00:002026-03-20 00:00:00 UTC2026-03-20 06:00:00 UTC000
Mar 20, 06:002026-03-20 06:00:00 UTC2026-03-20 12:00:00 UTC000
Mar 20, 12:002026-03-20 12:00:00 UTC2026-03-20 18:00:00 UTC000
Mar 20, 18:002026-03-20 18:00:00 UTC2026-03-21 00:00:00 UTC000
Mar 21, 00:002026-03-21 00:00:00 UTC2026-03-21 06:00:00 UTC000
Mar 21, 06:002026-03-21 06:00:00 UTC2026-03-21 12:00:00 UTC000
Mar 21, 12:002026-03-21 12:00:00 UTC2026-03-21 18:00:00 UTC000
Mar 21, 18:002026-03-21 18:00:00 UTC2026-03-22 00:00:00 UTC000
Mar 22, 00:002026-03-22 00:00:00 UTC2026-03-22 06:00:00 UTC000
Mar 22, 06:002026-03-22 06:00:00 UTC2026-03-22 12:00:00 UTC000
Mar 22, 12:002026-03-22 12:00:00 UTC2026-03-22 18:00:00 UTC000
Mar 22, 18:002026-03-22 18:00:00 UTC2026-03-23 00:00:00 UTC101

What Hacker News says

2 sources
justswim·Mar 16, 2026Submission

Show HN: Lens – Open-weight AI model to identify fonts from images

Hi HN, I'm excited to release the weights and full inference stack of an AI model that I've been working on for the past few weeks. Lens is a font recognition model that takes an image and returns the closest matching open-source font that it finds in the image. Recognizing the closest font from an image of text accurately has always been a challenge. Even SOTA vision LLMs can detect basic characteristics like if a font is a serif or a sans-serif, but when it comes to the actual font file that has the most similar styles, vision LLMs will often be quite off for the design and style of a chosen font file. Popular font identification solutions on the internet today also have a two major shortcomings: 1. Most of them work based off identifying particular characters and don’t look at an overall word or image, so they require a manual characte
Read the rest
r segmenting step. 2. Most online tools identify fonts from on a proprietary dataset of commercial fonts in order to monetize. However, this makes it difficult when building applications because often times the recognized fonts can’t be used or downloaded easily. To solve this, I trained the Lens model on a large collection of open-source fonts (mostly Google Fonts, but also a few other open source / freely available fonts). The Lens model is also trained on a large collection of images, each which contain a variety of font styles and weights. As far as I can tell, Lens is the most accurate model right now that maps images to fonts in a single step. I came up with the idea to create this model when I was playing around more with vibe coding tools like Claude Code and Codex. I noticed that when I would ask AI to implement a screenshot exactly, one of the main issues was always the fonts that the AI would choose. They would never match the screenshot exactly, and then swapping out the fonts for a usable alternative was always a pain for me personally. Under the hood this is a classification model built on top of the Resnet 18 architecture. It is trained on over 1000+ fonts and 1.5m+ images. The entire inference stack and model weights are available on Github: https://github.com/mixfont/lens. I also created a playground for the model on my website where it can be demo’d for free: https://www.mixfont.com/models/lens Blog post on the training process coming soon! Would love to hear what you all think and some potential applications of a model like this. Happy to answer other questions in the meantime - thank you for checking it out!
3 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.