Brian Silverman | fac9b87 | 2020-02-05 20:07:38 -0800 | [diff] [blame] | 1 | include "y2020/vision/sift/sift.fbs"; |
| 2 | |
| 3 | namespace frc971.vision.sift; |
| 4 | |
| 5 | // Represents a single image we train against. |
| 6 | table 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; |
Brian Silverman | fac9b87 | 2020-02-05 20:07:38 -0800 | [diff] [blame] | 13 | } |
| 14 | |
| 15 | // Represents the information used to match incoming images against. |
| 16 | table TrainingData { |
| 17 | images:[TrainingImage]; |
Brian Silverman | 4d4a70d | 2020-02-17 13:03:19 -0800 | [diff] [blame] | 18 | |
| 19 | // Calibration information for all the cameras we know about. |
| 20 | camera_calibrations:[CameraCalibration]; |
Brian Silverman | fac9b87 | 2020-02-05 20:07:38 -0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | root_type TrainingData; |