import numpy as np
from PIL import Image
image = Image.open("lena.png")
np_array = np.array(image)
pil_image=Image.fromarray(np_array)
pil_image.show()
반응형
'Tensorflow' 카테고리의 다른 글
[vscode] 가상환경 삭제 명령어 (0) | 2021.12.31 |
---|---|
[object detection] 구글 코랩에서 실행하기 (0) | 2021.12.30 |
[object detection] 동영상 코드 (0) | 2021.12.30 |
[object detection] 카메라 영상 디텍션 (0) | 2021.12.30 |
[object detection] 모델 로드하는 방법 (0) | 2021.12.30 |