The bridge uses Docker in Docker (dind) to spin up a container and using that to install the model on an Arduino.


source

upload_rpi

 upload_rpi ()

Uploads compiled person detection uf2 file to device. The device must be in the USB Mass Storage Mode and device_path should be the absolute path at which the device is mounted at.


source

arduino_installer

 arduino_installer (device:dict, compiled_model:str)

Install the wanted model to a Arduino


source

install_inference

 install_inference (device:dict, model:str)

Select the appropriate installer for the device and call that installer