mahaveerverma / hand-gesture-recognition-opencv

A project on hand detection and hand gesture recognition developed using OpenCV on Python 2.7.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can not understand

scutcr7 opened this issue · comments

if(first_iteration):
finger_ct_history[0]=finger_ct_history[1]=len(finger)
first_iteration=False
else:
finger_ct_history[0]=0.34*(finger_ct_history[0]+finger_ct_history[1]+len(finger))

if((finger_ct_history[0]-int(finger_ct_history[0]))>0.8):
    finger_count=int(finger_ct_history[0])+1
else:
    finger_count=int(finger_ct_history[0])

finger_ct_history[1]=len(finger)

I'm really confused ,what do the above lines do?