summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_extractor.cpp
diff options
context:
space:
mode:
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),