Skip to content

Extract Image frames from video to apply neural style and save converted images as gif

Notifications You must be signed in to change notification settings

AmitGarage/Neural-Style-Transfer-from-video-frames-to-gif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Neural-Style-Transfer-from-video-frames-to-gif

Extract Image frames from video to apply neural style and save converted images as gif

  • Trained a CNN model ( VGG19 architecture before flattening ) on orignal image and style image as per paper on neural style transfer .
  • Extracted image frames from video .
  • Calulated content loss between original image and at every layer image pixel value.
  • Calculated gram matrix over style image and find style loss between gram matrix and at every layer image pixel value.
  • After every iteration style loss decreases as style is being imposed on original image.
  • All converted images were saved as gif.

Video used for extracting image frames and applying different style

Video.mp4

GIF formed from converted images

Video_to_gif

About

Extract Image frames from video to apply neural style and save converted images as gif

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages