blob: f33cca735bfe7f142517f2c42cb8e863e9410647 [file] [log] [blame]
#ifndef Y2019_VISION_IMAGE_WRITER_H_
#define Y2019_VISION_IMAGE_WRITER_H_
#include <string>
#include "aos/vision/image/image_types.h"
namespace y2019 {
namespace vision {
class ImageWriter {
public:
ImageWriter();
void WriteImage(::aos::vision::DataRef data);
private:
void SetDirPath();
::std::string file_prefix_ = std::string("debug_viewer_jpeg_");
::std::string dir_path_;
unsigned int image_count_ = 0;
};
} // namespace vision
} // namespace y2017
#endif // Y2019_VISION_IMAGE_WRITER_H_