官术网_书友最值得收藏!

Displaying results

In fact, we can display the results only if the match method returns a result, right? This can be seen in the following block:

        if match_succsess:
cv.imshow("res", img_warped)
cv.imshow("flann", img_flann)
if cv.waitKey(1) & 0xff == 27:
break

Displaying images in OpenCV is straightforward and is done by the imshow method, which accepts the name of a window and an image. Additionally, loop termination criteria on the Esc keypress are set. 

Now that we have set up our app, let's take a look at the process flow in the next section.

主站蜘蛛池模板: 凌云县| 延津县| 彰武县| 仪征市| 迁安市| 定襄县| 湘潭市| 惠水县| 临桂县| 海南省| 尚志市| 厦门市| 辉县市| 井冈山市| 深圳市| 衡阳县| 江山市| 临江市| 青冈县| 大同县| 关岭| 丹寨县| 百色市| 元阳县| 卢湾区| 大同市| 扶风县| 中牟县| 平阳县| 正定县| 旬邑县| 扶余县| 巴彦淖尔市| 杂多县| 搜索| 壤塘县| 商都县| 乐业县| 富民县| 巢湖市| 灵山县|