You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
- Move .proto files to src/ dir (not src/protobuf_messages) - Generate protobuf files in src/CMakeLists.txt and include in 'openshot' library target - Don't install generated *.pb.h headers, which are now private
33 lines
527 B
Protocol Buffer
33 lines
527 B
Protocol Buffer
// © OpenShot Studios, LLC
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
// [START declaration]
|
|
syntax = "proto3";
|
|
package pb_tracker;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
// [END declaration]
|
|
|
|
// [START messages]
|
|
message Frame {
|
|
int32 id = 1; // Frame ID.
|
|
float rotation = 2;
|
|
|
|
message Box {
|
|
float x1 = 1;
|
|
float y1 = 2;
|
|
float x2 = 3;
|
|
float y2 = 4;
|
|
}
|
|
|
|
Box bounding_box = 3;
|
|
}
|
|
|
|
message Tracker {
|
|
repeated Frame frame = 1;
|
|
|
|
google.protobuf.Timestamp last_updated = 2;
|
|
}
|
|
// [END messages]
|