source

read_prediction_from_port

 read_prediction_from_port (port:str)

Reads a single prediction line over serial from the MCU device and returns dict containing scores with keys Person and No person. Returns None if serial fails.