In this project, I am converting a horizontal video to a high-resolution vertical video using Open CV for content-aware cropping which detects faces, objects, and motion and dynamically assigns cropping window. Google's Mediapipe/Autoflip feature does content-aware cropping and creates vertical video.
Once the content is cropped, this vertical video is scaled up 4X using the ESPCN_x4 model which I found is pretty quick and produces good-quality high-resolution video.
This project allows users to create high-quality vertical shorts content with main subject always in focus.
Below is the demo link for the project :
Comments
Please log in or sign up to comment.