Change resolution of the video using OpenCV

Change resolution of the video using OpenCV

Introduction:
Currently, I am working on IoT based project which takes a picture from a camera and gives emotional ratings to those images, on my way I tried some small basic KUTTY-KUTTY(small) program just to make my hands firm on this project here is one code I have written in python using OpenCV library. 

Working:
This code just enables the default camera of the system and enables video whose reolution is reduced as per the parameter's set by th user.  
 
Program:

Change resolution of the video using OpenCV Code


Output:


Reference:
GitHub Repository

Comments