Ask Your Question

Revision history [back]

How can I write numbers inside the detected circles on the image when using Hough Circle Transform?

I used the Hough Circle Transform to detected around 2000~4000 circular wood columns. I followed the link below. http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/hough_circle/hough_circle.html# my questions are:

  1. How can I write a number inside the detected circles? i.e. to write a number 1,2,3, to each of detected circle inside the red circle.

  2. How can I save the image of question 1 to a file so that I can later check the result?

Thank you all very much for your advice. Sincerely,