LovnishVerma commited on
Commit
de9604b
·
verified ·
1 Parent(s): defae99

Update gesture_rules.json

Browse files
Files changed (1) hide show
  1. gesture_rules.json +20 -13
gesture_rules.json CHANGED
@@ -1,34 +1,41 @@
1
  {
2
  "meta": {
3
  "description": "Hand gesture definitions for Hand2Voice",
4
- "finger_order": ["thumb", "index", "middle", "ring", "pinky"],
5
- "1": "finger open",
6
- "0": "finger closed"
7
  },
8
 
9
  "gestures": {
10
  "HELLO": {
11
  "pattern": [1, 1, 1, 1, 1],
12
- "type": "static",
13
  "description": "Open palm gesture"
14
  },
15
-
16
- "YES": {
17
  "pattern": [0, 1, 0, 0, 0],
18
- "type": "static",
19
  "description": "Index finger raised"
20
  },
21
-
22
  "NO": {
23
  "pattern": [0, 0, 0, 0, 0],
24
- "type": "static",
25
  "description": "Closed fist"
26
  },
27
-
28
- "THANK YOU": {
 
 
 
 
 
 
 
 
 
 
 
29
  "pattern": [1, 1, 0, 0, 1],
30
- "type": "static",
31
- "description": "Thumb, index, and pinky open"
 
 
 
32
  }
33
  }
34
  }
 
1
  {
2
  "meta": {
3
  "description": "Hand gesture definitions for Hand2Voice",
4
+ "finger_order": ["thumb", "index", "middle", "ring", "pinky"]
 
 
5
  },
6
 
7
  "gestures": {
8
  "HELLO": {
9
  "pattern": [1, 1, 1, 1, 1],
 
10
  "description": "Open palm gesture"
11
  },
12
+ "YES / POINT": {
 
13
  "pattern": [0, 1, 0, 0, 0],
 
14
  "description": "Index finger raised"
15
  },
 
16
  "NO": {
17
  "pattern": [0, 0, 0, 0, 0],
 
18
  "description": "Closed fist"
19
  },
20
+ "VICTORY / PEACE": {
21
+ "pattern": [0, 1, 1, 0, 0],
22
+ "description": "Index and Middle fingers open"
23
+ },
24
+ "OK": {
25
+ "pattern": [0, 0, 1, 1, 1],
26
+ "description": "Thumb and Index touching, others open"
27
+ },
28
+ "ROCK ON": {
29
+ "pattern": [0, 1, 0, 0, 1],
30
+ "description": "Index and Pinky open"
31
+ },
32
+ "I LOVE YOU": {
33
  "pattern": [1, 1, 0, 0, 1],
34
+ "description": "Thumb, Index, Pinky open"
35
+ },
36
+ "THUMBS UP": {
37
+ "pattern": [1, 0, 0, 0, 0],
38
+ "description": "Thumb open only"
39
  }
40
  }
41
  }