alew3 / faceit_live3

This is an update to faceit_live using first order model
366 stars 96 forks source link

Fixed some issues caused by code cleanup #6

Closed Migushthe2nd closed 2 years ago

Migushthe2nd commented 4 years ago
  1. Image shape should be saved before the image input is resized.
  2. Use floating-point division instead of integer division when calculating image aspect ratio
alew3 commented 4 years ago

with your new code changes it is calculating wrong the padding for the fakewebcam: Exception: frame width does not match the width of webcam device: 640!=639

Migushthe2nd commented 4 years ago

At what line does this occur? Because it doesn't throw an exception for me (or is this only on linux?)