alievk / avatarify-python

Avatars for Zoom, Skype and other video-conferencing apps.
Other
16.29k stars 4.09k forks source link

Cameras don't appear when i execute run_windows.bat #744

Closed i-mreed closed 3 months ago

i-mreed commented 3 months ago

after installing everything and following instructions precisely. when i run run_windows.bat this appears, but no cameras appear

[1722825390.680134] Loading Predictor [1722825396.300499] Trying camera with id 0 [1722825442.603774] Trying camera with id 1 [1722825446.125555] Trying camera with id 2

Screenshot 2024-08-04 224503

JohanAR commented 3 months ago

Your camera might not be compatible with OpenCV, which is what avatarify-python uses to capture video.

Updatedme commented 3 months ago

There are many factors that can cause this .

  1. Camera may not be active
  2. Camera may be engaged by another application

● Did you install using miniconda 3.8 or 3.7 Never the less, Among all you should do this 1st From your Local disk . Locate the avatarify folder delete the cam file then go back to your miniconda prompt and then run_windows bat.

Do that and let me know. If it does not work .

i-mreed commented 3 months ago

i figured out why it wasn't working. it wasn't compatible with the latest versions of opencv and the face-alignment modules, so i installed the older versions and it worked for me. thank you very much

pricey24 commented 3 months ago

@Updatedme could you help me out with avatarify???