Air Hockey Using Color Recognition by anzy03 - 2

ExtensionsAIGames & Projects

Creating An 2D Air Hockey game using Unity where the controls are handed with color recognition via OpenCV

Unity 2018.3.6f1Unknown LicenseUpdated 169 days agoCreated on April 5th, 2019
Go to source


This is a 2D Air Hockey game where the contorl of the player is handled by color recognition using Python based OpenCV. The opponent is controlled by A.I which will prevent the dice from reaching the goal.

Programs Used

  • OpenCV (Python)
  • Unity3D
  • Photoshop cc

Installation & Running

  1. Install OpenCV for Python using pip install opencv-python make sure pip is upto date.

  2. Run the app.pyfile in the builds folder.


  • Main Menu Alt text

  • Play Screen Alt text

  • Color Recognition Screen Alt text

Show all projects by anzy03