March 2020
Intermediate to advanced
366 pages
9h 8m
English
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.