Skip to content

Commit 21ded53

Browse files
committed
2 parents bcbcefc + fee97bf commit 21ded53

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

README.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,28 @@ First, install the driver by running the install_driver.exe from /driver_files.
1414
Before you start the program, put the camera you will be using into a good spot. The camera HAS to see your entire body, and it helps if it is above you tilted downward!
1515

1616
Then, you should be able to run the program with start_mediapipepose.bat file. A setting window should appear, but you probably only want to change the first setting:
17-
- IP or ID of camera: If using IP Webcam on android, this will be an IP address. If using a wired webcam, this will be a number. Usualy 0, but sometimes 1 or 2 etc... If 0 doesnt work, try others.
17+
- IP or ID of camera: If using IP Webcam on android, this will be an IP address. Enter it in the form http://<ip-here>:8080/video. If using a wired webcam, this will be a number. Usualy 0, but sometimes 1 or 2 etc... If 0 doesnt work, try others.
1818
- Maximum image size: If image is larger than this, it will be downscaled to prevent working with too large images. 800 seems to work fine.
1919
- Offset of HMD to neck: three values, seperated by spaces. Show offset of your neck to the hmd, which is necesary for further calculations. First value is left/right, second is up/down, third is forward/back. Default is 0.2 meters down, 0.1 meter back and should work well enough.
20-
- Preview whole skeleton: Instead of spawning just three trackers for legs, the entire skeleton will be spawned and shown 2 meters in front of you. Useful for visualizing how well it works.
21-
- Dont wait for HMD: Starts detection without waiting for you to put on the HMD. Useful if you already wear it or if you just want to see how it works without VR.
20+
- Smoothing: The smoothing window in seconds. The higher it is, the smoother will motion be, but with more latency.
21+
- Camera latency: The latency of your camera. Increase to reduce delay, but at the cost of more shakyness.
2222
- Rotate camera clockwise/counter clockwise: Rotate the camera input 90° in one direction, or 180° if both are checked.
23-
24-
When done, press Save and continue to start the program. It will open the camera and do some other initialization steps, then prompt you to put on your headset (if you are already wearing it, just move it downward for a second to detect it). Then, stand upright and still with the headset on and in view of the camera. After 5 seconds, your height will be calibrated and the trackers should appear in VR.
25-
26-
Automatic calibration isnt done yet, so you now have to manualy correct your rotation. The camera feed should appear on your desktop with two sliders. The first slider controlls your rotation around the up axis, and the second one controlls the forward/backward tilt. Use them to align the trackers in vr with your feet.
23+
- Enable experimental foot rotation: Foot rotation! May not work at all angles.
24+
- Enable automatic scale calibration: Disabling this will give you a slider to calibrate your height manualy.
25+
- Enable automatic tilt calibration: Disabling this will give you a slider to calibrate the camera tilts manualy.
26+
- Enable automatic rotation calibration: Disabling this will give you a slider to calibrate playspace rotation manualy.
27+
28+
There are also some DEV options, that you probably dont want to use:
29+
- Preview skeleton in VR: Instead of spawning just three trackers for legs, the entire skeleton will be spawned and shown 2 meters in front of you. Useful for visualizing how well it works. Dont use for actual gameplay!
30+
- Spawn trackers for hands: Try to emulate controllers by spawning trackers for your hands. Works pretty bad, so I would recommend against using this.
31+
32+
When done, press Save and continue to start the program. It will open the camera and do some other initialization steps. Then, stand upright and still with the headset on and in view of the camera. Look straight ahead. Switch the recalibrate slider to 1 to calibrate your height, camera tilt and rotation automaticaly.
33+
34+
If you disabled automatic calibration, use the other sliders to calibrate height, tilt or rotation manualy.
2735

2836
When you are done, you can now play vrchat or any other fbt game of your choice!
37+
38+
Your controllers may dissapear or no longer work when you use it the first time. If that happens, restart steamvr.
2939

3040
# MediaPipe version
3141

@@ -40,9 +50,3 @@ The project is configured to run from a local python installation in a /python s
4050

4151
Any needed libraries are listed in install_libraries.bat.
4252

43-
## TODO:
44-
45-
Mediapipe actualy returns feet rotation as well, which I currently ignore. Whether it is accurate enough to actualy use should be tested, however.
46-
47-
While calibrating with sliders is pretty fast and easy, automatic calibration using controller positions should be possible as well.
48-

0 commit comments

Comments
 (0)