avatarify-python icon indicating copy to clipboard operation
avatarify-python copied to clipboard

No image in Avatarify when using an IP-webcam as an input

Open LeoLTM opened this issue 4 years ago • 3 comments

I have no USB webcam because I always use my phone as an IP webcam togehter with OBS virtual cam. Software like MS Teams, Discord and Skype let me use this as a camera source and Avatarify does too, but then there is no picture visible.

I tried every possible configuration (with VirtualCam enabled/disabled, Crop enabled/disabled, ...), but nothing worked for me.

LeoLTM avatar Dec 17 '20 18:12 LeoLTM

Has this problem been solved? I have a similar question,I used a USB webcam,but there is no picture visible when i choose the right web camera in the drop-down menu

nantongxue avatar Mar 12 '21 04:03 nantongxue

Has this problem been solved? I have a similar question,I used a USB webcam,but there is no picture visible when i choose the right web camera in the drop-down menu

If you are using the Windows app version of Avatarify, we just moved it to a separate repository, so please open an issue in https://github.com/alievk/avatarify-desktop

As for webcams not working with avatarify-python, we use OpenCV for webcam support, so avatarify-python will work with those cameras that are supported by their API. It would be quite a large task to try to extend support by some other means, and it is not on the current road map for avatarify-python.

avatarify-desktop uses a different library for webcam support, so a specific camera might work with one program if not the other.

JohanAR avatar Mar 12 '21 20:03 JohanAR

Had a similar issue, using a USB webcam and had a black screen. So here is what worked for me:

  • open config.yaml
  • changed 'query_n_cams': 4 to 'query_n_cams': 1
  • went to Device Manager and uninstalled my built-in webcam (since its broken)
  • deleted the old cam.yaml

Hope this helps.

mavsun avatar Mar 13 '21 18:03 mavsun