summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-19 07:08:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-19 07:38:37 +0200
commit0773f40c072bdf117fff9e7179849b65737e7491 (patch)
tree534d764580eb312ada0dea038a1632fac97c5e2a /tracker-pt/point_extractor.cpp
parent9296ed95961b846a13477581e2947b8be611b154 (diff)
move nan check to compat
Diffstat (limited to 'tracker-pt/point_extractor.cpp')
-rw-r--r--tracker-pt/point_extractor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/point_extractor.cpp b/tracker-pt/point_extractor.cpp
index acba1c64..9dc1df6d 100644
--- a/tracker-pt/point_extractor.cpp
+++ b/tracker-pt/point_extractor.cpp
@@ -137,7 +137,7 @@ const std::vector<PointExtractor::vec2>& PointExtractor::extract_points(cv::Mat&
sprintf(buf, "%.2fpx", radius);
cv::putText(frame,
buf,
- cv::Point(std::round(b.pos[0]+30), std::round(b.pos[1]+20)),
+ cv::Point((int)std::round(b.pos[0]+30), (int)std::round(b.pos[1]+20)),
cv::FONT_HERSHEY_DUPLEX,
1,
cv::Scalar(0, 0, 255),