deeplearning #numpy #computervision #pythonimage

Deep Learning/Computer Vision

Image and Numpy

import numpy as np import matplotlib.pyplot as plt %matplotlib inline from PIL import Image 이미지를 jupyter notebook에 파일을 심기 위해 필요한 모듈을 불러줍니다 pic = Image.open('C:/Users/Owner/Desktop/Computer-Vision-with-Python/Computer-Vision-with-Python/DATA/00-puppy.jpg') 귀여운 댕댕이 사진이 있는 폴더의 경로를 image.open으로 불러옵니다 type(pic) PIL.JpegImagePlugin.JpegImageFile pic의 type은 이렇게 나옴. 이형식을 array로 변환해줍니다 pic_arr = np.asarr..

해파리냉채무침
'deeplearning #numpy #computervision #pythonimage' 태그의 글 목록