blob: 4128871a3dd0819b0703f4a7de62d7696f8c052f [file] [log] [blame]
Brian Silverman2ccf8c52016-03-15 00:22:26 -04001syntax = "proto2";
2
3package y2016.vision;
4
5// Represents a target found by the vision processing code.
6message Target {
7 optional float left_corner_x = 1;
8 optional float left_corner_y = 2;
9 optional float right_corner_x = 3;
10 optional float right_corner_y = 4;
11}
12
13// Contains all of the information extracted from a single frame captured by a
14// single camera.
15// TODO(Brian): Figure out what this all means and rework it to properly handle
16// 2 cameras without assuming they will stay perfectly in sync.
17message VisionData {
18 optional int32 camera_index = 1;
19 optional int64 image_timestamp = 2;
20 optional int64 send_timestamp = 3;
21 repeated Target target = 4;
22 optional bytes raw = 5;
23}