Skip to content

dnsang1611/aic2023-track5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

  • This is the code we used to participate track 5 (Detecting Violation of Helmet Rule for Motorcyclists) of AI CITY CHALLANGE 2023.
  • We used a YOLOv8 for detector and strongsort for tracker.
  • For details about dataset, you should go to the link above.

Requirement

Visualizing data

  • If you want to visualize video, move videos to 'visualizing-web/static/data/bbox-video'
  • Then, run the following command: python visualizing-web/app.py

Training

Inference

  • cd to yolov8 folder: cd yolov8
  • We provide the checkpoint file of YOLOv8 on this dataset: https://drive.google.com/file/d/1P-VjBKllb4KcqoNTYQsXhTYOMwmkmu9X/view?usp=sharing
  • Change the path folder of videos and path to checkpoint file of YOLOv8 in inferece.py if necessary, then: python inference.py
  • However, there will be some bounding boxes predicted which extend outside the image. We need to modify the output with the following command: python post-preprocessing.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages