GithubHelp home page GithubHelp logo

wilsondrew / openglass Goto Github PK

View Code? Open in Web Editor NEW

This project forked from basedhardware/openglass

0.0 0.0 0.0 3.41 MB

Turn any glasses into AI-powered smart glasses

Home Page: https://openglass.ai

License: MIT License

JavaScript 0.05% C++ 4.32% C 79.69% TypeScript 15.93%

openglass's Introduction

OpenGlass - Open Source Smart Glasses

Turn any glasses into hackable smart glasses with less than $25 of off-the-shelf components. Record your life, remember people you meet, identify objects, translate text, and more.

OpenGlass

Video Demo

OpenGlass Demo

Want a Pre-built Version?

We will ship a limited number of pre-built kits. Fill out the interest form to get notified.

Community

Join the Based Hardware Discord for setup questions, contribution guide, and more.

Getting Started

Follow these steps to set up OpenGlass:

Hardware

  1. Gather the required components:

  2. 3D print the glasses mount case using the provided STL file.

  3. Open the firmware folder and open the .ino file in the Arduino IDE.

    • If you don't have the Arduino IDE installed, download and install it from the official website.
  4. Follow the software preparation steps to set up the Arduino IDE for the XIAO ESP32S3 board:

    • Add ESP32 board package to your Arduino IDE:
      • Navigate to File > Preferences, and fill "Additional Boards Manager URLs" with the URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
      • Navigate to Tools > Board > Boards Manager..., type the keyword esp32 in the search box, select the latest version of esp32, and install it.
    • Select your board and port:
      • On top of the Arduino IDE, select the port (likely to be COM3 or higher).
      • Search for xiao in the development board on the left and select XIAO_ESP32S3.
  5. Before you flash go to the "Tools" drop down in the Arduino IDE and make sure you set "PSRAM:" to be "PSRAM: "OPI PSRAM"

Like this

  1. Upload the firmware to the XIAO ESP32S3 board.

Software

  1. Clone the OpenGlass repository and install the dependencies:

    git clone https://github.com/BasedHardware/openglass.git
    cd openglass
    npm install
    
  2. Add API keys for Groq and OpenAI in the keys.ts file located at https://github.com/BasedHardware/OpenGlass/blob/main/sources/keys.ts.

  3. For Ollama, self-host the REST API from the repository at https://github.com/ollama/ollama and add the URL to the keys.ts file.

  4. Start the application:

    npm start
    

    Note: This is an Expo project. For now, open the localhost link to access the web version.

License

This project is licensed under the MIT License.

openglass's People

Contributors

akshaynarisetti avatar bentlybro avatar kodjima33 avatar scottfits avatar ex3ndr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.