Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Fast Video Retargeting Based on Seam Carving with Parental Labeling

Implementation of the fast video retargeting method proposed in this paper. OpenCV 3 and NumPY are required to run these code.

Results

SeamCarverPL.py contains the sinlge-image seam carving function seamCarverVertical(img, nwidth).

  • img is a numpy array encoding the cource image, which can be created via cv2.imread().
  • nwidth is the target width after carving.

VideoRetargetingPL.py contains the video retargeting function videoRetarget(name, outn, a).

  • name is the path of the source video.
  • outn is the path of the retargeted video.
  • a is the compression factor, namely the width of the retargeted video to the width of the source video.

About

Implementation of a fast video retargeting method in python.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages