railbird-gql/rbproto/shot.proto
Ivan Malison 019c99f674
Some checks failed
Tests / Tests (pull_request) Failing after 6s
Restructure protobuf/add annotations
2024-05-24 15:12:35 -06:00

41 lines
659 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;
bool interpolated = 3;
int32 count = 4;
}
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;
}