Developer So far
Developer So far

Reputation: 353

TinyCrayon Similar

I'm trying to develop app to make image with full transparency.

Mainly I need it smart selection just like TinyCrayon.

So how can I make similar algorithm to select the selected object?

this image

enter image description here

to become like this image enter image description here

using selection like this:

enter image description here

Upvotes: 1

Views: 376

Answers (1)

Borzh
Borzh

Reputation: 5215

You can use openCV library along with grabcut algorithm:

https://docs.opencv.org/3.4.3/d8/d83/tutorial_py_grabcut.html

Upvotes: 2

Related Questions