Parker Schuh | f2a3493 | 2019-02-16 20:39:19 -0800 | [diff] [blame] | 1 | #ifndef _AOS_VISION_IMAGE_IMAGE_DATASET_H_ |
| 2 | #define _AOS_VISION_IMAGE_IMAGE_DATASET_H_ |
| 3 | |
| 4 | #include <string> |
| 5 | #include <vector> |
| 6 | |
| 7 | namespace aos { |
| 8 | namespace vision { |
| 9 | |
| 10 | struct DatasetFrame { |
| 11 | // TODO: These should be V4L formats ideally. |
| 12 | bool is_jpeg = true; |
| 13 | std::string data; |
| 14 | }; |
| 15 | |
| 16 | std::vector<DatasetFrame> LoadDataset(const std::string &jpeg_list_filename); |
| 17 | |
| 18 | } // namespace vision |
| 19 | } // namespace aos |
| 20 | |
| 21 | #endif // _AOS_VISION_IMAGE_IMAGE_DATASET_H_ |