How do you do object detection in real time?

I have seen the uber example but it does not run in real time. How do I get it to run object detection like YOLOv3 or YOLOv4 in real time?

Regards
Ritesh

Hi Ritesh
Probably try to set
[Server]
…
Automatically rerun script when the file is modified on disk.
Default: false
runOnSave = true
…

You can find this in .streamlit\config.toml

If this step wasnt helping, you can view [David Caron]'s project,
this inspires me a lot.

https://davidcaron.dev/streamlit-bicycle-counts-montreal/

Best