whitphx / streamlit-webrtc

Real-time video and audio processing on Streamlit
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.36k stars 182 forks source link

Show emotion result in other window #240

Closed balavenkatesh3322 closed 3 years ago

balavenkatesh3322 commented 3 years ago

Instead of showing all the responses in the frame, I want to show in separately. how to send all values in response and show it in the browser.

whitphx commented 3 years ago

Which do you mean in the following?

balavenkatesh3322 commented 3 years ago

@whitphx Thanks for the quick response.

Your first points help me a lot. I really want the same functionality but I would like to show the history of all the results. once the stream starts we have to start showing the results until the video stream ends we have to show all the predicted results in the table.

whitphx commented 3 years ago

You can simply customize the code to hold every result over the iterations; https://github.com/whitphx/streamlit-webrtc/blob/3ace08de428af2be262219fd248560371346bf6d/app.py#L422-L432 What's the problem?

balavenkatesh3322 commented 3 years ago

Thanks for pointing out the code. I got it .

Thanks.