Detecting circular patterns in a 64 pixel binary image

Hi I am trying to figure out the best way to detect circular patterns in a 8x8 binary image (64pixels), the circles have the following pattern across the array. I could run an array compare but that doesn’t look like the best way to compute such things. Is there a way to do pattern recognition on arrays?

0000000

0000000

0001000

0011100

0111110

0011100

0001000

0000000

Thanks

If the patterns always look like the template in your post, simply calculate the correlation with the template.

If not, explain.