Skip to content

Commit 9862945

Browse files
committed
added more functions
1 parent e5add1f commit 9862945

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

Create.ipynb

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
},
139139
{
140140
"cell_type": "code",
141-
"execution_count": 19,
141+
"execution_count": 2,
142142
"metadata": {},
143143
"outputs": [],
144144
"source": [
@@ -175,6 +175,33 @@
175175
"cv2.destroyAllWindows()"
176176
]
177177
},
178+
{
179+
"cell_type": "code",
180+
"execution_count": 3,
181+
"metadata": {},
182+
"outputs": [],
183+
"source": [
184+
"##draw circles\n",
185+
"cv2.circle(new1,(200,200),150,(15,25,75),-1) ##parameters :- image,centre,radius,color,fill\n",
186+
"cv2.imshow(\"Circle\",new1)\n",
187+
"cv2.waitKey(0)\n",
188+
"cv2.destroyAllWindows()"
189+
]
190+
},
191+
{
192+
"cell_type": "code",
193+
"execution_count": 5,
194+
"metadata": {},
195+
"outputs": [],
196+
"source": [
197+
"##put text\n",
198+
"cv2.putText(new1,\"Hey, you are learning opencv\",(75,290),cv2.FONT_HERSHEY_COMPLEX,3,(100,150,0),2)\n",
199+
" ##parameters :- image,text,margin,Font,font size,color,thickness\n",
200+
"cv2.imshow(\"Text\",new1)\n",
201+
"cv2.waitKey(0)\n",
202+
"cv2.destroyAllWindows()"
203+
]
204+
},
178205
{
179206
"cell_type": "code",
180207
"execution_count": null,

0 commit comments

Comments
 (0)