Marthee commited on
Commit
7ebbda6
·
1 Parent(s): 09a3843

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -872,7 +872,7 @@ def drawAllContours(green2,img,number,finalColorArray,num1,num2,flag):
872
  cv2.drawContours(imgArea1, [contour], 0, (0, 0, 255), 4)
873
 
874
 
875
- alpha = 0.6 # Transparency factor.
876
  image_new1 = cv2.addWeighted(imgArea1, alpha, imgtransparent1, 1 - alpha, 0)
877
  # if flag=='area':
878
  # cv2_imshow(image_new1)
 
872
  cv2.drawContours(imgArea1, [contour], 0, (0, 0, 255), 4)
873
 
874
 
875
+ alpha = 0.4 # Transparency factor.
876
  image_new1 = cv2.addWeighted(imgArea1, alpha, imgtransparent1, 1 - alpha, 0)
877
  # if flag=='area':
878
  # cv2_imshow(image_new1)