Update app.py
Browse files
app.py
CHANGED
|
@@ -1130,15 +1130,15 @@ def PickColorContours(plan,dp,img,radioButton,radioButton1, color,color1,color2,
|
|
| 1130 |
else:
|
| 1131 |
if radioButton=="Measure Full Image":
|
| 1132 |
if radioButton1=='Area':
|
| 1133 |
-
Dictionary, imgPerimeter1,image_new1
|
| 1134 |
else:
|
| 1135 |
-
Dictionary, imgPerimeter1,image_new1
|
| 1136 |
|
| 1137 |
else:
|
| 1138 |
if radioButton1=='Area':
|
| 1139 |
-
Dictionary, imgPerimeter1,image_new1
|
| 1140 |
else:
|
| 1141 |
-
Dictionary, imgPerimeter1,image_new1
|
| 1142 |
|
| 1143 |
Dictionary=Dictionary.T
|
| 1144 |
# s=s.to_html()
|
|
|
|
| 1130 |
else:
|
| 1131 |
if radioButton=="Measure Full Image":
|
| 1132 |
if radioButton1=='Area':
|
| 1133 |
+
Dictionary, imgPerimeter1,image_new1 =MainFunc(plan,green2,img,dp,finalColorArray,0,num1,num2,'area')
|
| 1134 |
else:
|
| 1135 |
+
Dictionary, imgPerimeter1,image_new1 =MainFunc(plan,green2,img,dp,finalColorArray,0,num1,num2,'perimeter')
|
| 1136 |
|
| 1137 |
else:
|
| 1138 |
if radioButton1=='Area':
|
| 1139 |
+
Dictionary, imgPerimeter1,image_new1 =MainFunc(plan,green2,img,dp,finalColorArray,220,num1,num2,'area')
|
| 1140 |
else:
|
| 1141 |
+
Dictionary, imgPerimeter1,image_new1 =MainFunc(plan,green2,img,dp,finalColorArray,220,num1,num2,'perimeter')
|
| 1142 |
|
| 1143 |
Dictionary=Dictionary.T
|
| 1144 |
# s=s.to_html()
|