Thinning method is used to remove unwanted edge pixels where these pixels may be counted in the parameter estimation algorithm, hence increase the false detection. The shapes are decided by compactness of the region. The experimental results show that this method archives 85% accuracy when implemented in selected database.