Marthee commited on
Commit
15a0d05
·
1 Parent(s): 11e8888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)