Skip to content

Bhabishworgrg/godot-opencv-connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot OpenCV Connection

A showcase of how Godot can be connected with OpenCV (along with mediapipe) to control game behaviour through real-time hand gesture recognition.


How It Works

  • Python Side (Finger Detection):

Uses OpenCV and MediaPipe to detect a hand from webcam input and count the number of raised fingers.

  • Godot Side (Canvas Update):

Listens for the finger count and changes the canvas colour based on the received number.

The applications communicate through a TCP connection.

Prerequisites

  • Python 3.10
  • OpenCV
  • MediaPipe
  • Godot 4.x

License

This project is licensed under the MIT License. See LICENSE for details.

Get in Touch

Email LinkedIn

About

a showcase of real-time hand gesture-controlling in Godot with OpenCV and MediaPipe integration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published