1 | initial version |
An alternative solution to findcontours
is to project the image on the one axis using reduce.
This will give you a vector which has zeros only in the columns(or rows) for which all pixels in the original image are also zeros.
guy