1

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

Developer So far
  • 353
  • 1
  • 11
  • Ok. I understand. They are basically lying when they say it is free; it isn't free software in either sense of the word. Unfortunately asking for off-site recommendations is off-topic for Stack Overflow. – Paulw11 Dec 01 '18 at 04:53
  • @Paulw11 yes I know this link, but there is no source code, these are just an examples. also developer said 'By using TinyCrayon SDK, you agree to keep the banner ad embedded in TCMaskView fully viewable and clickable to the users.' – Developer So far Dec 01 '18 at 04:53
  • actually I'm asking for alternative either code or library. So I think stackoverflow is appropriate site to ask for that – Developer So far Dec 01 '18 at 05:01
  • No, Sorry. *Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.*. A code-answer would be too broad. So, either way it is off-topic. – Paulw11 Dec 01 '18 at 05:07
  • @Paulw11 I update my question , can you help ? – Developer So far Dec 01 '18 at 05:18
  • what do you mean by image with full transparency? – guru Dec 01 '18 at 05:49
  • @guru I update the question to explain what I need – Developer So far Dec 01 '18 at 05:59

1 Answers1

1

You can use openCV library along with grabcut algorithm:

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

Borzh
  • 5,069
  • 2
  • 48
  • 64