blob: 2af02337513d7afd93717fdf79e2bcda4e14861e [file] [log] [blame]
Brian Silvermanfac9b872020-02-05 20:07:38 -08001include "y2020/vision/sift/sift.fbs";
2
3namespace frc971.vision.sift;
4
5// Represents a single image we train against.
6table TrainingImage {
7 features:[Feature];
8
9 // Field coordinates of the target, represented as a transformation matrix
10 // from the target to the field. See CameraPose in :sift_fbs for details of
11 // the conventions of this.
12 field_to_target:TransformationMatrix;
13
14 // Coordinates of the target in the training image.
15 camera_to_target:TransformationMatrix;
16}
17
18// Represents the information used to match incoming images against.
19table TrainingData {
20 images:[TrainingImage];
21}
22
23root_type TrainingData;