Skip to content

Background subtraction or foreground detection for detecting moving objects

Notifications You must be signed in to change notification settings

aditi184/Background-Subtraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background Subtraction

Various background subtraction models are designed using classical computer vision methods for different type of video sequences like those with static background, moving background, changing illumination background, etc. The problem statement can be found here and detailed discussion can be found here.

Different Scene Categories

We build system for static, illumination, jitter, moving, and pan-tilt-zoom scene categories.

moving background

moving_bg_gt

Running Mode

Generate the prediction masks

python main.py  --inp_path=<path to input frames> --out_path=<path to generated masks> --eval_frames=<path to eval_frames.txt file> --category="<b/i/j/m/p>"

Evaluate the prediction masks against ground truth

python eval.py  --pred_path=<path to generated masks folder> --gt_path=<path to groundtruth masks folder>

Generate video containing foreground using original frames and corresponding masks

python makevideo.py --imgs_path=<path to input frames> --masks_path=<path to masks> --video_path=<path to save video> --eval_frames=<path to eval_frames.txt file> 

Authors

Course assignment in Computer Vision course (course webpage) taken by Prof. Chetan Arora

About

Background subtraction or foreground detection for detecting moving objects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages