roboflow / inference-dashboard-example

Roboflow's inference server to analyze video streams. This project extracts insights from video frames at defined intervals and generates informative visualizations and CSV outputs.

Home Page:https://github.com/roboflow/inference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ€– Video Inference Dashboard Example

Roboflow's inference server to analyze video streams. This project extracts insights from video frames at defined intervals and generates informative visualizations and CSV outputs.

πŸ“¦ Use Case: Smart Inventory Monitoring

Factories & stores can:

  • Save time
  • Count items at intervals, avoiding stockouts.
  • Restock efficiently using data.
  • Enhance operations

πŸ“ˆ Result

This is counting products on shelf, every 5 minutes, categorically and in total.


alt text


alt text

βš™οΈ Requirements

Make sure you have docker installed. Learn more about building, pulling, and running the Roboflow Inference Docker Image in our documentation.

πŸ” Installation

βŒ— 1 Start inference server

x86 CPU:

docker run --net=host roboflow/roboflow-inference-server-cpu:latest

NVIDIA GPU

docker run --network=host --gpus=all roboflow/roboflow-inference-server-gpu:latest

βŒ— 2 Setup and Run

git clone https://github.com/roboflow/inference-dashboard-example.git
cd inference-dashboard-example
pip install -r requirements.txt
python main.py --dataset_id [YOUR_DATASET_ID] --api_key [YOUR_API_KEY] --video_path [PATH_TO_VIDEO] --interval_minutes [INTERVAL_IN_MINUTES]

"""
--dataset_id: Your dataset name on Roboflow.
--version_id: The version ID for inference (default: 1).
--api_key: Your API key on Roboflow.
--video_path: Path to the video file for analysis.
--interval_minutes: Interval in minutes to extract predictions (default: 1).
"""

🦾 Feedback & Contributions

Feel free to open an issue, submit a PR, or share your feedback. All contributions are welcome!

About

Roboflow's inference server to analyze video streams. This project extracts insights from video frames at defined intervals and generates informative visualizations and CSV outputs.

https://github.com/roboflow/inference

License:MIT License


Languages

Language:Python 100.0%