Update app.py
Browse files
app.py
CHANGED
|
@@ -437,6 +437,7 @@ def allLevelsofColor(BlackmaskDetected,img,levelonly, invertedmask,color,finalCo
|
|
| 437 |
for cnt in ColoredContour0:
|
| 438 |
area1 = cv2.contourArea(cnt)
|
| 439 |
if (area1 > 500 ):
|
|
|
|
| 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)
|
|
|
|
| 437 |
for cnt in ColoredContour0:
|
| 438 |
area1 = cv2.contourArea(cnt)
|
| 439 |
if (area1 > 500 ):
|
| 440 |
+
print('REMOVEDDDDDDDDDDDDDDDDDDDD')
|
| 441 |
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255), -1)
|
| 442 |
cv2.drawContours(firstLevel1,[cnt],0,(255,255,255), 20)
|
| 443 |
cv2.drawContours(BlackmaskDetected,[cnt],0,(0,0,0), -1)
|