일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Android
- no space left on device
- python
- opencv
- 딥러닝
- 터미널
- string
- ubuntu
- linux
- tensorflow
- 스팸
- Torch
- ros
- CUDA
- ROS2
- error
- TTS
- ChatGPT
- CLASS
- 판교
- 분당맛집
- socketio
- timm
- 티스토리챌린지
- openAI
- 맛집
- 오블완
- humble
- pytorch
- GPT
- Today
- Total
목록Error Solution/Opencv (2)
RoBoLoG

[Error] AttributeError: module 'cv2' has no attribute 'CV_8U' 이 에러 메시지는 AttributeError: module 'cv2' has no attribute 'CV_8U'으로, Python에서 OpenCV를 사용할 때 발생할 수 있는 문제입니다. 이는 주로 opencv-python 대신 opencv-contrib-python을 사용하면서 발생할 수 있는 문제입니다. 1. 예상되는 원인 opencv-contrib-python을 사용할 때 특정 버전에서만 발생하는 호환성 문제일 수 있습니다. 저의 경우, opencv-contrib-python==4.9.0.80 버전에서 이 문제가 발생했습니다. 2. 해결 방법 문제의 원인이 특정 버전의 opencv-con..

Opencv Imshow 오류 cv2.imshow('Webcam', frame) cv2.error: OpenCV(4.5.5) /io/opencv/modules/highgui/src/window.cpp:1268: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage' Python 환경에서 cv2.imshow..