More testing and prettier drawing on images (with anti-aliasing)

This commit is contained in:
Tadas Baltrusaitis
2016-07-31 13:11:14 -04:00
parent 0445a97b0c
commit ee15ecbc46
5 changed files with 20 additions and 19 deletions

View File

@@ -215,7 +215,7 @@ void visualise_tracking(cv::Mat& captured_image, const LandmarkDetector::CLNF& f
std::sprintf(fpsC, "%d", (int)fps_tracker);
string fpsSt("FPS:");
fpsSt += fpsC;
cv::putText(captured_image, fpsSt, cv::Point(10, 20), CV_FONT_HERSHEY_SIMPLEX, 0.5, CV_RGB(255, 0, 0));
cv::putText(captured_image, fpsSt, cv::Point(10, 20), CV_FONT_HERSHEY_SIMPLEX, 0.5, CV_RGB(255, 0, 0), 1, CV_AA);
if (!det_parameters.quiet_mode)
{