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 the basic layout.
  • chapter3: The main script for the chapter.
  • chapter3.FeatureMatchingLayout: A custom layout based on gui.BaseLayout that displays the webcam video feed. Each captured frame will be processed with the FeatureMatching class described earlier.
  • chapter3.main: The main function routine for starting the GUI application and accessing the depth sensor.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.47.208