Spaces:
Sleeping
Sleeping
Update deploying_3_3.py
Browse files- deploying_3_3.py +1 -1
deploying_3_3.py
CHANGED
|
@@ -957,7 +957,7 @@ def mainFunctionDrawImgPdf(datadoc,dxfpath, dxfratio,pdfpath=0,pdfname=0):
|
|
| 957 |
elif(flagcolor == 2):
|
| 958 |
print(SimilarAreaDictionary.at[index, 'Color'])
|
| 959 |
print(NewColors)
|
| 960 |
-
|
| 961 |
|
| 962 |
# cv2.drawContours(imgg, [np.array(cntPoints)], -1, (NewColors), thickness=2)
|
| 963 |
cv2.drawContours(imgg, [np.array(cntPoints)], -1, ([NewColors[2],NewColors[1],NewColors[0]]), thickness=-1)
|
|
|
|
| 957 |
elif(flagcolor == 2):
|
| 958 |
print(SimilarAreaDictionary.at[index, 'Color'])
|
| 959 |
print(NewColors)
|
| 960 |
+
SimilarAreaDictionary.at[i, 'Color'] = NewColors
|
| 961 |
|
| 962 |
# cv2.drawContours(imgg, [np.array(cntPoints)], -1, (NewColors), thickness=2)
|
| 963 |
cv2.drawContours(imgg, [np.array(cntPoints)], -1, ([NewColors[2],NewColors[1],NewColors[0]]), thickness=-1)
|