blob: 3268a6711004453d7bef397a9346bd0f2c6de966 [file] [log] [blame]
#include "y2019/jevois/camera/image_stream.h"
#include "aos/logging/logging.h"
namespace y2019::camera {
void ImageStreamEvent::ProcessHelper(
aos::vision::DataRef data, aos::monotonic_clock::time_point timestamp) {
if (data.size() < 300) {
AOS_LOG(INFO, "got bad img of size(%d)\n", static_cast<int>(data.size()));
return;
}
ProcessImage(data, timestamp);
}
} // namespace y2019::camera