about summary refs log tree commit diff
path: root/lri-proto/proto/face_data.proto
diff options
context:
space:
mode:
Diffstat (limited to 'lri-proto/proto/face_data.proto')
-rw-r--r--lri-proto/proto/face_data.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/lri-proto/proto/face_data.proto b/lri-proto/proto/face_data.proto
new file mode 100644
index 0000000..669970a
--- /dev/null
+++ b/lri-proto/proto/face_data.proto
@@ -0,0 +1,18 @@
+syntax = "proto2";
+
+package ltpb;
+
+import "camera_id.proto";
+import "rectanglei.proto";
+
+message FaceData {
+    required CameraID id = 1;
+    required uint32 frame_index = 2;
+    
+    repeated ROI rois = 3;
+    message ROI {
+        optional uint32 id = 1;
+        optional RectangleI roi = 2;
+        optional float confidence = 3;
+    }
+}