├── .gitignore ├── API ├── 1.jpg ├── Segmentation_API │ ├── app.py │ ├── detectron_seg.py │ ├── detectron_seg.yml │ ├── requirements.yml │ └── segmentation.py ├── app.py ├── matting.py └── requirements.yml ├── LICENSE ├── README.md ├── Videos ├── frienvengers.avi └── frienvengers_using_detectron.avi ├── dataloader.py ├── demo.py ├── examples ├── example_results.png ├── images │ ├── elephant.png │ └── troll.png ├── predictions │ ├── elephant_alpha.png │ ├── elephant_bg.png │ ├── elephant_fg.png │ ├── troll_alpha.png │ ├── troll_bg.png │ └── troll_fg.png └── trimaps │ ├── elephant.png │ └── troll.png ├── frienvengers.ipynb ├── inference.py ├── model.py └── networks ├── __init__.py ├── layers_WS.py ├── models.py ├── resnet_GN_WS.py ├── resnet_bn.py └── transforms.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/.gitignore -------------------------------------------------------------------------------- /API/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/1.jpg -------------------------------------------------------------------------------- /API/Segmentation_API/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/Segmentation_API/app.py -------------------------------------------------------------------------------- /API/Segmentation_API/detectron_seg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/Segmentation_API/detectron_seg.py -------------------------------------------------------------------------------- /API/Segmentation_API/detectron_seg.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/Segmentation_API/detectron_seg.yml -------------------------------------------------------------------------------- /API/Segmentation_API/requirements.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/Segmentation_API/requirements.yml -------------------------------------------------------------------------------- /API/Segmentation_API/segmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/Segmentation_API/segmentation.py -------------------------------------------------------------------------------- /API/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/app.py -------------------------------------------------------------------------------- /API/matting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/matting.py -------------------------------------------------------------------------------- /API/requirements.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/API/requirements.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/README.md -------------------------------------------------------------------------------- /Videos/frienvengers.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/Videos/frienvengers.avi -------------------------------------------------------------------------------- /Videos/frienvengers_using_detectron.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/Videos/frienvengers_using_detectron.avi -------------------------------------------------------------------------------- /dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/dataloader.py -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/demo.py -------------------------------------------------------------------------------- /examples/example_results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/example_results.png -------------------------------------------------------------------------------- /examples/images/elephant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/images/elephant.png -------------------------------------------------------------------------------- /examples/images/troll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/images/troll.png -------------------------------------------------------------------------------- /examples/predictions/elephant_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/elephant_alpha.png -------------------------------------------------------------------------------- /examples/predictions/elephant_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/elephant_bg.png -------------------------------------------------------------------------------- /examples/predictions/elephant_fg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/elephant_fg.png -------------------------------------------------------------------------------- /examples/predictions/troll_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/troll_alpha.png -------------------------------------------------------------------------------- /examples/predictions/troll_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/troll_bg.png -------------------------------------------------------------------------------- /examples/predictions/troll_fg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/predictions/troll_fg.png -------------------------------------------------------------------------------- /examples/trimaps/elephant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/trimaps/elephant.png -------------------------------------------------------------------------------- /examples/trimaps/troll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/examples/trimaps/troll.png -------------------------------------------------------------------------------- /frienvengers.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/frienvengers.ipynb -------------------------------------------------------------------------------- /inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/inference.py -------------------------------------------------------------------------------- /model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/model.py -------------------------------------------------------------------------------- /networks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /networks/layers_WS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/networks/layers_WS.py -------------------------------------------------------------------------------- /networks/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/networks/models.py -------------------------------------------------------------------------------- /networks/resnet_GN_WS.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/networks/resnet_GN_WS.py -------------------------------------------------------------------------------- /networks/resnet_bn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/networks/resnet_bn.py -------------------------------------------------------------------------------- /networks/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/harsh2912/Background-removal/HEAD/networks/transforms.py --------------------------------------------------------------------------------