Inspiration
One of my freinds had forgotten their glasses. With insurance not covering a new pair for another year, the financial burden quickly overshadowed the hackathon itself. This frustration led us to a realization—why are glasses so expensive?
In countries like Nepal or Colombia, basic glasses can cost as little as $10. While high-tech lenses justify some markup, even simple plastic frames remain costly. This sparked our idea: leverage 3D printing and computer vision to create affordable, custom-fit glasses.
What It Does
Our app scans a user's face using OpenCV, measuring key facial dimensions to generate perfectly fitting glasses. Through an intuitive interface and the Onshape API, users can:
- Select frame styles, colors, and customize their design
- Export and modify measurements for fully personalized glasses
How We Built It
We developed our platform using:
| Technology | Purpose |
|---|---|
| Next.js & TypeScript | Frontend development |
| Python & Flask | Backend processing |
| OpenCV | Facial measurements |
| Three.js | 3D visualization |
| Onshape & Onshape API | CAD modeling |
Challenges We Faced
One of our biggest hurdles was working with the Onshape API—it’s less intuitive than other modeling tools like Blender or Fusion 360.
Handling complex geometries for unique frame designs also proved challenging, so we refined our approach to be simpler and more adaptable.
Accomplishments We're Proud Of
✅ Successfully implementing OpenCV to extract precise facial measurements
✅ 3D printing functional glasses directly from our app-generated designs
What We Learned
- How to integrate OpenCV for real-world applications
- The intricacies of CAD modeling and 3D printing workflows
- New development frameworks that improved our project execution
What's Next?
- Expanding customization options
- Refining our design process
- Exploring the potential of turning this into a startup 🚀
Built With
- flask
- nextjs
- onshape
- onshapeapi
- opencv
- python
- three.js
- typescript
Log in or sign up for Devpost to join the conversation.