파이썬

[해결] No module named 'imutils', import imutils could not be resolved

sheepone 2021. 9. 30. 16:04
반응형

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

 

반응형