Categories
video creation

HLC: Image background removal

Background image removal from videos for various hues and shades

This is more like a basic tutorial on how to perform background removal in videos and then layer them one over another.

Video Creation Steps:

List of media used by us (Credits list)
Video Background removal

For this challenge, we had decidedly chosen non standard color, hence manual correction was done

Daffodil : [[5, 10, 10], [32, 36, 240]]

Alarm clock : [[15,150,10], [21,250,250]]

The fire worked fine with “black all” option

Extras*

The clock video we got had 256 frames only while the flower had 1410. Hence we set the FPS for clock video to be 1/6 th of the original value so that they both can complete together.

Final Story
woman @(-20,2,20,0,0,0,.5,.5,.5) #1
alarm @(0,0,0,0,0,0,.893,.893,.893) #1-#1410
fire @(-40,1,0,0,0,0,1.78,1.78,1.78) #1-#1410
flower @(-27,0,0,0,0,0,.893,.893,.893) #1-#1410
Video background removal

And that’s all. This was indeed quite simple. Wanna improve further?

Summary:

  1. The memory almost hid the wall as we had 3 HD videos, plus an image, all playing at the same time.
  2. If you have lower specs but large files (more than 3-4 thousand frames), the better (and sensible) option will be to break the video in parts (by creating models manually with limited frames) and then merge finally.

By Ruchika Gupta

https://www.facebook.com/ruchika.gupta.94402343
Twitter: @TBotjob
https://github.com/man-of-panda3d/memeer