blob: 7801cecb2b4bed934985458f86b44b52a2108416 [file] [log] [blame]
#ifndef _AOS_VISION_IMAGE_IMAGE_DATASET_H_
#define _AOS_VISION_IMAGE_IMAGE_DATASET_H_
#include <string>
#include <vector>
namespace aos {
namespace vision {
struct DatasetFrame {
// TODO: These should be V4L formats ideally.
bool is_jpeg = true;
std::string data;
};
std::vector<DatasetFrame> LoadDataset(const std::string &jpeg_list_filename);
DatasetFrame LoadFile(const std::string &jpeg_filename);
} // namespace vision
} // namespace aos
#endif // _AOS_VISION_IMAGE_IMAGE_DATASET_H_