forked from tofis/DeepMoCap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJSONPoseFormatDataSet.cs
72 lines (62 loc) · 1.97 KB
/
JSONPoseFormatDataSet.cs
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MCUDART_Annotator
{
public class Info
{
public string description { get; set; }
public string url { get; set; }
public string version { get; set; }
public int year { get; set; }
public string contributor { get; set; }
public string date_created { get; set; }
}
public class License
{
public string url { get; set; }
public int id { get; set; }
public string name { get; set; }
}
public class Image
{
public int license { get; set; }
public string file_name { get; set; }
public string coco_url { get; set; }
public int height { get; set; }
public int width { get; set; }
public string date_captured { get; set; }
public string flickr_url { get; set; }
public int id { get; set; }
}
public class Annotation
{
public List<List<int>> segmentation { get; set; }
public int num_keypoints { get; set; }
public int area { get; set; }
public int iscrowd { get; set; }
public List<int> keypoints { get; set; }
public int image_id { get; set; }
public List<int> bbox { get; set; }
public int category_id { get; set; }
public object id { get; set; }
}
public class Category
{
public string supercategory { get; set; }
public int id { get; set; }
public string name { get; set; }
public List<string> keypoints { get; set; }
public List<List<int>> skeleton { get; set; }
}
public class JSONPoseFormatDataSet
{
public Info info { get; set; }
public List<License> licenses { get; set; }
public List<Image> images { get; set; }
public List<Annotation> annotations { get; set; }
public List<Category> categories { get; set; }
}
}