Deep Learning-Based Background Removal using MODNet with Green Spill Correction

Abstract - Background removal (portrait matting) is an important pre-processing step for photography, augmented reality, and videography. Traditional chroma-key tools require manual trimaps or controlled lighting, limiting flexibility. We propose an automated deep learning solution that uses the MODNet portrait matting model in a Streamlit-based web application. Users upload a subject image (e.g. human on green/any background) and a new background image; the system runs MODNet to compute an alpha matte, applies green-spill correction, and overlays the foreground onto the new background. The UI includes an interactive canvas for adjusting the subject’s position and a download button for the final composite. We compare MODNet’s performance to other segmentation baselines (DeepLabv3, U²-Net as used in Rembg) in terms of mask quality. Evaluation metrics such as Intersection-over-Union (IoU) and pixel accuracy are used to quantify performance. Results indicate that MODNet produces superior edge delineation and photo-realistic composites compared to standard segmentation approaches, providing an effective and user-friendly background removal tool. . Key Words: Background removal, portrait matting, image segmentation, MODNet, DeepLabv3, U²-Net, Streamlit, interactive interface

Authors

Publication Details

Journal
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
Published
2025-06-09
DOI
https://doi.org/10.55041/ijsrem49662
Primary Topic
Seismology and Earthquake Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deep Learning-Based Background Removal using MODNet with Green Spill Correction

David H. Smith
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
Seismology and Earthquake Studies
article

Deep Learning-Based Background Removal using MODNet with Green Spill Correction

David H. Smith
article en

Abstract

Abstract - Background removal (portrait matting) is an important pre-processing step for photography, augmented reality, and videography. Traditional chroma-key tools require manual trimaps or controlled lighting, limiting flexibility. We propose an automated deep learning solution that uses the MODNet portrait matting model in a Streamlit-based web application. Users upload a subject image (e.g. human on green/any background) and a new background image; the system runs MODNet to compute an alpha matte, applies green-spill correction, and overlays the foreground onto the new background. The UI includes an interactive canvas for adjusting the subject’s position and a download button for the final composite. We compare MODNet’s performance to other segmentation baselines (DeepLabv3, U²-Net as used in Rembg) in terms of mask quality. Evaluation metrics such as Intersection-over-Union (IoU) and pixel accuracy are used to quantify performance. Results indicate that MODNet produces superior edge delineation and photo-realistic composites compared to standard segmentation approaches, providing an effective and user-friendly background removal tool. . Key Words: Background removal, portrait matting, image segmentation, MODNet, DeepLabv3, U²-Net, Streamlit, interactive interface

INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENTVol. 09(06)
Openalex Percentile: Top 94%
Seismology and Earthquake Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.