-
Notifications
You must be signed in to change notification settings - Fork 1
/
yolo.proto
46 lines (32 loc) · 865 Bytes
/
yolo.proto
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
package yolo;
message Image_jpg {
required string data = 1;
required int32 channels = 2;
required int32 width = 3;
required int32 height = 4;
message Object {
required int32 x = 1;
required int32 y = 2;
required int32 width = 3;
required int32 height = 4;
required string cls = 5;
}
repeated Object object = 5;
required int32 object_num = 6;
}
message Image_raw {
required bytes data = 1;
required string filename = 2;
required int32 channels = 3;
required int32 width = 4;
required int32 height = 5;
message Object {
required int32 x = 1;
required int32 y = 2;
required int32 width = 3;
required int32 height = 4;
required string cls = 5;
}
repeated Object object = 6;
required int32 object_num = 7;
}