C
C
couldDog2014-10-22 17:04:07
Android
couldDog, 2014-10-22 17:04:07

How to separate a person along the contour from the background and move it to another background?

Hello,
I need to make an Android application that will automatically search for a person in the picture, trace it along the contour and move it to a different background. It is important that the old background be erased from the image as much as possible. All instructions and advice on how to implement it, and especially source code examples, will be important to me.
Here is an example:
aa9c5fcc1ac14e84a38d9775dbff7b48.png92db6a7dd667437fa68be08f845e2a22.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Pukhanov, 2014-10-22
@vpukhanov

For image processing, the OpenCV library is often used. There are posts on Habré about recognizing people in a photo , problems are also described there. In general, a program of this type is quite difficult to implement, especially since the background, in your example, can be absolutely anything.

M
Marat S, 2014-10-26
@aratj

yes, it's not a trivial task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question