Giter VIP home page Giter VIP logo

auto-traffic-congestion's Introduction

Auto Traffic Congestion

Setup:

  • yolov4 weight: here

Windows

py -m pip install --upgrade pip
py -m pip install --user virtualenv
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
py thesis.py --output_folder output_folder --input input_video

MacOS

python3 -m pip install --upgrade pip3
python3 -m pip install --user virtualenv
python3 -m venv env
source env/bin/activate
pip3 install -r requirements.txt
python3 thesis.py --output_folder output_folder --input input_video

Goolge Colab/ Jupiter Notebook

!sudo apt install python3-dev python3-pip python3-testresources
!sudo apt install build-essential cmake pkg-config unzip yasm git checkinstall
!sudo apt install libjpeg-dev libpng-dev libtiff-dev
!sudo apt install libavcodec-dev libavformat-dev libswscale-dev libavresample-dev
!sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
!sudo apt install libxvidcore-dev x264 libx264-dev libfaac-dev libmp3lame-dev libtheora-dev
!sudo apt install libfaac-dev libmp3lame-dev libvorbis-dev
!sudo apt install libopencore-amrnb-dev libopencore-amrwb-dev
!sudo apt-get install libgtk-3-dev
!sudo apt-get install libtbb-dev
!sudo apt-get install libatlas-base-dev gfortran
!sudo apt-get install libprotobuf-dev protobuf-compiler
!sudo apt-get install libgoogle-glog-dev libgflags-dev
!sudo apt-get install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen
!python3 thesis.py --output_folder output_folder --input input_video

image

auto-traffic-congestion's People

Contributors

duonglh711 avatar

Stargazers

 avatar Thuy Tien avatar  avatar Youssef BEN ALLAL avatar

Watchers

 avatar

auto-traffic-congestion's Issues

Thắc mắc về thông số của Camera.

Anh ơi anh cho em hỏi các thông số này của Camera là những gì vậy ạ:
real_height = data[0]
left_width = data[1]
right_width = data[2]
base_angle = data[3]
delta_angle = data[4]
h_angle = data[5]
top_rank = data[6]
ppa = 0.5height/delta_angle
app = 2
delta_angle/height
touch_angle = abs(base_angle-delta_angle). Em cảm ơn anh trước ạ

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.