-
Notifications
You must be signed in to change notification settings - Fork 34
refactor(VFTCapture): modernize and fix vive face tracker on linux #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for your PR! We don't have the Vive Facial Tracker on hand here, but if we can get some people to test this we can get this merged in. Maybe some people from the LVRA discord could help? |
|
I have a Vive Facial Tracker and an Arch Linux install. I'd like to try testing this soon. I don't know if there are any prerequisites other than building this branch and trying to run the desktop application with the VFT connected. |
Dependencies haven't changed, so you can just use the same build process as before. |
|
Heya! Apologies if I'm doing something wrong here, quite new to this project. I built this module in a separate source tree and placed it in the Modules for the upstream built app, I'm getting the following: Let me know if you need anything else! I'm running Ubuntu 24.04.3 LTS if that matters. I've not added any additional udev rules specific to the VFT either. |
|
Should note that this is after removing the LibUVCCapture and OpenCV dlls as it was trying to open with those previously. Trying again in case it was a fluke, got the following: |
If I were you, enable 'advanced settings' and make sure only the face camera has the VFTCapture set as the backend. The Bigscreen can be whatever else |
|
Hmm, I have Advanced Settings enabled but I don't see where I can set the backend? |
|
It might be a thing too where you need to type out the device path, IE |
|
Similar again, with the backend explicitly selected: |
|
Hm, back to the drawing board here. Thanks for your info so far! |
|
All good! I'll take a few more swings at it myself, not impossible that the issue is simply on my end. |
|
Copied the udevadm rules from the BSB eyetracking README and adjusted them for the vendor/product of the VFT, no dice. So it's not likely a permission issue |
|
Hmm, it might be related to OpenCVSharp. I'm building mine seperately. I can try rebasing this onto the newer capture method PRs. At least the camera ioctl calls work. That's what the PR modifies. |
|
Oh, suppose I should ask before I delve to deep - is there a way to even train a model for the VFT on linux? I don't think Baballonia on Windows can capture from it raw either, unless I'm mistaken. |
|
While we natively support training eye models on Linux, we do not do the same for the face. We have a strong enough general model here. And you are correct. Currently we cannot open the VFT camera on Windows or Linux on |
Closes #146.
This PR contains the following set of changes:
ViveFaceTracker.cs.While working on this, I realized Windows could be fixed really easy by using Window's IOCTL libraries. That's out of scope for this PR though (and I don't have a Windows install anymore).