blob: 62f5e815173eaf762efcdcec0f756eeee6b02adc [file] [log] [blame]
Brian Silverman58899fd2019-03-24 11:03:11 -07001#include "aos/vision/image/image_stream.h"
2
3#include "aos/logging/logging.h"
4
5namespace aos {
6namespace vision {
7
8void ImageStreamEvent::ProcessHelper(
9 DataRef data, aos::monotonic_clock::time_point timestamp) {
10 if (data.size() < 300) {
Austin Schuhf257f3c2019-10-27 21:00:43 -070011 AOS_LOG(INFO, "got bad img of size(%d)\n", static_cast<int>(data.size()));
Brian Silverman58899fd2019-03-24 11:03:11 -070012 return;
13 }
14 ProcessImage(data, timestamp);
15}
16
17} // namespace vision
18} // namespace aos