일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- mariadb
- DFS
- Python
- Splunk
- Series
- GitHub
- pandas
- GT-S80
- install
- ipad
- E-P1
- pycharm
- CNN
- SciPy
- SPL
- synology
- imread
- index
- RNN
- Button
- keras
- LSTM
- 삼성소프트웨어멤버십
- javascript
- mean
- 알고리즘
- Lotto
- pip
- dataframe
- Numpy
- Today
- Total
목록imread (5)
잠토의 잠망경
opencv import cv2 img = cv2.imread('imgpath') cv2.imshow('img',img) cv2.waitkey() cv2.destroyWindows()
erode 목적: 삐져 나온것 지우기 src = cv2.imread('img.png') kernel = cv2.getStructuringElement(shape=cv2.MORPH_CROSS, ksize=(3,3)) erode = cv2.erode(src, kernel, iteraions=10) cv2.imshow('erode', erode) dilate 목적: 매꾸기 src = cv2.imread('img.png') kernel = cv2.getStructuringElement(shape=cv2.MORPH_CROSS, ksize=(3,3)) erode = cv2.dilate(src, kernel, iteraions=10) cv2.imshow('erode&..
사진 화면에 보이기 임의의 사진을 화면에 띄우기 import cv2 imageFile='./file.jpg' img1_style = cv2.imread(imageFile, cv2.IMREAD_COLOR) # normal img2_style = cv2.imread(imageFile,cv2.IMREAD_GRAYSCALE) # Gray cv2.imshow('normal', img1_style) cv2.imshow('gray', img2_style) cv2.waitKey() cv2.destoryAllWindows() 참고 Imread flag flag Discription cv2.IMREAD_COLOR color, Default, 투명 무시 cv2.IMREAD_GRAY..