AIRLegend / aitrack

6DoF Head tracking software
MIT License
1.07k stars 107 forks source link

Select camera? #22

Closed Raging-Beard closed 4 years ago

Raging-Beard commented 4 years ago

It's picking up the cam on my Vive instead of webcam. Any to change this please without unplugging the Vive? Thanks

AIRLegend commented 4 years ago

Not at the moment, sorry. AITrack assumes as valid the first camera it finds. Maybe swapping the USB ports makes the trick, or, if not, disabling the Vive via Windows Device Manager would be a temporary solution.

Raging-Beard commented 4 years ago

Ok thanks, yeah I just realised I can disable Vive camera in device manager which as done the job. Hopefully it shouldn't interfere with the Vive usage as I don't have the camera turned on in SteamVR anyway. Cheers.

skalteis commented 4 years ago

Could we leave this feature request open, please?

I definitely would have use for a way to select the used camera since I am using two cameras (one for a video feed, second one for tracking). Even just specifying the DirectShow-ID or something similar via the configuration file would be perfectly fine for me, I would not even need the GUI. :-)

Thank you for this otherwise superb headtracking solution, I really appreciate the work. 👍

AIRLegend commented 4 years ago

I will start working on it for the next update! :)

AIRLegend commented 4 years ago

Already added in #34. Will be out with the next version!