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
37 lines
635 B
Protocol Buffer
37 lines
635 B
Protocol Buffer
// © OpenShot Studios, LLC
|
|
//
|
|
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
// [START declaration]
|
|
syntax = "proto3";
|
|
package pb_objdetect;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
// [END declaration]
|
|
|
|
// [START messages]
|
|
message Frame {
|
|
int32 id = 1; // Frame ID.
|
|
|
|
message Box{
|
|
float x = 1;
|
|
float y = 2;
|
|
float w = 3;
|
|
float h = 4;
|
|
int32 classId = 5;
|
|
float confidence = 6;
|
|
int32 objectId = 7;
|
|
}
|
|
|
|
repeated Box bounding_box = 2;
|
|
}
|
|
|
|
message ObjDetect {
|
|
repeated Frame frame = 1;
|
|
|
|
google.protobuf.Timestamp last_updated = 2;
|
|
|
|
repeated string classNames = 3;
|
|
}
|
|
// [END messages]
|