728x90
반응형
turn image data type to uint8
# change dtype to uint8
img = np.array(img, dtype=np.uint8)
728x90
반응형
'사소한 Tip . 오류 해결법' 카테고리의 다른 글
ERROR: Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. (0) | 2024.01.22 |
---|---|
[Excel 엑셀] 특정 셀 참조하여 관련 데이터 전체 출력 / VLOOKUP (2) | 2023.12.21 |
[pandas] Dataframe 정리 (0) | 2023.11.15 |
[vscode] ssh 접속 불가능할 때 (4) | 2023.11.08 |
[Docker] build시 cache 제거 (0) | 2023.11.02 |