serial
Matthew 1 year ago
parent b462373408
commit f70d1f90ea

@ -1221,7 +1221,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat)
it->label, item.name.c_str(), it->x, it->y, it->w, it->h, pt.x, pt.y, textSize.width, textSize.height);
ALOGI(buf);
#endif
ft2->putText(mat, item.name + std::to_string((int)(it->prob * 100.0)), pt, fontSize, textColor, thickness, cv::LINE_AA, false, true);
ft2->putText(mat, item.name + std::to_string((int)(it->prob * 100.0)) + "%", pt, fontSize, textColor, thickness, cv::LINE_AA, false, true);
}
++it;
}

Loading…
Cancel
Save