This chapter has been tested with OpenCV 4.1.0 and wxPython 4.0.4 (http://www.wxpython.org/download.php). It also requires NumPy (http://www.numpy.org) and Matplotlib (http://www.matplotlib.org/downloads.html).
Note that you may have to obtain the so-called extra modules from https://github.com/Itseez/opencv_contrib and install OpenCV with the OPENCV_EXTRA_MODULES_PATH variable set in order to install scale-invariant feature transform (SIFT). Also, note that you may have to obtain a license to use SIFT in commercial applications.
You can find the code that we present in this chapter in our GitHub repository, https://github.com/PacktPublishing/OpenCV-4-with-Python-Blueprints-Second-Edition/tree/master/chapter4.