Ask Your Question

Revision history [back]

I would go for shape analysis in the following way

  • For each contour calculate HuMoments
  • Then learn a very simple classifier (NaiveBayes, linear SVM, ...) that seperates rectangles from other shapes