-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprotocol.proto
More file actions
78 lines (66 loc) · 1.18 KB
/
protocol.proto
File metadata and controls
78 lines (66 loc) · 1.18 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
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
option java_package = "com.technoworks.CarolineMonitor";
option optimize_for = LITE_RUNTIME;
message Message
{
enum Type
{
IMAGES = 1;
OPTICAL_FLOW = 2;
DEPTH_MAP = 3;
MODEL = 4;
LOG = 5;
}
required Type type = 1;
optional Images images = 2;
optional OpticalFlow optical_flow = 3;
optional DepthMap depth_map = 4;
optional Model model = 5;
optional Log log = 6;
}
message Images
{
required Image left = 1;
required Image right = 2;
}
message OpticalFlow
{
required Point2 left = 1;
required Point2 right = 2;
}
message DepthMap
{
required int32 width = 1;
required int32 height = 2;
repeated double data = 3;
}
message Model
{
repeated Point3 verticies = 1;
repeated Edge edges = 2;
}
message Log
{
required string line = 1;
}
message Image
{
required int32 width = 1;
required int32 height = 2;
repeated int32 data = 3;
}
message Point2
{
required int32 x = 1;
required int32 y = 2;
}
message Point3
{
required double x = 1;
required double y = 2;
required double z = 3;
}
message Edge
{
required uint32 begin = 1;
required uint32 end = 2;
}