I there any library in Python so that you can cut a certain part of an image (like a person) and paste it in other image?
Asked
Active
Viewed 298 times
0
-
Transposing a collection of pixels from one image to another is simple with [PIL](http://www.pythonware.com/products/pil/). Figuring out which pixels are "person" pixels, is probably a big unsolved problem in computer vision. – Kevin Dec 19 '13 at 13:43
1 Answers
0
You can use segmentation technique(seed based approach) in first image and then OpenCV library to place it onto another image by creating a mask.

Armin Mustafa
- 652
- 1
- 7
- 13
-
Actually I was talking about OpenCV : http://opencv.org/ But the linked you shared looks ok too. OpenCV based example: http://docs.opencv.org/trunk/doc/py_tutorials/py_imgproc/py_watershed/py_watershed.html, http://stackoverflow.com/questions/11294859/how-to-define-the-markers-for-watershed-in-opencv – Armin Mustafa Dec 20 '13 at 10:24