Skip to content

ewigspace1910/car-velocity-estimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Vehicle Speed Estimation

----- DEMO VIDEO ------

seattle11.mp4

Getting Started

Installation

  1. Install Bot-SORT
  1. Prepare Datasets
  • _data folder is constructed as below:
_data
├── image
│   └── IMG for check homography,....
│   └...
├── model
│   └── yolov7.pt
│   └── yolov7-d6.pt
│   └── yolov7-e6e.pt
│   └── #pretreined model 4 detection, tracking,...
│   └...
├── run
│   └── results (demo video)...
│   └...
├── video
│   └── video.mp4....
└── cfg.yaml

Running

  • In this stage, firstly we need setting some parameters for the config including:

    • bounding_box(A,B,C,D) : 4 points(x,y) in video to create a bounding box for detection and estimation
    • real_distances : real-wolrd parameter for converting
    • in _2sd-_solution:
      • lseg-points-up, lseg-points-dw: two way to finding the vanishing point
      • interval : the number of frames. Each 1 interval, trigger an estimation
  • Then, run this script:

bash estimation/run.sh

About

A Tiny repo for solving the Vehicle Speed Estimation (car) problem based on Track 1 - AICity Challenge 2018

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published