TURN ANY GLASSES INTO AI SMART GLASSES FOR 20 DOLLARS - AND IT REMEMBERS EVERYONE YOU MEET

A 20 dollars ESP32 with a camera and Llama 3 that remembers faces and answers questions about what you saw — clipped onto any pair of glasses.

by BasedHardware

FULL CAD BOM FIRMWARE DOCS

AIOpen-hardware

difficulty
●●●○○
time
a weekend
license
MIT
repo
repo ACTIVE4,100 stars

WHAT YOU’LL NEED

  • 3D printer + filamentprintable parts — files are in the repo
  • Electronic partsfull list with part numbers in the repo BOM
  • Dev board / microcontrollerruns the project firmware

Partner

Run your scrapers in the cloudThis build needs data collection that runs 24/7. Apify's free plan includes $5 in credits every month — no card needed.Try Apify free
1

COMPAREE VERDICT

OpenGlass won a Llama 3 hackathon and the idea is exactly what it sounds like: a XIAO ESP32-S3 Sense (camera plus mic, 15 dollars) in a 3D-printed clip that sits on your glasses, takes a photo every few seconds, transcribes what you say, and lets Llama 3 answer questions like 'what was that person's name' or 'where did I leave my keys'. The whole build is about 20-25 dollars if you already own a 3D printer. The firmware is MIT-licensed and flashes via Arduino IDE. The hard part is not the hardware — it is getting the backend server running on your machine and pairing the mobile app (iOS or Android, both available). The README does not walk you through that; it lists the steps and assumes you know what 'clone the repo and run the server' means. The camera is a tiny fixed-focus module, so image quality is closer to a webcam than a phone — it works for face recognition at conversation distance but will not read small text across a room. The battery (a 3.7V LiPo you solder on yourself) lasts a few hours of continuous use. If you are comfortable flashing ESP32 boards and running a local server, this is a genuinely clever weekend build. If you have never done either, you will spend most of that weekend troubleshooting the software stack, not the glasses.

NOT IN THE REPO

  • MIT license — commercial use is fine.
  • 3D files for the mount are in the repo, firmware flashes via Arduino IDE.
  • You need a Fireworks AI API key (free tier exists) and a mobile app install to talk to the glasses.
  • The repo includes a backend server you run yourself — no cloud sign-up beyond the API key.
  • The camera is fixed-focus and low-resolution; this is not Google Glass-grade optics.
  • No assembly guide — the README assumes you know how to solder headers and flash an ESP32.

Can I build this?

PrintOne clip mount for your glasses frame (STL in repo, prints in 1-2 hours)
BuyXIAO ESP32-S3 Sense ($15), 3.7V LiPo battery with JST connector (500-1000mAh, $5-8), optional: tactile button, wires
Tools3D printer, soldering iron, Arduino IDE, a phone (iOS or Android), a Fireworks AI API key (free tier available)
SkillsIntermediate: soldering headers, flashing ESP32 firmware, running a local backend server, basic terminal commands. Not a first electronics project.
TimeA weekend — half a day for the hardware, the rest for getting the server and app talking to each other
Cost$20-25 dominated by the ESP32 board; the LiPo and filament add $5-10
SafetyLithium battery — do not short the leads, do not puncture, keep away from children. Standard soldering iron care.

Build at your own risk. Projects involve tools, electronics and sometimes mains voltage — follow the creator’s safety notes.

A desktop 3D printer that prints in full colorPartner · Kickstarter
A desktop 3D printer that prints in full color

HeyGears G1: 10M+ colors and transparent parts in one print, plus UV printing on flat objects. Figures, parts and labels — no painting.

See how it prints

Videos

OpenGlass Demo - Meta AI LLaMa Hackathon - 12th May 2024

No official build video in the repo or linked from the README. Community walkthroughs may exist but were not verified.

Gallery

https://opengraph.githubassets.com/18b73f0bb3f8f01a8f2ae5b598dc7a93c821de1a72215504ffe769add8f2268a/BasedHardware/OpenGlass
https://radar.comparee.ai/api/public-media/uploads-operator/reel29_openglass.jpg?exp=1816857370&token=9e-C8QpWdhYT9JBO90noPik9w6gg1y0FEiUTm4TRLuY
https://img.youtube.com/vi/DsM_-c2e1ew/maxresdefault.jpg

Start here

Navigation into the creator’s own docs — we don’t rewrite the guide, we route you to the source.

  1. 1.Read the hardware setup section in the README (Lists the exact XIAO board model and battery specs)
  2. 2.Flash the firmware via Arduino IDE (Install the ESP32 board package first, then upload the sketch)
  3. 3.Run the backend server on your machine (Requires Node.js and the Fireworks API key in a .env file)
  4. 4.Install the mobile app and pair (iOS and Android apps are linked in the repo)

Resources

Documentation, files and community threads for this build — we link straight to the original sources and never rehost the creator’s files.

Ultra-thin power bank that fits anywherePartner · Kickstarter
Ultra-thin power bank that fits anywhere

CORE POWER BANK S: 0.2" thin, 2.8 oz, 5000 mAh with 22.5W fast charging. Semi-solid battery, carbon fiber, IPX7 waterproof.

Learn more

KNOWN ISSUES

  • The XIAO ESP32-S3 Sense is a specific board variant — the plain ESP32-S3 does not have the camera module. Ordering the wrong one wastes a week and $15.
  • The battery needs a JST connector that matches the board's socket — not all 3.7V LiPos come with one, and soldering directly to the pads is easy to get wrong.
  • The backend server must be running on the same network as your phone, and the IP address has to be entered manually in the app. If your router assigns a new IP every time, you will re-enter it every session.
  • The free Fireworks API tier has rate limits — heavy use (constant photo capture and queries) will hit them in a day or two.
  • The camera auto-captures every few seconds by default, which drains the battery fast. You will want to tweak the interval in the firmware for real-world use.
  • The 3D-printed clip is designed for standard metal frames. Thick plastic or acetate frames may not fit, and you will need to modify the STL.

Do I need to keep my phone nearby?

Yes. The glasses connect to your phone over Bluetooth, and the phone talks to the backend server. The ESP32 does not have enough memory to run the AI itself.

Can I use a different AI model instead of Llama 3?

Yes — the backend code is modular. You can swap in another model that Fireworks supports, or point it at a local Ollama instance if you want to avoid API costs entirely.

How good is the face recognition?

Good enough for conversation distance in decent light. The camera is low-res, so do not expect it to work across a crowded room or in dim lighting.

Is there a way to turn off the camera but keep the mic?

Not in the default firmware, but the code is open — you could comment out the photo capture loop and reflash.

Community builds

No community builds yet — be the first, we feature the best ones.

Discussion1

FROM THE COMPAREE TEAM

The whole thing runs on a $15 board and talks to Llama 3 through your phone — no cloud sign-up beyond a free API key. What would you ask it first?

CompareeTEAM25d agoedited

Practical notes from our verification: The repo is actively maintained and the MIT license is clearly stated. The hardware list is complete and the XIAO ESP32-S3 Sense is easy to source. The single biggest time sink is not the build — it is getting the backend server and mobile app paired correctly, especially if your router reassigns IPs. The README assumes you know what 'run the server locally' means and does not walk through common networking mistakes. The 3D-printed clip is simple but frame-specific — test-fit before you glue or solder anything permanent. No official build video exists; the repo photos and code are the only guide.

BasedHardware

BasedHardware built OpenGlass for a Llama 3 hackathon and won. The project is MIT-licensed and actively maintained, with both hardware and software updated regularly.

GitHub

Star the project on GitHub

DISCLAIMER

  • Comparee is not the author of the projects featured here. All rights to each project belong to its creator — every page links to the original source, and we never host creators’ files.
  • Information is provided without warranty and may become outdated as projects evolve. Prices are indicative bands only — always check the creator’s parts list for current costs.
  • Building and operating any project is at your own responsibility. Protective equipment, safe workshop practice and compliance with local regulations are the builder’s responsibility.