- Train your machine learnig model.
- Convert it to onnx
Download and install deepC and run onnx2cpp
command
% onnx2cpp <model>.onnx
Use setup and loop to include C++ file compiled by deepC
Consult Arduino Reference to complete your application/sketch.
- Upload the sketch: Sketch -> Upload
- Open the Serial Monitor: Tools -> Serial Monitor
- Replace Eigen lib of deepC with Arduino port, in case you run into Eigen errors.