Skip to content

Commit 9e9ab39

Browse files
committed
Update showLabel=True
1 parent cceedf9 commit 9e9ab39

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tutorials/Tutorial1.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
{
4949
"data": {
5050
"text/plain": [
51-
"<matplotlib.image.AxesImage at 0x1b29973b748>"
51+
"<matplotlib.image.AxesImage at 0x17fdca8d668>"
5252
]
5353
},
5454
"execution_count": 2,
@@ -90,7 +90,7 @@
9090
{
9191
"data": {
9292
"text/plain": [
93-
"<matplotlib.image.AxesImage at 0x1b29a7cdf28>"
93+
"<matplotlib.image.AxesImage at 0x17fddb1bc50>"
9494
]
9595
},
9696
"execution_count": 3,
@@ -213,7 +213,7 @@
213213
{
214214
"data": {
215215
"text/plain": [
216-
"<matplotlib.image.AxesImage at 0x1b29a841dd8>"
216+
"<matplotlib.image.AxesImage at 0x17fddbbe550>"
217217
]
218218
},
219219
"execution_count": 6,
@@ -234,7 +234,7 @@
234234
}
235235
],
236236
"source": [
237-
"Overlay = drawBoxes(image, listHit)\n",
237+
"Overlay = drawBoxes(image, listHit, showLabel=True)\n",
238238
"plt.imshow(Overlay)"
239239
]
240240
},
@@ -254,7 +254,7 @@
254254
{
255255
"data": {
256256
"text/plain": [
257-
"<matplotlib.image.AxesImage at 0x1b29a8ac470>"
257+
"<matplotlib.image.AxesImage at 0x17fddc25940>"
258258
]
259259
},
260260
"execution_count": 7,
@@ -276,7 +276,7 @@
276276
],
277277
"source": [
278278
"listHit = matchTemplates(listTemplate, image, score_threshold=0.4, method=cv2.TM_CCOEFF_NORMED, maxOverlap=0)\n",
279-
"Overlay = drawBoxes(image, listHit)\n",
279+
"Overlay = drawBoxes(image, listHit, showLabel=True)\n",
280280
"plt.imshow(Overlay)"
281281
]
282282
},
@@ -292,16 +292,16 @@
292292
},
293293
{
294294
"cell_type": "code",
295-
"execution_count": 10,
295+
"execution_count": 8,
296296
"metadata": {},
297297
"outputs": [
298298
{
299299
"data": {
300300
"text/plain": [
301-
"<matplotlib.image.AxesImage at 0x1b29aa38470>"
301+
"<matplotlib.image.AxesImage at 0x17fddcc4b38>"
302302
]
303303
},
304-
"execution_count": 10,
304+
"execution_count": 8,
305305
"metadata": {},
306306
"output_type": "execute_result"
307307
},
@@ -348,16 +348,16 @@
348348
},
349349
{
350350
"cell_type": "code",
351-
"execution_count": 11,
351+
"execution_count": 9,
352352
"metadata": {},
353353
"outputs": [
354354
{
355355
"data": {
356356
"text/plain": [
357-
"<matplotlib.image.AxesImage at 0x1b29a921c88>"
357+
"<matplotlib.image.AxesImage at 0x17fddc02400>"
358358
]
359359
},
360-
"execution_count": 11,
360+
"execution_count": 9,
361361
"metadata": {},
362362
"output_type": "execute_result"
363363
},
@@ -377,7 +377,7 @@
377377
"source": [
378378
"listTemplate = [(\"small\", smallCoin), (\"large\", largeCoin)]\n",
379379
"listHit = matchTemplates(listTemplate, image, score_threshold=0.4, method=cv2.TM_CCOEFF_NORMED, maxOverlap=0)\n",
380-
"Overlay = drawBoxes(image, listHit)\n",
380+
"Overlay = drawBoxes(image, listHit, showLabel=True)\n",
381381
"plt.imshow(Overlay)"
382382
]
383383
},

0 commit comments

Comments
 (0)