Update app.py
Browse files
app.py
CHANGED
|
@@ -438,7 +438,7 @@ def allLevelsofColor(BlackmaskDetected,img,levelonly, invertedmask,color,finalCo
|
|
| 438 |
area1 = cv2.contourArea(cnt)
|
| 439 |
if (area1 > 1000 ):
|
| 440 |
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255), -1)
|
| 441 |
-
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255),
|
| 442 |
cv2.drawContours(BlackmaskDetected,[cnt],0,(0,0,0), -1)
|
| 443 |
|
| 444 |
return firstLevel1, BlackmaskDetected
|
|
|
|
| 438 |
area1 = cv2.contourArea(cnt)
|
| 439 |
if (area1 > 1000 ):
|
| 440 |
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255), -1)
|
| 441 |
+
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255), 20)
|
| 442 |
cv2.drawContours(BlackmaskDetected,[cnt],0,(0,0,0), -1)
|
| 443 |
|
| 444 |
return firstLevel1, BlackmaskDetected
|