iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
25.79k stars 4.36k forks source link

crashed green output in the linux env #77

Closed BbChip0103 closed 1 year ago

BbChip0103 commented 2 years ago

Hi, there. thank you for your nice work. I use linux and windows both. (usually use linux for development and sometimes use windows for the other reason) When I store output frame from file(.mp4) in the linux, green noise was usually occured like below image I tried this in the windows env at the same condition (same file, same options, etc), and green noise was not occured. Has anybody face this issue?

iperov commented 2 years ago

Try GPU merger. This problem is related to opencv. I don't use linux. So if you will investigate the problem and fix it, let me know.

BbChip0103 commented 2 years ago

Ok, I tracked this issue stage by stage. And I found something. I was trying to track at what stage this problem exactly occurred.

image

  1. As we see upper result by stages, File loading, Detecting and Marking, Aligning, Generating face by swapper looks fine.

image

  1. As we see upper result. The noise was made before merge stage. Because swapped face was overwritten on the noise.

So we need to find the bug between align stage and merge stage.

iperov commented 2 years ago

What res of video?

BbChip0103 commented 2 years ago

image Here it is. as you see.

iperov commented 2 years ago

what resolution of video?

iperov commented 2 years ago

ok i see 1024

iperov commented 2 years ago

keep working on it

iperov commented 2 years ago

@BbChip0103 no news?

BbChip0103 commented 2 years ago

@iperov

I have not took care of this issue because really busy work for my job. But now I can handle this again. I will update this issue. Promise.