Spaces:
Sleeping
Sleeping
Update analisador_iridologico.py
Browse files
analisador_iridologico.py
CHANGED
@@ -187,7 +187,7 @@ def detectar_iris_pupila(imagem, mask_esclera):
|
|
187 |
iris_circles = np.uint16(np.around(iris_circles))
|
188 |
ix, iy, ir = iris_circles[0][0]
|
189 |
mask_iris = np.zeros_like(gray)
|
190 |
-
cv2.circle(mask_iris, (ix, iy),
|
191 |
iris_region = cv2.bitwise_and(gray, gray, mask=mask_iris)
|
192 |
thresh = cv2.adaptiveThreshold(
|
193 |
iris_region,
|
|
|
187 |
iris_circles = np.uint16(np.around(iris_circles))
|
188 |
ix, iy, ir = iris_circles[0][0]
|
189 |
mask_iris = np.zeros_like(gray)
|
190 |
+
cv2.circle(mask_iris, (ix, iy), 255, -1)
|
191 |
iris_region = cv2.bitwise_and(gray, gray, mask=mask_iris)
|
192 |
thresh = cv2.adaptiveThreshold(
|
193 |
iris_region,
|