blob: 11923681bd1dbea17e0e3edf9de2a59103bc2288 [file] [log] [blame]
Austin Schuh4e2629d2019-03-28 14:44:37 -07001#ifndef Y2019_VISION_IMAGE_WRITER_H_
2#define Y2019_VISION_IMAGE_WRITER_H_
3
4#include <string>
5
6#include "aos/vision/image/image_types.h"
7
8namespace y2019 {
9namespace vision {
10
11class ImageWriter {
12 public:
13 ImageWriter();
14
15 void WriteImage(::aos::vision::DataRef data);
16
17 private:
18 void SetDirPath();
19
20 ::std::string file_prefix_ = std::string("debug_viewer_jpeg_");
21 ::std::string dir_path_;
22
23 unsigned int image_count_ = 0;
24};
25
26} // namespace vision
Philipp Schrader790cb542023-07-05 21:06:52 -070027} // namespace y2019
Austin Schuh4e2629d2019-03-28 14:44:37 -070028
29#endif // Y2019_VISION_IMAGE_WRITER_H_