Parker Schuh | 24ee58d | 2017-03-11 16:13:23 -0800 | [diff] [blame] | 1 | syntax = "proto2"; |
| 2 | |
| 3 | package aos.vision; |
| 4 | |
| 5 | message CameraParams { |
| 6 | // Width of the image. |
| 7 | optional int32 width = 1 [default = 1280]; |
| 8 | |
| 9 | // Height of the image. |
| 10 | optional int32 height = 2 [default = 960]; |
| 11 | |
| 12 | // Exposure setting. |
Alex Perry | ebc6dd5 | 2019-03-16 07:54:48 -0700 | [diff] [blame] | 13 | optional int32 exposure = 3 [default = 200]; |
Parker Schuh | 24ee58d | 2017-03-11 16:13:23 -0800 | [diff] [blame] | 14 | |
| 15 | // Brightness setting. |
| 16 | optional int32 brightness = 4 [default = 128]; |
| 17 | |
| 18 | // Hardware gain multiplier on pixel values. |
| 19 | optional int32 gain = 5 [default = 0]; |
| 20 | |
| 21 | // Frames per second to run camera. |
| 22 | optional int32 fps = 6 [default = 30]; |
| 23 | } |