Error
예외가 발생했습니다. ModuleNotFoundError
No module named 'imutils'
import "imutils" could not be resolved
imutils 는 파이썬 OpenCV가 제공하는 기능 중 복작하고 사용성이 떨어지는 부분을 보완하였다
(이미지 또는 비디오 스트림 파일 처리등)
imutils 가 설치되어 있지 않아 뜨는 오류로 아래로 설치해 주자
Solution
터미널에서 아래 명령어 실행
pip install imutils
Imutils 란
OpenCV와 Python 2.7 및 Python 3 모두에서 변환, 회전, 크기 조정, 골격화 및 Matplotlib 이미지 표시와 같은 기본 이미지 처리 기능을 더 쉽게 만드는 일련의 편의 기능.
관련 깃허브 : https://github.com/PyImageSearch/imutils
GitHub - PyImageSearch/imutils: A series of convenience functions to make basic image processing operations such as translation,
A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python....
github.com
'파이썬' 카테고리의 다른 글
[해결] No module named 'cv2' (0) | 2021.09.30 |
---|---|
[solved] Import sklearn.preprocessing could not be resolved (0) | 2021.09.30 |
[해결] could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found (0) | 2021.09.06 |
머신러닝 용어 관련 정리 (0) | 2021.08.17 |
파이썬 텐서플로우 합성곱 신경망(TensorFlow Convolutional Neural Network, CNN) (0) | 2021.08.09 |