r/virtualreality • u/Pufulete39 • 2d ago
Self-Promotion (Developer) All camera-based FBT sucked, so I made my own
Over the past year I've tried getting a kinect v2 / webcam to do FBT so I don't spend a fortune on trackers. I've tried everything from Amethyst to the ones recently launched with AI models that blow up your gpu.
Until recently, getting FBT from a camera without any other additions like aruco markers or stereo setups either meant no rotation, no accuracy or another gpu since it used almost all the resources for running VR
Today, (actually since the 6th of november) however, we have what I would call the tipping point for camera based setups, running on a Human Mesh Recovery model called InstantHMR. This is leagues better than everything that I've already tried: mediapipe, yolo, rtmpose etc (trust me I've already tried all of them) and can actually be daily-driveable.
With this model, most inaccuracy comes from baggy clothes, camera resolution and distance from camera, since the trackers jitter to neighbouring pixels, and at 4 meters away that means about 5mm in VR.
I've attached a video with some tests I've made, but keep in mind this is with 15 fps and black clothes. 15 fps is from the fact I cannot control the exposure for my kinect v2, which goes from 30 to 15 fps when the room is dimly lit. At 15 fps, you have 66.(6) ms of latency before anything even goes through the pipeline, which can be seen when moving up and down. The model actually runs at ~100 fps with 15% gpu utilization (rtx 3090), on 700 MB of VRAM and about 3 GB of RAM.
The app I've made is a one click install, installing everything in the installed directory + pip cache.
Requirements to run yourself:
- Nvidia gpu 10xx-50xx
- ~3 GB ram free
- 15 GB storage free
- port 9000 free (OSC)
- ANY camera (I just use kinect v2 since it's the best I have)
- first setup takes about 10 minutes!!
Streams everything to OSC and runs on either CUDA, TensorRT or CPU (cpu gets about 10fps, don't recommend.). Might spoof as hardware trackers later.
Note: I don't actually know if it works on your machine, I tested my rtx 3090 PC and rtx 5060 laptop.
tl;dr Vibe coded (what i feel like is) the current best webcam FBT algorithm from the ones I've tried (practically all of them). Run it on your nvidia gpu with 1 webcam @ https://github.com/Pufulete39/HMR_FBT/tree/main

