Python Forum
imutils.grab_contours() error - reg
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
imutils.grab_contours() error - reg
#1
Hi,

I am new to Python. Started to develop coding for image processing. I came across an example code for object detection(https://www.pyimagesearch.com/2015/01/19...on-opencv/) and tried to run the same in my PC installed with Python. When I run this code, I get the below error.
AttributeError: module 'imutils has no attribute 'grab_contours'

I have installed python through Anaconda.
The versions of different modules installed are
1. OpenCV 3.4.1
2. Python 3.6.7

Request someone to give us the solution to this problem.

Regards,
X. Ignatius
Reply
#2
Hi,
From the official repository of imutils package it follows that grab_contours was added to imutils 15 days ago.
It is likely, that your (installed) version of imutils doesn't include this function; So, you need to install the newest version of imutils from its github repository.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020