Image gray scaling using OpenCV

Image gray scaling 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 gets images from it and then I have to apply gray scaling thing to get the other image with gray color 
 
Program:

Image gray scaling using OpenCV code



Output:

Reference:
GitHub Repository

Comments