Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand Oak Proto to Include Resolution and Pixel Format #221

Merged
merged 10 commits into from
Nov 13, 2024
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;
}
ianBtesser marked this conversation as resolved.
Show resolved Hide resolved

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
Loading