From 6c6597c1e17c32c6ad861780eee454a7deecfb75 Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Sun, 24 Sep 2017 12:09:41 +0100 Subject: COMPMID-500: Move HarrisCorners to new validation Change-Id: I4e21ad98d029e360010c5927f04b716527700a00 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88888 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- utils/TypePrinter.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'utils') diff --git a/utils/TypePrinter.h b/utils/TypePrinter.h index 6e2d7e24f3..861794aab3 100644 --- a/utils/TypePrinter.h +++ b/utils/TypePrinter.h @@ -622,5 +622,18 @@ inline std::string to_string(const PoolingLayerInfo &info) return str.str(); } +/** Formatted output of the KeyPoint type. */ +inline ::std::ostream &operator<<(::std::ostream &os, const KeyPoint &point) +{ + os << "{x=" << point.x << "," + << "y=" << point.y << "," + << "strength=" << point.strength << "," + << "scale=" << point.scale << "," + << "orientation=" << point.orientation << "," + << "tracking_status=" << point.tracking_status << "," + << "error=" << point.error << "}"; + + return os; +} } // namespace arm_compute #endif /* __ARM_COMPUTE_TEST_TYPE_PRINTER_H__ */ -- cgit v1.2.1