With the set of contours detected, we can classify these contours and eliminate those that do not meet certain characteristics such as size or morphology. As a result, contours which meet these conditions are drawn in a new image. In this new image only the regions (or contours) interesting or useful for our case will appear, so our analysis will be easier after this classification.