40 lines
635 B
Protocol Buffer
40 lines
635 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package serialized_shot;
|
|
|
|
message Box {
|
|
float left = 1;
|
|
float top = 2;
|
|
float width = 3;
|
|
float height = 4;
|
|
}
|
|
|
|
message Point {
|
|
float x = 1;
|
|
float y = 2;
|
|
}
|
|
|
|
message RLEBallDetection {
|
|
Point plane_position = 1;
|
|
Box annotation = 2;
|
|
int32 count = 3;
|
|
}
|
|
|
|
message PathMetaData {
|
|
int32 start_frame = 1;
|
|
int32 end_frame = 2;
|
|
bool is_static = 3;
|
|
}
|
|
|
|
message DetectionHistory {
|
|
int32 ball_identifier = 1;
|
|
repeated RLEBallDetection detections = 2;
|
|
repeated PathMetaData meta_datas = 3;
|
|
}
|
|
|
|
message Shot {
|
|
int32 start_frame = 1;
|
|
int32 end_frame = 2;
|
|
repeated DetectionHistory detection_histories = 3;
|
|
}
|