Traceback (most recent call last):
File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\main.py", line 289, in
run.debug() # we run the actual video when the file is called
File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\main.py", line 209, in debug
cx, cy = Face.body_pose(frame)
File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\face.py", line 254, in body_pose
return cx, cy
UnboundLocalError: local variable 'cx' referenced before assignment
Traceback (most recent call last): File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\main.py", line 289, in
run.debug() # we run the actual video when the file is called
File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\main.py", line 209, in debug
cx, cy = Face.body_pose(frame)
File "C:\Users\Harry Muge\Desktop\surge\drivermonitoring\face.py", line 254, in body_pose
return cx, cy
UnboundLocalError: local variable 'cx' referenced before assignment