colorGPT  by sonnylazuardi

Web app for generating color names from real-world capture

Created 5 years ago
583 stars

Top 55.6% on SourcePulse

GitHubView on GitHub
Project Summary

colorGPT generates descriptive names for colors captured in real-time from a user's webcam feed. It leverages the OpenAI API to translate hex color codes into human-readable names, making it useful for designers, artists, or anyone needing to identify and label colors from their environment.

How It Works

The application utilizes the navigator.getUserMedia Web API to access the device's camera and capture video frames. It then extracts color data from these frames, specifically focusing on the dominant or selected color. This hex color code is subsequently sent to the ChatGPT API, which is prompted to generate a descriptive name for the color.

Quick Start & Requirements

  • Install dependencies: pnpm i
  • Run application: pnpm dev
  • Requires an OpenAI API key.
  • Available at http://localhost:3000.
  • Deployable via Vercel or StackBlitz.

Highlighted Details

  • Real-time color capture via Web Video API.
  • Generates color names using ChatGPT API.
  • Local deployment and Vercel/StackBlitz options.

Maintenance & Community

No specific community channels or maintenance details are provided in the README.

Licensing & Compatibility

The README does not specify a license.

Limitations & Caveats

The project relies on external APIs (OpenAI) which may incur costs. No information is provided regarding performance, accuracy of color naming, or specific browser compatibility.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
0 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.