-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeature_cfg.yaml
79 lines (63 loc) · 2.21 KB
/
feature_cfg.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Define features by giving body part names.
# A feature is defined by a list of body parts.
# Optionally avg., min., or max. of a feature group can be included as follows.
# Only for angle, distance, delta distance, and delta angles.
# - avg: [feature 1, feature 2, ..., feature n]
# - min: [feature 1, feature 2, ..., feature n]
# - max: [feature 1, feature 2, ..., feature n]
### ~~~ ###
### Snap features ###
# Use cartesian components (x,y values) of given body parts, one body part.
pose:
- prob
- halt
- thor_post
# Use given body parts to compute angle values, three body parts.
angle: [ ]
# Use given body parts to compute distance values, two body parts.
distance:
- [origin, halt]
- [origin, prob]
- [head, prob]
- [thor_ant, halt]
- [thor_post, halt]
- avg:
- [thor_post, joint1_top]
- [thor_post, joint2_top]
- [thor_post, joint3_top]
- avg:
- [thor_post, joint1]
- [thor_post, joint2]
- [thor_post, joint3]
### ~~~ ###
### Delta features ###
# Given delta scales, the delta feature set will be smoothed on each scale.
# Scales values should be millisecond values.
# Number of frames will be calculated based on the FPS value given in the temporal configuration file.
delta_scales: [33]
# Use given body parts to compute velocity values, one body part.
pose_delta:
- head
- prob
- halt
- thor_post
# Use given body parts to compute angular velocity values, three body parts.
angle_delta: []
# Use given body parts to compute the change in distance values, two body parts.
distance_delta:
- [head, prob]
- [thor_post, prob]
- [thor_post, halt]
- avg:
- [thor_post, t1_tip]
- [thor_post, t2_tip]
- [thor_post, t3_tip]
### ~~~ ###
### Window features ###
# Given window sizes, moving std. or/and moving mean can be calculated for each feature.
# You need to call the corresponding function explicitly for delta features and/or snap features.
# This is optional, and not recommended.
# Especially for delta features, computing window features result in many redundant features.
# For $n$ number of windows and $m$ number of scales, $m \times n$ many feature will be generated.
window_sizes: [300, 500]
### ~~~ ###