Extract and Merge: Merging extracted humans from different images utilizing Mask R-CNN
Selecting human objects out of the various type of objects in images and merging them with other scenes is manual and day-to-day work for photo editors. Although recently Adobe Photoshop released “select subject” tool which automatically selects the foreground object in an image, it still requires fine manual tweaking separately. In this work, we proposed an application utilizing Mask R-CNN (for object detection and mask segmentation) that can extract human instances from multiple images and merge them with a new background. This application does not add any overhead to Mask R-CNN, running at five frames per second. It can extract human instances from any number of images or videos for merging them together. We also structured the code to accept videos of different lengths as input and length of the output-video will be equal to the longest input-video. We wanted to create a simple yet effective application that can serve as a base for photo editing and do most time-consuming work automatically, so, editors can focus more on the design part. Other application could be to group people together in a single picture with a new background from different images which could not physically be togethcer. We are showing singleperson and multi-person extraction and placement in two different backgrounds. Also, we are showing a video example with single-person extraction.