Skip to content

savan77/Invisible-Objects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invisible Objects

Make any objects invisible using Deep Learning and Image Processing. You can make any of the 60 objects (see labels.txt) invisible simultaneously. This can also be extended to other objects if the model can segment that object.

Execution

python main.py --video=sample.mp4 --out_video=sample_output.mp4 --show=True

The show argument suggests that we want to see output frames during the process. While running the script, you need to hit enter to proceed to next frame. If you want to make any objects invisible at a moment, enter the class id of that object (i.e 15 for person).

If you want make invisible objects visible, just enter class id preceeded by c (i.e c15 for person).

Change Background

You can also leverage this script to change background. You can keep objects of interest in foreground. demo

Below command shows how to run this.

python background_change.py --video=./assets/bgdemo3.mp4 --out_video=sample.mp4 --show=True --bg=./assets/bg_beach.jpg --change_bg_dynamic=True

About

Make Any Objects Invisible or Change Background using Deep Learning and Image Processing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages