Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Not accessing camera.

Open Spectre-SX opened this issue 7 months ago • 3 comments

When i select my camera, i enter a face and press live. The Source x Target Mapper shows up, but no output. Its just blank. I think its not even trying to access my camera, because my camera works through every other application. When I tried streaming it to the application through OBS, still didnt work. No errors in command prompt too. Please help.

Spectre-SX avatar Apr 29 '25 20:04 Spectre-SX

Tried doing it with a static face, got this error: Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 1921, in call return self.func(*args) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked self.command() File "C:\spec\Deep-Live-Cam\modules\ui.py", line 320, in root, text=("Preview"), cursor="hand2", command=lambda: toggle_preview() File "C:\spec\Deep-Live-Cam\modules\ui.py", line 745, in toggle_preview update_preview() File "C:\spec\Deep-Live-Cam\modules\ui.py", line 767, in update_preview temp_frame = frame_processor.process_frame( File "C:\spec\Deep-Live-Cam\modules\processors\frame\face_swapper.py", line 116, in process_frame temp_frame = swap_face(source_face, target_face, temp_frame) File "C:\spec\Deep-Live-Cam\modules\processors\frame\face_swapper.py", line 71, in swap_face face_swapper = get_face_swapper() File "C:\spec\Deep-Live-Cam\modules\processors\frame\face_swapper.py", line 64, in get_face_swapper FACE_SWAPPER = insightface.model_zoo.get_model( File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\insightface\model_zoo\model_zoo.py", line 91, in get_model assert osp.exists(model_file), 'model_file %s should exist'%model_file AssertionError: model_file C:\spec\Deep-Live-Cam\models\inswapper_128_fp16.onnx should exist

Spectre-SX avatar Apr 29 '25 20:04 Spectre-SX

Download this add put it in the model folder .

https://huggingface.co/hacksider/deep-live-cam/resolve/main/inswapper_128_fp16.onnx That should fix it for you

You can chat up for other assistance
+2347081306010 https://wa.me/2347081306010 You welcome .

pagealice avatar May 03 '25 03:05 pagealice

Already had it. Redownloaded and stuff, now the static generator works but not the live cam. Please help.

Spectre-SX avatar May 03 '25 07:05 Spectre-SX