Designing the Impulse’s pre-processing block
Now that we have the dataset ready, let’s delve into the Impulse preparation.
In this recipe, our initial focus will be on the design of the pre-processing block responsible for preparing the input image feeding the ML model.
Getting ready
The object detection pipeline we are going to build with the help of Edge Impulse is the following:
Figure 7.8: The object detection pipeline
The image preparation block reported in the preceding figure encompasses all the essential operations required to transform the camera frame into the expected input format for the Learning block.
In this project, we won’t use any camera module with the microcontroller. Instead, we will emulate the functionality of an actual camera by transmitting the frames captured with the webcam from the computer over the serial connection.
To avoid the image preparation stage reported in Figure 7.8 and make the implementation...