Safemotion Lib
Loading...
Searching...
No Matches
version_info.py
Go to the documentation of this file.
1# json_version : path_format
2PATH_FORMAT = {
3 10 : ['R\d{3}', 'C\d{2}', 'S\d{3}'],
4 11 : ['P\d{3}', 'C\d{3}', 'A\d{4}', 'R\d{3}'],
5}
6# json_version : scenario path
7SCENARIO_FILE_BASE = "scenario"
8SCENARIO_FILE = {
9 10 : "scenario_2021.txt",
10 11 : "scenario_2022.txt",
11}
12
13# label map version : [ label map path , [split keys] ]
14LABEL_BASE = "label"
15LABEL_FILE_INFO = {
16 10 : { "all" : {"file_name" : "action_cloth_label_2021.txt", "keys" : ["행동2021", "상의2021", "하의2021"]}},
17 11 : { "all" : {"file_name" : "action_cloth_label_2022.txt", "keys" : ["행동2022", "상의2022", "하의2022"]}},
18 20 : { "all" : {"file_name" : "action_cloth_label_2022_ver2.txt", "keys" : ["pose2022", "action2022", "hand2022", "foot2022", "상의2022", "하의2022"]},
19 "action" : {"file_name" : "action_label_2022.txt", "keys" : ["pose2022", "action2022", "hand2022", "foot2022"]},
20 "appearance": {"file_name" : "cloth_label_2022.txt", "keys" : ["상의2022", "하의2022"]}},
21 21 : { "action" : {"file_name" : "action_label_2022_ver2.txt", "keys" : ["pose2022", "action2022", "hand2022", "foot2022", "mutual2022"]},
22 "appearance": {"file_name" : "cloth_label_2022.txt", "keys" : ["상의2022", "하의2022"]}},
23}
24
25CHECK_LIST = {
26 #11 : {"keys":["relation"], "default_value":[0]},
27 11 : {"keys":["mutual_action", "mutual_action_target", "uppervisible", "lowervisible"], "default_value":[0, [], 1, 1]}
28}
29
30KEYPOINT_NUM = 17
31LIMB_NUM = 15
32
33LimbSeq = [
34 [0, 5],
35 [0, 6],
36 [5, 7],
37 [6, 8],
38 [7, 9],
39 [8, 10],
40 [5, 6],
41 [5, 11],
42 [6, 12],
43 [11, 12],
44 [11, 13],
45 [13, 15],
46 [12, 14],
47 [14, 16],
48 ]