-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrain_data.py
More file actions
46 lines (41 loc) · 2.76 KB
/
train_data.py
File metadata and controls
46 lines (41 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
TRAIN_DATA = [
("I want to play Minecraft", {"entities": [(15, 24, "GAME")]}),
("Start playing Minecraft with my right hand", {"entities": [(14, 23, "GAME"), (32, 37, "ORI"), (38, 42, "LANDMARK")]}),
("place a block down", {"entities": []}),
("I love Minecraft", {"entities": []}),
(",", {"entities": []}),
("hold my fist to place a block down", {"entities": [(8, 12, "POSES"), (16, 34, "GESTURE")]}),
("I want to pass the ball when I have my fist up", {'entities': [(10, 23, "ACTION-O"), (39,43, "POSES")]}),
("I want to sprint when I show three fingers", {'entities': [(10, 16, "ACTION-O"), (29, 42, "GESTURE")]}),
("I also want to kick the ball when I kick in real life", {'entities': [(15, 28, "ACTION-O"), (36, 40, "GESTURE")]}),
("I want to activate Mario with my left hand", {'entities': [(19, 24, "GAME"), (33,37, "ORI"), (38, 42, "LANDMARK")]}),
("I want to cast a spell with an index pinch", {"entities": [(10, 22, "GESTURE"),(31, 42, "GESTURE")]}),
("Block attacks with a thumb index pinch", {"entities": [(0,13, "ACTION-O"),(21, 38, "POSES")]}),
("Use the index pinch to interact with objects", {"entities": [(8, 19, "POSES"),(23, 44, "ACTION-O")]}),
("To crouch just do a thumb down", {"entities": [(3,9, "ACTION-O"),(20, 30, "POSES")]}),
("Rotate item with a three fingers pinch", {"entities": [(0,11, "ACTION-O"),(19,38, "GESTURE")]}),
("I want to jump using three fingers", {"entities": [(10,14, "ACTION-O"),(21,34, "POSES")]}),
("I want to walk in game when show fist", {"entities": [(10,14, "ACTION-O"),(33,37, "POSES")]}),
("In Pokemon", {"entities": [(3, 10, "GAME")]}),
("do", {"entities": []}),
("three fingers to destroy", {"entities": [(0, 13, "GESTURE"),(17, 24, "ACTION-O")]}),
("I want to place down a block when I do index pinch", {"entities": [(10, 28, "ACTION-O"),(39, 50, "GESTURE")]}),
("I prefer playing Rocket League with intuitive body movements", {"entities": [(17, 30, "GAME")]}),
("I use my left hand for navigation", {"entities": [(9, 13, "ORI"), (14, 18, "LANDMARK")]}),
("clenching a fist to boost speed", {"entities": [(0, 16, "GESTURE"),(20, 31, "ACTION-O")]}),
("making a kicking motion to shoot the ball towards the goal", {"entities": [(9,23, "GESTURE"),(27,41, "ACTION-O")]}),
("I want to jump when I pose thumb down.", {"entities": [(10,14, "ACTION-O"),(27,37, "POSES")]})
]
#I want to hold button A when I show my three finger
#hold = action
#button A = args (Finer control define smth that doesn't exist)
#three finger = poses
# Not Indepth Mode (This would assumes most of thing map to most of things)
# Mario - GAME
# left - ORITEINTATION
# hand - LANDMARK
# fist - POSES - FILE
# double pinch - GESTURE - FILE
# jump - ACTION-O
# press - ACTION-C
# B/Shift - ACTION-A