Marthee commited on
Commit
204214b
·
1 Parent(s): 4eba75d

Update pilecaps_adr.py

Browse files
Files changed (1) hide show
  1. pilecaps_adr.py +1 -1
pilecaps_adr.py CHANGED
@@ -843,7 +843,7 @@ def drawAllContours(img,number,finalColorArray,ratioarea,ratioperim,flag , path,
843
  heightMax= height+10
844
 
845
  if ratioarea !=0 and ratioperim!=0:
846
- areaa=round(area1* ratioarea ,3) # true value of area of any shape/ area px value of same shape
847
  perimeterr=round(perimeter1* ratioperim,3)
848
  lengthShape=round(lengthShape* ratioperim,3)
849
  else:
 
843
  heightMax= height+10
844
 
845
  if ratioarea !=0 and ratioperim!=0:
846
+ areaa=area1* ratioarea # true value of area of any shape/ area px value of same shape
847
  perimeterr=round(perimeter1* ratioperim,3)
848
  lengthShape=round(lengthShape* ratioperim,3)
849
  else: