Image processing using python| Pycharm

Publié le: 16 mai 2021
sur la chaîne: Chandrakanth
545
3

The code which i used in this video is given below:
In the second line paste u r image's location and then run the program.

from PIL import Image,ImageFilter
myImage=Image.open(" ")
myImage.show()
print(myImage.size)
newImage=myImage.resize((167,91))
print(newImage.size)
newImage.show()
rotatedImage=myImage.rotate(145)
rotatedImage.show()
resizedImage=myImage.resize((50,70))
resizedImage.show()
flippedImage=myImage.transpose(Image.FLIP_LEFT_RIGHT)
flippedImage.show()
flippedImage=myImage.transpose(Image.FLIP_TOP_BOTTOM)
flippedImage.show()
croppedImage=myImage.crop\
(
(
90, 100,
500, 120
)
)
croppedImage.show()
greyImage=myImage.convert("L")
greyImage.show()
blurredImage=myImage.filter(ImageFilter.BoxBlur(5))
blurredImage.show()


Sur cette page du site, vous pouvez voir la vidéo en ligne Image processing using python| Pycharm durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Chandrakanth 16 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 545 fois et il a aimé 3 téléspectateurs. Bon visionnage!