We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ac4d6 commit 8e769f7Copy full SHA for 8e769f7
.gitignore
@@ -6,3 +6,4 @@ dataset.zip
6
dataset_bkup.txt
7
hand_tracking.zip
8
trained_200.h5
9
+oh2k19-2019-12-14_13.04.07.mp4
run1.py
@@ -74,16 +74,16 @@
74
pred = mdl.predict(inp)
75
val = np.argmax(pred[0])
76
# print("Predicted values is :"+chr(65+val))
77
- if(len(predict)<30):
+ if(len(predict)<20):
78
predict.append(chr(65+val))
79
- if(len(predict)==30):
+ if(len(predict)==20):
80
del predict[0]
81
82
a = Counter(predict)
83
next_char = list((a.most_common())[0])
84
count = next_char[1]
85
next_char = next_char[0]
86
- if(count>=20):
+ if(count>=15):
87
if(next_char != present):
88
k.append(next_char)
89
present = next_char
0 commit comments