Upload
datasciencesociety
View
200
Download
2
Embed Size (px)
Citation preview
{saturated fat: 6.7g,added sugar: 8.1g,
fibre: 8.5g,proteins: 9.9g,
salt: 1.4g}
Practical Image Processing
THE PROBLEM
k-means clustering
image source: Wikipedia
http://stackoverflow.com/questions/3241929/python-find-dominant-most-common-color-in-an-image
kmeans: results on full image
SOLUTION: sloppy way
colour (pixel values) histogram
find middle pixel valueeverything below it goes blackeverything above it goes white
SOLUTION: sloppy way
side to side comparison
LINE DELETION
work with windows or full image?
remove black regions > 400 pixels?
remove uninterrupted blackregions?
Are we missing something?
CHALLENGE: WHITE PIXELS INLETTERS
THANKS!