Skip to content

Commit 2cf1e81

Browse files
committed
update structure of code
1 parent 397cfd5 commit 2cf1e81

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openCvSymbolDrawing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
img = cv2.ellipse(img, (176, 200), (20,20), 0,0,300,(255,255,255),-1)
1313
img = cv2.ellipse(img, (336, 200), (60,60), 300,0,300,(255,0,0),-1)
1414
img = cv2.ellipse(img, (336, 200), (20,20), 300,0,300,(255,255,255),-1)
15+
1516
font = cv2.FONT_HERSHEY_SIMPLEX
1617
img = cv2.putText(img, "OpenCV", (196,296), font, 1, (0,0,0), 4, cv2.LINE_AA)
17-
cv2.imwrite('opencvlogo.png', img)
18+
1819
cv2.imshow("OpenCV Logo", img)
1920
cv2.waitKey(0)
2021
cv2.destroyAllWindows()
22+
cv2.imwrite('opencvlogo.png', img)

0 commit comments

Comments
 (0)