dksath / gait_recognition

Model to recognise real-time gait
7 stars 1 forks source link

Fixed bug in extractor.py #5

Open DavidLee528 opened 1 year ago

DavidLee528 commented 1 year ago

Substituted the cap with video, fixed bug:

Traceback (most recent call last):
  File "extractor.py", line 91, in <module>
    totalFrames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
NameError: name 'cap' is not defined