blob: 7801cecb2b4bed934985458f86b44b52a2108416 [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
Parker Schuh9e1d1692019-02-24 14:34:04 -080018DatasetFrame LoadFile(const std::string &jpeg_filename);
19
Parker Schuhf2a34932019-02-16 20:39:19 -080020} // namespace vision
21} // namespace aos
22
23#endif // _AOS_VISION_IMAGE_IMAGE_DATASET_H_