Member-only story

Develop an Analytics Dashboard using Streamlit.

Muhammad Rizwan Munawar
6 min readAug 14, 2022

--

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)
Fig-1.1: Analytics Dashboard Overview

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…

--

--

Muhammad Rizwan Munawar
Muhammad Rizwan Munawar

Written by Muhammad Rizwan Munawar

Passionate Computer Vision Engineer | Solving Real-World Challenges🔎| Python | Published Research | Open Source Contributor | GitHub 🌟 | Top Rated Upwork 💪

No responses yet