-
Notifications
You must be signed in to change notification settings - Fork 21
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
Compatibility with Virtual Webcams on Windows #1
Comments
Thank you for your sincere feedback! I think it may be an interesting question because I never meet a problem like this while debugging( I only test on computer's webcam ), I will do some researches on it and try to find a solution. By the way, if you could tackle with this problem, please tell me how to work out it, thanks! |
I ran it on GPU(GTX 1060) by DroidCamApp(windows, connect by USB). This block will raise the IndexError: VTuber-MomoseHiyori/Recognition/main.py Lines 159 to 161 in fdb82ef
I changed it like this: if steady_pose:
roll = np.clip(-(180 + np.degrees(steady_pose[2])), -50, 50)
pitch = np.clip(-(np.degrees(steady_pose[1])) - 15, -40, 40) # the 15 here is my camera angle.
yaw = np.clip(-(np.degrees(steady_pose[0])), -50, 50) But it still just render 6 FPS. Need I commit a PR for this?
|
@954-Ivory Thank you very much for pointing out this bug, I guess the reason might be: Mobile USB camera does not initialize the value of
非常感谢你指出这个bug,我想原因可能是,如果使用移动USB摄像头,源代码没有在位置校准前初始化
|
Hi, thank you very much for the program!, would it be possible to add compatibility for virtual webcam sources (not real USB webcams) like IP Webcam (Android), Droidcam, or Webcamoid? (I think they all use DirectShow filters)
The text was updated successfully, but these errors were encountered: