Member-only story
Develop an Analytics Dashboard using Streamlit.
Streamlit is a Python package used to develop a web page with a few lines of code. You can use Streamlit to develop Analytics dashboards, run Object detection models on live streams, and for many other use cases. On the backend, Streamlit is using HTML, CSS, and Bootstrap for designing.
In this article, we will discuss the mentioned modules.
- Installation of Required Modules
- Develop a web page using Streamlit
- Upload a Video File on the page
- Object Detection on video and Add Analytics on Webpage (Dashboard)
Installation of Required Modules
Create a folder named “Analytics Dashboard”. Open terminal/cmd in the “Analytics dashboard” folder, create a virtual environment with the mentioned commands below and activate it.
### For Linux
python3 -m venv analyticsdshboard #creation of virtual environment
source analyticsdshboard/bin/activate #activation of virtualenv### For Window
python3 -m analyticsdshboard #creation of virtual environment
cd analyticsdshboard\Scripts #activation of virtualenv
activate #activation of virtualenv
Note: The above step is not necessary, but recommended if you don’t want to…