Parker Schuh | 0ff777c | 2017-02-19 15:01:13 -0800 | [diff] [blame^] | 1 | #ifndef AOS_VISION_BLOB_TEST_UTILS_H_ |
| 2 | #define AOS_VISION_BLOB_TEST_UTILS_H_ |
| 3 | |
| 4 | #include "aos/vision/blob/range_image.h" |
| 5 | |
| 6 | namespace aos { |
| 7 | namespace vision { |
| 8 | |
| 9 | // For tests. Loads a RangeImage from a constant string. |
| 10 | // |
| 11 | // For example this should look something like this: |
| 12 | // first and final returns will be stripped. |
| 13 | // |
| 14 | // R"( |
| 15 | // --- --- |
| 16 | // ----- |
| 17 | // -- |
| 18 | // )" |
| 19 | RangeImage LoadFromTestData(int mini, const char *data); |
| 20 | |
| 21 | } // namespace vision |
| 22 | } // namespace aos |
| 23 | |
| 24 | #endif // AOS_VISION_BLOB_TEST_UTILS_H_ |