Gemini Says
Gemini Says is a real-time gesture game powered by Gemini Live API.
Core trick
Streams webcam frames to the Gemini Live API, which returns pass/fail judgments on each gesture command to update score and lives.
Description
Gemini Says is a real-time gesture game powered by Gemini Live API.
The AI watches webcam input, judges whether each command is achieved, and drives gameplay with score, combo, lives, and time pressure.
As a next step, we plan to evolve this into a real-time AI-scored dance game app.
Gemini Says は、Gemini Live API を活用したリアルタイムジェスチャーゲームです。
AIがWebカメラ映像を見て指示達成を判定し、スコア・コンボ・ライフ・制限時間でゲームが進行します。
今後は、リアルタイムにAI採点できるダンスゲームアプリへ発展させる予定です。
README excerpt
# Gemini Says(ハッカソン版) Webカメラ映像を Gemini Live API に送り、 AIが「達成 / 未達成」を判定して進行するリアルタイムジェスチャーゲームです。 ## セットアップ 1. 依存関係をインストール ```bash pip install -r requirements.txt ``` 2. `.env` を作成して API キーを設定 ```env GEMINI_API_KEY=your_api_key_here ``` ## 起動 ```bash python agent_bridge.py ``` Windows の場合(venv利用時): ```powershell .\venv\Scripts\python.exe agent_bridge.py ``` ## 操作 - `Q`: 終了 - `R`: ゲームオーバー画面でリスタート ## デモ用の流れ(60〜90秒) 1. 起動して「Live API Connected」を見せる 2. 2〜3回アクションして `CLEAR` とスコア増加を見せる 3. わざとミスしてライフ減少を見せる 4. `Q` で終了 ## 既知の注意点 - ネットワーク状況で判定応答が遅れる場合があります - カメラ映像が暗いと精度が落ちるため、顔まわりを明るくしてください ## ログ - 実行ログ: `game.log` - ハイスコア: `highscore.json`