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

  • OpenCV 4 with Python Blueprints
  • Dr. Menua Gevorgyan Arsen Mamikonyan Michael Beyeler
  • 97字
  • 2021-06-24 16:50:07

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.

主站蜘蛛池模板: 东光县| 陕西省| 蚌埠市| 晋宁县| 河南省| 东宁县| 江孜县| 辽中县| 惠州市| 吉隆县| 彰化市| 昌乐县| 富民县| 两当县| 额敏县| 垣曲县| 南安市| 屏东县| 克东县| 长海县| 苗栗县| 柞水县| 突泉县| 农安县| 银川市| 南溪县| 宝兴县| 交城县| 淳安县| 友谊县| 乐东| 郧西县| 张家港市| 商丘市| 昆山市| 满城县| 舟曲县| 海安县| 景德镇市| 都安| 辽阳县|