i am trying to create an application that remove the background of an image on a click of a button, can anyone give me any direction on how to build it.
the photos are like passport photos i need to remove the white background from t开发者_如何学Chem
i am a beginner C# developer and i could use all the help :)
You can implement an edge detection algorithm, and have that scan the image. Then start in the upper-left and upper-right corners of the picture, and turn every pixel transparent until you meet and edge, where you stop.
That should keep you from making people's teeth and eyes disappear. White hair might be out of luck.
精彩评论