emilianavt / OpenSeeFace

Robust realtime face and facial landmark tracking on CPU with Unity integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'Namespace' object has no attribute 'fps'

fakedeltatime opened this issue · comments

When trying to log the data with the --log-data parameter, I get the complaint AttributeError: 'Namespace' object has no attribute 'fps', and it refers to line 296 in facetracker.py, where args.fps is used instead of fps. Changing this to fps seems to fix the problem. I don't know how to actually contribute this change so I'm creating this issue instead.

"Fix" is perhaps inaccurate as the fps value in the file seems to always be 0.

Hi and thank you for reporting this. I haven't actually used the --log-data function in a while, so I might have accidentially broken it at some point. I'll take a look at it.

This should be fixed now.