How to feed data in real time to Streamlit and simulate it graphically?

Hi! I am currently working in a project where we analyse EMG signals from Users for different hand movements to predict the movements for a prosthetic arm. I could do it using trained classifiers in a csv file with the inputs.
But now, we’re moving to the next phase where we have to take input from 6 channels in real-time and show the graphs for those channels as well as simulate a hand in graphics according to the predicted movement in real time.

Can I get an insight or a walkthrough on how I can make this possible?

You could try MQTT as described in this thread. Plotting live streaming numerical data in streamlit has many applications in science so I am keen to see a good example of this.

2 Likes

Thanks! Will def look into that… :slight_smile:

1 Like