Open
Description
I'm reviewing some Python code that detects faces and identifies the active speaker in a video. I noticed this line:
MaxDif == max(lip_distance, MaxDif)
Shouldn't it be:
MaxDif = max(lip_distance, MaxDif)
It looks like == is a comparison operator rather than an assignment. If so, this wouldn't update MaxDif properly. Am I missing something, or is this a mistake?
Metadata
Metadata
Assignees
Labels
No labels