Skip to content

mahika077/Python-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Python-project

import cv2

original_image=cv2.imread('lilly.jpeg')

gray_image=cv2.cvtColor(original_image,cv2.COLOR_BGR2GRAY)

cv2.imshow('Original image',original_image)

cv2.imshow('Gray Image',gray_image)

cv2.imwrite('lilly.png',gray_image)

cv2.waitKey(0)

About

The name of the project is "ImageConvertor&Compressor" .It is a project that is created using opencv-python . It is capable of converting any colored image into a black and white image and then further compressing it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors