Auto Crop/Trim border of image in C#
Posted on 2014-11-11
I'm trying to remove the surrounding color from the scanned image. I've a scanned page of book but it comes with some surrounding color (e.g grey color). I am trying to cut just the book page leaving the surrounding color. So, far I've tried GDI+ and AForge but nothing seems to work accurately.
Is it even possible (or I'm trying in vain) to automate the trim of surrounding color from the scanned image in C#?
Kindly suggest and any working link would be great help.