Diego F.

Results 2 issues of Diego F.

When get_fg_mask can't find any pixel in the sample that's foreground (e.g. white page, like image attached) will cause a exception running K-means clustering(randint's call inside it to be precise)...

Added automatic grabbing of matching images from folders passed as args(still, you can mix files in args) Matching files are jpg and png by default, but can be specified with...