licherie / PostcardProject

A try :)
0 stars 0 forks source link

preprocessing needs work #2

Open licherie opened 5 years ago

licherie commented 5 years ago

Ideas: Blank postcards don't have circles. The thought now is to take the color percentages. Blank postcard will be mostly background color.

How do we achieve this? We can binarize image-> if percentage of white is above a certain threshold, we can consider this postcard blank.

or:

We can use color thresholding. How do we get the desired min and max? We can take an average by sampling from the postcards that we have.

licherie commented 5 years ago

seems like binarizing is good way to achieve this. but first there is one more step:

There are some postcards that have a black border / white border. We want to crop this out to get the postcard only.

licherie commented 5 years ago

As of now black borders are able to be cropped. However, similar color borders pose a challenge.