Giter Club home page Giter Club logo

traffic-control-system's Introduction

Vehicle Detection and Counting System on Streamlit

Demo image

Introduction

This project is used to count and detect vehicle on the highway. It can detect 4 types of vehicles: car, motorcycle, bus, truck. I run this project on Python 3.9.7

  • YOLOv5 to detect objects on each of the video frames.

  • Deep SORT to track those objects over different frames and help counting.

  • Streamlit to build a simple web.

Installation

  • Install essential libraries and packages:
pip install -r requirements.txt
  • Run demo:
streamlit run demo.py --server.maxUploadSize=500

NOTE: If the web keeps showing "Please wait...", try to install streamlit version 1.11.0

pip install streamlit==1.11.0

If the web shows error "no module easydict"

pip install easydict

DEMO

Steps:

  1. Click Browse files to input video

  2. Setting Confidence and Line position

Settings

  • Confidence: the probability that one object belongs to one class

  • Line position: the position of green line, any vehicle have coordinate below the line will be counted

  1. Click START

Result

demo

traffic-control-system's People

Contributors

00rohitroshan avatar biswajit-7 avatar

Watchers

 avatar  avatar

Forkers

biswajit-7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.