Use Edge Impulse and Arduino to implement KNN classifier

Edge impulse is a website that can help you to train and implement simple embedded AI. The procedure is strightfoward. We can process and upload our data. Then we choose a proper module. In this project, we choose a KNN model.

After trainning the network, the website will generate a model.h file for us. And we can upload it into Arduino. Finally, we use serial port to transmit CSI data to arduino, and it can identity the drinks.