Skip to content

psychoSherlock/cctv-litter-detection

Repository files navigation

CCTV Based Litter Detection

IEDC TechXcel Challange

We used Yolov8 for training our models: We used the UAVVase as the dataset

Results

We had not any access to computing powers so the outputs are not accurate yet.

YOLOv8n 50 Epochs

Without any threshold

image

With threshold, and highest confidence

image

image

image

We then tried the same algorithm with different models. But as the dataset is not sufficient enought, the model loss too much data as we increased the epochs. As a result, 100 to 300 epochs resulted in more overfitting predictions than the 50 epochs.

We also tried increasing the dataset by a process called data augmentation. This had a little effect on the data and still resulted in the losses.

We also changed the learning model from nano to small and medium ones but as the models increased, the loss increased. So it was clear that we needed a better dataset to increase the accuracy.

Small, with 200 epochs

output_s_test1

output_s_200pleasework

Small, with 30 epochs

output_s_30test1

Resources for training.

We tried running few models on google colab with its GPU. Its faster but they kick off the users very often resulting in loss in the data. Fortunately, we saved it to google drive and used Kaggle for training, with its GPU.

Human Detection

Human detection was straight forward as the COCO dataset already contains the human models. We were able to put up the bare yolo nano model which was trained on YOLO. Class number 0 would give the humans. We then combined both the models to identify humans and the litters.

Citation

Thanks for the dataset

@Article{rs13050965,
AUTHOR = {Kraft, Marek and Piechocki, Mateusz and Ptak, Bartosz and Walas, Krzysztof},
TITLE = {Autonomous, Onboard Vision-Based Trash and Litter Detection in Low Altitude Aerial Images Collected by an Unmanned Aerial Vehicle},
JOURNAL = {Remote Sensing},
VOLUME = {13},
YEAR = {2021},
NUMBER = {5},
ARTICLE-NUMBER = {965},
URL = {https://www.mdpi.com/2072-4292/13/5/965},
ISSN = {2072-4292},
DOI = {10.3390/rs13050965}
}

About

CCTV Based Litter Detection Project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages