farzaa/gemini-bball

Python
geminiopencvcomputer-visiondemopython
Star Growth
Stars
1.2k
Forks
303
Weekly Growth
+-1
Issues
1
5001k
Oct 25Feb 26Jun 26Oct 26
ArtifactsPyPI
README

gemini-bball

Hi this is the code from this viral demo.

Screenshot 2025-07-02 at 1 31 28 PM

Please read ball.json. That's where the magic is. ball.py is mostly just an OpenCV visualizer.

To make this a real time product you'll need to:

  1. Smartly send frames to Gemini (Gemini Video can only handle 1 FPS)
  2. Use Gemini API to return content.
  3. Render it.

This would make a killer iOS app.

Good luck.