Preparing the Zephyr Project structure
Only a few steps are separating us from the completion of this project. Now that we have the model and the input test image, we can leave Colab’s environment and focus on the application development with the Zephyr OS.
In this recipe, we will prepare the skeleton of the tflite-micro application from the pre-built hello_world
sample available in the Zephyr SDK.
Getting ready
The easiest way to start a new tflite-micro project is to copy and edit one of the pre-built samples provided by the Zephyr SDK, available in the ~/zephyrproject/zephyr/samples/modules/tflite-micro/
folder. At the time of writing, there are two ready-to-use examples:
hello_world
– A sample showing the basics to replicate a sine function with a TensorFlow Lite model: https://docs.zephyrproject.org/2.7.5/samples/modules/tflite-micro/hello_world/README.htmlmagic_wand
– A sample application showing how to recognize gestures with...