Skip to content

Main characters (persons) extraction into new (desired) background - Used Mask R-CNN for object detection

Notifications You must be signed in to change notification settings

minkeshtu/Change-Background

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Change-Background

Main characters (persons) extraction into new (desired) background.

Introduction

This project mainly aims to change the background (Just need an image of your desired background) of input file (Image or video) while keeps the main charactors (person) same as input file. This project uses MASK R-CNN for object detection.

Demo

Single person Demo

Demo 1 Demo 2

Multi person Demo

Input Video Output Video

Requirements

numpy

scipy

cython

h5py

Pillow

scikit-image

tensorflow-gpu>=1.3 (Tested on 1.13)

keras

jupyter

matplotlib

imgaug (It requires shapely to be installed)

IPython[all]

opencv-python

Getting started

Ready the environment by installing all the packges. If you are facing any issues in setting up the environment then you can refer to Mask RCNN page. This project doesn't need any extra packages to run. Before running, please download mask_rcnn_coco.h5 file by clicking here and put it into the main directory

Now, you can run the command "python multi_person.py -h" to know the command line arguments requirements.

Ref

Mask RCNN

About

Main characters (persons) extraction into new (desired) background - Used Mask R-CNN for object detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages