How to detect circles in noisy images

p | This was a request from a(href=“") /r/computervision. | A reddit member was asking on how to count number of eggs on quite | noisy image like you may see below. | I’ve decided to write a simple algorithm that does the job and explain how it works. div.beforeafter img(src="source.jpg",alt="before") img(src="display.jpg",alt="after") span.more h2 Step 1 - Filter image p img(src=“source.jpg”,alt=“Source image”) | The original image has noticeable color noise and therefore it must be filtered before we pass it to further stages.