Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

How to use the motion capture?

Step 1: Open the Python folder, and edit this line of code to your liking: cap = cv2.VideoCapture(0)
Either enter a number that represents the webcam you are using or enter the video's name (or file path) as a string.

Step 2: When the video or the webcam plays, the program will start noting down the coordinates, but they will not be recorded in a .txt file. Pressing the "s" key will save those coordinates and stop the program. After that, you will get a file named "AnimationFile.txt"
Location Of Animation Coordinates File

Step 3: Upload the file in the Unity project's Assets folder, and run the game to see the output.

Output.In.Unity.mp4

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages