zhangmeng
2020-04-23 b762fb7c67823172e74174e5287424cc8b94e47b
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
syntax = "proto3";
import "base.proto";
 
package protomsg;
 
// Image ipc struct
message Image {
    int32 width = 1;
    int32 height = 2;
    bytes data = 3;
 
    string timestamp = 4;
    int64 id = 5;
    string cid = 6;
    string cname = 7;
}
 
message Target{
    uint64 id = 1;
    string type = 2;
    int32 confidence = 3;
    Rect rect = 4;
    bytes feature= 5;
    string attribute = 6;
}
 
message NewSDKMessage{
    string sdkID = 1;
    string sdkType = 2;
    string sdkName = 3;
    repeated Target target = 4;
    string timestamp = 5;
}
 
message NewRuleMessage{
    string dataType = 1;
    string handleTrack = 2;
    repeated NewSDKMessage message = 3;
}