Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object-Detection-with-Trash-images

This project contains my work from my one month internship as a Data Scientist in Koncern IT at Københavns Kommune. During my internship I had the opportunity to participate in a Waste detection project, where I was exposed in the latest techniques in computer vision with python. I had the chance to learn and use libraries such as OpenCv and Pillow, how to do Data Augmentation and create Synthetic data.


In this project I have enlarged a dataset of images using different Augmentation techniques such as

  • transparent background

plastic491resized plastic491transparent_background

  • image sharpening

plastic287transparent_background plastic287transparent_background_sharpened

  • rotation

glass26resizedtransparent_background glass26resizedtransparent_backgroundrotate135

  • perspective transformation

plastic17resizedtransparent_background plastic17transparent_background_Perspective_Transform

  • wave transformation

plastic489transparent_background plastic489transparent_background_wave

  • add different background

plastic17_mirror_rotate45_backgroundresized plastic17_sharp_rotate90_backgroundresized plastic14_sharp_rotate0_backgroundresized plastic14_mirror_rotate180_backgroundresized


I used the YOLOv7, which was trained in Google colab, on data that I created using the above data Augmentation techniques and using only 5 categories (plastic, paper, metal, glass, cardboard).

Here are some results after training the model:

test_batch2_labels

image image

plastic9_sharp_rotate60grass_background glass47_sharp_rotate180grass_background3

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages