Restructure protobuf/add annotations
All checks were successful
Tests / Tests (pull_request) Successful in 14s
All checks were successful
Tests / Tests (pull_request) Successful in 14s
This commit is contained in:
@@ -2,26 +2,53 @@ 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;
|
||||
int32 count = 3;
|
||||
}
|
||||
|
||||
message BallDetection {
|
||||
Point plane_position = 1;
|
||||
Box annotation = 2;
|
||||
bool interpolated = 3;
|
||||
}
|
||||
|
||||
message RLEBallDetection {
|
||||
BallDetection detection = 1;
|
||||
uint32 count = 2;
|
||||
}
|
||||
|
||||
message RLEDetectionHistory {
|
||||
repeated RLEBallDetection detections = 1;
|
||||
}
|
||||
|
||||
message DetectionHistory {
|
||||
repeated BallDetection detections = 1;
|
||||
}
|
||||
|
||||
message Path {
|
||||
int32 start_frame = 1;
|
||||
int32 end_frame = 2;
|
||||
bool is_static = 3;
|
||||
repeated Point points = 4;
|
||||
uint32 start_frame = 1;
|
||||
uint32 end_frame = 2;
|
||||
oneof detection_history {
|
||||
DetectionHistory detections = 3;
|
||||
RLEDetectionHistory rle_detections = 4;
|
||||
bool not_present = 5;
|
||||
}
|
||||
bool is_static = 6;
|
||||
}
|
||||
|
||||
message BallPaths {
|
||||
int32 ball_identifier = 1;
|
||||
message IdentifierHistory {
|
||||
uint32 ball_identifier = 1;
|
||||
repeated Path paths = 2;
|
||||
}
|
||||
|
||||
message Shot {
|
||||
int32 start_frame = 1;
|
||||
int32 end_frame = 2;
|
||||
repeated BallPaths ball_paths = 3;
|
||||
}
|
||||
repeated IdentifierHistory identifier_histories = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user