반응형
aruco marker를 사용하기 위해서 github에서 코드를 clone하여 실행하였더니 AttributeError: module 'cv2.aruco' has no attribute 'Dictionary_get' 에러가 발생하였다.
[발생 원인]
1. opencv-contrib-python 라이브러리 설치 안됨
2. opencv-contrib-python 라이브러리가 너무 신규 버전으로 설치됨
[해결 방안]
python -m pip install opencv-contrib-python==4.5.5.64
4.6대 버전은 테스트해보지 않았음
현재 opencv-contrib-python 최신 버전은 4.7.0.72
728x90
'ERROR' 카테고리의 다른 글
[error] EasyInstallDeprecationWarning (1) | 2023.11.01 |
---|---|
[error] Usage of dash-separated 'script-dir' will not be supported in future versions. (0) | 2023.10.30 |
[error] Authentication required_vscode_github_ubuntu (0) | 2023.05.22 |
[error] SSLError, SSLCertVerificationError (0) | 2023.05.18 |
[error] termios.error: (25, 'Inappropriate ioctl for device') (0) | 2023.05.17 |