Planning the app
The final app will consist of a Python class for detecting, matching, and tracking image features, as well as a wxPython GUI application that accesses the webcam and displays each processed frame.
The project will contain the following modules and scripts:
feature_matching
: A module containing an algorithm for feature extraction, feature matching, and feature tracking. We separate this algorithm from the rest of the application so that it can be used as a standalone module without the need for a GUI.feature_matching.FeatureMatching
: A class that implements the entire feature-matching process flow. It accepts an RGB camera frame and tries to locate an object of interest in it.gui
: A module that provides a wxPython GUI application to access the capture device and display the video feed. This is the same module that we used in previous chapters.gui.BaseLayout
: A generic layout from which more complicated layouts can be built. This chapter does not require any modifications to...