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

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.

主站蜘蛛池模板: 临猗县| 宜都市| 黄骅市| 嘉兴市| 灵山县| 红原县| 杭锦旗| 承德县| 本溪市| 喀喇| 土默特右旗| 中阳县| 卢龙县| 宿迁市| 区。| 黄梅县| 辽源市| 会泽县| 闻喜县| 兴山县| 潜山县| 陈巴尔虎旗| 郓城县| 尖扎县| 云梦县| 卓尼县| 滨州市| 靖州| 宕昌县| 毕节市| 镶黄旗| 霍邱县| 焉耆| 冷水江市| 五家渠市| 阜新| 阿克| 潞西市| 大埔县| 来宾市| 商城县|