Skip to content

Beginner OpenCV/Unity Project Focusing on Implementing a Hand-Tracking System, building upon a YouTube tutorial foundation and using AI Agents to assist with code for dual-hand tracking and pseudo-depth perception

Notifications You must be signed in to change notification settings

PancitGuy/UnityHandTracker

Repository files navigation

DESCRIPTION

  • Beginner OpenCV/Unity Project Focusing on Implementing a Hand-Tracking System, building upon a YouTube tutorial foundation and using AI Agents to assist with code for dual-hand tracking and pseudo-depth perception

BRANCHES

  • MAIN - Containing the Unity Project, which includes C# Scripts and Main Unity Scene
  • CVCode - Containing the Hand Tracking Python file necessary to record hand movement

REQUIREMENTS

  • UNITY 6.3+ LTS (RECOMMENDED)
  • PYTHON 3.10+
  • OPENCV, MEDIAPIPE, NUMPY, (pip install opencv-python mediapipe numpy)
  • C# SUPPORT FOR VS CODE
  • CAMERA/WEBCAM SUPPORT

SETUP INSTRUCTIONS

  1. Clone Repository: git clone https://github.com/PancitGuy/UnityHandTracker.git
  2. In Repository, open up hand_tracking.py in CVCode branch and run the file (or switch to CVCode Branch to run Python Scripts "git checkout CVCode" in VSCode)
  3. Install any Python Dependencies (see REQUIREMENTS)
  4. Switch to MAIN branch (or switch to Main Branch via "git checkout main" in VSCode)
  5. Locate and Open UnityEnvironment in Assets/Scenes

ACTIVATION INSTRUCTIONS

  1. Run hand_tracking.py in CVCode Branch
  2. Launch Unity and Open UnityEnvironment
  3. Press play to activate hand-tracking scripts

CREDITS/ASSISTANCE


AUTHOR'S NOTE

  • Although AI Agents were used for conceptual assistance, extension guidance, and debugging support, all final decisions, modifications, and implementations were made by the original author. The use of AI was for educational purposes and to accelerate development during production of this project. Users of this code should read and understand the code before using it for educational projects, and should not be used for unauthorized and illegal activities.

THE AUTHOR RECOGNIZES AI'S IMPACT ON INDUSTRIES, AND DISCLOSURE OF AI-ASSISTANCE IS INCLUDED FOR ETHICAL TRANSPARENCY

About

Beginner OpenCV/Unity Project Focusing on Implementing a Hand-Tracking System, building upon a YouTube tutorial foundation and using AI Agents to assist with code for dual-hand tracking and pseudo-depth perception

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published