aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-09-24 12:09:41 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit6c6597c1e17c32c6ad861780eee454a7deecfb75 (patch)
tree5df015557262a83e5e84a5fa365544bb1aa66762 /utils
parentc26ecf8ca13205cab2ce43d9f971e1569808e5bc (diff)
downloadComputeLibrary-6c6597c1e17c32c6ad861780eee454a7deecfb75.tar.gz
COMPMID-500: Move HarrisCorners to new validation
Change-Id: I4e21ad98d029e360010c5927f04b716527700a00 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88888 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/TypePrinter.h13
1 files changed, 13 insertions, 0 deletions
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__ */