Spaces:
Sleeping
Sleeping
Update pilecaps_adr.py
Browse files- pilecaps_adr.py +1 -1
pilecaps_adr.py
CHANGED
|
@@ -1071,7 +1071,7 @@ def drawAllContours(dataDoc,img,number,finalColorArray,ratioarea,ratioperim , pa
|
|
| 1071 |
# annot.set_line_ends(fitz.PDF_ANNOT_LE_DIAMOND, fitz.PDF_ANNOT_LE_CIRCLE)
|
| 1072 |
annot.update()
|
| 1073 |
|
| 1074 |
-
cv2.putText(imgtransparent1,'Area: '+str(areaa) +' '+str(alltxts[contour])+' m2', (x+50,y-10) ,cv2.FONT_HERSHEY_SIMPLEX, 0.6, (50, 50, 255), 2)
|
| 1075 |
pFlag=0
|
| 1076 |
|
| 1077 |
for p in perimeters:
|
|
|
|
| 1071 |
# annot.set_line_ends(fitz.PDF_ANNOT_LE_DIAMOND, fitz.PDF_ANNOT_LE_CIRCLE)
|
| 1072 |
annot.update()
|
| 1073 |
|
| 1074 |
+
# cv2.putText(imgtransparent1,'Area: '+str(areaa) +' '+str(alltxts[contour])+' m2', (x+50,y-10) ,cv2.FONT_HERSHEY_SIMPLEX, 0.6, (50, 50, 255), 2)
|
| 1075 |
pFlag=0
|
| 1076 |
|
| 1077 |
for p in perimeters:
|