Skip to content

Commit e3f24fd

Browse files
committed
fix findContours
1 parent d606236 commit e3f24fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cv/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def get_average(self):
161161
def find_blobs(self, minsize=0, maxsize=10000000):
162162
blobs = []
163163
image = contours = hyerarchy = None
164-
image, contours, hyerarchy = cv2.findContours(self._data, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
164+
contours, hyerarchy = cv2.findContours(self._data, cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)
165165

166166
for c in contours:
167167
area = cv2.contourArea(c)

0 commit comments

Comments
 (0)