hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
30.99k stars 4.3k forks source link

Slow performance on M2 Air #36

Closed tommyj8 closed 3 months ago

tommyj8 commented 3 months ago

I'm running with GPU acceleration (coreml) Each frame generation takes 2-5s Running live mode is practically impossible

Any tips on improving performance?

hacksider commented 3 months ago

You can make the frames smaller by editing line 260 and 261 on ui.py

That way it will only render smaller images.