Commit e506c414 authored by barros's avatar barros
Browse files

Update CA.py

parent 1aeb7fb5
......@@ -254,9 +254,7 @@ def doConvexityApproach(img, img2):
"""
thresh = binaryImage(img)
contours,hierarchy = cv2.findContours(thresh,cv2.CHAIN_APPROX_NONE,cv2.RETR_LIST)
a, contours,hierarchy = cv2.findContours(thresh,cv2.CHAIN_APPROX_NONE,cv2.RETR_LIST)
cnt = contours[0]
for i in range(len(contours)):
......@@ -337,4 +335,4 @@ def doConvexityApproach(img, img2):
points.append(finalAngle)
return img2, points
return img2, points
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment