Image processing using python| Pycharm

Pubblicato il: 16 maggio 2021
sul canale di: 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()


In questa pagina del sito puoi guardare il video online Image processing using python| Pycharm della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Chandrakanth 16 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 545 volte e gli è piaciuto 3 spettatori. Buona visione!