blob: ce8c841f767ef84573dd16865fd8b8da0638cbaf [file] [log] [blame]
Parker Schuhf2a34932019-02-16 20:39:19 -08001#ifndef _AOS_VISION_IMAGE_IMAGE_DATASET_H_
2#define _AOS_VISION_IMAGE_IMAGE_DATASET_H_
3
4#include <string>
5#include <vector>
6
7namespace aos {
8namespace vision {
9
10struct DatasetFrame {
11 // TODO: These should be V4L formats ideally.
12 bool is_jpeg = true;
13 std::string data;
14};
15
16std::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_