Files
libopenshot/src/objdetectdata.proto
FeRD (Frank Dana) 7ac54f05cc Fold libopenshot_protobuf into libopenshot
- 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
2021-10-17 23:31:02 -04:00

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]