void VideoBasedTracker::drawLedCircleOnStatusImage(Led const &led, bool filled, cv::Vec3b color) { cv::circle(m_statusImage, led.getLocation(), led.getMeasurement().diameter / 2., cv::Scalar(color), filled ? -1 : 1); }
void VideoBasedTracker::drawRecognizedLedIdOnStatusImage(Led const &led) { auto label = std::to_string(led.getOneBasedID()); cv::putText(m_statusImage, label, led.getLocation(), cv::FONT_HERSHEY_SIMPLEX, 0.25, cv::Scalar(127, 127, 127)); }