Skip to content

Commit

Permalink
Expand Oak Proto to Include Resolution and Pixel Format (#221)
Browse files Browse the repository at this point in the history
Co-authored-by: Ian B <[email protected]>
Co-authored-by: Kyle Coble <[email protected]>
  • Loading branch information
3 people authored Nov 13, 2024
1 parent fb1044c commit 6167330
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions protos/farm_ng/oak/oak.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ message EncoderOptions {
uint32 frames_per_keyframe = 5;
}

enum PixelFormat {
YUV420 = 0;
RAW8 = 1;
Encoded = 2;
}

message Resolution {
uint32 width = 1;
uint32 height = 2;
}


message OakImageMeta {
int64 category = 1; // DepthAI catetory
int64 instance_num = 2; // DepthAI instance number
Expand All @@ -71,6 +83,8 @@ message OakImageMeta {
double timestamp_recv = 7; // seconds, host receive time in host monotonic clock
CameraSettings settings = 6;
EncoderOptions encoder_options = 8;
Resolution resolution = 9;
PixelFormat pixel_format = 10;
}

message OakFrame {
Expand Down

0 comments on commit 6167330

Please sign in to comment.