| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 |
| 30 | 31 |
Tags
- Lotto
- Button
- Series
- ipad
- imread
- DFS
- pandas
- javascript
- pycharm
- dataframe
- synology
- SciPy
- GitHub
- Python
- CNN
- 알고리즘
- Numpy
- E-P1
- pip
- keras
- install
- mean
- Splunk
- 삼성소프트웨어멤버십
- mariadb
- LSTM
- index
- SPL
- RNN
- GT-S80
Archives
- Today
- Total
목록Components (1)
잠토의 잠망경
[Opencv] connectedComponents & connectedComponentsWithStats
connectedComponents & connectedComponentsWithStats 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 0 0위와 같이 어떤 image에 저와 같은 배열을 갖는 이미지가 있었다. 우리가 cv2.connectedComponents(image) 를 하면 연결된 components의 개수를 반환하고 Labeling을 해준다. 0 0 0 0 0 0 1 0 0 0 2 0 1 0 0 0 2 0 1 0 0 0 2 0 1 1 0 0 0 0그럼 우리는 이것들을 분리해서 처리할 수 있다. 또한 cv2.connectedComponentsWithStats() 는 중심 좌표 및 범위를 알려주기 때문에 대상(component)를 특정화 시킬수..
공부/Python
2019. 2. 18. 20:46