Ask Your Question

Revision history [back]

i save the above frame to jpeg image

This means you are introducing compression, since jpeg is lossy compressing it will have different pixel values when reading the image back from disk. This introduces the different circles found by HoughTransform.

You could try setting the compression to 0 in imwrite, but that would kill the purpose of jpeg images.