Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drawing dotted/dashed circle with OpenCV

Is there any way to draw a dotted or dashed circle in OpenCV, on an image ? Or even a way without using OpenCV on C++ for the same purpose ?

like image 357
AndLydakis Avatar asked Sep 01 '25 02:09

AndLydakis


1 Answers

Open file opencv/modules/core/src/drawing.cpp. At line 1317 you find circle implementation:

Circle( Mat& img, Point center, int radius, const void* color, int fill )

Copy, modify and you're done. Feel free to share any interesting results.

like image 153
LovaBill Avatar answered Sep 02 '25 15:09

LovaBill