Spaces:
Sleeping
Sleeping
Update pilecaps_adr.py
Browse files- pilecaps_adr.py +1 -1
pilecaps_adr.py
CHANGED
|
@@ -755,7 +755,7 @@ def FillDictionary(SimilarAreaDictionary,img,ratioarea,ratioperim,contourssP,con
|
|
| 755 |
if color != [0,0,0]: #colored images
|
| 756 |
mydata=[[],[rgbcolor[0],rgbcolor[1],rgbcolor[2] ],round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0,'']
|
| 757 |
else:
|
| 758 |
-
mydata=[[],' ', round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0]
|
| 759 |
myindex= SimilarAreaDictionary.index[((SimilarAreaDictionary['Rounded'] >=areaPerimeterMin) &(SimilarAreaDictionary['Rounded']<=areaPerimeterMax) )].tolist()
|
| 760 |
if color!= [0,0,0]: #leveled image
|
| 761 |
checkifColorExists=0 # to check whether this row was found or not( area and color )
|
|
|
|
| 755 |
if color != [0,0,0]: #colored images
|
| 756 |
mydata=[[],[rgbcolor[0],rgbcolor[1],rgbcolor[2] ],round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0,'']
|
| 757 |
else:
|
| 758 |
+
mydata=[[],' ', round(item1,1),width1,height1,1, 0,0,0,0,0,0,'',0,0,0,'']
|
| 759 |
myindex= SimilarAreaDictionary.index[((SimilarAreaDictionary['Rounded'] >=areaPerimeterMin) &(SimilarAreaDictionary['Rounded']<=areaPerimeterMax) )].tolist()
|
| 760 |
if color!= [0,0,0]: #leveled image
|
| 761 |
checkifColorExists=0 # to check whether this row was found or not( area and color )
|