Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以在图像上在 OpenCV 中绘制虚线或虚线圆圈?或者甚至是出于相同目的而不在 C++ 上使用 OpenCV 的方法?
打开文件opencv/modules/core/src/drawing.cpp。在第1317行,您可以找到 circle 实现:
Circle( Mat& img, Point center, int radius, const void* color, int fill )
复制,修改,你就完成了。随意分享任何有趣的结果。