일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Perceptron
- TensorFlow
- 비트코인
- 딥러닝
- img
- 세계대전
- itksnap
- dtype
- terminal
- deeplearning
- 세계사
- keras
- pyqt
- numpy
- TF
- 브렉시트
- 퍼셉트론
- TFRecord
- 블록체인
- loss
- Inference
- error
- cv2
- DataSet
- opencv
- Training
- Python
- 유가 급등
- 유로화
- qtdesigner
Archives
- Today
- Total
목록컨투어 (1)
활연개랑
[OpenCV] findcontours 오류 [Start]FindContours supports only CV_8UC1 images when mode != CV_RETR_FLOODFILL otherwise supports CV_32SC1 images only in function 'cvStartFindContours_Impl'
_, bi_binary = cv2.threshold(roi_1, 0, 255, cv2.THRESH_BINARY) contours, hierarchy = cv2.findContours(bi_binary, cv2.RETR_LIST, cv2.CHAIN_APPROX_NONE) findcontours를 하기 위해 위 코드를 실행하는 과정에서 다음과 같은 오류가 발생하였습니다. cv2.error: OpenCV(4.5.5) /io/opencv/modules/imgproc/src/contours.cpp:195: error: (-210:Unsupported format or combination of formats) [Start]FindContours supports only CV_8UC1 images when mode..
Python
2022. 4. 11. 13:28