title: Best way to count number of "White Blobs" in a Thresholded IplImage in OpenCV 2.3.0
body: <p>I need to count the number of white blobs in a Thresholded image. I'm counting small squares on a marker. But due to the poor image quality of the webcam, these squares don't appear as squares. This is why I decided to use Blob detection. This is for an Augmented reality application. Is my decision right?</p>
  
  <p>Camera placed near the marker</p>
  
  <p><img src="https://i.stack.imgur.com/F1Y9J.jpg" alt="enter image description here"></p>
  
  <p>Camera placed far from the marker</p>
  
  <p><img src="https://i.stack.imgur.com/fI7aF.jpg" alt="enter image description here"></p>