Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Jarvis-Mac 🧠👁️💻

A powerful, multimodal AI assistant designed specifically for macOS. Jarvis integrates Voice, Vision, and Desktop Control to act as a true digital companion.

✨ Features

🗣️ Voice Interaction

  • Wake Word: Listens for "Hey Jarvis" (using openWakeWord).
  • Speech-to-Text: Uses OpenAI Whisper for accurate transcription.
  • Text-to-Speech: Uses OpenAI TTS (Onyx voice) for realistic responses.

👁️ Vision & Identity

  • GPT-4o Vision: Show Jarvis objects via your webcam ("What am I holding?").
  • Face Recognition: Learns your face and greets you by name.
    • Command: "Learn my face" / "Recognize me".
    • Personalization: Knows "Jehad" is the creator.
  • Continuous Mode: "Eyes On" mode to watch and converse without constant prompts.

💻 Desktop Control

  • App Management: "Open Safari", "Open VS Code".
  • Media Control: "Play next song", "Pause music".
  • System: "Set volume to 50%".

🚀 Installation

  1. Clone the repository:

    git clone https://github.com/HappyLife2/Jarvis-Mac.git
    cd Jarvis-Mac
  2. Set up Environment: Copy the example env file and add your OpenAI API Key.

    cp .env.example .env
    nano .env
    # Add: OPENAI_API_KEY=sk-...
  3. Install Dependencies: (Requires Python 3.10+)

    pip install -r requirements.txt

    Note: If you encounter issues with dlib or opencv, ensure you have cmake installed (brew install cmake).

  4. Run Jarvis:

    make run

🛠️ Usage

Basic Commands

  • "Hey Jarvis, what's the weather?" (Requires location)
  • "Hey Jarvis, open Spotify."
  • "Hey Jarvis, set volume to 80%."

Vision Commands

  • "Hey Jarvis, what do you see?" (Takes a snapshot)
  • "Hey Jarvis, eyes on." (Enables continuous camera mode)
  • "Hey Jarvis, eyes off." (Disables camera)

Identity Commands

  • "Hey Jarvis, learn my face." (Look at the camera)
  • "Hey Jarvis, recognize me."

🏗️ Architecture

  • Core: Python (satellite/main.py)
  • Audio: sounddevice + scipy
  • Vision: opencv-python + face_recognition
  • LLM: OpenAI GPT-4o
  • System: AppleScript (osascript)

⚠️ Notes

  • This project is optimized for macOS (Apple Silicon recommended).
  • Ensure Terminal/VS Code has Camera and Microphone permissions.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages